-
Notifications
You must be signed in to change notification settings - Fork 856
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
[Bug] UI doesn't scale on linux #643
Comments
Avalonia doesn't support self-querying display scaling on Wayland. You need to manually tell it via your environment variables. Presumably the old flatpak maintainer automated this process in the sandbox somewhere.
If you have two displays with different fractional scales you could instead use the |
I have the same issue with Appimage on Wayland |
Ok, when I launch Ryujinx from the terminal with AVALONIA_GLOBAL_SCALE_FACTOR=2 it works. In the .desktop file, I wrote "Exec=env AVALONIA_GLOBAL_SCALE_FACTOR=2 ./Applications/Ryujinx.AppImage" so the scaling issue is also fixed when launching Ryujinx from the App Grid. Thanks, @bangfire ! |
I'm still on X11 but the environment variable worked as well. Maybe add it to the wiki on the config section for future users with the same issue? |
Same issue with the |
The NexusMods app (https://github.com/Nexus-Mods/NexusMods.App) scales the UI fine on my 4K TV. |
Seeing as the NexusMods app also closed a similar issue as not planned due the exact problem with the framework I described (Nexus-Mods/NexusMods.App#1277), I think there is something happening on your end via the DE/some other factor that you may be missing. They have no special mechanism that Ryujinx doesn't. |
Indeed I saw this issue when digging it, what's interesting is both ryujinx & nexusmodsapp are installed the same way on my system: |
Description of the issue
I use KDE Plasma with X11 and 2x scaling.
Ryujinx UI is rendered as if scaling was at 1x, previous "official" flatpak version scaled UI to 2x.
Reproduction steps
Open application
Log file
Ryujinx_1.2.81_2025-02-09_13-51-17.log
OS
Arch Linux (X64)
Ryujinx version
1.2.81
Game version
N/A
CPU
AMD Ryzen 9 5950X
GPU
AMD Radeon RX 7900 XTX
RAM
64 GiB
List of applied mods
No response
Additional context?
No response
The text was updated successfully, but these errors were encountered: