You are not logged in.

#1 2021-02-27 09:51:54

wabi
Member
Registered: 2005-04-04
Posts: 72

Mouse Cursor rendering on direct Wayland (works on XWayland)

Recently (about two weeks) my mouse cursor rendering has been distorted when using direct wayland rendering.
It renderes a s series scatterd lines over a quite large area.

The pointer still works, but you just don't know where exactly it is. The line-pattern also changes when the cursor would change (e.g. arrow to hand over a link).

The issue is only when using a GDM session with wayland. Once I start a gnome-session using xwayland it renderes normally.

The display driver is nouveau and I've experimented with installing different mouse cursor themes but that didn't fix it (so not a broken theme).

Any ideas are welcome

Offline

#2 2021-03-07 17:33:52

pizzaprosciutto
Member
Registered: 2021-03-07
Posts: 3

Re: Mouse Cursor rendering on direct Wayland (works on XWayland)

I am facing exactly the same problem, regardless of using X11 or Wayland. Have you managed to find a solution since then?

Offline

#3 2021-03-07 18:02:05

piepo
Member
Registered: 2021-03-06
Posts: 11

Re: Mouse Cursor rendering on direct Wayland (works on XWayland)

pizzaprosciutto wrote:

I am facing exactly the same problem, regardless of using X11 or Wayland. Have you managed to find a solution since then?

Are you using an nvidia graphic card with nvidia driver?

Offline

#4 2021-03-07 18:44:30

pizzaprosciutto
Member
Registered: 2021-03-07
Posts: 3

Re: Mouse Cursor rendering on direct Wayland (works on XWayland)

Hi Piepo,

Yes, I am using Nvidia GPU with nouveau driver. Let me tell you furthermore that I reinstalled Arch on my PC with base package and Gnome only, and start the desktop environment like this:

if [[ -z $DISPLAY && $(tty) == /dev/tty1 && $XDG_SESSION_TYPE == tty ]]; then
  MOZ_ENABLE_WAYLAND=1 QT_QPA_PLATFORM=wayland XDG_SESSION_TYPE=wayland exec dbus-run-session gnome-session
fi

Offline

#5 2021-03-07 19:20:22

piepo
Member
Registered: 2021-03-06
Posts: 11

Re: Mouse Cursor rendering on direct Wayland (works on XWayland)

Ah ok so I don't know. I had a similar problem with the mouse pointer on Friday and I was able to solve it reinstalling the proprietary nvidia driver... now I have a wrong screen resolution but the mouse is ok.

Offline

#6 2021-03-07 20:14:14

seth
Member
Registered: 2012-09-03
Posts: 51,165

Re: Mouse Cursor rendering on direct Wayland (works on XWayland)

Nouveau on X11 is a known problem, https://bbs.archlinux.org/viewtopic.php … 9#p1959569

Offline

#7 2021-03-09 21:23:58

pizzaprosciutto
Member
Registered: 2021-03-07
Posts: 3

Re: Mouse Cursor rendering on direct Wayland (works on XWayland)

Oh I have seen seth's post too late - meanwhile I changed to lts kernel and the mouse problem seems to be solved.

Offline

Board footer

Powered by FluxBB