Wayland - DISPLAY = exposes lowest capability first, game takes lowest FPS as result
Opened this issue · 2 comments
I am using latest sway with wlroots-git and mesa.
Having 4 displays, one with 144Hz, the other two have 240Hz and the best has 360Hz.
Running with DISPLAY= %command%
, the game "Taiko no Tatsujin Demo" picks up 144Hz => 144 FPS, instead of the highest possible, 360Hz => 360FPS.
When this is ran from XWayland, 360FPS are taken with Auto setting.
What can I do?
this is an upstream wine issue, but you can try applying my really hacky patch to workaround this. you can save the patch to your wine-tkg-userpatches
folder and change the extension from .patch
to .mypatch
.
to choose your monitor, set the WINE_WAYLAND_DISPLAY_INDEX=monitorindex
environment variable, where you'd replace the "monitorindex" with the index of your 360hz monitor from xrandr --listmonitors
.
this is an upstream wine issue, but you can try applying my really hacky patch to workaround this. you can save the patch to your
wine-tkg-userpatches
folder and change the extension from.patch
to.mypatch
.to choose your monitor, set the
WINE_WAYLAND_DISPLAY_INDEX=monitorindex
environment variable, where you'd replace the "monitorindex" with the index of your 360hz monitor fromxrandr --listmonitors
.
That worked.
Is there any way to arbitrarily advertise the refresh rate?
I did even try with an dummy output that has 1000Hz and overlaid it on-top of my current screen.
It did not affect the games framerate at all.