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

XIVLauncher Core doesn't upscale on a HiDPI monitor #88

Open
1 task done
Maia-Everett opened this issue Oct 8, 2023 · 7 comments
Open
1 task done

XIVLauncher Core doesn't upscale on a HiDPI monitor #88

Maia-Everett opened this issue Oct 8, 2023 · 7 comments
Labels
bug Something isn't working

Comments

@Maia-Everett
Copy link

Update disclaimer

  • Yes, I have checked and my issue is not related to FFXIV updating and plugins not working correctly.

What did you do?

To reproduce:

  1. Set global UI scaling to a value other than 100%. (Mine is 200%, as I have a 4K monitor.)
  2. Launch XIVLauncher Core.

Expected result: the window and fonts are scaled in proportion to the scaling factor.

Actual result: the window and fonts stay small, making the text hard to read.

OS: Ubuntu 23.04.

Desktop environment: KDE Plasma 5.

This is how the window looks on my machine. Note the small text size of the window itself compared to the title bar.

image

Platform

Linux (native)

Wine/Proton runner version

N/A — this issue is not related to Wine/Proton

@Alaric323
Copy link

It scales for me on Kubuntu 23.10 KDE Plasma 5, perhaps it's related to Wayland vs X11? I am using Wayland, with apps scaled by the system.

@Maia-Everett
Copy link
Author

I'm also using Wayland, with applications scaling themselves (because system scaling makes apps blurry).

@drakon64
Copy link
Contributor

Using GNOME 45 on Wayland, XIVLauncher doesn't scale with the rest of the system

@rankynbass
Copy link
Contributor

Assuming you're using a wayland session, you can use the environment variable SDL_VIDEODRIVER=wayland and it will scale, although it'll be the blurry, fuzzy bilinear scaling from system scaling. There's no sharp scaling yet.

@Maia-Everett
Copy link
Author

That works, but I don't want blurry scaling, I want actual HiDPI with sharp fonts.

@mikeshardmind
Copy link

As of KDE Plasma 5.26 the best, currently working, option for scaling to be handled by the app itself it to use XWayland for XIVLauncher and FFXIV. Details of that are in this commit if you're curious of the technical details and noted in the 5.26 changelog. I don't have a KDE desktop currently to go find where the related setting is, but you need to set that X11 apps scale themselves and to not use system scaling. News on this addition was pretty minimal, but there's a blogpost about this that shows the setting you're looking for, but not how to get to it here if it helps.

Doesn't help anyone using gnome (or any other DE that doesn't support an option like this). you can see other effected apps in this space and some limited discussion on support for fractional scaling in gnome here but the prevailing attitude there seems to be that it's the app's problem not the user's or the DE's, and that the way to fix it is to finish rewriting the world for wayland.

@Maia-Everett
Copy link
Author

As of KDE Plasma 5.26 the best, currently working, option for scaling to be handled by the app itself it to use XWayland for XIVLauncher and FFXIV.

This didn't work for me. I run a Wayland session with Plasma 5.27.10, and xprop shows that XIVLauncher Core is an X window rather than a native Wayland one, but it's still not scaled. I do have the "legacy X11 applications apply scaling themselves" option set.

Maia-Everett added a commit to Maia-Everett/XIVLauncher.Core that referenced this issue Apr 21, 2024
Maia-Everett added a commit to Maia-Everett/XIVLauncher.Core that referenced this issue Apr 21, 2024
Maia-Everett added a commit to Maia-Everett/XIVLauncher.Core that referenced this issue Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants