#[Mesa, AMD] GPU hanging

16 messages · Page 1 of 1 (latest)

untold oar
#

So recently I've been having weird crashes. I hadn't changed any settings or updated anything when it started happening. I've updated my system since, but it hasn't changed anything.
My screen goes black, sometimes coming back after a second or two, but frozen, or rapidly jittering the last couple frames it displayed.
It happened 3 times yesterday while playing Minecraft, and once today while messing around on shadertoy (so, when the GPU is under slight load.)
The system is usually still responsive, so if I can navigate to a terminal while blind I can usually kill plasma or reboot without holding the power button. The system was completely frozen one time, though. Caps lock/numlock wouldn't even toggle.
My GPU is an AMD RX 6500 XT. More specs are in the journal.
Disk I/O is high, which I suspect is because the following is being rapidly spammed to the journal:

#

some graphical applicatons, including kwin, are generating coredumps:

untold oar
#

I was able to trigger it again and switch to a another TTY, and here's the relevant dmesg lines:

#

It only seems to be triggered by certain applications. My GPU is stable under various heavy stress tests.

torn bolt
#

I think opengl had a bad driver update because I am getting the same issues

#

but for other applications, have you tried downgrading

#
[2022-08-24T11:43:35-0700] [ALPM] upgraded mesa-git (1:22.3.0_devel.158318.1762e6b5406b-1 -> 1:22.3.0_devel.158506.78564b5b8427-1)

#
[2022-08-24T11:43:56-0700] [ALPM] upgraded kguiaddons-git (5.98.0_r484.g2af2d76-1 -> 5.98.0_r485.g35de076-1)
[2022-08-24T11:43:56-0700] [ALPM] upgraded kcoreaddons-git (5.98.0_r1546.g6bf65174-1 -> 5.98.0_r1548.g0fdf125b-1)

untold oar
#

i'll try downgrading

untold oar
untold oar
# untold oar https://gitlab.freedesktop.org/mesa/mesa/-/issues/7029

according to this user, it's existed since at least 22.1.2
Indeed, I downgraded lib32-mesa, mesa, mesa-vdpau, vulkan-radeon, and lib32-vulkan-radeon to 22.1.3-1, and Minecraft would launch, but still hang the GPU.
I just downgraded all the above to 21.3.7, and not only is compositing broken, but also I can't launch the game:

org.lwjgl.LWJGLException: Could not init GLX
    at org.lwjgl.opengl.LinuxDisplayPeerInfo.initDefaultPeerInfo(Native Method)
    at org.lwjgl.opengl.LinuxDisplayPeerInfo.<init>(LinuxDisplayPeerInfo.java:61)
    at org.lwjgl.opengl.LinuxDisplay.createPeerInfo(LinuxDisplay.java:828)
    at org.lwjgl.opengl.DrawableGL.setPixelFormat(DrawableGL.java:61)
    at org.lwjgl.opengl.Display.create(Display.java:846)
    at org.lwjgl.opengl.Display.create(Display.java:757)
    at org.lwjgl.opengl.Display.create(Display.java:739)

I've probably missed something I need to downgrade.

#

[Mesa, AMD] GPU hanging

torn bolt
#

I already added a bug report

untold oar
#

Since I didn't get downgrading to work, here's my workaround until it gets patched: translate GL calls to Vulkan yee_fuckin_haw