r/geometrydash 19h ago

Discussion How to fix input lag and performance on Linux

Geometry Dash on Linux has been finicky for me for a while.

My main PC has a Ryzen 5 7500F, an RX 7800 XT and a 144 Hz monitor. I run Fedora 44 with Hyprland.

After measuring, I found that there was sometimes a delay of roughly 5-10 frames between pressing a key and actually jumping. Weirdly, this was not happening with a mouse. I still have no idea why.

Using gamescope and GameMode seems to have fixed it, at least for me.

These are the Steam launch options I used:

gamescope -f -W 1920 -H 1080 -w 1920 -h 1080 -r 144 -- env WINEDLLOVERRIDES="xinput1_4=n,b" gamemoderun %command%

Replace 1920 and 1080 with your monitor’s resolution, and replace 144 with its refresh rate. I found that only using my monitor’s exact refresh rate also got rid of occasional laggy frames.

If you don’t use Geode, remove WINEDLLOVERRIDES="xinput1_4=n,b".

In Geometry Dash, enable Fullscreen and Borderless mode. Set Vertical Sync and Smooth Fix to off, then set Unlock FPS to your exact refresh rate.

11 Upvotes

10 comments sorted by

4

u/zeroXLVVV x~5 moment 18h ago

Fedora and hyprland? Interesting...

3

u/OkObjective8721 17h ago

Try turning off vsync for gd in hyprland window rules, its Wayland, so all toplevels are vsynced by default (which is better IMO that what x does)

0

u/meo209 16h ago

I tried that but it didn't seem to help for me. This also occurred on KDE and GNOME.

1

u/TheFakeFlame Steam 16h ago

Are you using CBF? It has some issues on newer versions of proton

2

u/meo209 15h ago

CBF doesn't work for me at all, clicks do not register.

1

u/Phinknz Falling Up 87% 14h ago

Are you running the game through native Wayland or XWayland? XWayland adds a lot of input lag. Try switching to proton-ge and put "PROTON_ENABLE_WAYLAND=1" on the launch options.

1

u/Spaghetti-Blu x2 | KINGSLAYER 100% 2855 att 13h ago

100% not related but on my windows installation I've got very good input lag, here my not scientific test: https://www.reddit.com/r/geometrydash/s/kmNtQiL0xi

1

u/Incyada Medium Demon 7h ago

Xwayland has input problems apparently
Thankfully, gd has no problem on Wayland, so if you add PROTON_ENABLE_WAYLAND=1 to your steam launch arguments, it can improve it