linux-cachyos icon indicating copy to clipboard operation
linux-cachyos copied to clipboard

[BUG] 7.3.0-2: amdgpu hardware cursor invisible on Stoney (Radeon R5); software cursor works

Open gilsid opened this issue 1 month ago • 8 comments

Pre-flight checklist

  • [x] I have searched existing issues and this is not a duplicate.
  • [x] I have read the Contributing Guidelines.
  • [x] I have verified the issue is reproducible with the latest available CachyOS kernel.
  • [ ] I have tried to reproduce the issue on Arch Linux's linux kernel.

Upstream / vanilla kernel check

I have not tested with a vanilla/upstream kernel

Kernel variant

linux-cachyos (EEVDF, Clang)

System information (cachyos-bugreport.sh)

Full output (run 2026-10-23 07:39 WIB on 7.3.0-2-cachyos): https://paste.cachyos.org/p/52246ed.log

Bug description

After upgrading linux-cachyos from 7.2.11-1 to 7.3.0-2, the hardware cursor is invisible everywhere in the Hyprland session. The pointer still works (hover and click positions are correct), it is just not rendered. The cursor is visible in SDDM before login.

The userspace stack did not change between the last good boot and the first bad boot: Hyprland 0.56.2-4.1 was installed on 2026-10-04 and was used across several reboots (2026-10-18 .. 2026-10-22) with kernel 7.2.11-1 without this problem. Mesa is also unchanged.

Software cursors fix it, so this points at the amdgpu hardware cursor plane, not the cursor theme or compositor theme loading.

Timeline:

  • 2026-10-22 16:37 — linux-cachyos 7.2.11-1 -> 7.3.0-2 installed
  • 2026-10-22 20:19 — first boot into 7.3.0-2; cursor invisible in Hyprland, visible in SDDM
  • 2026-10-22 21:11 — amd-ucode/linux-firmware* updated (20260916 -> 20261019), rebooted; issue persists
  • 2026-10-22 21:46 — boot linux-cachyos-lts 6.18.55-2, enable hardware cursors: cursor visible

Steps to reproduce

  1. Boot linux-cachyos 7.3.0-2 on the hardware above.
  2. Start Hyprland (Wayland) with hardware cursors enabled (cursor:no_hardware_cursors = 0, the default).
  3. Move the pointer: no cursor is drawn anywhere; clicks and hover still work.
  4. Set cursor:no_hardware_cursors = 1: the cursor appears immediately.

Expected behavior

The hardware cursor renders on the amdgpu cursor plane, as it did on 7.2.11-1 and still does on 6.18.55-2-cachyos-lts.

Actual behavior

Nothing is scanned out for the cursor. There are no errors in dmesg/journalctl -k, no GPU reset, and aquamarine reports the cursor buffer as imported into KMS successfully. With software cursors forced, everything renders normally.

Test matrix (cursor:invisible is false in all cases; hyprctl setcursor forces the XCursor path):

Kernel cursor:no_hardware_cursors Theme enable_hyprcursor Result
7.3.0-2 1 (software) Colloid-cursors true visible
7.3.0-2 1 (software) Adwaita true visible
7.3.0-2 0 (hardware) Colloid-cursors true invisible
7.3.0-2 0 (hardware) Adwaita true invisible
7.3.0-2 0 (hardware) Colloid-cursors false invisible
6.18.55-2-lts 0 (hardware) Colloid-cursors true visible

This rules out the theme and the hyprcursor/Xcursor path: with hardware cursors enabled, both themes and both hyprcursor settings render nothing on 7.3, while the identical hardware-cursor setup works on LTS.

Logs / stack traces

Hyprland/aquamarine log with hardware cursors enabled on 7.3.0-2:

DEBUG from aquamarine ]: drm: Cursor buffer imported into KMS with id 88
ERR from aquamarine ]: drm: Cannot commit when a page-flip is awaiting
ERR from aquamarine ]: drm: Cannot commit when a page-flip is awaiting
DEBUG from aquamarine ]: drm: Cursor buffer imported into KMS with id 97

Kernel log (dmesg / journalctl -k -b) on 7.3.0-2:

amdgpu 0000:00:01.0: [drm] Display Core v3.2.392 initialized on DCE 11.0
amdgpu 0000:00:01.0: [drm] Registered 2 planes with drm panic
[drm] Initialized amdgpu 3.64.0 for 0000:00:01.0 on minor 1

No amdgpu errors, no flip_done timed out, no GPU reset in the kernel log.

Additional system information

  • Cursor buffers are imported into KMS successfully; the failure is at commit/scanout time, not buffer import.
  • Modifier-less GBM allocation is in use on this GPU (GBM: Using modifier-less allocation), pre-existing.
  • Hyprland config uses cursor:no_hardware_cursors = 1 as a workaround.
  • linux-cachyos-lts 6.18.55-2 was tested with hardware cursors enabled and the cursor renders correctly on the same userspace/theme.
  • RAM: 8 GB installed, 6.7 GiB usable by the OS (1 GiB reserved as iGPU VRAM plus firmware/ACPI reservations).

gilsid avatar Oct 22 '26 15:10 gilsid

Same issue for me too. The linux-cachyos-rc kernel had it for me I thought the release version wouldn't but I guess not. Mine is an Rx 580 8 GB.

ArcTici7 avatar Oct 23 '26 00:10 ArcTici7

Same issue here. RX 570 4 GB. Replacing it with 7.2.11-zen1-1-zen brings the cursor back.

cebzab avatar Oct 23 '26 13:10 cebzab

Did you try 7.3.0-3/4 ?

ptr1337 avatar Oct 23 '26 13:10 ptr1337

2. Same issue here. RX 570 4 GB. Replacing it with 7.2.11-zen1-1-zen brings the cursor back.

I'm aware. I'm on 7.2.12 rn on the cachy kernel using downgrade. I pinned the package. This seems to be a Linux 7.3 bug not just a cachy one so I doubt they'd fix it.

ArcTici7 avatar Oct 23 '26 17:10 ArcTici7

3. Did you try 7.3.0-3/4 ?

Yes

ArcTici7 avatar Oct 23 '26 17:10 ArcTici7

3. Did you try 7.3.0-3/4 ?

I tested it on 7.3.0-4-cachyos and the hardware cursor is still invisible. With cursor:no_hardware_cursors = 0 nothing is drawn, setting it back to 1 makes the cursor appear immediately. Same userspace and theme as before.

gilsid avatar Oct 24 '26 00:10 gilsid

Reproduced on an RX 580 (Ellesmere / DCE 11.2, PCI ID 1002:67df) with 7.3.0-cachyos-lto and Hyprland (Aquamarine). Forcing software cursor (cursor:no_hardware_cursors = true) works around the issue.

Since this hasn't been reported upstream yet, I opened an upstream issue on the AMD DRM tracker: https://gitlab.freedesktop.org/drm/amd/-/work_items/6059

ReStranger avatar Oct 29 '26 14:10 ReStranger

I have traced back the issue to aquamarine and suggested a simple fix in the comment here: https://github.com/hyprwm/aquamarine/issues/476#issuecomment-6876757992

jan-dal avatar Nov 14 '26 11:11 jan-dal