GPU lockup on AMD A4-3400 APU when starting X server on opensource drivers. (works fine with fglrx)
Submitted by Azari
Assigned to Default DRI bug account
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
The migration is almost done, at least the rest should happen in the background. There are still a few technical difference between the old cluster and the new ones, and they are summarized in this issue. Please pay attention to the TL:DR at the end of the comment.
Assigned to Default DRI bug account
Attachment 121337, "dmesg log from the machine in question.":
dmesg_log.txt
Attachment 121338, "Xorg log file from the machine in question.":
Xorg.0.log
I forgot to add the PCI ID for the GPU in the initial report, it's 1002:9644
I have also added an attachment with lspci output for all the other devices, as well as attachments of the dmesg ouput and the xorg log.
Attachment 121339, "lspci output with pci IDs for everything, from the machine in question.":
lspci_full.txt
@agd5f
submitted a patch:
Does this kernel patch help?
Patch 121340, "possible fix":
0001-drm-radeon-adjust-the-SX-constants-for-SUMO2.patch
(In reply to Alex Deucher from comment 4)
Created attachment 121340 [details] [review]
possible fix
Does this kernel patch help?
I have something new to report after doing more testing.
It seems that if I launch weston with the pixman backend (weston --use-pixman), that works, but meanwhile, startx with 'exec twm' in .xinitrc doesn't work on first attempt, it causes the lockup.
However, after the lockup, if i try to startx again (still with twm), it suddenly works and i can start applications in twm and use the desktop. I managed to reproduce this with Xfce as well, the first 'startxfce4' after bootup will fail and lockup the GPU, and after it resets, I try again and Xfce works.
One thing of note is that when I finally do manage to get a DE started (after the GPU has locked up and reset once), glxinfo shows only "gallium on llvmpipe"; no hardware acceleration available.
So whatever is causing the lockup is something that X does at startup (even when a minimal X window manager like twm is used), but weston-pixman doesn't do.
@agd5f
said:
Check your xorg log and make sure acceleration is enabled.
Attachment 121447, "startx with 'exec twm' in .xinitrc right after bootup; causes lockup.":
startx_twm_lockup__Xorg.0.log
Attachment 121448, "second attempt after lockup; startx with 'exec twm' in .xinitrc suddenly works fine.":
startx_twm_afterlockup__Xorg.0.log
(In reply to Alex Deucher from comment 7)
Check your xorg log and make sure acceleration is enabled.
This issue hasn't had any activity since 2019-11-19. The AMD driver stack changes rapidly and contains lots of shared code across products so it's possible that it has already been fixed. Please upgrade to a current stable kernel and userspace stack and try again. If you still experience this issue with the latest driver stack, please capture relevant logging and open a new issue referring back to this one.
closed