XIVLauncher.Core icon indicating copy to clipboard operation
XIVLauncher.Core copied to clipboard

XIVLauncher Core doesn't upscale on a HiDPI monitor

Open Maia-Everett opened this issue 2 years ago • 8 comments

Update disclaimer

  • [x] 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

Maia-Everett avatar Oct 08 '23 11:10 Maia-Everett

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.

Alaric323 avatar Jan 12 '24 17:01 Alaric323

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

Maia-Everett avatar Jan 12 '24 18:01 Maia-Everett

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

drakon64 avatar Jan 12 '24 22:01 drakon64

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.

rankynbass avatar Jan 12 '24 22:01 rankynbass

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

Maia-Everett avatar Jan 12 '24 22:01 Maia-Everett

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.

mikeshardmind avatar Jan 15 '24 13:01 mikeshardmind

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 avatar Mar 20 '24 13:03 Maia-Everett