Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Use Wayland native #1941

Closed
1 task
6543 opened this issue Oct 23, 2024 · 16 comments
Closed
1 task

[Feature] Use Wayland native #1941

6543 opened this issue Oct 23, 2024 · 16 comments

Comments

@6543
Copy link

6543 commented Oct 23, 2024

What feature would you like to see?

it would be nice to have it run native via wayland, so e.g. fractial scaling works

How will this feature be useful to you and others?

redable text:

image

Request Type

  • I can provide a PoC for this feature or am willing to work on it myself and submit a PR

Additional context?

No response

@WerWolv
Copy link
Owner

WerWolv commented Oct 23, 2024

Duplicate of #30

@WerWolv WerWolv marked this as a duplicate of #30 Oct 23, 2024
@WerWolv WerWolv closed this as completed Oct 23, 2024
@6543
Copy link
Author

6543 commented Oct 23, 2024

@WerWolv sadly it's not an duplicate ... as this asks for native wayland support not just support.

It's fine to mark it as wontfix if you plan to relay on xwayland in the long run ...

@WerWolv
Copy link
Owner

WerWolv commented Oct 23, 2024

We don't rely on xwayland though. It depends on what version of glfw you have installed. If you install the x11 version on wayland it will use xwayland but if you're using the wayland version it will run natively

@6543
Copy link
Author

6543 commented Oct 23, 2024

I use the flatpak version ... as the nix packaged did not want to start, in this case it looks like an packaging issue rather than an upstream - thanks for clarification :)

@Twig6943
Copy link

We don't rely on xwayland though. It depends on what version of glfw you have installed. If you install the x11 version on wayland it will use xwayland but if you're using the wayland version it will run natively

Soo.. which packages support wayland?

@WerWolv
Copy link
Owner

WerWolv commented Oct 30, 2024

@Twig6943 Every package that uses glfw 3.4 or later supports both X11 and Wayland at the same time. I believe right now that's the rpm packages, the Arch Linux package and the latest Ubuntu one.

Alternatively, if you build ImHex yourself, you can make it use Wayland by making sure to install the glfw-wayland package

@Twig6943
Copy link

Could u test out the appimage & flatpak pkgs and get back to me?

@6543
Copy link
Author

6543 commented Oct 30, 2024

the flatpak for flathub uses xorg socket -> xwayland

image

@Twig6943
Copy link

What about the appimage?

@6543
Copy link
Author

6543 commented Oct 31, 2024

official appimage form latest release also uses xwayland -> tested with xeyes trick

@Twig6943
Copy link

soo both distro agnostic pkgs use xwayland 👍 (ngl sad too see 😞 )

@WerWolv
Copy link
Owner

WerWolv commented Oct 31, 2024

Again, you can build it yourself from source and it will use Wayland. Once Ubuntu finally updates glfw, both the Flatpak and the AppImage will also start working with both X11 and Wayland natively right away.

@Twig6943
Copy link

Again, you can build it yourself from source and it will use Wayland. Once Ubuntu finally updates glfw, both the Flatpak and the AppImage will also start working with both X11 and Wayland natively right away.

Any ETA on that?

@WerWolv
Copy link
Owner

WerWolv commented Oct 31, 2024

Again, you can build it yourself from source and it will use Wayland. Once Ubuntu finally updates glfw, both the Flatpak and the AppImage will also start working with both X11 and Wayland natively right away.

Any ETA on that?

Ask Canonical, not me lol

@Twig6943
Copy link

@WerWolv could u rename & reopen this issue? Rename it to something like "Wayland backend on distro agnostic pkg"

@6543
Copy link
Author

6543 commented Nov 23, 2024

Done for you #1967

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants