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
The Vulkan video driver does not have support for fractional DPI scaling in native Wayland mode. Therefore, the image looks blurry and the window size is wrong (scaled up)
This does not happen if Retroarch runs in xWayland mode, where the window size is correct and the game is not blurry (at least under KDE Plasma)
However, it is impossible to run Retroarch with the Vulkan driver in xWayland mode because currently it just unconditionally uses Wayland on Wayland sessions with no possibility of override. You can force the sdl2 driver to run in xWayland with SDL_VIDEODRIVER=x11 but there's no such thing for the Vulkan driver.
So my request is, of course, that fractional scaling is implemented eventually. But regardless of that there should really be an env var to force the Vulkan driver to operate in X11 mode. Sometimes xWayland is a superior experience to native Wayland and right now Retroarch is such a case.
Thanks.
The text was updated successfully, but these errors were encountered:
The Vulkan video driver does not have support for fractional DPI scaling in native Wayland mode.
Does it depend on the Vulkan video driver? I may be overlooking details, but respective support was added a while ago, and it included the Wayland+Vulkan context driver as well: #15965
Compositors still need to support it, and the request would make sense anyway, so this is just a question.
The Vulkan video driver does not have support for fractional DPI scaling in native Wayland mode.
Does it depend on the Vulkan video driver? I may be overlooking details, but respective support was added a while ago, and it included the Wayland+Vulkan context driver as well: #15965 Compositors still need to support it, and the request would make sense anyway, so this is just a question.
Actually, you're right in that it doesn't depend on the video driver. I didn't realize that the SDL2 driver defaults to X11.
If I force the SDL2 driver to launch in Wayland mode (SDL_VIDEODRIVER=wayland) then it also looks blurry and the window is the wrong size, just like with the Vulkan driver, so fractional scaling isn't working either.
This makes me realize the situation is extra weird actually, because right now on a Wayland session, the SDL2 driver will default to X11 but the Vulkan driver will default to Wayland. And you can force the SDL2 driver to Wayland, but you can't force the Vulkan driver to X11. 😅
My system is running EndeavourOS (you can just consider it to be Arch) with KDE Plasma/KWin 6.2.5. My monitor is 1440p 144 Hz (only one monitor connected rn) and the DPI scaling is set to 125% in the KDE settings. Firefox is native Wayland and DPI scaling is working there, so it's not a system-level issue at least.
I hope you can figure out whatever is causing the DPI scaling to not work but even if you do fix it I think the env var override should still exist!
I'll be brief as to not waste your time:
SDL_VIDEODRIVER=x11
but there's no such thing for the Vulkan driver.So my request is, of course, that fractional scaling is implemented eventually. But regardless of that there should really be an env var to force the Vulkan driver to operate in X11 mode. Sometimes xWayland is a superior experience to native Wayland and right now Retroarch is such a case.
Thanks.
The text was updated successfully, but these errors were encountered: