[GDM, Wayland] Glitched/Vertically Stretched Cursor in Tumbleweed r20210325

Greetings, all. I’m new to the OpenSUSE forums (and the SUSE ecosystem in general), so please let me know if I mess anything up :slight_smile:

Summary:
After upgrading my Tumbleweed dev box last week, I noticed the cursor was stretched out:

https://i.imgur.com/laSXevdl.jpg

I’m not very experienced with Wayland, and most of the Google-fu and hunting around I did only returned X11 answers. I’m hoping some of you might have experienced the same issue and would have more current insights.

I’ve already tried:

  • Rebooting (duh)
  • Waiting a week and running a sudo zypper dup
  • Ensuring I’m running the Nouveau OSS NVIDIA driver and not the modesetting one
  • Changing cursor theme (worth a shot if it wasn’t a graphics issue, I guess)
  • Reinstalling Mesa-dri-nouveau as well as x86-video-nouveau packages
  • Logging into “GNOME on Xorg” in the GDM login menu - this works and solves the issue, but I want it working on Wayland specifically if at all possible

System Hardware:
CPU: Intel i7-10700
GPU: NVIDIA NV106
MEM: 16GB

Software/Applications:
OS: OpenSUSE Tumbleweed r20210325 (x86 64-bit)
WM/DM: GNOME 3.38.4
Windowing System: Wayland

Repo List:

❯ sudo zypper lr -d                                                                                                                                                                               12:28:24
#  | Alias                                | Name                                                                 | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                                                | Service
---+--------------------------------------+----------------------------------------------------------------------+---------+-----------+---------+----------+--------+----------------------------------------------------------------------------------------------------+--------
 1 | KDE_Extra                            | Additional packages maintained by the KDE team (openSUSE_Tumbleweed) | Yes     | (r ) Yes  | No      |   99     | rpm-md | https://download.opensuse.org/repositories/KDE:/Extra/openSUSE_Tumbleweed/                         |
 2 | download.opensuse.org-non-oss        | Main Repository (NON-OSS)                                            | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/tumbleweed/repo/non-oss/                                              |
 3 | download.opensuse.org-oss            | Main Repository (OSS)                                                | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/tumbleweed/repo/oss/                                                  |
 4 | download.opensuse.org-tumbleweed     | Main Update Repository                                               | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/tumbleweed                                                     |
 5 | dvd                                  | dvd                                                                  | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://opensuse-guide.org/repo/openSUSE_Tumbleweed/                                                |
 6 | https-download.opensuse.org-1ef17530 | home:dannysauer:branches:OSS                                         | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://download.opensuse.org/repositories/home:/dannysauer:/branches:/OSS/openSUSE_Factory/       |
 7 | https-download.opensuse.org-2744fbcf | Publishing                                                           | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://download.opensuse.org/repositories/Publishing/openSUSE_Factory/                            |
 8 | https-download.opensuse.org-58b774fc | openSUSE:Factory                                                     | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://download.opensuse.org/repositories/openSUSE:/Factory/snapshot/                             |
 9 | https-download.opensuse.org-a77b7418 | security                                                             | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://download.opensuse.org/repositories/security/openSUSE_Factory/                              |
10 | https-download.opensuse.org-fcb23c68 | home:dannysauer:branches:OSS:deps                                    | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://download.opensuse.org/repositories/home:/dannysauer:/branches:/OSS:/deps/openSUSE_Factory/ |
11 | https-download.opensuse.org-fd495018 | openSUSE:Tumbleweed                                                  | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://download.opensuse.org/repositories/openSUSE:/Tumbleweed/standard/                          |
12 | packman                              | packman                                                              | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://packman.jacobs-university.de/suse/openSUSE_Tumbleweed/

Yucky List of Packages:
Some packages are removed to make the post small enough. If this isn’t complete enough, I’m happy to provide more.

❯ sudo zypper se -isr 3 -r 12 wl wayland gnome gtk gdm nouveau nvidia xorg xdg                                                                                                                    12:35:29
Loading repository data...
Reading installed packages...

S  | Name                                         | Type    | Version                     | Arch   | Repository
---+----------------------------------------------+---------+-----------------------------+--------+----------------------
i+ | Mesa-dri-nouveau                             | package | 20.3.4-272.5                | x86_64 | Main Repository (OSS)
i+ | QGnomePlatform                               | package | 0.6.1-1.7                   | x86_64 | Main Repository (OSS)
i+ | gdm                                          | package | 3.38.2-2.4                  | x86_64 | Main Repository (OSS)
i+ | gdmflexiserver                               | package | 3.38.2-2.4                  | noarch | Main Repository (OSS)
i+ | gnome                                        | pattern | 20201210-2.1                | x86_64 | Main Repository (OSS)
i+ | gnome-session                                | package | 3.38.0-1.4                  | x86_64 | Main Repository (OSS)
i+ | gnome-session-core                           | package | 3.38.0-1.4                  | x86_64 | Main Repository (OSS)
i+ | gnome-session-default-session                | package | 3.38.0-1.4                  | x86_64 | Main Repository (OSS)
i+ | gnome-session-wayland                        | package | 3.38.0-1.4                  | x86_64 | Main Repository (OSS)
i+ | gnome-shell                                  | package | 3.38.3-2.1                  | x86_64 | Main Repository (OSS)
i+ | gnome-shell-classic                          | package | 3.38.2-1.2                  | noarch | Main Repository (OSS)
i+ | gnome-shell-classic-session                  | package | 3.38.2-1.2                  | x86_64 | Main Repository (OSS)
i+ | gnome_basic                                  | pattern | 20201210-2.1                | x86_64 | Main Repository (OSS)
i+ | gnome_x11                                    | pattern | 20201210-2.1                | x86_64 | Main Repository (OSS)
i+ | gtk2-data                                    | package | 2.24.33-1.3                 | noarch | Main Repository (OSS)
i+ | gtk2-engine-hcengine                         | package | 2.20.2-19.33                | x86_64 | Main Repository (OSS)
i+ | gtk3-data                                    | package | 3.24.27-1.1                 | noarch | Main Repository (OSS)
i+ | gtk3-schema                                  | package | 3.24.27-1.1                 | noarch | Main Repository (OSS)
i+ | gtk3-tools                                   | package | 3.24.27-1.1                 | x86_64 | Main Repository (OSS)
i+ | hwloc-data                                   | package | 2.4.1-1.1                   | noarch | Main Repository (OSS)
i+ | kernel-firmware-nvidia                       | package | 20210315-1.1                | noarch | Main Repository (OSS)
i+ | kwayland                                     | package | 5.80.0-1.1                  | x86_64 | Main Repository (OSS)
i+ | libQt5WaylandClient5                         | package | 5.15.2-3.4                  | x86_64 | Main Repository (OSS)
i+ | libdbusmenu-gtk3-4                           | package | 16.04.0-7.6                 | x86_64 | Main Repository (OSS)
i+ | libdrm_nouveau2                              | package | 2.4.104-1.3                 | x86_64 | Main Repository (OSS)
i+ | libgdm1                                      | package | 3.38.2-2.4                  | x86_64 | Main Repository (OSS)
i+ | libgnome-autoar-0-0                          | package | 0.3.0-1.2                   | x86_64 | Main Repository (OSS)
i+ | libgnome-autoar-gtk-0-0                      | package | 0.3.0-1.2                   | x86_64 | Main Repository (OSS)
i+ | libgnome-desktop-3-19                        | package | 3.38.4-1.3                  | x86_64 | Main Repository (OSS)
i+ | libgnome-desktop-3_0-common                  | package | 3.38.4-1.3                  | x86_64 | Main Repository (OSS)
i+ | libgnomesu                                   | package | 2.0.6-1.1                   | x86_64 | Main Repository (OSS)
i+ | libgnomesu0                                  | package | 2.0.6-1.1                   | x86_64 | Main Repository (OSS)
i+ | libgstwayland-1_0-0                          | package | 1.18.3-6.5                  | x86_64 | packman
i+ | libgtk-2_0-0                                 | package | 2.24.33-1.3                 | x86_64 | Main Repository (OSS)
i+ | libgtk-3-0                                   | package | 3.24.27-1.1                 | x86_64 | Main Repository (OSS)
i+ | libgtk-frdp-0_1                              | package | 3.38.2-1.4                  | x86_64 | Main Repository (OSS)
i+ | libgtkmm-3_0-1                               | package | 3.24.4-1.1                  | x86_64 | Main Repository (OSS)
i+ | libgtkspell0                                 | package | 2.0.16-22.7                 | x86_64 | Main Repository (OSS)
i+ | libhwloc15                                   | package | 2.4.1-1.1                   | x86_64 | Main Repository (OSS)
i+ | libva-wayland2                               | package | 2.10.0-1.3                  | x86_64 | Main Repository (OSS)
i+ | libvdpau_nouveau                             | package | 20.3.4-272.5                | x86_64 | Main Repository (OSS)
i+ | libwayland-client0                           | package | 1.19.0-1.3                  | x86_64 | Main Repository (OSS)
i+ | libwayland-cursor0                           | package | 1.19.0-1.3                  | x86_64 | Main Repository (OSS)
i+ | libwayland-egl1                              | package | 1.19.0-1.3                  | x86_64 | Main Repository (OSS)
i+ | libwayland-server0                           | package | 1.19.0-1.3                  | x86_64 | Main Repository (OSS)
i+ | patterns-gnome-gnome                         | package | 20201210-2.1                | x86_64 | Main Repository (OSS)
i+ | patterns-gnome-gnome_basic                   | package | 20201210-2.1                | x86_64 | Main Repository (OSS)
i+ | patterns-gnome-gnome_basis                   | package | 20201210-2.1                | x86_64 | Main Repository (OSS)
i+ | patterns-gnome-gnome_basis_opt               | package | 20201210-2.1                | x86_64 | Main Repository (OSS)
i+ | patterns-gnome-gnome_multimedia              | package | 20201210-2.1                | x86_64 | Main Repository (OSS)
i+ | patterns-gnome-gnome_utilities               | package | 20201210-2.1                | x86_64 | Main Repository (OSS)
i+ | patterns-gnome-gnome_x11                     | package | 20201210-2.1                | x86_64 | Main Repository (OSS)
i+ | patterns-gnome-gnome_yast                    | package | 20201210-2.1                | x86_64 | Main Repository (OSS)
i+ | pinentry-gnome3                              | package | 1.1.1-2.2                   | x86_64 | Main Repository (OSS)
i+ | xdg-dbus-proxy                               | package | 0.1.2-1.6                   | x86_64 | Main Repository (OSS)
i+ | xdg-desktop-portal                           | package | 1.8.0-2.4                   | x86_64 | Main Repository (OSS)
i+ | xdg-desktop-portal-gtk                       | package | 1.8.0-1.4                   | x86_64 | Main Repository (OSS)
i+ | xdg-menu                                     | package | 0.2-217.12                  | noarch | Main Repository (OSS)
i+ | xdg-user-dirs                                | package | 0.17-2.7                    | x86_64 | Main Repository (OSS)
i+ | xdg-user-dirs-gtk                            | package | 0.10+13-2.6                 | x86_64 | Main Repository (OSS)
i+ | xdg-utils                                    | package | 1.1.3+20200220-2.1          | noarch | Main Repository (OSS)
i+ | xf86-video-nouveau                           | package | 1.0.17-1.4                  | x86_64 | Main Repository (OSS)
i+ | xorg-x11-Xvnc                                | package | 1.10.1-10.2                 | x86_64 | Main Repository (OSS)
i+ | xorg-x11-Xvnc-module                         | package | 1.10.1-10.2                 | x86_64 | Main Repository (OSS)
i+ | xorg-x11-driver-video                        | package | 7.6_1-19.3                  | x86_64 | Main Repository (OSS)
i+ | xorg-x11-essentials                          | package | 7.6_1-16.11                 | noarch | Main Repository (OSS)
i+ | xorg-x11-fonts                               | package | 7.6-41.2                    | noarch | Main Repository (OSS)
i+ | xorg-x11-fonts-converted                     | package | 7.6-41.3                    | noarch | Main Repository (OSS)
i+ | xorg-x11-fonts-core                          | package | 7.6-41.2                    | noarch | Main Repository (OSS)
i+ | xorg-x11-fonts-legacy                        | package | 7.6-41.2                    | noarch | Main Repository (OSS)
i+ | xorg-x11-libX11-ccache                       | package | 7.6-21.8                    | x86_64 | Main Repository (OSS)
i+ | xorg-x11-server                              | package | 1.20.10-2.1                 | x86_64 | Main Repository (OSS)
i+ | xorg-x11-server-Xvfb                         | package | 1.20.10-2.1                 | x86_64 | Main Repository (OSS)
i+ | xorg-x11-server-extra                        | package | 1.20.10-2.1                 | x86_64 | Main Repository (OSS)
i+ | xorg-x11-server-wayland                      | package | 1.20.10-2.1                 | x86_64 | Main Repository (OSS)

NVidia+KDE+wayland is not a great mix and can be best described as early beta. Unless you are testing things I recommend you stick wit X it works fine.

Agreed that X is a bunch of spaghetti code and hard to maintain but at least in KDE Wayland just does not work well even though it may have better coding :’(

Hi
For GDM, did you ensure you edited /etc/gdm/custom.conf and ensure the section WaylandEnable=false is set?

Sorry if there was some confusion; I’m using Gnome, not KDE. I have a couple Qt packages installed for debugging some KDE-only software but my desktop is pure Gnome/GTK. I’ve had pretty much zero issues with Wayland over the last few years, so I’d love to get this cursor issue solved without simply disabling Wayland.

I can for sure give this a shot tomorrow. The issue only exists on my dev box at work, so I don’t have 24/7 access to it unfortunately. In the meantime, can I ask what this GDM option does? I’m not trying to use X11 or disable Wayland, if that’s what it does. Sorry if I’m misunderstanding, desktop apps are not my strong suit :wink:

Hi
Nvidia and GDM with wayland mode don’t play well, hence only using X11 for the login process.

This appears to be this known bug.

Holy ****! I have no idea how you found that thread, but it appears to link offsite to a host of other people with the same issue. If I’m understanding that RH Bugzilla/Fedora bug report, it’s a Nouveau driver issue with kernel 5.11.x that is currently being handled by the upstream provider? If that’s the case, I won’t bother with any of the other fixes and I’ll just monitor that thread for updates. I have no idea how long I would have spent troubleshooting this to no avail without that. I seriously owe you one!

One of two possible ways:
]When it happened to me during installation, I searched to see if it was a known issue.]Occasionally I look to see what bugs were recently filed, and saw it in a buglist.