Paul Sopka
2024-02-17 19:40:01 UTC
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?
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?