Summary: | GPU lockup on AMD A4-3400 APU when starting X server on opensource drivers. (works fine with fglrx) | ||
---|---|---|---|
Product: | DRI | Reporter: | Azari <azari4096> |
Component: | DRM/Radeon | Assignee: | Default DRI bug account <dri-devel> |
Status: | RESOLVED MOVED | QA Contact: | |
Severity: | critical | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
Description
Azari
2016-01-28 01:21:28 UTC
Created attachment 121337 [details]
dmesg log from the machine in question.
Created attachment 121338 [details]
Xorg log file from the machine in question.
Created attachment 121339 [details]
lspci output with pci IDs for everything, from the machine in question.
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.
Created attachment 121340 [details] [review] possible fix Does this kernel patch help? (In reply to Alex Deucher from comment #4) > Created attachment 121340 [details] [review] [review] > possible fix > > Does this kernel patch help? I just finished compiling and testing a kernel with that patch; it didn't help, it still has the same issues. =( Thanks for the prompt reply by the way. 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. Check your xorg log and make sure acceleration is enabled. Created attachment 121447 [details]
startx with 'exec twm' in .xinitrc right after bootup; causes lockup.
Created attachment 121448 [details]
second attempt after lockup; startx with 'exec twm' in .xinitrc suddenly works fine.
(In reply to Alex Deucher from comment #7) > Check your xorg log and make sure acceleration is enabled. It seems that acceleration disables itself after the first startx attempt locks up the GPU: [ 326.027] (--) RADEON(0): Chipset: "SUMO2" (ChipID = 0x9644) [ 326.027] (II) RADEON(0): GPU accel disabled or not working, using shadowfb for KMS [ 326.027] (II) Loading sub module "shadow" [ 326.027] (II) LoadModule: "shadow" [ 326.027] (II) Loading /usr/lib/xorg/modules/libshadow.so [ 326.047] (II) Module shadow: vendor="X.Org Foundation" [ 326.047] compiled for 1.18.0, module version = 1.1.0 [ 326.047] ABI class: X.Org ANSI C Emulation, version 0.4 [ 326.047] (II) RADEON(0): KMS Color Tiling: disabled [ 326.047] (II) RADEON(0): KMS Color Tiling 2D: disabled [...] [ 326.247] (WW) RADEON(0): Direct rendering disabled [ 326.247] (II) RADEON(0): Acceleration disabled [...] [ 326.252] (II) AIGLX: Screen 0 is not DRI2 capable [ 326.252] (EE) AIGLX: reverting to software rendering [ 326.329] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer [ 326.331] (II) AIGLX: Loaded and initialized swrast [ 326.331] (II) GLX: Initialized DRISWRAST GL provider for screen 0 The full log is in this attachment: https://bugs.freedesktop.org/attachment.cgi?id=121448 I also uploaded another xorg log from the first attempt that causes the lockup, in case you want to see the difference between the two or something. -- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/694. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.