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 request: Wayland support #12632

Open
2 tasks done
mvforell opened this issue Dec 12, 2024 · 1 comment
Open
2 tasks done

Feature request: Wayland support #12632

mvforell opened this issue Dec 12, 2024 · 1 comment
Labels

Comments

@mvforell
Copy link

Before creating

  • This is NOT a gameplay feature from Civ VI, BNW, or outside - see Roadmap
  • This is NOT a gameplay feature from Vanilla Civ V or from G&K - If so, it should be a comment in Missing features from Civ V - G&K #4697

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.

@yairm210
Copy link
Owner

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.

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

No branches or pull requests

2 participants