Hyprland Xwayland Full Screen graphical bugs

When opening many games both native and not, graphical bugs occur as in the photo. This happens only when running in xwayland and full screen/maximized mode (in windowed mode everything is ok). Checked in hyprland and kde - it happens only in hyprland, in kde everything works perfectly. Please help me to fix it

Drivers: linux-cachyos-nvidia-open (3050)

hyprland.conf

env = LIBVA_DRIVER_NAME,nvidia
env = XDG_SESSION_TYPE,wayland
env = GBM_BACKEND,nvidia-drm
env = __GLX_VENDOR_LIBRARY_NAME,nvidia
env = WLR_NO_HARDWARE_CURSORS,1
env = NVD_BACKEND,direct
env = ELECTRON_OZONE_PLATFORM_HINT,auto

xwayland {
  force_zero_scaling = true       # Unscale XWayland
}

I had issue with fullscreen games seemingly tearing with banding that ceased when I deactivated blurring in the decoration block. Not saying that will fix this issue but if you haven’t already done so I would try turning blur off as a means to eliminate one possible culprit.

CacyOS ~/.config/hypr/config/decorations.conf or vanilla hyprland.conf

Change the following setting:

decoration {
  blur {
         enabled = false
  }
}

Also, had to create a cursor block and set hardware cursor to false as the env way to do it was not working for me; afterward, my cursor would correctly appear in blender and feels like it behaves more accurately in other apps and games.

CachyOS .config/hypr/config/variables.conf or vanilla hyperland.conf

Add the following block:

cursor {
    no_hardware_cursors = true
}

Regardless, hope you get everything else worked out.

1 Like

Thanks a lot, that helped

1 Like

(post deleted by author)

Absolutely.
So glad it helped.