View previous topic :: View next topic |
Author |
Message |
Mrhnhrm n00b
Joined: 29 Jun 2008 Posts: 39 Location: Krasnoyarsk city, Russian Federation
|
Posted: Tue Jun 28, 2011 4:04 am Post subject: [solved] xorg-server 1.10.2 breaks X |
|
|
Thanks for your interest in this,
So, I used to have a beautifully working Xfce / fglrx / evdev environment. A recent world update included xorg-server 1.10.2, which put an end to functioning of X - when X starts I just get black screen with text-mode console's cursor in the upper left corner of the screen, and system freezes.
Yes, I remembered that I should rebuild X drivers packages, so I re-emerged what Code: | tux / # qlist -IC x11-drivers/
x11-drivers/ati-drivers
x11-drivers/xf86-input-evdev
x11-drivers/xf86-input-synaptics
x11-drivers/xf86-video-v4l | suggested. This helped nothing, however. I also tried to re-emerge xorg-drivers, then re-emerging what qlist suggested earlier. Still nothing. /var/log/Xorg.0.log is empty. What gives?
Thanks in advance.
P.S. some extra info for those interested
Code: | tux log # cat /etc/make.conf
USE="-3dfx 3dnow 3dnowext X -Xaw3d a52 aac -aalib -accessibility -acl -abiword acpi aim alsa amr -ao -apm archive audiofile auto-hinter autotrace -avahi bash-completion bcmath -bindist bluetooth -bootstrap boundschecking branding -build bzip2 -cairo calendar -canna -caps cdda cddb cdinstall cdparanoia cdr cjk consolekit contrast css cups dbus -debug -dedicated device-mapper -dga dirac djvu -doc dv dvd dvdr -emacs emf encode esd -evo -examples exif -fbcon ffmpeg fftw -firebird -firefox flac foomaticdb fontconfig fpx -freewnn frei0r ftp fuse -gallium gif -ggi gimp ginac glade -gnome -gnome-keyring gnuplot gnutls -gphoto2 -gpm graphviz gsl gsm gstreamer -gtkhtml -guile gzip -handbook -hardened hddtem hdri hotpixels -ibm iconv icq icu idn -ieee1394 ipv6 jabber javascript jbig jingle jpeg jpeg2k -kde -kdeprefix -kontact ladspa lame lapack -lash -lcms -ldap lensfun -libcaca -libedit libffi libnotify libsamplerate libwww -livecd -lm_sensors lzma lzo m17n-lib mad matroska matrox mhash -migemo mikmod -milter mime -minimal mmap mmx mmxext mng modplug mp3 mp4 mpeg mpi mpithreads mplayer msn mtp multilib musepack -netboot networkmanager -nis nls nocd nptl nsplugin ntp nut offensive ogg -old-linux openal openexr opengl openmp optimized-qmake -osc pam -pch pcmcia pcntl pcre pdf -plasma plotutils png policykit -portaudio posix ppds -prelude -profile -pulseaudio -qmail-spp quicktime qt3support -radius raw -rdesktop readline -rss samba -savedconfig schroedinger -seamonkey -selinux -semantic-desktop session shorten -skey -slp -smartcard smp sndfile -snmp sparse speex spell sse sse2 sse3 ssl -startup-notification -subversion -suid svg -svga -syslog szip theora thin-splines threads thunar tiff timidity truetype -uclibc udev umfpack unicode usb v4l v4l2 -vanilla vcd -vhosts videos -vim-syntax -vnc -voodoo3 vorbis wavpack wifi wmf x264 xattr -xcb -xcomposite -xemacs -xface xft -xine -xinerama -xinetd xml xmp xmpp -xosd xpm xscreensaver -xulrunner xv xvid xvmc yahoo -yaz -zeroconf zlib -zsh-completion"
VIDEO_CARDS="fglrx v4l"
INPUT_DEVICES="evdev synaptics"
CFLAGS="-march=native -msse3 -O2 -pipe"
CXXFLAGS="${CFLAGS}"
CHOST="x86_64-pc-linux-gnu"
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
PORTDIR_OVERLAY=/usr/local/portage
GENTOO_MIRRORS="http://gentoo.prz.rzeszow.pl/ ftp://gentoo.kiev.ua/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
EMERGE_DEFAULT_OPTS="--verbose --tree"
MAKEOPTS="-j3"
AUTOCLEAN="yes"
FEATURES="ccache parallel-fetch userfetch"
CCACHE_SIZE="2G"
source /var/lib/layman/make.conf
|
_________________ Geofairy is the best Pokemon
Last edited by Mrhnhrm on Wed Jun 29, 2011 8:50 am; edited 1 time in total |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Tue Jun 28, 2011 4:51 am Post subject: |
|
|
Code: | ls /etc/X11/Sessions | will provide correct spelling of the available xsessions
Code: | nano /etc/env.d/90xsession | should contain XSESSION="correctly spelled session name"
Code: | nano /etc/conf.d/xdm | should contain DISPLAYMANAGER="your choice correctly spelled display manager"
If Code: | nano /etc/X11/xorg.conf.d/98-keyboard.conf | contains Quote: | Section "InputClass"
Identifier "keyboard-all"
Option "XkbOptions" "terminate:ctrl_alt_bksp"
MatchIsKeyboard "on"
EndSection | , you should be able to exit X with ctrl-alt-backspc.
recommend rerun Code: | aticonfig --initial |
will give a black and white stipple screen with a movable mouse cursor as a standalone check of xorg-server _________________ Defund the FCC. |
|
Back to top |
|
|
Mrhnhrm n00b
Joined: 29 Jun 2008 Posts: 39 Location: Krasnoyarsk city, Russian Federation
|
Posted: Tue Jun 28, 2011 6:04 am Post subject: |
|
|
I'm using slim as DISPLAYMANAGER, which, in turn, reads the XSESSION stuff from ~/.xinitrc:
Code: | exec ck-launch-session startxfce4
numlockx on |
but I'm afraid that is not the subject of importance right now.
Quote: | If Code: | nano /etc/X11/xorg.conf.d/98-keyboard.conf | contains |
Now it does.
Quote: | recommend rerun Code: | aticonfig --initial |
|
Done.
Quote: | will give a black and white stipple screen with a movable mouse cursor as a standalone check of xorg-server |
Nope, the result is the very same black screen frozen dead. Zapping the server doesn't work either. X writes some output to the console after I issue that X -retro command (before the black screen onset), but it didn't get recorded in /var/log/Xorg.0.log. _________________ Geofairy is the best Pokemon |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Tue Jun 28, 2011 6:19 am Post subject: |
|
|
Code: | emerge radeon-ucode | ucode needs to be in /lib/firmware for cards supported by the current fglrx
If Code: | grep CONFIG_EXTRA_FIRMWARE /usr/src/linux/.config | returns something other than CONFIG_EXTRA_FIRMWARE="" and the something is radeon ucode -- that is a problem.
Short form: radeon ucode in /lib/firmware not as in-kernel blobs for fglrx _________________ Defund the FCC. |
|
Back to top |
|
|
Mrhnhrm n00b
Joined: 29 Jun 2008 Posts: 39 Location: Krasnoyarsk city, Russian Federation
|
Posted: Tue Jun 28, 2011 8:29 am Post subject: |
|
|
CONFIG_EXTRA_FIRMWARE was empty all the time. And I tried to install radeon-ucode now. Sorry, still no effect. _________________ Geofairy is the best Pokemon |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Tue Jun 28, 2011 2:08 pm Post subject: |
|
|
Code: | modprobe -r fglrx
modprobe fglrx
eselect opengl set ati
X -retro |
Code: | emerge wgetpaste pciutils
lspci -k | wgetpaste
awk '/Graphics support/,/CONFIG_SOUND/' /usr/src/linux/.config | wgetpaste
rc-update show | wgetpaste | Post the url's returned _________________ Defund the FCC. |
|
Back to top |
|
|
Mrhnhrm n00b
Joined: 29 Jun 2008 Posts: 39 Location: Krasnoyarsk city, Russian Federation
|
Posted: Tue Jun 28, 2011 5:00 pm Post subject: |
|
|
Quote: | modprobe -r fglrx
modprobe fglrx
eselect opengl set ati
X -retro |
Removing and loading of the module went smoothly. I have tried switching the OpenGL interface before, didn't help this time either. The result is still the same freezing.
Quote: | Post the url's returned |
Setting up my VPN without Networkmanager applet is kind of giving me the creeps So I'll take a slightly different route
For lspci output: http://pastebin.com/ScyVrWtK
awk output: http://pastebin.com/apZpD8q5
rc-update output: http://pastebin.com/5kMdcR9c
There also used to be an xdm service in the default runlevel, I've taken it out while X is of no use anyway.
Hope this helps. _________________ Geofairy is the best Pokemon |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Tue Jun 28, 2011 5:49 pm Post subject: |
|
|
suggest adding Quote: | Graphics support --->
<*> /dev/agpgart (AGP Support) ---> #experimented, had this unchecked, had problem, don't remember how it manifested, need nothing in the submenu
<*> Support for frame buffer devices --->
--- Support for frame buffer devices
[*] Enable firmware EDID #allows read through for monitor characteristics | to kernel config and recompiling recopying kernel
recommend change to VIDEO_CARDS="fglrx" in /etc/make.conf (or VIDEO_CARDS="fglrx vesa") v4l may be confusing xorg-server
then Code: | emerge xorg-server $(qlist -IC x11-drivers)
X -retro |
_________________ Defund the FCC. |
|
Back to top |
|
|
Mrhnhrm n00b
Joined: 29 Jun 2008 Posts: 39 Location: Krasnoyarsk city, Russian Federation
|
Posted: Wed Jun 29, 2011 8:47 am Post subject: |
|
|
Don't know which of your suggestions was essential to the solution, but doing all your instructions finally brought X back to fully operational state.
Thank you so very much! |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Wed Jun 29, 2011 2:55 pm Post subject: |
|
|
That's good because my tool bucket was empty. _________________ Defund the FCC. |
|
Back to top |
|
|
|