[Bug 103401] New: X with radeon/amdgpu crashes under lightdm and sddm but not xdm and startx

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Oct 22 12:27:53 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=103401

            Bug ID: 103401
           Summary: X with radeon/amdgpu crashes under lightdm and sddm
                    but not xdm and startx
           Product: xorg
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: critical
          Priority: medium
         Component: Driver/AMDgpu
          Assignee: xorg-driver-ati at lists.x.org
          Reporter: virtuousfox at gmail.com
        QA Contact: xorg-team at lists.x.org

Created attachment 134986
  --> https://bugs.freedesktop.org/attachment.cgi?id=134986&action=edit
dmesg_20171022

My Radeon HD6780 card has fried itself recently and after that when I tried
temporary HD5xxx-something and my new RX 580 lightdm refuses to work, logging
as if driver crashed. But it works fine if I login via console and start the
session with startx. Without writing anything meaningful in logs sddm also
doesn't want to start but xdm seem to work, as ugly as it is.

The only suspicious thing in logs are these bits from dmesg:
[    5.975054] [drm] Detected VRAM RAM=8192M, BAR=256M
[    5.975059] [drm] RAM width 256bits GDDR5
[    5.976134] [drm] amdgpu: 8192M of VRAM memory ready
[    5.976139] [drm] amdgpu: 8192M of GTT memory ready.
[    5.976158] [drm] GART: num cpu pages 2097152, num gpu pages 2097152
[    5.976341] amdgpu 0000:01:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT
domain=0x0010 address=0x000000f400111000 flags=0x0010]
[    5.976356] amdgpu 0000:01:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT
domain=0x0010 address=0x000000f400110040 flags=0x0010]
[    5.976369] amdgpu 0000:01:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT
domain=0x0010 address=0x000000f4001113c0 flags=0x0010]
[    5.976381] amdgpu 0000:01:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT
domain=0x0010 address=0x000000f4001111c0 flags=0x0010]
[    5.976394] amdgpu 0000:01:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT
domain=0x0010 address=0x000000f400111040 flags=0x0010]
[    5.976406] amdgpu 0000:01:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT
domain=0x0010 address=0x000000f400111200 flags=0x0010]
[    5.976419] amdgpu 0000:01:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT
domain=0x0010 address=0x000000f400111080 flags=0x0010]
[    5.976431] amdgpu 0000:01:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT
domain=0x0010 address=0x000000f400111240 flags=0x0010]
[    5.976444] amdgpu 0000:01:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT
domain=0x0010 address=0x000000f4001110c0 flags=0x0010]
[    5.976456] amdgpu 0000:01:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT
domain=0x0010 address=0x000000f400111280 flags=0x0010]
[    5.976469] AMD-Vi: Event logged [IO_PAGE_FAULT device=01:00.0 domain=0x0010
address=0x000000f400111100 flags=0x0010]
[    5.976481] AMD-Vi: Event logged [IO_PAGE_FAULT device=01:00.0 domain=0x0010
address=0x000000f4001112c0 flags=0x0010]
[    5.976493] AMD-Vi: Event logged [IO_PAGE_FAULT device=01:00.0 domain=0x0010
address=0x000000f400111140 flags=0x0010]
[    5.976505] AMD-Vi: Event logged [IO_PAGE_FAULT device=01:00.0 domain=0x0010
address=0x000000f400111300 flags=0x0010]
[    5.976517] AMD-Vi: Event logged [IO_PAGE_FAULT device=01:00.0 domain=0x0010
address=0x000000f400111180 flags=0x0010]
[    5.976529] AMD-Vi: Event logged [IO_PAGE_FAULT device=01:00.0 domain=0x0010
address=0x000000f400111340 flags=0x0010]
[    5.976541] AMD-Vi: Event logged [IO_PAGE_FAULT device=01:00.0 domain=0x0010
address=0x000000f400111380 flags=0x0010]
[    5.976553] AMD-Vi: Event logged [IO_PAGE_FAULT device=01:00.0 domain=0x0010
address=0x000000f4001101c0 flags=0x0010]
[    5.976565] AMD-Vi: Event logged [IO_PAGE_FAULT device=01:00.0 domain=0x0010
address=0x000000f4001103c0 flags=0x0010]
[    5.978360] [drm] PCIE GART of 8192M enabled (table at 0x0000000000040000).
...
[    6.236889] amdgpu: [powerplay] [AVFS] Something is broken. See log!

The last time I saw something similar is attempt in using GeForce 6600 with
nouveau where it spammed system with infinite AMD-Vi errors until it hanged.
With disabled iommu there are no errors in log but system still hanged.
BUT with nvidia driver nothing errors out or crashes.

It may have something to do with system updates or my custom kernel config. Or
it may not, I have no idea.

X log from lightdm with RX580 says:
(II) [KMS] Kernel modesetting enabled.
(EE).
(EE) Backtrace:
(EE) 0: /usr/bin/X (xorg_backtrace+0x65) [0x55b88ef352c5]
(EE) 1: /usr/bin/X (0x55b88ed80000+0x1b9079) [0x55b88ef39079]
(EE) 2: /lib64/libpthread.so.0 (0x7f4bb2d61000+0x12270) [0x7f4bb2d73270]
(EE) 3: /lib64/libc.so.6 (0x7f4bb29a1000+0x98396) [0x7f4bb2a39396]
(EE) 4: /usr/lib64/dri/radeonsi_dri.so (0x7f4bace31000+0x7b5fa9)
[0x7f4bad5e6fa9]
(EE) 5: /usr/lib64/dri/radeonsi_dri.so (0x7f4bace31000+0x7b63ab)
[0x7f4bad5e73ab]
(EE) 6: /usr/lib64/dri/radeonsi_dri.so (0x7f4bace31000+0x73430)
[0x7f4bacea4430]
(EE) 7: /lib64/ld-linux-x86-64.so.2 (0x7f4bb4f89000+0xfb8a) [0x7f4bb4f98b8a]
(EE) 8: /lib64/ld-linux-x86-64.so.2 (0x7f4bb4f89000+0xfc96) [0x7f4bb4f98c96]
(EE) 9: /lib64/ld-linux-x86-64.so.2 (0x7f4bb4f89000+0x143ee) [0x7f4bb4f9d3ee]
(EE) 10: /lib64/libc.so.6 (_dl_catch_error+0x84) [0x7f4bb2ad57e4]
(EE) 11: /lib64/ld-linux-x86-64.so.2 (0x7f4bb4f89000+0x13b99) [0x7f4bb4f9cb99]
(EE) 12: /lib64/libdl.so.2 (0x7f4bb4491000+0xf96) [0x7f4bb4491f96]
(EE) 13: /lib64/libc.so.6 (_dl_catch_error+0x84) [0x7f4bb2ad57e4]
(EE) 14: /lib64/libdl.so.2 (0x7f4bb4491000+0x1665) [0x7f4bb4492665]
(EE) 15: /lib64/libdl.so.2 (dlopen+0x41) [0x7f4bb4492021]
(EE) 16: /usr/lib64/libgbm.so.1 (0x7f4baf259000+0x4ca4) [0x7f4baf25dca4]
(EE) 17: /usr/lib64/libgbm.so.1 (0x7f4baf259000+0x4dcc) [0x7f4baf25ddcc]
(EE) 18: /usr/lib64/libgbm.so.1 (0x7f4baf259000+0x5208) [0x7f4baf25e208]
(EE) 19: /usr/lib64/libgbm.so.1 (gbm_create_device+0x57) [0x7f4baf25c127]
(EE) 20: /usr/lib64/xorg/modules/drivers/amdgpu_drv.so (0x7f4baf679000+0xf139)
[0x7f4baf688139]
(EE) 21: /usr/bin/X (InitOutput+0xa3d) [0x55b88ee1a11d]
(EE) 22: /usr/bin/X (0x55b88ed80000+0x57fd3) [0x55b88edd7fd3]
(EE) 23: /lib64/libc.so.6 (__libc_start_main+0xea) [0x7f4bb29c1f4a]
(EE) 24: /usr/bin/X (_start+0x2a) [0x55b88edc1eba]
(EE).
(EE) Segmentation fault at address 0x0

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.x.org/archives/xorg-driver-ati/attachments/20171022/3159a6e6/attachment.html>


More information about the xorg-driver-ati mailing list