Hardware cursor is not working on Wayland/DRM sessions

  • Enabling hardware cursor in KDE Plasma results in spam of kernel DRM error messages and not working hardware cursor:

[ 239.300217] [drm] [nvidia-drm] [GPU ID 0x00002d00] Framebuffer memory not appropriate for scanout

  • Enabling hardware cursor in wlroots based compositors results in invisible cursor.

OS: Arch Linux (Linux 6.4.7-arch1-2)
Drivers: 535.86.05

Looking at the code for this, it looks like this happens if wlroots allocates a buffer in system memory and then tries to use it as the surface for the cursor. NVIDIA dGPUs can only display surfaces that are in video memory.

Are there any plans for such support to be implemented ?
The hardware mouse cursor seems to bring out other issues in other wayland compositors(gamescope, kwin, the other wl-roots such as the sway and hyprland) Support for HW Mouse Cursor - Wayland