
Gaming performance hit on hyprland
hey gang, im pretty new to hyprland, switched about a few days ago from KDE and im getting used to the way things are and im aware about the change to lua so im also learning that in preparation to translate my configs. But my issue isnt related to that, its about my gaming performance on hyprland.
I noticed that games dont work as smooth as they do in plasma and i think thats to be expected. But in hyprland when i launch my steam games with the same launch properties as plasma, its like the game is running on bad hardware. Theres insane tearing, slow mouse movement bad frame times etc..
So far ive tried a few very light games that i shouldnt have any problems running even with hyprland overhead, stardew valley and vampire survivors. Both these games run flawlessly and smoothly on plasma but seems to barely work on hyprland. Im running on a dual gpu laptop on cachyos, and i configured all my env variables:
env = __GLX_VENDOR_LIBRARY_NAME,nvidia
env = NVD_BACKEND,direct
env = GBM_BACKEND,nvidia-drm
env = MOZ_ENABLE_WAYLAND,1
env = XWAYLAND_NO_GLAMOR,1
env = __VK_LAYER_NV_optimus,NVIDIA_only
env = PROTON_ENABLE_NGX_UPDATER,1
I followed this when setting these variables: https://gist.github.com/kRHYME7/1d2574e8f3a4b7ad4059535503ce1eaa
aside from that i didnt do anything else because everything thats not gaming related runs well. I did have a problem wihen i updated yesterday that would cause my external monitor to become choppy when i moved my mouse around rapidly, which i was able to find a temporary solution to by disabling hardware cursors.
no_hardware_cursors = true
would like to know if theres something i could do on the hyprland end of things to fix the performance and get games functional as they are on plasma. Any help would be appreciated