Jump to content

DST insists on setting the wrong refresh rate


Fornax
  • Pending

Under X11/XWayland even though I have "refresh_rate = 60" set in client.ini, the game still does its own thing showing 59 Hz in the graphics settings. This causes the game to turn into a stuttery mess without using VSync.

 fps.gif.c9f3c51bfbe71c4dd3254c3a07bfab15.gif

I’m guessing this is another limitation of X11 and the outdated libSDL that DST uses. so I decided to do a little experiment - setting LD_PRELOAD="/usr/lib64/libSDL2-2.0.so.0" SDL_VIDEODRIVER="wayland" not only makes the FPS value display correctly in the graphics settings (but yeah FPS are still not stable since this is a very dirty hack - DST doesn’t support Wayland at all), but also sets the correct resolution! I use fractional scaling and DST keeps defaulting to 1920x1080 even though the system uses a 125% scale - this is an obvious and known X11 limitation.


Steps to Reproduce

Use your preferred compositor (KDE Plasma 6 Wayland session in my case).

Set the monitor's refresh rate to 60 Hz in the system settings, launch DST and check the ingame graphics settings.

DST insists that the monitor is using a 59 Hz refresh rate which causes stuttering during gameplay.

Do a dirty hack and set LD_PRELOAD="/usr/lib64/libSDL2-2.0.so.0" SDL_VIDEODRIVER="wayland" %command% in the Steam launch options. (mouse input won't work under pure Wayland, so you need to navigate using the keyboard.)

This time, the game correctly recognizes the refresh rate.

  • Like 2



User Feedback


There are no comments to display.



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...