Amdgpu driver and a not visible mouse cursor

I am trying to use the amdgpu (not amdgpu-pro) driver and have installed it on my system running openSUSE Tumbleweed. The problem now is that the mouse cursor is not displayed. The mouse works, I can drag frames and click icons. The only thing is that the mouse pointer is not visible. I have the same problem with Manjaro, so I think it’s not a Tumbleweed problem, but the driver from AMD. Does anyone else have this problem?

Grafikkarte: AMD Radeon RX 7900 XT

Many greetings
Björn

That graphic card is very new – release date: December 2022 …

Assuming X11, do you have the following AMD relevant packages installed?

  • xf86-video-amdgpu
  • ucode-amd
  • libdrm_amdgpu1
  • kernel-firmware-amdgpu

If you’re using Wayland, the first mentioned package might not be needed …

1 Like

Is the xf86-video-amdgpu package required? I didn’t have it installed and everything ran fine on my 7900xtx, except for the occasional crash which seems to be AMD RX 7900 XTX gfx hang followed by HW reset (#7939) · Issues · Mesa / mesa · GitLab.
Yesterday I was experimenting around and installed xf86-video-amdgpu and after a reboot I also had no mouse cursor. Uninstalling the package fixed the mouse cursor again.

1 Like

But are you sure that the amdgpu driver is still running?

inxi -G spits out

type or paste code hereGraphics:
  Device-1: AMD Navi 31 [Radeon RX 7900 XT/7900 XTX] driver: amdgpu v: kernel
  Display: x11 server: X.Org v: 21.1.6 with: Xwayland v: 22.1.7 driver: X:
    loaded: modesetting unloaded: fbdev,vesa dri: radeonsi gpu: amdgpu
    resolution: 5120x1440~120Hz
  API: OpenGL v: 4.6 Mesa 22.3.3 renderer: AMD Radeon Graphics (gfx1100
    LLVM 15.0.6 DRM 3.49 6.1.4-1-default)

Not sure what that means for X itself, but everything seems to work.

You are right, ucode-amd was not installed. I have install this package, but it solved not the problem.

With the package xf86-video-amdgpu I get the following output:

Graphics:
  Device-1: AMD Navi 31 [Radeon RX 7900 XT/7900 XTX] driver: amdgpu v: kernel
  Display: x11 server: X.Org v: 21.1.6 with: Xwayland v: 22.1.7 driver: X:
    loaded: amdgpu unloaded: fbdev,modesetting,vesa dri: radeonsi gpu: amdgpu
    resolution: 3840x2160~60Hz
  API: OpenGL v: 4.6 Mesa 22.3.3 renderer: AMD Radeon Graphics (gfx1100
    LLVM 15.0.6 DRM 3.49 6.1.7-1-default)

and for lsmod | grep amdgpu

amdgpu              10661888  30
drm_ttm_helper         16384  1 amdgpu
ttm                    94208  2 amdgpu,drm_ttm_helper
iommu_v2               24576  1 amdgpu
gpu_sched              53248  1 amdgpu
drm_buddy              20480  1 amdgpu
drm_display_helper    221184  1 amdgpu
video                  69632  1 amdgpu

Without the package xf86-video-amdgpu:

bja@localhost:~> inxi -G
Graphics:
  Device-1: AMD Navi 31 [Radeon RX 7900 XT/7900 XTX] driver: amdgpu v: kernel
  Display: x11 server: X.Org v: 21.1.6 with: Xwayland v: 22.1.7 driver: X:
    loaded: modesetting unloaded: fbdev,vesa dri: radeonsi gpu: amdgpu
    resolution: 3840x2160~60Hz
  API: OpenGL v: 4.6 Mesa 22.3.3 renderer: AMD Radeon Graphics (gfx1100
    LLVM 15.0.6 DRM 3.49 6.1.7-1-default)
bja@localhost:~> lsmod | grep amdgpu
amdgpu              10661888  52
drm_ttm_helper         16384  1 amdgpu
ttm                    94208  2 amdgpu,drm_ttm_helper
iommu_v2               24576  1 amdgpu
gpu_sched              53248  1 amdgpu
drm_buddy              20480  1 amdgpu
drm_display_helper    221184  1 amdgpu
video                  69632  1 amdgpu

The inxi output is under the attribute ‘loaded’ a liitle bit different. I don’t know what that means :slight_smile:

Without xf86-video-amdgpu installed, the loaded X display driver is the modesetting, and the amdgpu is absent from the two lists of X display drivers. With it installed, it gets loaded, and the modesetting display driver is moved to the list of unloaded X display drivers. Inxi gives us more than we need to know in order to get what we do need to know. :stuck_out_tongue:

This appears to be a problem for which you should file a bug report. New hardware often takes a while to get all the bugs out. :frowning:

Thanks. I have submit a bug report: Bug 1207388 – amdgpu driver and a not visible mouse cursor

To be clear, here, and in your bug report, it appears that simply using the modesetting display driver instead of the amdgpu display driver makes the mouse cursor visible. Correct?

Yes that is correct.

Your bug has been marked resolved fixed in under 5 hours, pretty nice. You’ll have to wait unknown duration for the new xf86-video-amdgpu package to show up on the mirrors though. Meanwhile, keep using the modesetting driver, which is the recommended workaround in the upstream bug.

1 Like

Mileage may vary: 1206864 – Direct Rendering Manager trouble upon resume from suspend to RAM

The new version of xf86-video-amdgpu is in the repository.

bja@localhost:~> zypper info xf86-video-amdgpu
Repository-Daten werden geladen...
Installierte Pakete werden gelesen...


Informationen zu Paket xf86-video-amdgpu:
-----------------------------------------
Repository         : Haupt-Repository (OSS)
Name               : xf86-video-amdgpu
Version            : 22.0.0-4.1
Arch               : x86_64
Anbieter           : openSUSE
Installierte Größe : 166,8 KiB
Installiert        : Ja
Status             : aktuell
Quellpaket         : xf86-video-amdgpu-22.0.0-4.1.src
Upstream-URL       : https://xorg.freedesktop.org/
Zusammenfassung    : AMDGPU video driver for the Xorg X server
Beschreibung       : 
    amdgpu is an Xorg driver for AMD video cards.

    Its autodetects whether your hardware has a CI or newer AMD Graphics Card

The mouse cursor is visible now. :partying_face: