You are not logged in.

#1 2017-07-12 00:24:41

zegentzy
Member
Registered: 2017-07-11
Posts: 6

[SOLVED] SEGV from radeonsi_dri when running OpenGL apps after restart

Hello,
My computer used to function fine for the last ~4 months, but after a restart all OpenGL apps (all mesa demos like glxgears, steam, ect) stopped functioning.

My first response was that it was due to updating mesa from 17.1.3-1 to 17.1.4-1, so I tried downgrading. After restarting the issue was still present. I then downgraded to 17.1.2-1 (old version is my cache) and it still didn't work. I then upgraded to mesa-git (from Laurent Carlier's repo) to no avail.

Next I checked my dmesg to find a list segfaults coming from radeonsi_dri.so.

┗❯ sudo dmesg | tail
[   32.508077] nf_tables: (c) 2007-2009 Patrick McHardy <kaber@trash.net>
[   32.762899] nf_conntrack version 0.5.0 (65536 buckets, 262144 max)
[   35.085588] r8169 0000:01:00.0 enp1s0: link up
[   35.085605] IPv6: ADDRCONF(NETDEV_CHANGE): enp1s0: link becomes ready
[   53.198592] logitech-hidpp-device 0003:046D:101B.0004: HID++ 1.0 device connected.
[   75.994326] glxgears[1147]: segfault at 4 ip 0000610528f9bd16 sp 000075936908c810 error 4 in radeonsi_dri.so[610528cc3000+9f6000]
[ 1386.683255] glxgears[4308]: segfault at 4 ip 0000696eb77c3d16 sp 000070181261d300 error 4 in radeonsi_dri.so[696eb74eb000+9f6000]
[ 1661.462262] glxheads[5467]: segfault at 4 ip 00006a94a5e53d16 sp 000070b2209be0a0 error 4 in radeonsi_dri.so[6a94a5b7b000+9f6000]
[ 2075.550811] steam[6788]: segfault at 4 ip 00000000e75fb7e3 sp 00000000fe76c3a0 error 4 in radeonsi_dri.so[e734b000+aa0000]
[ 2092.785531] ACS[6980]: segfault at 4 ip 0000675e1f583d16 sp 0000769262f0f500 error 4 in radeonsi_dri.so[675e1f2ab000+9f6000]

After installing the debug symbols for mesa (also from Laurent Carlier's repo) I ran the following addr2line command (changing the address each time), each one (but the steam one) gave the same results, all of them have something to do with glsl.

┗❯ addr2line -e /usr/lib/xorg/modules/dri/radeonsi_dri.so -fCi 0x$(echo "obase=16;  $((0x0000610528f9bd16 - 0x610528cc3000))" | bc)         
add_uniform
/build/mesa-git/src/mesa/src/compiler/glsl/builtin_variables.cpp:563
┗❯ addr2line -e /usr/lib/xorg/modules/dri/radeonsi_dri.so -fCi 0x$(echo "obase=16;  $((0x0000696eb77c3d16 - 0x696eb74eb000))" | bc)
add_uniform
/build/mesa-git/src/mesa/src/compiler/glsl/builtin_variables.cpp:563
┗❯ addr2line -e /usr/lib/xorg/modules/dri/radeonsi_dri.so -fCi 0x$(echo "obase=16;  $((0x00006a94a5e53d16 - 0x6a94a5b7b000))" | bc) 
add_uniform
/build/mesa-git/src/mesa/src/compiler/glsl/builtin_variables.cpp:563
┗❯ addr2line -e /usr/lib/xorg/modules/dri/radeonsi_dri.so -fCi 0x$(echo "obase=16;  $((0x00000000e75fb7e3 - 0xe734b000))" | bc) 
ast_case_label_list::hir(exec_list*, _mesa_glsl_parse_state*)
/build/mesa-git/src/mesa/src/compiler/glsl/ast_to_hir.cpp:6631
┗❯ addr2line -e /usr/lib/xorg/modules/dri/radeonsi_dri.so -fCi 0x$(echo "obase=16;  $((0x0000675e1f583d16 - 0x675e1f2ab000))" | bc) 
add_uniform
/build/mesa-git/src/mesa/src/compiler/glsl/builtin_variables.cpp:563

The backtraces show something similar

┗❯ sudo journalctl _PID=4320
-- Logs begin at Wed 2017-06-14 21:41:31 MDT, end at Tue 2017-07-11 17:44:16 MDT. --
Jul 11 17:24:30 GENTZ-NEWPC-ARCH2 systemd-coredump[4320]: Process 4308 (glxgears) of user 1000 dumped core.
                                                          
                                                          Stack trace of thread 4308:
                                                          #0  0x0000696eb77c3d16 add_uniform (radeonsi_dri.so)
                                                          #1  0x0000696eb77c4b13 generate_uniforms (radeonsi_dri.so)
                                                          #2  0x0000696eb75af83a create_new_program (radeonsi_dri.so)
                                                          #3  0x0000696eb769100a update_program (radeonsi_dri.so)
                                                          #4  0x0000696eb769124d _mesa_update_state_locked (radeonsi_dri.so)
                                                          #5  0x0000696eb7691331 _mesa_update_state (radeonsi_dri.so)
                                                          #6  0x0000696eb757f668 clear (radeonsi_dri.so)
                                                          #7  0x000000000040256e n/a (glxgears)
                                                          #8  0x0000000000401d38 n/a (glxgears)
                                                          #9  0x0000696ebb41b43a __libc_start_main (libc.so.6)
                                                          #10 0x0000000000402349 n/a (glxgears)
                                                          
                                                          Stack trace of thread 4317:
                                                          #0  0x0000696eba8d839d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                          #1  0x0000696eb781c56b cnd_wait (radeonsi_dri.so)
                                                          #2  0x0000696eb781c487 impl_thrd_routine (radeonsi_dri.so)
                                                          #3  0x0000696eba8d2297 start_thread (libpthread.so.0)
                                                          #4  0x0000696ebb4e81ef __clone (libc.so.6)
                                                          
                                                          Stack trace of thread 4309:
                                                          #0  0x0000696eba8d839d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                          #1  0x0000696eb781c56b cnd_wait (radeonsi_dri.so)
                                                          #2  0x0000696eb781c487 impl_thrd_routine (radeonsi_dri.so)
                                                          #3  0x0000696eba8d2297 start_thread (libpthread.so.0)
                                                          #4  0x0000696ebb4e81ef __clone (libc.so.6)
                                                          
                                                          Stack trace of thread 4312:
                                                          #0  0x0000696eba8d839d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                          #1  0x0000696eb781c56b cnd_wait (radeonsi_dri.so)
                                                          #2  0x0000696eb781c487 impl_thrd_routine (radeonsi_dri.so)
                                                          #3  0x0000696eba8d2297 start_thread (libpthread.so.0)
                                                          #4  0x0000696ebb4e81ef __clone (libc.so.6)
                                                          
                                                          Stack trace of thread 4318:
                                                          #0  0x0000696eba8d839d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                          #1  0x0000696eb781c56b cnd_wait (radeonsi_dri.so)
                                                          #2  0x0000696eb781c487 impl_thrd_routine (radeonsi_dri.so)
                                                          #3  0x0000696eba8d2297 start_thread (libpthread.so.0)
                                                          #4  0x0000696ebb4e81ef __clone (libc.so.6)
                                                          
                                                          Stack trace of thread 4310:
                                                          #0  0x0000696eba8d839d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                          #1  0x0000696eb781c56b cnd_wait (radeonsi_dri.so)
                                                          #2  0x0000696eb781c487 impl_thrd_routine (radeonsi_dri.so)
                                                          #3  0x0000696eba8d2297 start_thread (libpthread.so.0)
                                                          #4  0x0000696ebb4e81ef __clone (libc.so.6)
                                                          
                                                          Stack trace of thread 4314:
                                                          #0  0x0000696eba8d839d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                          #1  0x0000696eb781c56b cnd_wait (radeonsi_dri.so)
                                                          #2  0x0000696eb781c487 impl_thrd_routine (radeonsi_dri.so)
                                                          #3  0x0000696eba8d2297 start_thread (libpthread.so.0)
                                                          #4  0x0000696ebb4e81ef __clone (libc.so.6)
                                                          
                                                          Stack trace of thread 4313:
                                                          #0  0x0000696eba8d839d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                          #1  0x0000696eb781c56b cnd_wait (radeonsi_dri.so)
                                                          #2  0x0000696eb781c487 impl_thrd_routine (radeonsi_dri.so)
                                                          #3  0x0000696eba8d2297 start_thread (libpthread.so.0)
                                                          #4  0x0000696ebb4e81ef __clone (libc.so.6)
                                                          
                                                          Stack trace of thread 4316:
                                                          #0  0x0000696eba8d839d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                          #1  0x0000696eb781c56b cnd_wait (radeonsi_dri.so)
                                                          #2  0x0000696eb781c487 impl_thrd_routine (radeonsi_dri.so)
                                                          #3  0x0000696eba8d2297 start_thread (libpthread.so.0)
                                                          #4  0x0000696ebb4e81ef __clone (libc.so.6)
                                                          
                                                          Stack trace of thread 4315:
                                                          #0  0x0000696eba8d839d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                          #1  0x0000696eb781c56b cnd_wait (radeonsi_dri.so)
                                                          #2  0x0000696eb781c487 impl_thrd_routine (radeonsi_dri.so)
                                                          #3  0x0000696eba8d2297 start_thread (libpthread.so.0)
                                                          #4  0x0000696ebb4e81ef __clone (libc.so.6)
                                                          
                                                          Stack trace of thread 4311:
                                                          #0  0x0000696eba8d839d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                          #1  0x0000696eb781c56b cnd_wait (radeonsi_dri.so)
                                                          #2  0x0000696eb781c487 impl_thrd_routine (radeonsi_dri.so)
                                                          #3  0x0000696eba8d2297 start_thread (libpthread.so.0)
                                                          #4  0x0000696ebb4e81ef __clone (libc.so.6)
┗❯ sudo journalctl _PID=6888
-- Logs begin at Wed 2017-06-14 21:41:31 MDT, end at Tue 2017-07-11 17:47:20 MDT. --
Jul 11 17:36:01 GENTZ-NEWPC-ARCH2 systemd-coredump[6888]: Process 6788 (steam) of user 1000 dumped core.
                                                          
                                                          Stack trace of thread 6788:
                                                          #0  0x00000000e75fb7e3 add_uniform (radeonsi_dri.so)
                                                          #1  0x00000000e75fc865 generate_uniforms (radeonsi_dri.so)
                                                          #2  0x00000000e73d28e0 create_new_program (radeonsi_dri.so)
                                                          #3  0x00000000e74c2561 update_program (radeonsi_dri.so)
                                                          #4  0x00000000e74c27b3 _mesa_update_state_locked (radeonsi_dri.so)
                                                          #5  0x00000000e74c2922 _mesa_update_state (radeonsi_dri.so)
                                                          #6  0x00000000e74d9189 teximage (radeonsi_dri.so)
                                                          #7  0x00000000e74db27a _mesa_TexImage2D (radeonsi_dri.so)
                                                          #8  0x00000000dc160c08 n/a (vgui2_s.so)
                                                          #9  0x00000000dc115849 n/a (vgui2_s.so)
                                                          #10 0x00000000dc115b87 n/a (vgui2_s.so)
                                                          #11 0x00000000dc13a52b n/a (vgui2_s.so)
                                                          #12 0x00000000dd457d37 n/a (steamui.so)
                                                          #13 0x00000000dd498c67 n/a (steamui.so)
                                                          #14 0x00000000dd490cb7 n/a (steamui.so)
                                                          #15 0x00000000dd4584ad n/a (steamui.so)
                                                          #16 0x00000000dd459ef0 n/a (steamui.so)
                                                          #17 0x00000000dd4efc6d n/a (steamui.so)
                                                          #18 0x00000000dd4f156c n/a (steamui.so)
                                                          #19 0x00000000dd42795c n/a (steamui.so)
                                                          #20 0x00000000dd03fd88 n/a (steamui.so)
                                                          #21 0x00000000dd087acd n/a (steamui.so)
                                                          #22 0x00000000dd006c33 n/a (steamui.so)
                                                          #23 0x00000000dcffca83 n/a (steamui.so)
                                                          #24 0x00000000dcf69af5 n/a (steamui.so)
                                                          #25 0x000000005d766720 _Z8RunSteamiPPcb (steam)
                                                          #26 0x000000005d7676b3 n/a (steam)
                                                          #27 0x000000005d752aac n/a (steam)
                                                          #28 0x00000000e8a43253 __libc_start_main (libc.so.6)
                                                          #29 0x000000005d756219 _start (steam)
┗❯ sudo journalctl _PID=6994
-- Logs begin at Wed 2017-06-14 21:41:31 MDT, end at Tue 2017-07-11 17:47:27 MDT. --
Jul 11 17:36:16 GENTZ-NEWPC-ARCH2 systemd-coredump[6994]: Process 6980 (ACS) of user 1000 dumped core.
                                                          
                                                          Stack trace of thread 6980:
                                                          #0  0x0000675e1f583d16 add_uniform (radeonsi_dri.so)
                                                          #1  0x0000675e1f584b13 generate_uniforms (radeonsi_dri.so)
                                                          #2  0x0000675e1f36f83a create_new_program (radeonsi_dri.so)
                                                          #3  0x0000675e1f45100a update_program (radeonsi_dri.so)
                                                          #4  0x0000675e1f451298 _mesa_update_state_locked (radeonsi_dri.so)
                                                          #5  0x0000675e1f451331 _mesa_update_state (radeonsi_dri.so)
                                                          #6  0x0000675e1f33f668 clear (radeonsi_dri.so)
                                                          #7  0x0000675e1f422f16 _mesa_unmarshal_Clear (radeonsi_dri.so)
                                                          #8  0x0000675e1f3e306d glthread_unmarshal_batch (radeonsi_dri.so)
                                                          #9  0x0000675e1f3e3325 _mesa_glthread_finish (radeonsi_dri.so)
                                                          #10 0x0000675e1f65ccc6 dri_flush (radeonsi_dri.so)
                                                          #11 0x0000675e21a128ef loader_dri3_swap_buffers_msc (libGLX_mesa.so.0)
                                                          #12 0x00000000004016ac _ZN3ACS8Renderer6RenderEv (ACS)
                                                          #13 0x00000000004012b2 main (ACS)
                                                          #14 0x0000675e2540343a __libc_start_main (libc.so.6)
                                                          #15 0x00000000004013ba _start (ACS)
                                                          
                                                          Stack trace of thread 6984:
                                                          #0  0x0000675e2579839d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                          #1  0x0000675e1f5dc56b cnd_wait (radeonsi_dri.so)
                                                          #2  0x0000675e1f5dc487 impl_thrd_routine (radeonsi_dri.so)
                                                          #3  0x0000675e25792297 start_thread (libpthread.so.0)
                                                          #4  0x0000675e254d01ef __clone (libc.so.6)
                                                          
                                                          Stack trace of thread 6983:
                                                          #0  0x0000675e2579839d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                          #1  0x0000675e1f5dc56b cnd_wait (radeonsi_dri.so)
                                                          #2  0x0000675e1f5dc487 impl_thrd_routine (radeonsi_dri.so)
                                                          #3  0x0000675e25792297 start_thread (libpthread.so.0)
                                                          #4  0x0000675e254d01ef __clone (libc.so.6)
                                                          
                                                          Stack trace of thread 6987:
                                                          #0  0x0000675e2579839d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                          #1  0x0000675e1f5dc56b cnd_wait (radeonsi_dri.so)
                                                          #2  0x0000675e1f5dc487 impl_thrd_routine (radeonsi_dri.so)
                                                          #3  0x0000675e25792297 start_thread (libpthread.so.0)
                                                          #4  0x0000675e254d01ef __clone (libc.so.6)
                                                          
                                                          Stack trace of thread 6982:
                                                          #0  0x0000675e2579839d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                          #1  0x0000675e1f5dc56b cnd_wait (radeonsi_dri.so)
                                                          #2  0x0000675e1f5dc487 impl_thrd_routine (radeonsi_dri.so)
                                                          #3  0x0000675e25792297 start_thread (libpthread.so.0)
                                                          #4  0x0000675e254d01ef __clone (libc.so.6)
                                                          
                                                          Stack trace of thread 6991:
                                                          #0  0x0000675e2579839d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                          #1  0x0000675e1f5dc56b cnd_wait (radeonsi_dri.so)
                                                          #2  0x0000675e1f5dc487 impl_thrd_routine (radeonsi_dri.so)
                                                          #3  0x0000675e25792297 start_thread (libpthread.so.0)
                                                          #4  0x0000675e254d01ef __clone (libc.so.6)
                                                          
                                                          Stack trace of thread 6981:
                                                          #0  0x0000675e2579839d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                          #1  0x0000675e1f5dc56b cnd_wait (radeonsi_dri.so)
                                                          #2  0x0000675e1f5dc487 impl_thrd_routine (radeonsi_dri.so)
                                                          #3  0x0000675e25792297 start_thread (libpthread.so.0)
                                                          #4  0x0000675e254d01ef __clone (libc.so.6)
                                                          
                                                          Stack trace of thread 6986:
                                                          #0  0x0000675e2579839d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                          #1  0x0000675e1f5dc56b cnd_wait (radeonsi_dri.so)
                                                          #2  0x0000675e1f5dc487 impl_thrd_routine (radeonsi_dri.so)
                                                          #3  0x0000675e25792297 start_thread (libpthread.so.0)
                                                          #4  0x0000675e254d01ef __clone (libc.so.6)
                                                          
                                                          Stack trace of thread 6992:
                                                          #0  0x0000675e2579839d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                          #1  0x0000675e1f5dc56b cnd_wait (radeonsi_dri.so)
                                                          #2  0x0000675e1f5dc487 impl_thrd_routine (radeonsi_dri.so)
                                                          #3  0x0000675e25792297 start_thread (libpthread.so.0)
                                                          #4  0x0000675e254d01ef __clone (libc.so.6)
                                                          
                                                          Stack trace of thread 6988:
                                                          #0  0x0000675e2579839d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                          #1  0x0000675e1f5dc56b cnd_wait (radeonsi_dri.so)
                                                          #2  0x0000675e1f5dc487 impl_thrd_routine (radeonsi_dri.so)
                                                          #3  0x0000675e25792297 start_thread (libpthread.so.0)
                                                          #4  0x0000675e254d01ef __clone (libc.so.6)
                                                          
                                                          Stack trace of thread 6985:
                                                          #0  0x0000675e2579839d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                          #1  0x0000675e1f5dc56b cnd_wait (radeonsi_dri.so)
                                                          #2  0x0000675e1f5dc487 impl_thrd_routine (radeonsi_dri.so)
                                                          #3  0x0000675e25792297 start_thread (libpthread.so.0)
                                                          #4  0x0000675e254d01ef __clone (libc.so.6)

Next I ran 8 passes (default is 4) of memtest86, nothing came up.
Then I tried commenting the following out of my Xorg config files.

┗❯ sudo cat /etc/X11/xorg.conf.d/20-radeon.conf 
Section "Device"
	Identifier  "Radeon"
	Driver "radeon"
	Option "AccelMethod" "glamor"
	Option "DRI" "3"
	Option "TearFree" "on"
	Option "ColorTiling" "on"
	Option "ColorTiling2D" "on"
EndSection

I suffered a great amount of tearing and the problem was not resolved. I've uncommented them.

Then I tried booting without "amd_iommu=on".
Then I tried booting without "slub_debug=P page_poison=1 vsyscall=none" and commenting everything in my sysctl.d directory.

Then I tried using llvm svn (from Luchesar V. ILIEV (kerberizer)).

Finally I searched "radeon" in the arch bug list.

More info:

┗❯ uname -a
Linux GENTZ-NEWPC-ARCH2 4.12.0-1-hardened #1 SMP PREEMPT Tue Jul 11 02:09:30 EDT 2017 x86_64 GNU/Linux
┗❯ sudo dmesg | grep radeon
[   16.116382] [drm] radeon kernel modesetting enabled.
[   16.174077] fb: switching to radeondrmfb from EFI VGA
[   16.175063] radeon 0000:00:01.0: VRAM: 1024M 0x0000000000000000 - 0x000000003FFFFFFF (1024M used)
[   16.175064] radeon 0000:00:01.0: GTT: 2048M 0x0000000040000000 - 0x00000000BFFFFFFF
[   16.175268] [drm] radeon: 1024M of VRAM memory ready
[   16.175269] [drm] radeon: 2048M of GTT memory ready.
[   16.773939] [drm] radeon: dpm initialized
[   16.941463] radeon 0000:00:01.0: WB enabled
[   16.941489] radeon 0000:00:01.0: fence driver on ring 0 use gpu addr 0x0000000040000c00 and cpu addr 0xffff8a19efe68c00
[   16.941493] radeon 0000:00:01.0: fence driver on ring 1 use gpu addr 0x0000000040000c04 and cpu addr 0xffff8a19efe68c04
[   16.941496] radeon 0000:00:01.0: fence driver on ring 2 use gpu addr 0x0000000040000c08 and cpu addr 0xffff8a19efe68c08
[   16.941499] radeon 0000:00:01.0: fence driver on ring 3 use gpu addr 0x0000000040000c0c and cpu addr 0xffff8a19efe68c0c
[   16.941502] radeon 0000:00:01.0: fence driver on ring 4 use gpu addr 0x0000000040000c10 and cpu addr 0xffff8a19efe68c10
[   16.941920] radeon 0000:00:01.0: fence driver on ring 5 use gpu addr 0x0000000000078d30 and cpu addr 0xffffb63502838d30
[   16.942101] radeon 0000:00:01.0: fence driver on ring 6 use gpu addr 0x0000000040000c18 and cpu addr 0xffff8a19efe68c18
[   16.942104] radeon 0000:00:01.0: fence driver on ring 7 use gpu addr 0x0000000040000c1c and cpu addr 0xffff8a19efe68c1c
[   16.942311] radeon 0000:00:01.0: radeon: using MSI.
[   16.942349] [drm] radeon: irq initialized.
[   18.940648] fbcon: radeondrmfb (fb0) is primary device
[   19.141068] radeon 0000:00:01.0: fb0: radeondrmfb frame buffer device
[   19.166907] [drm] Initialized radeon 2.50.0 20080528 for 0000:00:01.0 on minor 0
[   75.994326] glxgears[1147]: segfault at 4 ip 0000610528f9bd16 sp 000075936908c810 error 4 in radeonsi_dri.so[610528cc3000+9f6000]
[ 1386.683255] glxgears[4308]: segfault at 4 ip 0000696eb77c3d16 sp 000070181261d300 error 4 in radeonsi_dri.so[696eb74eb000+9f6000]
[ 1661.462262] glxheads[5467]: segfault at 4 ip 00006a94a5e53d16 sp 000070b2209be0a0 error 4 in radeonsi_dri.so[6a94a5b7b000+9f6000]
┗❯ sudo dmesg | grep drm   
[   16.116382] [drm] radeon kernel modesetting enabled.
[   16.174077] fb: switching to radeondrmfb from EFI VGA
[   16.174917] [drm] initializing kernel modesetting (KAVERI 0x1002:0x130F 0x1025:0x0904 0x00).
[   16.174942] [drm] doorbell mmio base: 0xD0000000
[   16.174943] [drm] doorbell mmio size: 8388608
[   16.175068] [drm] Detected VRAM RAM=1024M, BAR=256M
[   16.175068] [drm] RAM width 128bits DDR
[   16.175268] [drm] radeon: 1024M of VRAM memory ready
[   16.175269] [drm] radeon: 2048M of GTT memory ready.
[   16.175286] [drm] Loading kaveri Microcode
[   16.773134] [drm] Internal thermal controller without fan control
[   16.773939] [drm] radeon: dpm initialized
[   16.886199] [drm] Found UVD firmware Version: 1.64 Family ID: 9
[   16.919418] [drm] Found VCE firmware/feedback version 40.2.2 / 15!
[   16.919484] [drm] GART: num cpu pages 524288, num gpu pages 524288
[   16.941194] [drm] PCIE GART of 2048M enabled (table at 0x000000000030E000).
[   16.942109] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[   16.942110] [drm] Driver supports precise vblank timestamp query.
[   16.942349] [drm] radeon: irq initialized.
[   16.945856] [drm] ring test on 0 succeeded in 2 usecs
[   16.945962] [drm] ring test on 1 succeeded in 2 usecs
[   16.945990] [drm] ring test on 2 succeeded in 2 usecs
[   16.946120] [drm] ring test on 3 succeeded in 3 usecs
[   16.946126] [drm] ring test on 4 succeeded in 3 usecs
[   16.992707] [drm] ring test on 5 succeeded in 1 usecs
[   17.012797] [drm] UVD initialized successfully.
[   17.123293] [drm] ring test on 6 succeeded in 16 usecs
[   17.123304] [drm] ring test on 7 succeeded in 4 usecs
[   17.123305] [drm] VCE initialized successfully.
[   17.125542] [drm] ib test on ring 0 succeeded in 0 usecs
[   17.628891] [drm] ib test on ring 1 succeeded in 0 usecs
[   18.136340] [drm] ib test on ring 2 succeeded in 0 usecs
[   18.136412] [drm] ib test on ring 3 succeeded in 0 usecs
[   18.136466] [drm] ib test on ring 4 succeeded in 0 usecs
[   18.668885] [drm] ib test on ring 5 succeeded
[   18.689568] [drm] ib test on ring 6 succeeded
[   18.690112] [drm] ib test on ring 7 succeeded
[   18.691717] [drm] Radeon Display Connectors
[   18.691719] [drm] Connector 0:
[   18.691720] [drm]   HDMI-A-1
[   18.691721] [drm]   HPD1
[   18.691724] [drm]   DDC: 0x6530 0x6530 0x6534 0x6534 0x6538 0x6538 0x653c 0x653c
[   18.691725] [drm]   Encoders:
[   18.691726] [drm]     DFP1: INTERNAL_UNIPHY
[   18.691727] [drm] Connector 1:
[   18.691728] [drm]   VGA-1
[   18.691729] [drm]   HPD2
[   18.691732] [drm]   DDC: 0x6540 0x6540 0x6544 0x6544 0x6548 0x6548 0x654c 0x654c
[   18.691733] [drm]   Encoders:
[   18.691734] [drm]     CRT1: INTERNAL_UNIPHY3
[   18.691735] [drm]     CRT1: NUTMEG
[   18.940425] [drm] fb mappable at 0xC0722000
[   18.940429] [drm] vram apper at 0xC0000000
[   18.940430] [drm] size 8294400
[   18.940432] [drm] fb depth is 24
[   18.940433] [drm]    pitch is 7680
[   18.940648] fbcon: radeondrmfb (fb0) is primary device
[   19.141068] radeon 0000:00:01.0: fb0: radeondrmfb frame buffer device
[   19.166907] [drm] Initialized radeon 2.50.0 20080528 for 0000:00:01.0 on minor 0
[   19.389268] [drm] amdgpu kernel modesetting enabled.
┗❯ sudo dmesg | grep vga
[    0.647293] pci 0000:00:01.0: vgaarb: setting as boot VGA device
[    0.647295] pci 0000:00:01.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none
[    0.647305] pci 0000:00:01.0: vgaarb: bridge control possible
[    0.647305] vgaarb: loaded
┗❯ sudo dmesg | grep hdmi
┗❯ sudo dmesg | grep HDMI
[   18.691720] [drm]   HDMI-A-1
[   19.206926] input: HDA ATI HDMI HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.1/sound/card0/input9
┗❯ sudo dmesg | grep VGA 
[    0.647293] pci 0000:00:01.0: vgaarb: setting as boot VGA device
[    0.647295] pci 0000:00:01.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none
[    1.000047] fb0: EFI VGA frame buffer device
[   15.173724] ACPI: Video Device [VGA] (multi-head: yes  rom: no  post: no)
[   16.174077] fb: switching to radeondrmfb from EFI VGA
[   18.691728] [drm]   VGA-1
[   19.161326] ACPI Error: Method parse/execution failed [\_SB.PCI0.VGA.ATC0] (Node ffff8a19f3149540), AE_NOT_FOUND (20170303/psparse-543)
[   19.161383] ACPI Error: Method parse/execution failed [\_SB.PCI0.VGA.ATCS] (Node ffff8a19f31498c0), AE_NOT_FOUND (20170303/psparse-543)
┗❯ glinfo
GL_VERSION: 3.0 Mesa 17.2.0-devel (git-6c7b7aa3d8)
GL_RENDERER: AMD KAVERI (DRM 2.50.0 / 4.12.0-1-hardened, LLVM 5.0.0)
GL_VENDOR: X.Org
GL_EXTENSIONS: GL_ARB_multisample GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_copy_texture GL_EXT_polygon_offset GL_EXT_subtexture GL_EXT_texture_object GL_EXT_vertex_array GL_EXT_compiled_vertex_array GL_EXT_texture GL_EXT_texture3D GL_IBM_rasterpos_clip GL_ARB_point_parameters GL_EXT_draw_range_elements GL_EXT_packed_pixels GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_separate_specular_color GL_EXT_texture_edge_clamp GL_SGIS_generate_mipmap GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_ARB_framebuffer_sRGB GL_ARB_multitexture GL_EXT_framebuffer_sRGB GL_IBM_multimode_draw_arrays GL_IBM_texture_mirrored_repeat GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_transpose_matrix GL_EXT_blend_func_separate GL_EXT_fog_coord GL_EXT_multi_draw_arrays GL_EXT_secondary_color GL_EXT_texture_env_add GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod_bias GL_INGR_blend_func_separate GL_NV_blend_square GL_NV_light_max_exponent GL_NV_texgen_reflection GL_NV_texture_env_combine4 GL_S3_s3tc GL_SUN_multi_draw_arrays GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_EXT_framebuffer_object GL_EXT_texture_compression_s3tc GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_MESA_window_pos GL_NV_packed_depth_stencil GL_NV_texture_rectangle GL_ARB_depth_texture GL_ARB_occlusion_query GL_ARB_shadow GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_window_pos GL_ATI_fragment_shader GL_EXT_stencil_two_side GL_EXT_texture_cube_map GL_NV_depth_clamp GL_NV_fog_distance GL_APPLE_packed_pixels GL_ARB_draw_buffers GL_ARB_fragment_program GL_ARB_fragment_shader GL_ARB_shader_objects GL_ARB_vertex_program GL_ARB_vertex_shader GL_ATI_draw_buffers GL_ATI_texture_env_combine3 GL_ATI_texture_float GL_EXT_depth_bounds_test GL_EXT_shadow_funcs GL_EXT_stencil_wrap GL_MESA_pack_invert GL_NV_primitive_restart GL_ARB_depth_clamp GL_ARB_fragment_program_shadow GL_ARB_half_float_pixel GL_ARB_occlusion_query2 GL_ARB_point_sprite GL_ARB_shading_language_100 GL_ARB_sync GL_ARB_texture_non_power_of_two GL_ARB_vertex_buffer_object GL_ATI_blend_equation_separate GL_EXT_blend_equation_separate GL_OES_read_format GL_ARB_color_buffer_float GL_ARB_pixel_buffer_object GL_ARB_texture_compression_rgtc GL_ARB_texture_float GL_ARB_texture_rectangle GL_ATI_texture_compression_3dc GL_EXT_packed_float GL_EXT_pixel_buffer_object GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_rgtc GL_EXT_texture_mirror_clamp GL_EXT_texture_rectangle GL_EXT_texture_sRGB GL_EXT_texture_shared_exponent GL_ARB_framebuffer_object GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_packed_depth_stencil GL_ARB_vertex_array_object GL_ATI_separate_stencil GL_ATI_texture_mirror_once GL_EXT_draw_buffers2 GL_EXT_draw_instanced GL_EXT_gpu_program_parameters GL_EXT_texture_array GL_EXT_texture_compression_latc GL_EXT_texture_integer GL_EXT_texture_sRGB_decode GL_EXT_timer_query GL_OES_EGL_image GL_AMD_performance_monitor GL_ARB_copy_buffer GL_ARB_depth_buffer_float GL_ARB_draw_instanced GL_ARB_half_float_vertex GL_ARB_instanced_arrays GL_ARB_map_buffer_range GL_ARB_texture_rg GL_ARB_texture_swizzle GL_ARB_vertex_array_bgra GL_EXT_texture_swizzle GL_EXT_vertex_array_bgra GL_NV_conditional_render GL_AMD_conservative_depth GL_AMD_draw_buffers_blend GL_AMD_seamless_cubemap_per_texture GL_AMD_shader_stencil_export GL_ARB_ES2_compatibility GL_ARB_blend_func_extended GL_ARB_debug_output GL_ARB_draw_buffers_blend GL_ARB_draw_elements_base_vertex GL_ARB_explicit_attrib_location GL_ARB_fragment_coord_conventions GL_ARB_provoking_vertex GL_ARB_sample_shading GL_ARB_sampler_objects GL_ARB_seamless_cube_map GL_ARB_shader_stencil_export GL_ARB_shader_texture_lod GL_ARB_texture_cube_map_array GL_ARB_texture_gather GL_ARB_texture_multisample GL_ARB_texture_query_lod GL_ARB_texture_rgb10_a2ui GL_ARB_uniform_buffer_object GL_ARB_vertex_type_2_10_10_10_rev GL_ATI_meminfo GL_EXT_provoking_vertex GL_EXT_texture_snorm GL_MESA_texture_signed_rgba GL_NV_texture_barrier GL_ARB_get_program_binary GL_ARB_robustness GL_ARB_separate_shader_objects GL_ARB_shader_bit_encoding GL_ARB_shader_precision GL_ARB_texture_compression_bptc GL_ARB_timer_query GL_ARB_transform_feedback2 GL_ARB_transform_feedback3 GL_NV_vdpau_interop GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_ARB_base_instance GL_ARB_compressed_texture_pixel_storage GL_ARB_conservative_depth GL_ARB_internalformat_query GL_ARB_map_buffer_alignment GL_ARB_shader_atomic_counters GL_ARB_shader_image_load_store GL_ARB_shading_language_420pack GL_ARB_shading_language_packing GL_ARB_texture_storage GL_ARB_transform_feedback_instanced GL_EXT_framebuffer_multisample_blit_scaled GL_EXT_transform_feedback GL_AMD_shader_trinary_minmax GL_ARB_ES3_compatibility GL_ARB_arrays_of_arrays GL_ARB_clear_buffer_object GL_ARB_compute_shader GL_ARB_copy_image GL_ARB_explicit_uniform_location GL_ARB_framebuffer_no_attachments GL_ARB_invalidate_subdata GL_ARB_program_interface_query GL_ARB_robust_buffer_access_behavior GL_ARB_shader_image_size GL_ARB_shader_storage_buffer_object GL_ARB_stencil_texturing GL_ARB_texture_query_levels GL_ARB_texture_storage_multisample GL_ARB_texture_view GL_ARB_vertex_attrib_binding GL_KHR_debug GL_KHR_robustness GL_AMD_pinned_memory GL_ARB_bindless_texture GL_ARB_buffer_storage GL_ARB_clear_texture GL_ARB_compute_variable_group_size GL_ARB_internalformat_query2 GL_ARB_multi_bind GL_ARB_query_buffer_object GL_ARB_seamless_cubemap_per_texture GL_ARB_shader_group_vote GL_ARB_texture_mirror_clamp_to_edge GL_ARB_texture_stencil8 GL_ARB_vertex_type_10f_11f_11f_rev GL_EXT_shader_integer_mix GL_NVX_gpu_memory_info GL_ARB_clip_control GL_ARB_conditional_render_inverted GL_ARB_cull_distance GL_ARB_derivative_control GL_ARB_get_texture_sub_image GL_ARB_pipeline_statistics_query GL_ARB_shader_texture_image_samples GL_ARB_texture_barrier GL_EXT_polygon_offset_clamp GL_KHR_context_flush_control GL_KHR_robust_buffer_access_behavior GL_ARB_shader_atomic_counter_ops GL_ARB_shader_ballot GL_ARB_shader_clock GL_KHR_no_error GL_MESA_shader_integer_functions 
GL_SHADING_LANGUAGE_VERSION = 1.30
GLU_VERSION: 1.3
GLU_EXTENSIONS: GLU_EXT_nurbs_tessellator GLU_EXT_object_space_tess 
GLUT_API_VERSION: 4
GLUT_XLIB_IMPLEMENTATION: 13
┗❯ glxinfo | grep Open 
OpenGL vendor string: X.Org
OpenGL renderer string: AMD KAVERI (DRM 2.50.0 / 4.12.0-1-hardened, LLVM 5.0.0)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 17.2.0-devel (git-6c7b7aa3d8)
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 17.2.0-devel (git-6c7b7aa3d8)
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.1 Mesa 17.2.0-devel (git-6c7b7aa3d8)
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10
OpenGL ES profile extensions:
┗❯ cat /etc/default/grub | head             
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="Arch"
GRUB_CMDLINE_LINUX_DEFAULT=""
GRUB_CMDLINE_LINUX="amd_iommu=on cryptdevice=UUID=54366009-5ce0-4102-974e-1e4db3ab398a:cryptlvm slub_debug=P page_poison=1 vsyscall=none"
GRUB_ENABLE_CRYPTODISK=y

# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"
┗❯ find /etc/sysctl.d/ -type f | sudo xargs cat
# Allocate 256*2MiB for HugePageTables (YMMV)
vm.nr_hugepages = 550
vm.hugetlb_shm_group = 1002
# Try to keep kernel address exposures out of various /proc files (kallsyms, modules, etc).
kernel.kptr_restrict = 1

# Avoid kernel memory address exposures via dmesg.
kernel.dmesg_restrict = 1

# Block non-uid-0 profiling (needs distro patch, otherwise this is the same as "= 2")
kernel.perf_event_paranoid = 3

# Turn off kexec, even if it's built in.
kernel.kexec_load_disabled = 1

# Avoid non-ancestor ptrace access to running processes and their credentials.
kernel.yama.ptrace_scope = 1

# Disable User Namespaces, as it opens up a large attack surface to unprivileged users.
user.max_user_namespaces = 0

# Disable BPF JIT
net.core.bpf_jit_enable = 1

# Stop bad stuff
fs.protected_hardlinks = 1
fs.protected_symlinks = 1

# dont forward ips
net.ipv4.ip_forward = 0

# enable source route verification
net.ipv4.conf.*.rp_filter = 1

# disable ip source rooting
net.ipv4.conf.*.accept_source_route = 0

# no icmp redirects
net.ipv4.conf.*.accept_redirects = 0

# ignore pings
net.ipv4.icmp_ech_ignore_broadcasts = 1

# log martians
net.ipv4.conf.*.log_martians = 1
# Decrease swapping
vm.swappiness=10
vm.vfs_cache_pressure=10

# Cache more
vm.dirty_ratio=90
vm.dirty_background_ratio=50

# Make writing unnessesary for 15Mins
vm.dirty_expire_centisecs=90000
vm.dirty_writeback_centisecs=90000
┗❯ pacman -Q | grep 'mesa\|xorg\|git\|radeon\|svn\|va\|video\|ati'     
avahi 0.6.32-3
clang-analyzer-svn 5.0.0svn_r307661-1
clang-compiler-rt-svn 5.0.0svn_r307661-1
clang-svn 5.0.0svn_r307661-1
clang-tools-extra-svn 5.0.0svn_r307661-1
compton-git 0.1_beta2.87.g316eac0-1
efivar 31-1
festival 2.4-2
font-mathematica 9.0-5
frameworkintegration 5.36.0-1
git 2.13.2-1
java-environment-common 2-2
java-runtime-common 2-2
kdecoration 5.10.3-1
knotifications 5.36.0-1
lib32-clang-svn 5.0.0svn_r307660-1
lib32-libdrm-git 6117.ac214017-1
lib32-libdrm-git-debug 6117.ac214017-1
lib32-libva 1.8.2-1
lib32-llvm-libs-svn 5.0.0svn_r307660-1
lib32-llvm-svn 5.0.0svn_r307660-1
lib32-mesa-git 93822.6c7b7aa3d8-1
lib32-mesa-git-debug 93822.6c7b7aa3d8-1
lib32-vulkan-radeon-git 93822.6c7b7aa3d8-1
lib32-vulkan-radeon-git-debug 93822.6c7b7aa3d8-1
libclc-git 345.201707100709-1
libdrm-git 6117.ac214017-1
libdrm-git-debug 6117.ac214017-1
libgit2 1:0.25.1-2
libva 1.8.2-1
libvterm 0.1.git1.c4317a6-2
lld-svn 5.0.0svn_r307661-1
llvm-libs-svn 5.0.0svn_r307661-1
llvm-ocaml-svn 5.0.0svn_r307661-1
llvm-svn 5.0.0svn_r307661-1
mesa-demos 8.3.0-2
mesa-git 93822.6c7b7aa3d8-1
mesa-git-debug 93822.6c7b7aa3d8-1
mumble-git 2017.06.23-1
net-tools 1.60.20160710git-1
oh-my-zsh-git r4319.d848c948-1
opencl-mesa-git 93822.6c7b7aa3d8-1
opencl-mesa-git-debug 93822.6c7b7aa3d8-1
otf-latin-modern 2.004-2
otf-latinmodern-math 1.959-1
polkit-qt5 0.112.0+git20160226-1
qt5-declarative 5.9.1-3
qt5-location 5.9.1-2
startup-notification 0.12-5
steam-native-runtime 1.0.0.54-3
ttf-liberation 2.00.1-7
vala 0.36.3-1
videoproto 2.3.3-1
vulkan-radeon-git 93822.6c7b7aa3d8-1
vulkan-radeon-git-debug 93822.6c7b7aa3d8-1
xf86-video-ati-git 3450.df88d51c-1
xf86-video-ati-git-debug 3450.df88d51c-1
xf86-video-vesa 2.3.4-3
xfce4-artwork 0.1.1a_git20110420-4
xorg-appres 1.0.4-1
xorg-bdftopcf 1.0.5-1
xorg-docs 1.7.1-1
xorg-font-util 1.3.1-1
xorg-font-utils 7.6-4
xorg-fonts-100dpi 1.0.3-3
xorg-fonts-75dpi 1.0.3-3
xorg-fonts-alias 1.0.3-1
xorg-fonts-encodings 1.0.4-4
xorg-fonts-misc 1.0.3-5
xorg-iceauth 1.0.7-1
xorg-luit 1.1.1-2
xorg-mkfontdir 1.0.7-8
xorg-mkfontscale 1.1.2-1
xorg-server 1.19.3-2
xorg-server-common 1.19.3-2
xorg-server-devel 1.19.3-2
xorg-server-xdmx 1.19.3-2
xorg-server-xephyr 1.19.3-2
xorg-server-xnest 1.19.3-2
xorg-server-xvfb 1.19.3-2
xorg-server-xwayland 1.19.3-2
xorg-sessreg 1.1.1-1
xorg-setxkbmap 1.3.1-1
xorg-smproxy 1.0.6-1
xorg-util-macros 1.19.1-1
xorg-x11perf 1.6.0-1
xorg-xauth 1.0.10-1
xorg-xbacklight 1.2.1-1
xorg-xcmsdb 1.0.5-1
xorg-xcursorgen 1.0.6-1
xorg-xdpyinfo 1.3.2-1
xorg-xdriinfo 1.0.5-2
xorg-xev 1.2.2-1
xorg-xgamma 1.0.6-1
xorg-xhost 1.0.7-1
xorg-xinit 1.3.4-4
xorg-xinput 1.6.2-1
xorg-xkbcomp 1.4.0-1
xorg-xkbevd 1.1.4-1
xorg-xkbutils 1.0.4-2
xorg-xkill 1.0.4-1
xorg-xlsatoms 1.1.2-1
xorg-xlsclients 1.1.3-1
xorg-xmessage 1.0.4-2
xorg-xmodmap 1.0.9-1
xorg-xpr 1.0.4-2
xorg-xprop 1.2.2-1
xorg-xrandr 1.5.0-1
xorg-xrdb 1.1.0-2
xorg-xrefresh 1.0.5-1
xorg-xset 1.2.3-1
xorg-xsetroot 1.1.1-2
xorg-xvinfo 1.1.3-1
xorg-xwd 1.0.6-1
xorg-xwininfo 1.1.3-1
xorg-xwud 1.0.4-2

td;lr;
My computer used to work for ~4 months. Restarted once, now nothing OpenGL works. I need someone to guide me in the correct direction as I have no clue what to do next.

Last edited by zegentzy (2017-07-13 07:42:46)

Offline

#2 2017-07-12 07:44:01

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,252

Re: [SOLVED] SEGV from radeonsi_dri when running OpenGL apps after restart

And if you try from a non-hardened kernel (and just to be sure revert all those git packages to their repo versions)? The kind of patches that go into such a kernel often mess with the loading capabilities of GL libs.

Online

#3 2017-07-12 08:21:02

zegentzy
Member
Registered: 2017-07-11
Posts: 6

Re: [SOLVED] SEGV from radeonsi_dri when running OpenGL apps after restart

That didn't cross my mind.
After testing, using linux instead of linux-hardended (even while commenting the sysctl.d stuff) doesn't solve the problem sadly.

Thanks anyways.

Offline

#4 2017-07-12 09:18:20

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,252

Re: [SOLVED] SEGV from radeonsi_dri when running OpenGL apps after restart

Ah reading the output again, seems like your card has received support for AMDGPU and there's a conflict there. Try to blacklist amdgpu (or move away from radeon and use the amdgpu drivers)

Online

#5 2017-07-12 17:38:53

zegentzy
Member
Registered: 2017-07-11
Posts: 6

Re: [SOLVED] SEGV from radeonsi_dri when running OpenGL apps after restart

Blacklisting amdgpu didn't change anything so I decided to move to amdgpu, which also didn't fix the issue.

However now when things segfault I get this message:

[  186.532823] glxgears[1790]: segfault at 4 ip 00006ba58fc8c9d6 sp 000079decb8c7830 error 4 in radeonsi_dri.so[6ba58f9cb000+9b0000]

addr2line gives this location:

┗❯ addr2line -e /usr/lib/xorg/modules/dri/radeonsi_dri.so -fCi 0x$(echo "obase=16;  $((0x00006ba58fc8c9d6 - 0x6ba58f9cb000))" | bc)  
__driDriverGetExtensions_virtio_gpu
??:?

And here is the stack trace:

┗❯ journalctl _PID=1799
Hint: You are currently not seeing messages from other users and the system.
      Users in groups 'adm', 'systemd-journal', 'wheel' can see all messages.
      Pass -q to turn off this notice.
-- Logs begin at Wed 2017-06-14 23:37:44 MDT, end at Wed 2017-07-12 11:06:28 MDT. --
Jul 12 11:06:28 GENTZ-NEWPC-ARCH2 systemd-coredump[1799]: Process 1790 (glxgears) of user 1000 dumped core.
                                                          
                                                          Stack trace of thread 1790:
                                                          #0  0x00006ba58fc8c9d6 n/a (radeonsi_dri.so)
                                                          #1  0x00006ba58fc8d7f3 n/a (radeonsi_dri.so)
                                                          #2  0x00006ba58fa89a0a n/a (radeonsi_dri.so)
                                                          #3  0x00006ba58fb632ed n/a (radeonsi_dri.so)
                                                          #4  0x00006ba58fb633a1 n/a (radeonsi_dri.so)
                                                          #5  0x00006ba58fa5abf8 n/a (radeonsi_dri.so)
                                                          #6  0x000000000040256e n/a (glxgears)
                                                          #7  0x0000000000401d38 n/a (glxgears)
                                                          #8  0x00006ba5938b343a __libc_start_main (libc.so.6)
                                                          #9  0x0000000000402349 n/a (glxgears)
                                                          
                                                          Stack trace of thread 1791:
                                                          #0  0x00006ba592d7039d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                          #1  0x00006ba58fce505b n/a (radeonsi_dri.so)
                                                          #2  0x00006ba58fce4d97 n/a (radeonsi_dri.so)
                                                          #3  0x00006ba592d6a297 start_thread (libpthread.so.0)
                                                          #4  0x00006ba5939801ef __clone (libc.so.6)
                                                          
                                                          Stack trace of thread 1793:
                                                          #0  0x00006ba592d7039d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                          #1  0x00006ba58fce505b n/a (radeonsi_dri.so)
                                                          #2  0x00006ba58fce4d97 n/a (radeonsi_dri.so)
                                                          #3  0x00006ba592d6a297 start_thread (libpthread.so.0)
                                                          #4  0x00006ba5939801ef __clone (libc.so.6)
                                                          
                                                          Stack trace of thread 1792:
                                                          #0  0x00006ba592d7039d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                          #1  0x00006ba58fce505b n/a (radeonsi_dri.so)
                                                          #2  0x00006ba58fce4d97 n/a (radeonsi_dri.so)
                                                          #3  0x00006ba592d6a297 start_thread (libpthread.so.0)
                                                          #4  0x00006ba5939801ef __clone (libc.so.6)
                                                          
                                                          Stack trace of thread 1796:
                                                          #0  0x00006ba592d7039d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                          #1  0x00006ba58fce505b n/a (radeonsi_dri.so)
                                                          #2  0x00006ba58fce4d97 n/a (radeonsi_dri.so)
                                                          #3  0x00006ba592d6a297 start_thread (libpthread.so.0)
                                                          #4  0x00006ba5939801ef __clone (libc.so.6)
                                                          
                                                          Stack trace of thread 1795:
                                                          #0  0x00006ba592d7039d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                          #1  0x00006ba58fce505b n/a (radeonsi_dri.so)
                                                          #2  0x00006ba58fce4d97 n/a (radeonsi_dri.so)
                                                          #3  0x00006ba592d6a297 start_thread (libpthread.so.0)
                                                          #4  0x00006ba5939801ef __clone (libc.so.6)
                                                          
                                                          Stack trace of thread 1794:
                                                          #0  0x00006ba592d7039d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                          #1  0x00006ba58fce505b n/a (radeonsi_dri.so)
                                                          #2  0x00006ba58fce4d97 n/a (radeonsi_dri.so)
                                                          #3  0x00006ba592d6a297 start_thread (libpthread.so.0)
                                                          #4  0x00006ba5939801ef __clone (libc.so.6)
                                                          
                                                          Stack trace of thread 1797:
                                                          #0  0x00006ba592d7039d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                          #1  0x00006ba58fafd437 n/a (radeonsi_dri.so)
                                                          #2  0x00006ba592d6a297 start_thread (libpthread.so.0)
                                                          #3  0x00006ba5939801ef __clone (libc.so.6)

Interestingly there is no amdgpu_dri.so file and amdgpu still uses radeonsi_dri.so

Here is some logs from dmesg

┗❯ sudo dmesg | grep modeset
[    1.326873] [drm] amdgpu kernel modesetting enabled.
[    1.330301] [drm] initializing kernel modesetting (KAVERI 0x1002:0x130F 0x1025:0x0904 0x00).
┗❯ sudo dmesg | grep drm    
[    1.326873] [drm] amdgpu kernel modesetting enabled.
[    1.328381] fb: switching to amdgpudrmfb from EFI VGA
[    1.330301] [drm] initializing kernel modesetting (KAVERI 0x1002:0x130F 0x1025:0x0904 0x00).
[    1.330320] [drm] register mmio base: 0xFEB00000
[    1.330320] [drm] register mmio size: 262144
[    1.351366] [drm] BIOS signature incorrect 0 0
[    1.351434] [drm] GPU post is not needed
[    1.351794] [drm] vm size is 64 GB, block size is 13-bit
[    1.351808] [drm] Detected VRAM RAM=1024M, BAR=1024M
[    1.351809] [drm] RAM width 128bits UNKNOWN
[    1.352674] [drm] amdgpu: 1024M of VRAM memory ready
[    1.352677] [drm] amdgpu: 3072M of GTT memory ready.
[    1.352703] [drm] GART: num cpu pages 786432, num gpu pages 786432
[    1.477561] [drm] PCIE GART of 3072M enabled (table at 0x0000000000040000).
[    1.477630] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    1.477631] [drm] Driver supports precise vblank timestamp query.
[    1.477731] [drm] amdgpu: irq initialized.
[    1.477750] [drm] Internal thermal controller without fan control
[    1.477753] [drm] amdgpu: dpm initialized
[    1.480720] [drm] AMDGPU Display Connectors
[    1.480721] [drm] Connector 0:
[    1.480721] [drm]   HDMI-A-1
[    1.480722] [drm]   HPD1
[    1.480723] [drm]   DDC: 0x194c 0x194c 0x194d 0x194d 0x194e 0x194e 0x194f 0x194f
[    1.480723] [drm]   Encoders:
[    1.480724] [drm]     DFP1: INTERNAL_UNIPHY
[    1.480725] [drm] Connector 1:
[    1.480725] [drm]   VGA-1
[    1.480725] [drm]   HPD2
[    1.480726] [drm]   DDC: 0x1950 0x1950 0x1951 0x1951 0x1952 0x1952 0x1953 0x1953
[    1.480727] [drm]   Encoders:
[    1.480727] [drm]     CRT1: INTERNAL_UNIPHY3
[    1.480728] [drm]     CRT1: NUTMEG
[    1.487911] [drm] Found UVD firmware Version: 1.64 Family ID: 9
[    1.488360] [drm] Found VCE firmware Version: 50.10 Binary ID: 2
[    1.560161] [drm] ring test on 0 succeeded in 12 usecs
[    1.560390] [drm] ring test on 1 succeeded in 2 usecs
[    1.560416] [drm] ring test on 2 succeeded in 16 usecs
[    1.560443] [drm] ring test on 3 succeeded in 16 usecs
[    1.560469] [drm] ring test on 4 succeeded in 16 usecs
[    1.560496] [drm] ring test on 5 succeeded in 17 usecs
[    1.560522] [drm] ring test on 6 succeeded in 16 usecs
[    1.560549] [drm] ring test on 7 succeeded in 16 usecs
[    1.560575] [drm] ring test on 8 succeeded in 16 usecs
[    1.560674] [drm] ring test on 9 succeeded in 3 usecs
[    1.560678] [drm] ring test on 10 succeeded in 3 usecs
[    1.596034] [drm] ring test on 11 succeeded in 0 usecs
[    1.596035] [drm] UVD initialized successfully.
[    1.720868] [drm] ring test on 12 succeeded in 9 usecs
[    1.720871] [drm] ring test on 13 succeeded in 1 usecs
[    1.720872] [drm] VCE initialized successfully.
[    1.721281] [drm] ib test on ring 0 succeeded
[    1.721362] [drm] ib test on ring 1 succeeded
[    1.721402] [drm] ib test on ring 2 succeeded
[    1.721432] [drm] ib test on ring 3 succeeded
[    1.721451] [drm] ib test on ring 4 succeeded
[    1.721471] [drm] ib test on ring 5 succeeded
[    1.721488] [drm] ib test on ring 6 succeeded
[    1.721511] [drm] ib test on ring 7 succeeded
[    1.721528] [drm] ib test on ring 8 succeeded
[    1.721544] [drm] ib test on ring 9 succeeded
[    1.721559] [drm] ib test on ring 10 succeeded
[    1.723966] [drm] ib test on ring 11 succeeded
[    1.724273] [drm] ib test on ring 12 succeeded
[    1.910800] [drm] fb mappable at 0x80828000
[    1.910803] [drm] vram apper at 0x80000000
[    1.910804] [drm] size 8294400
[    1.910806] [drm] fb depth is 24
[    1.910807] [drm]    pitch is 7680
[    1.914918] fbcon: amdgpudrmfb (fb0) is primary device
[    2.287060] amdgpu 0000:00:01.0: fb0: amdgpudrmfb frame buffer device
[    2.309618] [drm] Initialized amdgpu 3.15.0 20150101 for 0000:00:01.0 on minor 0
┗❯ sudo dmesg | grep amd
[    0.000000] Command line: BOOT_IMAGE=/vmlinuz-linux-hardened root=/dev/mapper/LinuxLVM-root rw amd_iommu=on cryptdevice=UUID=54366009-5ce0-4102-974e-1e4db3ab398a:cryptlvm slub_debug=P page_poison=1 vsyscall=none
[    0.000000] Kernel command line: audit=0 BOOT_IMAGE=/vmlinuz-linux-hardened root=/dev/mapper/LinuxLVM-root rw amd_iommu=on cryptdevice=UUID=54366009-5ce0-4102-974e-1e4db3ab398a:cryptlvm slub_debug=P page_poison=1 vsyscall=none
[    1.154843] amd_uncore: AMD NB counters detected
[    1.167917] perf/amd_iommu: Detected AMD IOMMU #0 (2 banks, 4 counters/bank).
[    1.326873] [drm] amdgpu kernel modesetting enabled.
[    1.328381] fb: switching to amdgpudrmfb from EFI VGA
[    1.330305] amdgpu 0000:00:01.0: VM size (-1) must be a power of 2
[    1.351799] amdgpu 0000:00:01.0: VRAM: 1024M 0x0000000000000000 - 0x000000003FFFFFFF (1024M used)
[    1.351801] amdgpu 0000:00:01.0: GTT: 3072M 0x0000000040000000 - 0x00000000FFFFFFFF
[    1.352674] [drm] amdgpu: 1024M of VRAM memory ready
[    1.352677] [drm] amdgpu: 3072M of GTT memory ready.
[    1.477710] amdgpu 0000:00:01.0: amdgpu: using MSI.
[    1.477731] [drm] amdgpu: irq initialized.
[    1.477753] [drm] amdgpu: dpm initialized
[    1.484740] amdgpu 0000:00:01.0: fence driver on ring 0 use gpu addr 0x0000000040000010, cpu addr 0xffff97842c5d1010
[    1.486866] amdgpu 0000:00:01.0: fence driver on ring 1 use gpu addr 0x0000000040000020, cpu addr 0xffff97842c5d1020
[    1.486956] amdgpu 0000:00:01.0: fence driver on ring 2 use gpu addr 0x0000000040000030, cpu addr 0xffff97842c5d1030
[    1.487059] amdgpu 0000:00:01.0: fence driver on ring 3 use gpu addr 0x0000000040000040, cpu addr 0xffff97842c5d1040
[    1.487138] amdgpu 0000:00:01.0: fence driver on ring 4 use gpu addr 0x0000000040000050, cpu addr 0xffff97842c5d1050
[    1.487216] amdgpu 0000:00:01.0: fence driver on ring 5 use gpu addr 0x0000000040000060, cpu addr 0xffff97842c5d1060
[    1.487296] amdgpu 0000:00:01.0: fence driver on ring 6 use gpu addr 0x0000000040000070, cpu addr 0xffff97842c5d1070
[    1.487365] amdgpu 0000:00:01.0: fence driver on ring 7 use gpu addr 0x0000000040000080, cpu addr 0xffff97842c5d1080
[    1.487447] amdgpu 0000:00:01.0: fence driver on ring 8 use gpu addr 0x0000000040000090, cpu addr 0xffff97842c5d1090
[    1.487715] amdgpu 0000:00:01.0: fence driver on ring 9 use gpu addr 0x00000000400000a0, cpu addr 0xffff97842c5d10a0
[    1.487772] amdgpu 0000:00:01.0: fence driver on ring 10 use gpu addr 0x00000000400000b0, cpu addr 0xffff97842c5d10b0
[    1.488208] amdgpu 0000:00:01.0: fence driver on ring 11 use gpu addr 0x000000000068cd30, cpu addr 0xffffad6002638d30
[    1.488523] amdgpu 0000:00:01.0: fence driver on ring 12 use gpu addr 0x00000000400000d0, cpu addr 0xffff97842c5d10d0
[    1.488587] amdgpu 0000:00:01.0: fence driver on ring 13 use gpu addr 0x00000000400000e0, cpu addr 0xffff97842c5d10e0
[    1.914918] fbcon: amdgpudrmfb (fb0) is primary device
[    2.287060] amdgpu 0000:00:01.0: fb0: amdgpudrmfb frame buffer device
[    2.309618] [drm] Initialized amdgpu 3.15.0 20150101 for 0000:00:01.0 on minor 0
[   29.597774] EDAC amd64: Node 0: DRAM ECC disabled.

And Xorg:

┗❯ cat /var/log/Xorg.0.log
[    49.596] 
X.Org X Server 1.19.3
Release Date: 2017-03-15
[    49.596] X Protocol Version 11, Revision 0
[    49.596] Build Operating System: Linux 4.9.11-1-ARCH x86_64 
[    49.596] Current Operating System: Linux GENTZ-NEWPC-ARCH2 4.12.0-1-hardened #1 SMP PREEMPT Tue Jul 11 02:09:30 EDT 2017 x86_64
[    49.596] Kernel command line: audit=0 BOOT_IMAGE=/vmlinuz-linux-hardened root=/dev/mapper/LinuxLVM-root rw amd_iommu=on cryptdevice=UUID=54366009-5ce0-4102-974e-1e4db3ab398a:cryptlvm slub_debug=P page_poison=1 vsyscall=none
[    49.596] Build Date: 07 April 2017  05:42:48PM
[    49.596]  
[    49.596] Current version of pixman: 0.34.0
[    49.596] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    49.596] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    49.596] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Jul 12 11:04:10 2017
[    49.735] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    49.735] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    49.833] (==) No Layout section.  Using the first Screen section.
[    49.833] (==) No screen section available. Using defaults.
[    49.833] (**) |-->Screen "Default Screen Section" (0)
[    49.833] (**) |   |-->Monitor "<default monitor>"
[    49.847] (==) No device specified for screen "Default Screen Section".
	Using the first device section listed.
[    49.847] (**) |   |-->Device "AMD"
[    49.847] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[    49.847] (==) Automatically adding devices
[    49.847] (==) Automatically enabling devices
[    49.847] (==) Automatically adding GPU devices
[    49.847] (==) Automatically binding GPU devices
[    49.847] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    49.944] (==) FontPath set to:
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/,
	/usr/share/fonts/OTF/,
	/usr/share/fonts/Type1/,
	/usr/share/fonts/100dpi/,
	/usr/share/fonts/75dpi/
[    49.945] (==) ModulePath set to "/usr/lib/xorg/modules"
[    49.945] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    49.961] (II) Loader magic: 0x822d60
[    49.961] (II) Module ABI versions:
[    49.961] 	X.Org ANSI C Emulation: 0.4
[    49.961] 	X.Org Video Driver: 23.0
[    49.961] 	X.Org XInput driver : 24.1
[    49.961] 	X.Org Server Extension : 10.0
[    49.962] (++) using VT number 7

[    49.962] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[    49.963] (II) xfree86: Adding drm device (/dev/dri/card0)
[    49.968] (--) PCI:*(0:0:1:0) 1002:130f:1025:0904 rev 0, Mem @ 0xc0000000/268435456, 0xd0000000/8388608, 0xfeb00000/262144, I/O @ 0x0000f000/256, BIOS @ 0x????????/131072
[    49.968] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[    49.969] (II) LoadModule: "glx"
[    50.006] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    50.115] (II) Module glx: vendor="X.Org Foundation"
[    50.116] 	compiled for 1.19.3, module version = 1.0.0
[    50.116] 	ABI class: X.Org Server Extension, version 10.0
[    50.116] (II) LoadModule: "amdgpu"
[    50.132] (II) Loading /usr/lib/xorg/modules/drivers/amdgpu_drv.so
[    50.192] (II) Module amdgpu: vendor="X.Org Foundation"
[    50.192] 	compiled for 1.19.3, module version = 1.3.0
[    50.192] 	Module class: X.Org Video Driver
[    50.192] 	ABI class: X.Org Video Driver, version 23.0
[    50.192] (II) AMDGPU: Driver for AMD Radeon:
	All GPUs supported by the amdgpu kernel driver
[    50.198] (II) [KMS] Kernel modesetting enabled.
[    50.198] (II) AMDGPU(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[    50.198] (==) AMDGPU(0): Depth 24, (--) framebuffer bpp 32
[    50.198] (II) AMDGPU(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
[    50.198] (==) AMDGPU(0): Default visual is TrueColor
[    50.199] (**) AMDGPU(0): Option "DRI" "3"
[    50.199] (**) AMDGPU(0): Option "TearFree" "on"
[    50.199] (==) AMDGPU(0): RGB weight 888
[    50.199] (II) AMDGPU(0): Using 8 bits per RGB (8 bit DAC)
[    50.199] (--) AMDGPU(0): Chipset: "Unknown AMD Radeon GPU" (ChipID = 0x130f)
[    50.199] (II) Loading sub module "fb"
[    50.199] (II) LoadModule: "fb"
[    50.199] (II) Loading /usr/lib/xorg/modules/libfb.so
[    50.208] (II) Module fb: vendor="X.Org Foundation"
[    50.208] 	compiled for 1.19.3, module version = 1.0.0
[    50.208] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    50.208] (II) Loading sub module "dri2"
[    50.208] (II) LoadModule: "dri2"
[    50.208] (II) Module "dri2" already built-in
[    51.379] (II) Loading sub module "glamoregl"
[    51.379] (II) LoadModule: "glamoregl"
[    51.379] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[    51.416] (II) Module glamoregl: vendor="X.Org Foundation"
[    51.416] 	compiled for 1.19.3, module version = 1.0.0
[    51.416] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    51.416] (II) glamor: OpenGL accelerated X.org driver based.
[    51.528] (II) glamor: EGL version 1.4 (DRI2):
[    51.570] (II) AMDGPU(0): glamor detected, initialising EGL layer.
[    51.570] (**) AMDGPU(0): TearFree property default: on
[    51.570] (II) AMDGPU(0): KMS Pageflipping: enabled
[    51.602] (II) AMDGPU(0): Output HDMI-A-0 has no monitor section
[    51.739] (II) AMDGPU(0): Output VGA-0 has no monitor section
[    51.772] (II) AMDGPU(0): EDID for output HDMI-A-0
[    51.772] (II) AMDGPU(0): Manufacturer: ACR  Model: 281  Serial#: 1109415608
[    51.772] (II) AMDGPU(0): Year: 2014  Week: 22
[    51.772] (II) AMDGPU(0): EDID Version: 1.3
[    51.772] (II) AMDGPU(0): Digital Display Input
[    51.772] (II) AMDGPU(0): Max Image Size [cm]: horiz.: 48  vert.: 27
[    51.772] (II) AMDGPU(0): Gamma: 2.20
[    51.772] (II) AMDGPU(0): DPMS capabilities: StandBy Off
[    51.772] (II) AMDGPU(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4 
[    51.772] (II) AMDGPU(0): Default color space is primary color space
[    51.772] (II) AMDGPU(0): First detailed timing is preferred mode
[    51.772] (II) AMDGPU(0): redX: 0.633 redY: 0.340   greenX: 0.324 greenY: 0.631
[    51.772] (II) AMDGPU(0): blueX: 0.155 blueY: 0.056   whiteX: 0.313 whiteY: 0.329
[    51.772] (II) AMDGPU(0): Supported established timings:
[    51.772] (II) AMDGPU(0): 720x400@70Hz
[    51.772] (II) AMDGPU(0): 640x480@60Hz
[    51.772] (II) AMDGPU(0): 640x480@67Hz
[    51.772] (II) AMDGPU(0): 800x600@56Hz
[    51.772] (II) AMDGPU(0): 800x600@60Hz
[    51.772] (II) AMDGPU(0): 1024x768@60Hz
[    51.772] (II) AMDGPU(0): 1024x768@70Hz
[    51.772] (II) AMDGPU(0): Manufacturer's mask: 0
[    51.772] (II) AMDGPU(0): Supported standard timings:
[    51.772] (II) AMDGPU(0): #0: hsize: 1152  vsize 864  refresh: 75  vid: 20337
[    51.772] (II) AMDGPU(0): #1: hsize: 1280  vsize 1024  refresh: 60  vid: 32897
[    51.772] (II) AMDGPU(0): #2: hsize: 1280  vsize 800  refresh: 60  vid: 129
[    51.772] (II) AMDGPU(0): #3: hsize: 1440  vsize 900  refresh: 60  vid: 149
[    51.772] (II) AMDGPU(0): #4: hsize: 1920  vsize 1080  refresh: 60  vid: 49361
[    51.772] (II) AMDGPU(0): Supported detailed timing:
[    51.772] (II) AMDGPU(0): clock: 148.5 MHz   Image Size:  477 x 268 mm
[    51.772] (II) AMDGPU(0): h_active: 1920  h_sync: 2008  h_sync_end 2052 h_blank_end 2200 h_border: 0
[    51.773] (II) AMDGPU(0): v_active: 1080  v_sync: 1084  v_sync_end 1089 v_blanking: 1125 v_border: 0
[    51.773] (II) AMDGPU(0): Ranges: V min: 55 V max: 75 Hz, H min: 30 H max: 80 kHz, PixClock max 185 MHz
[    51.773] (II) AMDGPU(0): Monitor name: S220HQL
[    51.773] (II) AMDGPU(0): Serial No: LTK0R0292442
[    51.773] (II) AMDGPU(0): EDID (in hex):
[    51.773] (II) AMDGPU(0): 	00ffffffffffff0004728102b8562042
[    51.773] (II) AMDGPU(0): 	1618010380301b78ae02d5a25753a127
[    51.773] (II) AMDGPU(0): 	0e5054b30c00714f818081009500d1c0
[    51.773] (II) AMDGPU(0): 	010101010101023a801871382d40582c
[    51.773] (II) AMDGPU(0): 	4500dd0c1100001e000000fd00374b1e
[    51.773] (II) AMDGPU(0): 	5012000a202020202020000000fc0053
[    51.773] (II) AMDGPU(0): 	32323048514c0a2020202020000000ff
[    51.773] (II) AMDGPU(0): 	004c544b3052303239323434320a00cd
[    51.773] (II) AMDGPU(0): Printing probed modes for output HDMI-A-0
[    51.773] (II) AMDGPU(0): Modeline "1920x1080"x60.0  148.50  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (67.5 kHz eP)
[    51.773] (II) AMDGPU(0): Modeline "1280x1024"x60.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
[    51.773] (II) AMDGPU(0): Modeline "1440x900"x59.9   88.75  1440 1488 1520 1600  900 903 909 926 +hsync -vsync (55.5 kHz e)
[    51.773] (II) AMDGPU(0): Modeline "1280x800"x59.9   71.00  1280 1328 1360 1440  800 803 809 823 +hsync -vsync (49.3 kHz e)
[    51.773] (II) AMDGPU(0): Modeline "1152x864"x75.0  108.00  1152 1216 1344 1600  864 865 868 900 +hsync +vsync (67.5 kHz e)
[    51.773] (II) AMDGPU(0): Modeline "1024x768"x70.1   75.00  1024 1048 1184 1328  768 771 777 806 -hsync -vsync (56.5 kHz e)
[    51.773] (II) AMDGPU(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[    51.773] (II) AMDGPU(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[    51.773] (II) AMDGPU(0): Modeline "800x600"x56.2   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz e)
[    51.773] (II) AMDGPU(0): Modeline "640x480"x66.7   30.24  640 704 768 864  480 483 486 525 -hsync -vsync (35.0 kHz e)
[    51.773] (II) AMDGPU(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[    51.773] (II) AMDGPU(0): Modeline "720x400"x70.1   28.32  720 738 846 900  400 412 414 449 -hsync +vsync (31.5 kHz e)
[    51.912] (II) AMDGPU(0): EDID for output VGA-0
[    51.912] (II) AMDGPU(0): Manufacturer: ACR  Model: 281  Serial#: 1109415535
[    51.912] (II) AMDGPU(0): Year: 2014  Week: 22
[    51.912] (II) AMDGPU(0): EDID Version: 1.3
[    51.912] (II) AMDGPU(0): Analog Display Input,  Input Voltage Level: 0.700/0.700 V
[    51.912] (II) AMDGPU(0): Sync:  Separate
[    51.912] (II) AMDGPU(0): Max Image Size [cm]: horiz.: 48  vert.: 27
[    51.912] (II) AMDGPU(0): Gamma: 2.20
[    51.912] (II) AMDGPU(0): DPMS capabilities: StandBy Off; RGB/Color Display
[    51.912] (II) AMDGPU(0): Default color space is primary color space
[    51.912] (II) AMDGPU(0): First detailed timing is preferred mode
[    51.912] (II) AMDGPU(0): redX: 0.633 redY: 0.340   greenX: 0.324 greenY: 0.631
[    51.912] (II) AMDGPU(0): blueX: 0.155 blueY: 0.056   whiteX: 0.313 whiteY: 0.329
[    51.912] (II) AMDGPU(0): Supported established timings:
[    51.912] (II) AMDGPU(0): 720x400@70Hz
[    51.912] (II) AMDGPU(0): 640x480@60Hz
[    51.912] (II) AMDGPU(0): 640x480@67Hz
[    51.912] (II) AMDGPU(0): 800x600@56Hz
[    51.912] (II) AMDGPU(0): 800x600@60Hz
[    51.912] (II) AMDGPU(0): 1024x768@60Hz
[    51.912] (II) AMDGPU(0): 1024x768@70Hz
[    51.912] (II) AMDGPU(0): Manufacturer's mask: 0
[    51.912] (II) AMDGPU(0): Supported standard timings:
[    51.913] (II) AMDGPU(0): #0: hsize: 1152  vsize 864  refresh: 75  vid: 20337
[    51.913] (II) AMDGPU(0): #1: hsize: 1280  vsize 1024  refresh: 60  vid: 32897
[    51.913] (II) AMDGPU(0): #2: hsize: 1280  vsize 800  refresh: 60  vid: 129
[    51.913] (II) AMDGPU(0): #3: hsize: 1440  vsize 900  refresh: 60  vid: 149
[    51.913] (II) AMDGPU(0): #4: hsize: 1920  vsize 1080  refresh: 60  vid: 49361
[    51.913] (II) AMDGPU(0): Supported detailed timing:
[    51.913] (II) AMDGPU(0): clock: 148.5 MHz   Image Size:  477 x 268 mm
[    51.913] (II) AMDGPU(0): h_active: 1920  h_sync: 2008  h_sync_end 2052 h_blank_end 2200 h_border: 0
[    51.913] (II) AMDGPU(0): v_active: 1080  v_sync: 1084  v_sync_end 1089 v_blanking: 1125 v_border: 0
[    51.913] (II) AMDGPU(0): Ranges: V min: 55 V max: 75 Hz, H min: 30 H max: 80 kHz, PixClock max 185 MHz
[    51.913] (II) AMDGPU(0): Monitor name: S220HQL
[    51.913] (II) AMDGPU(0): Serial No: LTK0R0292442
[    51.913] (II) AMDGPU(0): EDID (in hex):
[    51.913] (II) AMDGPU(0): 	00ffffffffffff00047281026f562042
[    51.913] (II) AMDGPU(0): 	1618010368301b78ae02d5a25753a127
[    51.913] (II) AMDGPU(0): 	0e5054b30c00714f818081009500d1c0
[    51.913] (II) AMDGPU(0): 	010101010101023a801871382d40582c
[    51.913] (II) AMDGPU(0): 	4500dd0c1100001e000000fd00374b1e
[    51.913] (II) AMDGPU(0): 	5012000a202020202020000000fc0053
[    51.913] (II) AMDGPU(0): 	32323048514c0a2020202020000000ff
[    51.913] (II) AMDGPU(0): 	004c544b3052303239323434320a002e
[    51.913] (II) AMDGPU(0): Printing probed modes for output VGA-0
[    51.913] (II) AMDGPU(0): Modeline "1920x1080"x60.0  148.50  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (67.5 kHz eP)
[    51.913] (II) AMDGPU(0): Modeline "1280x1024"x60.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
[    51.913] (II) AMDGPU(0): Modeline "1440x900"x59.9  106.50  1440 1520 1672 1904  900 903 909 934 -hsync +vsync (55.9 kHz e)
[    51.913] (II) AMDGPU(0): Modeline "1280x800"x59.8   83.50  1280 1352 1480 1680  800 803 809 831 -hsync +vsync (49.7 kHz e)
[    51.913] (II) AMDGPU(0): Modeline "1152x864"x75.0  108.00  1152 1216 1344 1600  864 865 868 900 +hsync +vsync (67.5 kHz e)
[    51.913] (II) AMDGPU(0): Modeline "1024x768"x70.1   75.00  1024 1048 1184 1328  768 771 777 806 -hsync -vsync (56.5 kHz e)
[    51.914] (II) AMDGPU(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[    51.914] (II) AMDGPU(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[    51.914] (II) AMDGPU(0): Modeline "800x600"x56.2   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz e)
[    51.914] (II) AMDGPU(0): Modeline "640x480"x66.7   30.24  640 704 768 864  480 483 486 525 -hsync -vsync (35.0 kHz e)
[    51.914] (II) AMDGPU(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[    51.914] (II) AMDGPU(0): Modeline "720x400"x70.1   28.32  720 738 846 900  400 412 414 449 -hsync +vsync (31.5 kHz e)
[    51.914] (II) AMDGPU(0): Output HDMI-A-0 connected
[    51.914] (II) AMDGPU(0): Output VGA-0 connected
[    51.914] (II) AMDGPU(0): Using spanning desktop for initial modes
[    51.914] (II) AMDGPU(0): Output HDMI-A-0 using initial mode 1920x1080 +0+0
[    51.914] (II) AMDGPU(0): Output VGA-0 using initial mode 1920x1080 +1920+0
[    51.914] (II) AMDGPU(0): mem size init: gart size :bfecd000 vram size: s:3efef000 visible:3efef000
[    51.914] (==) AMDGPU(0): DPI set to (96, 96)
[    51.914] (==) AMDGPU(0): Using gamma correction (1.0, 1.0, 1.0)
[    51.914] (II) Loading sub module "ramdac"
[    51.914] (II) LoadModule: "ramdac"
[    51.914] (II) Module "ramdac" already built-in
[    51.914] (--) Depth 24 pixmap format is 32 bpp
[    51.915] (II) AMDGPU(0): [DRI2] Setup complete
[    51.915] (II) AMDGPU(0): [DRI2]   DRI driver: radeonsi
[    51.915] (II) AMDGPU(0): [DRI2]   VDPAU driver: radeonsi
[    51.915] (II) AMDGPU(0): Front buffer pitch: 15360 bytes
[    51.917] (II) AMDGPU(0): SYNC extension fences enabled
[    51.918] (II) AMDGPU(0): Present extension enabled
[    51.918] (**) AMDGPU(0): DRI3 enabled
[    51.918] (==) AMDGPU(0): Backing store enabled
[    51.918] (II) AMDGPU(0): Direct rendering enabled
[    52.139] (II) AMDGPU(0): Use GLAMOR acceleration.
[    52.139] (II) AMDGPU(0): Acceleration enabled
[    52.140] (==) AMDGPU(0): DPMS enabled
[    52.140] (==) AMDGPU(0): Silken mouse enabled
[    52.140] (II) AMDGPU(0): Set up textured video (glamor)
[    52.140] (II) AMDGPU(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[    52.178] (--) RandR disabled
[    52.194] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[    52.194] (II) AIGLX: enabled GLX_ARB_create_context
[    52.194] (II) AIGLX: enabled GLX_ARB_create_context_profile
[    52.194] (II) AIGLX: enabled GLX_EXT_create_context_es{,2}_profile
[    52.194] (II) AIGLX: enabled GLX_INTEL_swap_event
[    52.194] (II) AIGLX: enabled GLX_SGI_swap_control
[    52.194] (II) AIGLX: enabled GLX_EXT_framebuffer_sRGB
[    52.195] (II) AIGLX: enabled GLX_ARB_fbconfig_float
[    52.195] (II) AIGLX: enabled GLX_EXT_fbconfig_packed_float
[    52.195] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
[    52.195] (II) AIGLX: enabled GLX_ARB_create_context_robustness
[    52.198] (II) AIGLX: Loaded and initialized radeonsi
[    52.198] (II) GLX: Initialized DRI2 GL provider for screen 0
[    52.211] (II) AMDGPU(0): Setting screen physical size to 1016 x 285
[    53.345] (II) config/udev: Adding input device Power Button (/dev/input/event3)
[    53.345] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[    53.345] (II) LoadModule: "libinput"
[    53.345] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[    53.385] (II) Module libinput: vendor="X.Org Foundation"
[    53.385] 	compiled for 1.19.3, module version = 0.25.1
[    53.385] 	Module class: X.Org XInput Driver
[    53.385] 	ABI class: X.Org XInput driver, version 24.1
[    53.385] (II) Using input driver 'libinput' for 'Power Button'
[    53.385] (**) Power Button: always reports core events
[    53.385] (**) Option "Device" "/dev/input/event3"
[    53.385] (**) Option "_source" "server/udev"
[    53.386] (II) event3  - (II) Power Button: (II) is tagged by udev as: Keyboard
[    53.387] (II) event3  - (II) Power Button: (II) device is a keyboard
[    53.387] (II) event3  - (II) Power Button: (II) device removed
[    53.403] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input5/event3"
[    53.404] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[    53.405] (II) event3  - (II) Power Button: (II) is tagged by udev as: Keyboard
[    53.405] (II) event3  - (II) Power Button: (II) device is a keyboard
[    53.406] (II) config/udev: Adding input device Video Bus (/dev/input/event4)
[    53.406] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
[    53.406] (II) Using input driver 'libinput' for 'Video Bus'
[    53.406] (**) Video Bus: always reports core events
[    53.406] (**) Option "Device" "/dev/input/event4"
[    53.406] (**) Option "_source" "server/udev"
[    53.407] (II) event4  - (II) Video Bus: (II) is tagged by udev as: Keyboard
[    53.407] (II) event4  - (II) Video Bus: (II) device is a keyboard
[    53.407] (II) event4  - (II) Video Bus: (II) device removed
[    53.433] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input6/event4"
[    53.433] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[    53.435] (II) event4  - (II) Video Bus: (II) is tagged by udev as: Keyboard
[    53.435] (II) event4  - (II) Video Bus: (II) device is a keyboard
[    53.436] (II) config/udev: Adding input device Power Button (/dev/input/event2)
[    53.436] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[    53.436] (II) Using input driver 'libinput' for 'Power Button'
[    53.436] (**) Power Button: always reports core events
[    53.436] (**) Option "Device" "/dev/input/event2"
[    53.436] (**) Option "_source" "server/udev"
[    53.437] (II) event2  - (II) Power Button: (II) is tagged by udev as: Keyboard
[    53.437] (II) event2  - (II) Power Button: (II) device is a keyboard
[    53.437] (II) event2  - (II) Power Button: (II) device removed
[    53.466] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input4/event2"
[    53.467] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 8)
[    53.468] (II) event2  - (II) Power Button: (II) is tagged by udev as: Keyboard
[    53.468] (II) event2  - (II) Power Button: (II) device is a keyboard
[    53.470] (II) config/udev: Adding input device HDA ATI HDMI HDMI/DP,pcm=3 (/dev/input/event6)
[    53.470] (II) No input driver specified, ignoring this device.
[    53.470] (II) This device may have been added with another device file.
[    53.471] (II) config/udev: Adding input device Logitech M705 (/dev/input/event0)
[    53.471] (**) Logitech M705: Applying InputClass "libinput pointer catchall"
[    53.471] (II) Using input driver 'libinput' for 'Logitech M705'
[    53.471] (**) Logitech M705: always reports core events
[    53.472] (**) Option "Device" "/dev/input/event0"
[    53.472] (**) Option "_source" "server/udev"
[    53.473] (II) event0  - (II) Logitech M705: (II) is tagged by udev as: Mouse
[    53.473] (II) event0  - (II) Logitech M705: (II) device set to 800 DPI
[    53.473] (II) event0  - (II) Logitech M705: (II) device is a pointer
[    53.473] (II) event0  - (II) Logitech M705: (II) device removed
[    53.527] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:12.0/usb7/7-4/7-4:1.2/0003:046D:C52B.0003/0003:046D:101B.0004/input/input2/event0"
[    53.527] (II) XINPUT: Adding extended input device "Logitech M705" (type: MOUSE, id 9)
[    53.527] (**) Option "AccelerationScheme" "none"
[    53.527] (**) Logitech M705: (accel) selected scheme none/0
[    53.527] (**) Logitech M705: (accel) acceleration factor: 2.000
[    53.527] (**) Logitech M705: (accel) acceleration threshold: 4
[    53.529] (II) event0  - (II) Logitech M705: (II) is tagged by udev as: Mouse
[    53.529] (II) event0  - (II) Logitech M705: (II) device set to 800 DPI
[    53.529] (II) event0  - (II) Logitech M705: (II) device is a pointer
[    53.530] (II) config/udev: Adding input device Logitech M705 (/dev/input/mouse0)
[    53.530] (II) No input driver specified, ignoring this device.
[    53.531] (II) This device may have been added with another device file.
[    53.532] (II) config/udev: Adding input device Logitech Unifying Device. Wireless PID:2008 (/dev/input/event1)
[    53.532] (**) Logitech Unifying Device. Wireless PID:2008: Applying InputClass "libinput keyboard catchall"
[    53.532] (II) Using input driver 'libinput' for 'Logitech Unifying Device. Wireless PID:2008'
[    53.532] (**) Logitech Unifying Device. Wireless PID:2008: always reports core events
[    53.532] (**) Option "Device" "/dev/input/event1"
[    53.532] (**) Option "_source" "server/udev"
[    53.534] (II) event1  - (II) Logitech Unifying Device. Wireless PID:2008: (II) is tagged by udev as: Keyboard
[    53.534] (II) event1  - (II) Logitech Unifying Device. Wireless PID:2008: (II) device is a keyboard
[    53.534] (II) event1  - (II) Logitech Unifying Device. Wireless PID:2008: (II) device removed
[    53.576] (II) libinput: Logitech Unifying Device. Wireless PID:2008: needs a virtual subdevice
[    53.577] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:12.0/usb7/7-4/7-4:1.2/0003:046D:C52B.0003/0003:046D:2008.0005/input/input3/event1"
[    53.577] (II) XINPUT: Adding extended input device "Logitech Unifying Device. Wireless PID:2008" (type: MOUSE, id 10)
[    53.577] (**) Option "AccelerationScheme" "none"
[    53.577] (**) Logitech Unifying Device. Wireless PID:2008: (accel) selected scheme none/0
[    53.577] (**) Logitech Unifying Device. Wireless PID:2008: (accel) acceleration factor: 2.000
[    53.577] (**) Logitech Unifying Device. Wireless PID:2008: (accel) acceleration threshold: 4
[    53.578] (II) event1  - (II) Logitech Unifying Device. Wireless PID:2008: (II) is tagged by udev as: Keyboard
[    53.579] (II) event1  - (II) Logitech Unifying Device. Wireless PID:2008: (II) device is a keyboard
[    53.579] (II) config/udev: Adding input device HD-Audio Generic Front Mic (/dev/input/event7)
[    53.580] (II) No input driver specified, ignoring this device.
[    53.580] (II) This device may have been added with another device file.
[    53.580] (II) config/udev: Adding input device HD-Audio Generic Rear Mic (/dev/input/event8)
[    53.580] (II) No input driver specified, ignoring this device.
[    53.580] (II) This device may have been added with another device file.
[    53.581] (II) config/udev: Adding input device HD-Audio Generic Line (/dev/input/event9)
[    53.581] (II) No input driver specified, ignoring this device.
[    53.581] (II) This device may have been added with another device file.
[    53.582] (II) config/udev: Adding input device HD-Audio Generic Line Out (/dev/input/event10)
[    53.582] (II) No input driver specified, ignoring this device.
[    53.582] (II) This device may have been added with another device file.
[    53.583] (II) config/udev: Adding input device HD-Audio Generic Front Headphone (/dev/input/event11)
[    53.583] (II) No input driver specified, ignoring this device.
[    53.583] (II) This device may have been added with another device file.
[    53.584] (II) config/udev: Adding input device PC Speaker (/dev/input/event5)
[    53.584] (II) No input driver specified, ignoring this device.
[    53.584] (II) This device may have been added with another device file.
[    53.593] (**) Logitech Unifying Device. Wireless PID:2008: Applying InputClass "libinput keyboard catchall"
[    53.593] (II) Using input driver 'libinput' for 'Logitech Unifying Device. Wireless PID:2008'
[    53.593] (**) Logitech Unifying Device. Wireless PID:2008: always reports core events
[    53.593] (**) Option "Device" "/dev/input/event1"
[    53.593] (**) Option "_source" "_driver/libinput"
[    53.593] (II) libinput: Logitech Unifying Device. Wireless PID:2008: is a virtual subdevice
[    53.594] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:12.0/usb7/7-4/7-4:1.2/0003:046D:C52B.0003/0003:046D:2008.0005/input/input3/event1"
[    53.594] (II) XINPUT: Adding extended input device "Logitech Unifying Device. Wireless PID:2008" (type: KEYBOARD, id 11)
[    81.675] (II) AMDGPU(0): EDID vendor "ACR", prod id 641
[    81.675] (II) AMDGPU(0): Using EDID range info for horizontal sync
[    81.675] (II) AMDGPU(0): Using EDID range info for vertical refresh
[    81.675] (II) AMDGPU(0): Printing DDC gathered Modelines:
[    81.675] (II) AMDGPU(0): Modeline "1920x1080"x0.0  148.50  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (67.5 kHz eP)
[    81.675] (II) AMDGPU(0): Modeline "800x600"x0.0   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[    81.675] (II) AMDGPU(0): Modeline "800x600"x0.0   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz e)
[    81.675] (II) AMDGPU(0): Modeline "640x480"x0.0   30.24  640 704 768 864  480 483 486 525 -hsync -vsync (35.0 kHz e)
[    81.675] (II) AMDGPU(0): Modeline "640x480"x0.0   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[    81.675] (II) AMDGPU(0): Modeline "720x400"x0.0   28.32  720 738 846 900  400 412 414 449 -hsync +vsync (31.5 kHz e)
[    81.675] (II) AMDGPU(0): Modeline "1024x768"x0.0   75.00  1024 1048 1184 1328  768 771 777 806 -hsync -vsync (56.5 kHz e)
[    81.675] (II) AMDGPU(0): Modeline "1024x768"x0.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[    81.675] (II) AMDGPU(0): Modeline "1152x864"x0.0  108.00  1152 1216 1344 1600  864 865 868 900 +hsync +vsync (67.5 kHz e)
[    81.675] (II) AMDGPU(0): Modeline "1280x1024"x0.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
[    81.676] (II) AMDGPU(0): Modeline "1280x800"x0.0   83.50  1280 1352 1480 1680  800 803 809 831 -hsync +vsync (49.7 kHz e)
[    81.676] (II) AMDGPU(0): Modeline "1440x900"x0.0  106.50  1440 1520 1672 1904  900 903 909 934 -hsync +vsync (55.9 kHz e)
[    81.676] (II) AMDGPU(0): Modeline "1920x1080"x60.0  172.80  1920 2040 2248 2576  1080 1081 1084 1118 -hsync +vsync (67.1 kHz e)
[    82.150] (II) AMDGPU(0): EDID vendor "ACR", prod id 641
[    82.150] (II) AMDGPU(0): Using hsync ranges from config file
[    82.150] (II) AMDGPU(0): Using vrefresh ranges from config file
[    82.151] (II) AMDGPU(0): Printing DDC gathered Modelines:
[    82.151] (II) AMDGPU(0): Modeline "1920x1080"x0.0  148.50  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (67.5 kHz eP)
[    82.151] (II) AMDGPU(0): Modeline "800x600"x0.0   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[    82.151] (II) AMDGPU(0): Modeline "800x600"x0.0   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz e)
[    82.151] (II) AMDGPU(0): Modeline "640x480"x0.0   30.24  640 704 768 864  480 483 486 525 -hsync -vsync (35.0 kHz e)
[    82.151] (II) AMDGPU(0): Modeline "640x480"x0.0   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[    82.151] (II) AMDGPU(0): Modeline "720x400"x0.0   28.32  720 738 846 900  400 412 414 449 -hsync +vsync (31.5 kHz e)
[    82.151] (II) AMDGPU(0): Modeline "1024x768"x0.0   75.00  1024 1048 1184 1328  768 771 777 806 -hsync -vsync (56.5 kHz e)
[    82.151] (II) AMDGPU(0): Modeline "1024x768"x0.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[    82.151] (II) AMDGPU(0): Modeline "1152x864"x0.0  108.00  1152 1216 1344 1600  864 865 868 900 +hsync +vsync (67.5 kHz e)
[    82.151] (II) AMDGPU(0): Modeline "1280x1024"x0.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
[    82.151] (II) AMDGPU(0): Modeline "1280x800"x0.0   83.50  1280 1352 1480 1680  800 803 809 831 -hsync +vsync (49.7 kHz e)
[    82.151] (II) AMDGPU(0): Modeline "1440x900"x0.0  106.50  1440 1520 1672 1904  900 903 909 934 -hsync +vsync (55.9 kHz e)
[    82.151] (II) AMDGPU(0): Modeline "1920x1080"x60.0  172.80  1920 2040 2248 2576  1080 1081 1084 1118 -hsync +vsync (67.1 kHz e)
[    82.635] (II) AMDGPU(0): EDID vendor "ACR", prod id 641
[    82.635] (II) AMDGPU(0): Using hsync ranges from config file
[    82.635] (II) AMDGPU(0): Using vrefresh ranges from config file
[    82.635] (II) AMDGPU(0): Printing DDC gathered Modelines:
[    82.635] (II) AMDGPU(0): Modeline "1920x1080"x0.0  148.50  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (67.5 kHz eP)
[    82.635] (II) AMDGPU(0): Modeline "800x600"x0.0   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[    82.635] (II) AMDGPU(0): Modeline "800x600"x0.0   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz e)
[    82.635] (II) AMDGPU(0): Modeline "640x480"x0.0   30.24  640 704 768 864  480 483 486 525 -hsync -vsync (35.0 kHz e)
[    82.635] (II) AMDGPU(0): Modeline "640x480"x0.0   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[    82.635] (II) AMDGPU(0): Modeline "720x400"x0.0   28.32  720 738 846 900  400 412 414 449 -hsync +vsync (31.5 kHz e)
[    82.635] (II) AMDGPU(0): Modeline "1024x768"x0.0   75.00  1024 1048 1184 1328  768 771 777 806 -hsync -vsync (56.5 kHz e)
[    82.635] (II) AMDGPU(0): Modeline "1024x768"x0.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[    82.635] (II) AMDGPU(0): Modeline "1152x864"x0.0  108.00  1152 1216 1344 1600  864 865 868 900 +hsync +vsync (67.5 kHz e)
[    82.635] (II) AMDGPU(0): Modeline "1280x1024"x0.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
[    82.635] (II) AMDGPU(0): Modeline "1280x800"x0.0   83.50  1280 1352 1480 1680  800 803 809 831 -hsync +vsync (49.7 kHz e)
[    82.635] (II) AMDGPU(0): Modeline "1440x900"x0.0  106.50  1440 1520 1672 1904  900 903 909 934 -hsync +vsync (55.9 kHz e)
[    82.635] (II) AMDGPU(0): Modeline "1920x1080"x60.0  172.80  1920 2040 2248 2576  1080 1081 1084 1118 -hsync +vsync (67.1 kHz e)
[    87.364] (II) AMDGPU(0): EDID vendor "ACR", prod id 641
[    87.364] (II) AMDGPU(0): Using hsync ranges from config file
[    87.364] (II) AMDGPU(0): Using vrefresh ranges from config file
[    87.364] (II) AMDGPU(0): Printing DDC gathered Modelines:
[    87.364] (II) AMDGPU(0): Modeline "1920x1080"x0.0  148.50  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (67.5 kHz eP)
[    87.364] (II) AMDGPU(0): Modeline "800x600"x0.0   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[    87.364] (II) AMDGPU(0): Modeline "800x600"x0.0   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz e)
[    87.364] (II) AMDGPU(0): Modeline "640x480"x0.0   30.24  640 704 768 864  480 483 486 525 -hsync -vsync (35.0 kHz e)
[    87.364] (II) AMDGPU(0): Modeline "640x480"x0.0   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[    87.365] (II) AMDGPU(0): Modeline "720x400"x0.0   28.32  720 738 846 900  400 412 414 449 -hsync +vsync (31.5 kHz e)
[    87.365] (II) AMDGPU(0): Modeline "1024x768"x0.0   75.00  1024 1048 1184 1328  768 771 777 806 -hsync -vsync (56.5 kHz e)
[    87.365] (II) AMDGPU(0): Modeline "1024x768"x0.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[    87.365] (II) AMDGPU(0): Modeline "1152x864"x0.0  108.00  1152 1216 1344 1600  864 865 868 900 +hsync +vsync (67.5 kHz e)
[    87.365] (II) AMDGPU(0): Modeline "1280x1024"x0.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
[    87.365] (II) AMDGPU(0): Modeline "1280x800"x0.0   83.50  1280 1352 1480 1680  800 803 809 831 -hsync +vsync (49.7 kHz e)
[    87.365] (II) AMDGPU(0): Modeline "1440x900"x0.0  106.50  1440 1520 1672 1904  900 903 909 934 -hsync +vsync (55.9 kHz e)
[    87.365] (II) AMDGPU(0): Modeline "1920x1080"x60.0  172.80  1920 2040 2248 2576  1080 1081 1084 1118 -hsync +vsync (67.1 kHz e)
[    87.535] (II) AMDGPU(0): EDID vendor "ACR", prod id 641
[    87.535] (II) AMDGPU(0): Using hsync ranges from config file
[    87.535] (II) AMDGPU(0): Using vrefresh ranges from config file
[    87.535] (II) AMDGPU(0): Printing DDC gathered Modelines:
[    87.535] (II) AMDGPU(0): Modeline "1920x1080"x0.0  148.50  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (67.5 kHz eP)
[    87.535] (II) AMDGPU(0): Modeline "800x600"x0.0   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[    87.535] (II) AMDGPU(0): Modeline "800x600"x0.0   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz e)
[    87.535] (II) AMDGPU(0): Modeline "640x480"x0.0   30.24  640 704 768 864  480 483 486 525 -hsync -vsync (35.0 kHz e)
[    87.535] (II) AMDGPU(0): Modeline "640x480"x0.0   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[    87.535] (II) AMDGPU(0): Modeline "720x400"x0.0   28.32  720 738 846 900  400 412 414 449 -hsync +vsync (31.5 kHz e)
[    87.535] (II) AMDGPU(0): Modeline "1024x768"x0.0   75.00  1024 1048 1184 1328  768 771 777 806 -hsync -vsync (56.5 kHz e)
[    87.535] (II) AMDGPU(0): Modeline "1024x768"x0.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[    87.535] (II) AMDGPU(0): Modeline "1152x864"x0.0  108.00  1152 1216 1344 1600  864 865 868 900 +hsync +vsync (67.5 kHz e)
[    87.535] (II) AMDGPU(0): Modeline "1280x1024"x0.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
[    87.535] (II) AMDGPU(0): Modeline "1280x800"x0.0   83.50  1280 1352 1480 1680  800 803 809 831 -hsync +vsync (49.7 kHz e)
[    87.535] (II) AMDGPU(0): Modeline "1440x900"x0.0  106.50  1440 1520 1672 1904  900 903 909 934 -hsync +vsync (55.9 kHz e)
[    87.535] (II) AMDGPU(0): Modeline "1920x1080"x60.0  172.80  1920 2040 2248 2576  1080 1081 1084 1118 -hsync +vsync (67.1 kHz e)

In an attempt to figure out which function it was crashing in I tried upgrading back to mesa-git so I could get mesa-git-debug. Sadly Xorg kept getting segmentation faults. I've downgraded back to the one in the normal repo.

┗❯ cat /var/log/Xorg.0.log
[    47.875] 
X.Org X Server 1.19.3
Release Date: 2017-03-15
[    47.875] X Protocol Version 11, Revision 0
[    47.875] Build Operating System: Linux 4.9.11-1-ARCH x86_64 
[    47.875] Current Operating System: Linux GENTZ-NEWPC-ARCH2 4.12.0-1-hardened #1 SMP PREEMPT Tue Jul 11 02:09:30 EDT 2017 x86_64
[    47.875] Kernel command line: audit=0 BOOT_IMAGE=/vmlinuz-linux-hardened root=/dev/mapper/LinuxLVM-root rw amd_iommu=on cryptdevice=UUID=54366009-5ce0-4102-974e-1e4db3ab398a:cryptlvm slub_debug=P page_poison=1 vsyscall=none
[    47.875] Build Date: 07 April 2017  05:42:48PM
[    47.875]  
[    47.875] Current version of pixman: 0.34.0
[    47.875] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    47.875] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    47.876] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Jul 12 10:45:47 2017
[    47.876] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    47.876] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    47.876] (==) No Layout section.  Using the first Screen section.
[    47.876] (==) No screen section available. Using defaults.
[    47.876] (**) |-->Screen "Default Screen Section" (0)
[    47.876] (**) |   |-->Monitor "<default monitor>"
[    47.876] (==) No device specified for screen "Default Screen Section".
	Using the first device section listed.
[    47.877] (**) |   |-->Device "AMD"
[    47.877] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[    47.877] (==) Automatically adding devices
[    47.877] (==) Automatically enabling devices
[    47.877] (==) Automatically adding GPU devices
[    47.877] (==) Automatically binding GPU devices
[    47.877] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    47.877] (==) FontPath set to:
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/,
	/usr/share/fonts/OTF/,
	/usr/share/fonts/Type1/,
	/usr/share/fonts/100dpi/,
	/usr/share/fonts/75dpi/
[    47.877] (==) ModulePath set to "/usr/lib/xorg/modules"
[    47.877] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    47.877] (II) Loader magic: 0x822d60
[    47.877] (II) Module ABI versions:
[    47.877] 	X.Org ANSI C Emulation: 0.4
[    47.877] 	X.Org Video Driver: 23.0
[    47.877] 	X.Org XInput driver : 24.1
[    47.877] 	X.Org Server Extension : 10.0
[    47.879] (++) using VT number 7

[    47.879] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[    47.881] (II) xfree86: Adding drm device (/dev/dri/card0)
[    47.892] (--) PCI:*(0:0:1:0) 1002:130f:1025:0904 rev 0, Mem @ 0xc0000000/268435456, 0xd0000000/8388608, 0xfeb00000/262144, I/O @ 0x0000f000/256, BIOS @ 0x????????/131072
[    47.892] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[    47.893] (II) LoadModule: "glx"
[    47.893] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    47.895] (II) Module glx: vendor="X.Org Foundation"
[    47.895] 	compiled for 1.19.3, module version = 1.0.0
[    47.896] 	ABI class: X.Org Server Extension, version 10.0
[    47.896] (II) LoadModule: "amdgpu"
[    47.896] (II) Loading /usr/lib/xorg/modules/drivers/amdgpu_drv.so
[    47.897] (II) Module amdgpu: vendor="X.Org Foundation"
[    47.897] 	compiled for 1.19.3, module version = 1.3.99
[    47.897] 	Module class: X.Org Video Driver
[    47.897] 	ABI class: X.Org Video Driver, version 23.0
[    47.897] (II) AMDGPU: Driver for AMD Radeon:
	All GPUs supported by the amdgpu kernel driver
[    47.898] (II) [KMS] Kernel modesetting enabled.
[    47.899] (II) AMDGPU(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[    47.899] (==) AMDGPU(0): Depth 24, (--) framebuffer bpp 32
[    47.899] (II) AMDGPU(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
[    47.899] (==) AMDGPU(0): Default visual is TrueColor
[    47.899] (**) AMDGPU(0): Option "DRI" "3"
[    47.899] (**) AMDGPU(0): Option "TearFree" "on"
[    47.899] (==) AMDGPU(0): RGB weight 888
[    47.899] (II) AMDGPU(0): Using 8 bits per RGB (8 bit DAC)
[    47.899] (--) AMDGPU(0): Chipset: "Unknown AMD Radeon GPU" (ChipID = 0x130f)
[    47.899] (II) Loading sub module "fb"
[    47.899] (II) LoadModule: "fb"
[    47.900] (II) Loading /usr/lib/xorg/modules/libfb.so
[    47.900] (II) Module fb: vendor="X.Org Foundation"
[    47.900] 	compiled for 1.19.3, module version = 1.0.0
[    47.900] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    47.900] (II) Loading sub module "dri2"
[    47.900] (II) LoadModule: "dri2"
[    47.900] (II) Module "dri2" already built-in
[    47.985] (EE) 
[    47.985] (EE) Backtrace:
[    47.985] (EE) 0: /usr/lib/xorg-server/Xorg (OsLookupColor+0x139) [0x59c209]
[    47.986] (EE) 1: /usr/lib/libpthread.so.0 (funlockfile+0x50) [0x641c8bfac98f]
[    47.986] (EE) 2: /usr/lib/libc.so.6 (strlen+0x26) [0x641c8bc751a6]
[    47.986] (EE) 3: /usr/lib/xorg/modules/dri/radeonsi_dri.so (nouveau_drm_screen_create+0x2cfd33) [0x641c86f2d093]
[    47.987] (EE) 4: /usr/lib/xorg/modules/dri/radeonsi_dri.so (nouveau_drm_screen_create+0x2d06ec) [0x641c86f2e3ec]
[    47.987] (EE) unw_get_proc_name failed: no unwind info found [-10]
[    47.987] (EE) 5: /usr/lib/xorg/modules/dri/radeonsi_dri.so (?+0x2d06ec) [0x641c867dba6c]
[    47.987] (EE) 6: /lib64/ld-linux-x86-64.so.2 (call_init.part.0+0x9a) [0x641c8dd9233a]
[    47.987] (EE) 7: /lib64/ld-linux-x86-64.so.2 (_dl_init+0x76) [0x641c8dd92446]
[    47.988] (EE) 8: /lib64/ld-linux-x86-64.so.2 (dl_open_worker+0x38e) [0x641c8dd968ae]
[    47.988] (EE) 9: /usr/lib/libc.so.6 (_dl_catch_error+0x84) [0x641c8bd19c24]
[    47.989] (EE) 10: /lib64/ld-linux-x86-64.so.2 (_dl_open+0xc9) [0x641c8dd960c9]
[    47.989] (EE) unw_get_proc_name failed: no unwind info found [-10]
[    47.989] (EE) 11: /usr/lib/libdl.so.2 (?+0xc9) [0x641c8d61bf99]
[    47.989] (EE) 12: /usr/lib/libc.so.6 (_dl_catch_error+0x84) [0x641c8bd19c24]
[    47.990] (EE) 13: /usr/lib/libdl.so.2 (dlerror+0x2d5) [0x641c8d61c865]
[    47.990] (EE) 14: /usr/lib/libdl.so.2 (dlopen+0x41) [0x641c8d61bfb1]
[    47.990] (EE) 15: /usr/lib/libgbm.so.1 (gbm_surface_has_free_buffers+0x1806) [0x641c88040bf6]
[    47.990] (EE) 16: /usr/lib/libgbm.so.1 (gbm_surface_has_free_buffers+0x193c) [0x641c88040ffc]
[    47.990] (EE) 17: /usr/lib/libgbm.so.1 (gbm_surface_has_free_buffers+0x1dc9) [0x641c880417d9]
[    47.991] (EE) 18: /usr/lib/libgbm.so.1 (gbm_create_device+0x59) [0x641c8803d9c9]
[    47.991] (EE) 19: /usr/lib/xorg/modules/drivers/amdgpu_drv.so (_init+0x8441) [0x641c88471561]
[    47.991] (EE) 20: /usr/lib/xorg-server/Xorg (InitOutput+0xaf2) [0x47d162]
[    47.991] (EE) 21: /usr/lib/xorg-server/Xorg (InitFonts+0x216) [0x43a796]
[    47.992] (EE) 22: /usr/lib/libc.so.6 (__libc_start_main+0xea) [0x641c8bc1343a]
[    47.992] (EE) 23: /usr/lib/xorg-server/Xorg (_start+0x2a) [0x42464a]
[    47.992] (EE) 
[    47.992] (EE) Segmentation fault at address 0x0
[    47.992] (EE) 
Fatal server error:
[    47.992] (EE) Caught signal 11 (Segmentation fault). Server aborting
[    47.992] (EE) 
[    47.992] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[    47.992] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    47.992] (EE) 
[    47.997] (EE) Server terminated with error (1). Closing log file.

I've uploaded a coredump for glxgears right here:
https://www.dropbox.com/s/nspyh39d1b1sa … p.lz4?dl=0

┗❯coredumpctl info 1790
Hint: You are currently not seeing messages from other users and the system.
      Users in groups 'adm', 'systemd-journal', 'wheel' can see all messages.
      Pass -q to turn off this notice.
           PID: 1790 (glxgears)
           UID: 1000 (gentz)
           GID: 1001 (gentz)
        Signal: 11 (SEGV)
     Timestamp: Wed 2017-07-12 11:06:27 MDT (25min ago)
  Command Line: glxgears
    Executable: /usr/bin/glxgears
 Control Group: /user.slice/user-1000.slice/session-2.scope
          Unit: session-2.scope
         Slice: user-1000.slice
       Session: 2
     Owner UID: 1000 (gentz)
       Boot ID: 963aff24df024716bd8ed560d7e367cc
    Machine ID: 383f7923a0004c78af88c7ae525bd4e3
      Hostname: GENTZ-NEWPC-ARCH2
       Storage: /var/lib/systemd/coredump/core.glxgears.1000.963aff24df024716bd8ed560d7e367cc.1790.1499879187000000.lz4
       Message: Process 1790 (glxgears) of user 1000 dumped core.
-- snip, just the stacktrace above --

Thanks

Last edited by zegentzy (2017-07-12 17:39:54)

Offline

#6 2017-07-12 18:01:02

zegentzy
Member
Registered: 2017-07-11
Posts: 6

Re: [SOLVED] SEGV from radeonsi_dri when running OpenGL apps after restart

I can't seem to read that coredump in gdb (no symbols show up) so I've packaged a new program. (coredump + src + exe+ build files)
--snip--

┗❯ coredumpctl info 9553
Hint: You are currently not seeing messages from other users and the system.
      Users in groups 'adm', 'systemd-journal', 'wheel' can see all messages.
      Pass -q to turn off this notice.
           PID: 9553 (ACS)
           UID: 1000 (gentz)
           GID: 1001 (gentz)
        Signal: 11 (SEGV)
     Timestamp: Wed 2017-07-12 11:49:16 MDT (8min ago)
  Command Line: ./bin/ACS
    Executable: /home/gentz/Documents/ACS/bin/ACS
 Control Group: /user.slice/user-1000.slice/session-2.scope
          Unit: session-2.scope
         Slice: user-1000.slice
       Session: 2
     Owner UID: 1000 (gentz)
       Boot ID: 963aff24df024716bd8ed560d7e367cc
    Machine ID: 383f7923a0004c78af88c7ae525bd4e3
      Hostname: GENTZ-NEWPC-ARCH2
       Storage: /var/lib/systemd/coredump/core.ACS.1000.963aff24df024716bd8ed560d7e367cc.9553.1499881756000000.lz4
       Message: Process 9553 (ACS) of user 1000 dumped core.
                
                Stack trace of thread 9553:
                #0  0x00006292a38249d6 n/a (radeonsi_dri.so)
                #1  0x00006292a38257f3 n/a (radeonsi_dri.so)
                #2  0x00006292a3621a0a n/a (radeonsi_dri.so)
                #3  0x00006292a36fb2ed n/a (radeonsi_dri.so)
                #4  0x00006292a36fb3a1 n/a (radeonsi_dri.so)
                #5  0x00006292a35f2bf8 n/a (radeonsi_dri.so)
                #6  0x00006292a36d0005 n/a (radeonsi_dri.so)
                #7  0x00006292a36956fd n/a (radeonsi_dri.so)
                #8  0x00006292a38fa0d6 n/a (radeonsi_dri.so)
                #9  0x00006292a5c8280f n/a (libGLX_mesa.so.0)
                #10 0x00000000004016ac _ZN3ACS8Renderer6RenderEv (ACS)
                #11 0x00000000004012b2 main (ACS)
                #12 0x00006292a967343a __libc_start_main (libc.so.6)
                #13 0x00000000004013ba _start (ACS)
                
                Stack trace of thread 9555:
                #0  0x00006292a9a0839d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x00006292a387d05b n/a (radeonsi_dri.so)
                #2  0x00006292a387cd97 n/a (radeonsi_dri.so)
                #3  0x00006292a9a02297 start_thread (libpthread.so.0)
                #4  0x00006292a97401ef __clone (libc.so.6)
                
                Stack trace of thread 9554:
                #0  0x00006292a9a0839d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x00006292a387d05b n/a (radeonsi_dri.so)
                #2  0x00006292a387cd97 n/a (radeonsi_dri.so)
                #3  0x00006292a9a02297 start_thread (libpthread.so.0)
                #4  0x00006292a97401ef __clone (libc.so.6)
                
                Stack trace of thread 9557:
                #0  0x00006292a9a0839d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x00006292a387d05b n/a (radeonsi_dri.so)
                #2  0x00006292a387cd97 n/a (radeonsi_dri.so)
                #3  0x00006292a9a02297 start_thread (libpthread.so.0)
                #4  0x00006292a97401ef __clone (libc.so.6)
                
                Stack trace of thread 9556:
                #0  0x00006292a9a0839d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x00006292a387d05b n/a (radeonsi_dri.so)
                #2  0x00006292a387cd97 n/a (radeonsi_dri.so)
                #3  0x00006292a9a02297 start_thread (libpthread.so.0)
                #4  0x00006292a97401ef __clone (libc.so.6)
                
                Stack trace of thread 9559:
                #0  0x00006292a9a0839d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x00006292a387d05b n/a (radeonsi_dri.so)
                #2  0x00006292a387cd97 n/a (radeonsi_dri.so)
                #3  0x00006292a9a02297 start_thread (libpthread.so.0)
                #4  0x00006292a97401ef __clone (libc.so.6)
                
                Stack trace of thread 9558:
                #0  0x00006292a9a0839d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x00006292a387d05b n/a (radeonsi_dri.so)
                #2  0x00006292a387cd97 n/a (radeonsi_dri.so)
                #3  0x00006292a9a02297 start_thread (libpthread.so.0)
                #4  0x00006292a97401ef __clone (libc.so.6)
                
                Stack trace of thread 9561:
                #0  0x00006292a9a0839d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x00006292a3695437 n/a (radeonsi_dri.so)
                #2  0x00006292a9a02297 start_thread (libpthread.so.0)
                #3  0x00006292a97401ef __clone (libc.so.6)

EDIT: And that one doesn't have debugging symbols for the program, grab this one: https://www.dropbox.com/s/5dmfwh6off5ro … ar.gz?dl=0
(Note: It doesn't have debugging symbols for the mesa libraries, so still pretty useless.)

EDIT: I've spent the last while recompiling mesa with debug symbols.
The segmentation faults are coming from the same line of code that it was in the start:

┗❯ addr2line -e /usr/lib/xorg/modules/dri/radeonsi_dri.so -fCi 0x$(echo "obase=16;  $((0x00006a7008f4b876 - 0x6a7008c7b000))" | bc)
(anonymous namespace)::builtin_variable_generator::add_uniform(glsl_type const*, char const*)
/tmp/makepkg/mesa/src/mesa-17.1.4/src/compiler/glsl/builtin_variables.cpp:562

EDIT:
To my understanding of the code, mesa is trying to create and expose a global variable called "gl_DepthRange" to some fragment shader, however the symbol table (for what?) is missing an "gl_DepthRangeParameters" entry (or maybe the entry is present but the hash function is broken?).

EDIT:
And I've found part of the issue: for the symbol table to be populated with any given built in type, this_version must be greater or equal to required_version, this_version being equal to this->forced_language_version (if non zero) or this->language_version, while required_version being the min_gl or min_es of the type. min_gl, min_es and this->language_version are all greater than 100 (100, 110, 420, ect) while this->forced_language_version is equal to 4.

Why this->forced_language_version is equal to 4 is beyond me, maybe it was intended to equal 400?

EDIT:
And it equals 4 because ctx->Const.ForceGLSLVersion equals 4.

EDIT:
And it equals 4 because force_glsl_version equals 4.

A quick grep shows these lines, so clearly is should be something like 400.

┗❯grep force_glsl_version -R 
... snip...
src/mesa/drivers/dri/common/drirc:            <option name="force_glsl_version" value="440" />
src/mesa/drivers/dri/common/xmlpool/options.h:DRI_CONF_OPT_BEGIN_V(force_glsl_version, int, def, "0:999") \
src/mesa/drivers/dri/common/xmlpool/t_options.h:DRI_CONF_OPT_BEGIN_V(force_glsl_version, int, def, "0:999") \
... snip...

Last edited by zegentzy (2017-07-13 07:26:06)

Offline

#7 2017-07-13 07:49:48

zegentzy
Member
Registered: 2017-07-11
Posts: 6

Re: [SOLVED] SEGV from radeonsi_dri when running OpenGL apps after restart

My stupidity never stops to amaze me. ~2 weeks ago I installed driconf, wondering what its used for. I didn't see anything interesting and just scrolled through the pages.

One of driconf's configuration options is "force_glsl_version", which is changed by typing a number into a box. Scrolling over that box also changes the box, y increments of 1. I must've set it to 4 while scrolling through the page... whoops.

The settings didn't take effect until I rebooted, ~4 days ago, since then I had long forgotten about my 5 minute adventure with driconf.

Removing ~/.drirc and uninstalling driconf fixes the problem.

Lesson of the week: don't use the scroll wheel (jk)

Last edited by zegentzy (2017-07-13 07:50:29)

Offline

Board footer

Powered by FluxBB