public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Issues with amdgpu driver: Compositor hangs, sysfs not working
@ 2024-02-17 19:34 Paul Sopka
  2024-02-18  8:57 ` Michael
  0 siblings, 1 reply; 5+ messages in thread
From: Paul Sopka @ 2024-02-17 19:34 UTC (permalink / raw
  To: gentoo-user

Hello everybody,

I installed an AMD Radeon RX 7900 XTX today, switching from Nvidia. But 
once I enable FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y to have a tty once 
the driver is up, the following happens:

1) My Wayland compositor (Hyprland) takes very long to start.

2) reading from sysfs (e.g. running "cat 
/sys/class/drm/card0/device/gpu_busy_percent") does not work and causes 
a hang.

Once I disable FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=n, I have no issues 
with the starting speed of the compositors at all and the mentioned 
command works. But this leads to a black tty.

The only two error messages from amdgpu I find in dmesg are:

[   66.757500] amdgpu 0000:03:00.0: amdgpu: SMU: I'm not done with your 
previous command: SMN_C2PMSG_66:0x00000029 SMN_C2PMSG_82:0x00000000
[   66.757502] amdgpu 0000:03:00.0: amdgpu: Failed to disable gfxoff!

and

[  870.087856] amdgpu 0000:03:00.0: amdgpu: SMU: I'm not done with your 
previous command: SMN_C2PMSG_66:0x00000029 SMN_C2PMSG_82:0x00000000
[  870.087858] amdgpu 0000:03:00.0: amdgpu: Failed to export SMU metrics 
table!

Did I forget anything or is this a bug?



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-02-18 11:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-17 19:34 [gentoo-user] Issues with amdgpu driver: Compositor hangs, sysfs not working Paul Sopka
2024-02-18  8:57 ` Michael
2024-02-18  9:17   ` Paul Sopka
2024-02-18 10:43     ` Michael
2024-02-18 11:30       ` Paul Sopka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox