You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a HiDPI setup on Wayland, and apps with no Wayland support are blurry. This currently includes Unciv. Natively supporting Wayland would fix the blurriness, which I confirmed by running Unciv 4.14.1, which had Wayland support (before it got reverted) and looks great.
Related Issue Links
#12379 was about problems with Wayland under Flatpak, which caused the commit that updated libgdx to a version that supports Wayland to be reverted.
Desired Solution
Update back to libgdx >= 1.13.0 and disable Wayland for flatpak. I know that GLFW allows you to select the platform, I'm not sure if libgdx currently exposes it. If not, we should push for libgdx change that allows that. This of course depends on being able to detect whether we're running under flatpak, which I don't know how to do but I assume it should be possible.
Alternative Approaches
Maybe it's also a general problem with running something libgdx-based under flatpak with Wayland, and this should be fixed in libgdx and no change is required in Unciv? I suppose this depends on what exactly is going wrong with Flatpak under Wayland.
Additional Context
I'd be happy to help with investigating what exactly is causing the problems with Wayland under Flatpak. I don't have much experience with Flatpak, but I have a lot of experience with Wayland development in general.
The text was updated successfully, but these errors were encountered:
There are several problems with 1.13.0 - some Wayland, and some AWT, and from what I see the the LibGDX discord also others which I have not personally encountered.
We're waiting on 1.13.1 which hopefully should fix most of the problems.
Before creating
Problem Description
I have a HiDPI setup on Wayland, and apps with no Wayland support are blurry. This currently includes Unciv. Natively supporting Wayland would fix the blurriness, which I confirmed by running Unciv 4.14.1, which had Wayland support (before it got reverted) and looks great.
Related Issue Links
#12379 was about problems with Wayland under Flatpak, which caused the commit that updated libgdx to a version that supports Wayland to be reverted.
Desired Solution
Update back to libgdx >= 1.13.0 and disable Wayland for flatpak. I know that GLFW allows you to select the platform, I'm not sure if libgdx currently exposes it. If not, we should push for libgdx change that allows that. This of course depends on being able to detect whether we're running under flatpak, which I don't know how to do but I assume it should be possible.
Alternative Approaches
Maybe it's also a general problem with running something libgdx-based under flatpak with Wayland, and this should be fixed in libgdx and no change is required in Unciv? I suppose this depends on what exactly is going wrong with Flatpak under Wayland.
Additional Context
I'd be happy to help with investigating what exactly is causing the problems with Wayland under Flatpak. I don't have much experience with Flatpak, but I have a lot of experience with Wayland development in general.
The text was updated successfully, but these errors were encountered: