You are not logged in.
So I'm in a bit of a predicament. Thirty minutes ago I was minding my own business, working on some logs, editing some programs in Vim, when out of the blue, my entire X session crashes and SLiM starts flashing on the screen for about 30 seconds, after which time I am returned to the console. I figure, no big deal, I'll just update linux, restart the system, and be back on my way. So I do that, reboot, and lo and behold! The exact same thing happens. Luckily, after SLiM finishes its little dance, I can log into the console, and by trial and error, I have determined that I can, in fact, start an X server manually, and I can start most applications. However, sometimes this happens:
[ 673.307] (EE)
[ 673.308] (EE) Backtrace:
[ 673.308] (EE) 0: /usr/bin/Xorg.bin (xorg_backtrace+0x56) [0x594566]
[ 673.308] (EE) 1: /usr/bin/Xorg.bin (0x400000+0x1986b9) [0x5986b9]
[ 673.308] (EE) 2: /usr/lib/libc.so.6 (0x7f357bb68000+0x33540) [0x7f357bb9b540]
[ 673.308] (EE) 3: /usr/lib/libLLVM-3.7svn.so (_ZNK4llvm18TargetRegisterInfo24getMatchingSuperRegClassEPKNS_19TargetRegisterClassES3_j+0x14) [0x7f3572dc6404]
[ 673.308] (EE) 4: /usr/lib/libLLVM-3.7svn.so (0x7f35722a0000+0xac9955) [0x7f3572d69955]
[ 673.308] (EE) 5: /usr/lib/libLLVM-3.7svn.so (0x7f35722a0000+0xaca6ab) [0x7f3572d6a6ab]
[ 673.309] (EE) 6: /usr/lib/libLLVM-3.7svn.so (0x7f35722a0000+0xacc97d) [0x7f3572d6c97d]
[ 673.309] (EE) 7: /usr/lib/libLLVM-3.7svn.so (_ZN4llvm13FPPassManager13runOnFunctionERNS_8FunctionE+0x1e7) [0x7f35728fc1d7]
[ 673.309] (EE) 8: /usr/lib/libLLVM-3.7svn.so (_ZN4llvm13FPPassManager11runOnModuleERNS_6ModuleE+0x2b) [0x7f35728fc26b]
[ 673.309] (EE) 9: /usr/lib/libLLVM-3.7svn.so (_ZN4llvm6legacy15PassManagerImpl3runERNS_6ModuleE+0x2c9) [0x7f35728fec69]
[ 673.309] (EE) 10: /usr/lib/libLLVM-3.7svn.so (0x7f35722a0000+0xb6035e) [0x7f3572e0035e]
[ 673.309] (EE) 11: /usr/lib/libLLVM-3.7svn.so (LLVMTargetMachineEmitToMemoryBuffer+0x16a) [0x7f3572e0053a]
[ 673.310] (EE) 12: /usr/lib/xorg/modules/dri/radeonsi_dri.so (0x7f3574c10000+0x5c335b) [0x7f35751d335b]
[ 673.310] (EE) 13: /usr/lib/xorg/modules/dri/radeonsi_dri.so (0x7f3574c10000+0x53fb6d) [0x7f357514fb6d]
[ 673.310] (EE) 14: /usr/lib/xorg/modules/dri/radeonsi_dri.so (0x7f3574c10000+0x540274) [0x7f3575150274]
[ 673.310] (EE) 15: /usr/lib/xorg/modules/dri/radeonsi_dri.so (0x7f3574c10000+0x548600) [0x7f3575158600]
[ 673.310] (EE) 16: /usr/lib/xorg/modules/dri/radeonsi_dri.so (0x7f3574c10000+0x548a4e) [0x7f3575158a4e]
[ 673.310] (EE) 17: /usr/lib/xorg/modules/dri/radeonsi_dri.so (0x7f3574c10000+0x546a05) [0x7f3575156a05]
[ 673.310] (EE) 18: /usr/lib/xorg/modules/dri/radeonsi_dri.so (0x7f3574c10000+0x30df85) [0x7f3574f1df85]
[ 673.310] (EE) 19: /usr/lib/xorg/modules/dri/radeonsi_dri.so (0x7f3574c10000+0x1c5bcf) [0x7f3574dd5bcf]
[ 673.310] (EE) 20: /usr/lib/xorg/modules/dri/radeonsi_dri.so (0x7f3574c10000+0x197a7a) [0x7f3574da7a7a]
[ 673.310] (EE) 21: /usr/lib/xorg/modules/dri/radeonsi_dri.so (0x7f3574c10000+0x197d94) [0x7f3574da7d94]
[ 673.310] (EE) 22: /usr/lib/xorg/modules/dri/radeonsi_dri.so (0x7f3574c10000+0x197e3b) [0x7f3574da7e3b]
[ 673.310] (EE) 23: /usr/lib/xorg/modules/libglamoregl.so (0x7f3579138000+0x197c6) [0x7f35791517c6]
[ 673.310] (EE) 24: /usr/lib/xorg/modules/libglamoregl.so (0x7f3579138000+0x1c0fa) [0x7f35791540fa]
[ 673.310] (EE) 25: /usr/lib/xorg/modules/libglamoregl.so (0x7f3579138000+0x10922) [0x7f3579148922]
[ 673.310] (EE) 26: /usr/lib/xorg/modules/libglamoregl.so (0x7f3579138000+0x13036) [0x7f357914b036]
[ 673.310] (EE) 27: /usr/lib/xorg/modules/libglamoregl.so (0x7f3579138000+0x13734) [0x7f357914b734]
[ 673.310] (EE) 28: /usr/bin/Xorg.bin (0x400000+0x11b033) [0x51b033]
[ 673.310] (EE) 29: /usr/bin/Xorg.bin (0x400000+0x110fc7) [0x510fc7]
[ 673.310] (EE) 30: /usr/bin/Xorg.bin (0x400000+0x37b37) [0x437b37]
[ 673.310] (EE) 31: /usr/bin/Xorg.bin (0x400000+0x3bcb6) [0x43bcb6]
[ 673.310] (EE) 32: /usr/lib/libc.so.6 (__libc_start_main+0xf0) [0x7f357bb88800]
[ 673.310] (EE) 33: /usr/bin/Xorg.bin (_start+0x29) [0x4260f9]
[ 673.310] (EE)
[ 673.310] (EE) Segmentation fault at address 0x18
[ 673.310] (EE)
Fatal server error:
[ 673.310] (EE) Caught signal 11 (Segmentation fault). Server aborting
[ 673.310] (EE)
[ 673.310] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 673.310] (EE) Please also check the log file at "/home/daman/.local/share/xorg/Xorg.1.log" for additional information.
[ 673.310] (EE)
[ 673.310] (II) AIGLX: Suspending AIGLX clients for VT switch
[ 673.317] (EE) Server terminated with error (1). Closing log file.Most of the programs I use do not do this; however, urxvt and my panel (bar patched with XFT support) do. I'll admit I don't have much experience with these graphics-related issues, so I'm just going to post everything I think might be useful; if another file would be useful, please let me know.
20-radeon.conf:
Section "Module"
Load "dri2"
Load "glamoregl"
EndSection
Section "Device"
Identifier "Radeon"
Driver "Radeon"
Option "AccelMethod" "glamor"
Option "MigrationHeuristic" "greedy"
EndSection.xinitrc:
PATH="$HOME/bin:$PATH"
bindkeys & # a script that calls sxhkd
xrdb -merge ~/.Xresources &
xflux -z 15228 &
xautolock -locker $HOME/bin/lock &
chbg -r & # a script that sets the background
compton -b &
mpd &
#urxvt & <-- for testing purposes
xterm & # ditto
exec herbstluftwm.Xresources:
!! Fonts !!
*font: xft:Inconsolata-g:style=g:size=10,xft:FontAwesome:style=regular
*boldFont: xft:Inconsolata-g:style=g:size=10,xft:FontAwesome:style=regular
!! Colors !!
! special
*background: #2c3e50
*foreground: #e0e0e0
! normal
*color0: #2c3e50
*color1: #e74c3c
*color2: #2ecc71
*color3: #f1c40f
*color4: #3498db
*color5: #9b59b6
*color6: #1abc9c
*color7: #e0e0e0
! bright
*color8: #95a5a6
*color9: #e74c3c
*color10: #2ecc71
*color11: #f1c40f
*color12: #3498db
*color13: #9b59b6
*color14: #1abc9c
*color15: #ecf0f1
!! URxvt !!
URxvt.title: Terminal
URxvt.scrollBar: false
URxvt.url-select.launcher: /usr/bin/luakit
URxvt.url-select.underline: trueAny information at all would be greatly appreciated. Thanks!
EDIT: I have just done a bit more testing; the following programs work fine:
gedit
mpv
ranger
avidemux
inkscape
gimp
So far, the only programs that DON'T work are urxvt, bar, and dmenu.
Last edited by extarius (2015-02-13 02:25:16)
Offline
It looks like that you're using mesa-git. Is that correct? If so, any upgrades lately? What happens when you use the version from the repos?
Last edited by skottish (2015-02-12 22:32:44)
Offline
I am using mesa-git. Switching to the repo version causes X (and other programs) to hang:
error while loading shared libraries: libEGL.so.1: cannot open shared object file: No such file or directoryIt appears that libEGL.so was symlinked to libEGL.so.1.0.0, but this does not exist in /usr/lib.
Offline
libEGL.so.1 belongs to mesa-libgl.
I remember a simple switch over from mesa-git to be a little tricky like this. Check to see what all that you have left in the mesa-git group with and make sure that everything downgrades:
pacman -Qs mesa-gitOffline
Re-installing mesa-libgl did the trick! Everything appears to be working as normal now. Thanks for the help.
Offline
You're welcome.
I find that the stable Mesa stack is working very well with my R9 270, which is something like a 7750 or 7770 in disguise. The only two problems that I had that haven't been solved with upstream work is that urxvt can be dreadfully slow with programs like alsamixer and xprop. See the section about low performance in the wiki on urxvt for the fix. The other is sometimes you may get cursor corruption when coming out of screen blanking. The can be solved by enabling SWCursor to your xorg conf files. If you get occasional font corruption and are not using [testing], xorg-server 1.17 fixed that.
Offline