Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 52829

Summary: xorg-x11 install hangs on the "switching to ati openGL interface..."
Product: Gentoo Linux Reporter: Jonathan Hernández Velasco <jbilbo>
Component: [OLD] UnspecifiedAssignee: Gentoo X packagers <x11>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jonathan Hernández Velasco 2004-06-02 16:42:13 UTC
Here's the log:
---------------------------------------
 * Fixing permissions......  [ ok ]
 * Creating FC font cache......  [ ok ]
 
 * Switching to ati OpenGL interface...
---------------------------------------

And nothing more, hangs there. Then, when i did a "ps aux":

------------------------------------------------------------
root     18691  0.1  1.4 10316 7528 tty2     S    Jun02   0:10 /usr/bin/python -O /usr/bin/emerge -v xorg-x11
root     32393  0.0  0.1  2116 1024 tty2     S    Jun02   0:00 /bin/bash /usr/sbin/ebuild.sh postinst
root     32399  0.0  0.1  2116 1024 tty2     S    Jun02   0:00 /bin/bash /usr/sbin/ebuild.sh postinst
root     32400  0.0  0.3  3108 1856 tty2     S    Jun02   0:00 /bin/bash /usr/sbin/ebuild.sh postinst
root     32401  0.0  0.0  1476  396 tty2     S    Jun02   0:00 tee -i -a /var/log/portage/5106-xorg-x11-6.7.0.log
root     32707  0.0  0.2  2244 1124 tty2     S    Jun02   0:00 /bin/bash //usr/sbin/opengl-update --use-old xorg-x11
root       355  0.0  0.1  1608  564 tty2     S    Jun02   0:00 sed -i s:/usr/lib/opengl/[^/]*/lib/libGL\.la:/usr/lib/libGL.la:
root       486  0.0  0.1  2468  832 tty1     R    00:44   0:00 ps aux
---------------------------------------------------------------------

I killed the sed process:

kill -9 355 and continues the instalation:

-----------------------------------------------------------------
 * Switching to ati OpenGL interface...
//usr/sbin/opengl-update: line 203:   355 Killed                  sed -i 's:/usr/lib/opengl/[^/]*/lib/libGL\.la:/usr/lib/libGL.la:' `grep -l /usr/lib/opengl *.la`  [ ok ]
 
 * Please note that the xcursors are in /usr/share/cursors/xorg-x11
[...]
------------------------------------------------------------------

I have "ati-drivers-3.7.6-r1".

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.50-r7 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.5-gentoo-r1)
=================================================================
System uname: 2.6.5-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.4.10
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE=""
ALSA_CARDS="intel8x0"
ARCH="x86"
AUTOCLEAN="yes"
AUTO_SYMLINK="no"
BASH_ENV="/etc/portage/bashrc"
CC="gcc"
CCACHE_SIZE="1G"
CFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CLASSPATH="/opt/blackdown-jdk-1.4.1/jre/lib/rt.jar:."
CLEAN_DELAY="5"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CVSROOT="/var/cvs"
CVS_RSH="/usr/bin/ssh"
CXX="g++"
CXXFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer"
DCCC_PATH="/usr/lib/distcc/bin"
DISPLAY=":0.0"
DISTCC_DIR="/mnt/data/tmp/.distcc"
DISTCC_LOG=""
DISTCC_VERBOSE="0"
DISTDIR="/usr/portage/distfiles"
EDITOR="/usr/bin/vim"
FEATURES="autoaddcvs ccache sandbox"
FETCHCOMMAND="/usr/bin/wget -t 5 --passive-ftp -P ${DISTDIR} ${URI}"
GDK_USE_XFT="1"
GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo/
ftp://ftp.easynet.nl/mirror/gentoo/ ftp://gentoo.inode.at/source/
ftp://ftp.rxd.hu http://mirror.switch.ch/mirror/gentoo/
ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/
ftp://ftp.linux.ee/pub/gentoo/distfiles/ ftp://mirror.switch.ch/mirror/gentoo/
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/
http://ftp.heanet.ie/pub/gentoo/ http://ftp.linux.ee/pub/gentoo/distfiles/
ftp://ftp.tu-clausthal.de/pub/linux/gentoo/"
GLIBC_SSP_CHECKED="1"
GRP_STAGE23_USE="ipv6 pam tcpd readline nls ssl gpm perl python berkdb acl ncurses"
GUILE_LOAD_PATH="/usr/share/guile/1.6"
G_BROKEN_FILENAMES="1"
HOME="/root"
HOSTNAME="valinor"
INFODIR="/usr/share/info:/usr/X11R6/info"
INFOPATH="/usr/share/info:/usr/share/gcc-data/i686-pc-linux-gnu/3.3/info"
INPUTRC="/etc/inputrc"
JAVAC="/opt/blackdown-jdk-1.4.1/bin/javac"
JAVA_HOME="/opt/blackdown-jdk-1.4.1"
JDK_HOME="/opt/blackdown-jdk-1.4.1"
KBUILD_OUTPUT_PREFIX=""
KDEDIR="/usr/kde/3.2"
KDEDIRS="/usr"
LESS="-R"
LESSOPEN="|lesspipe.sh %s"
LINUX_PORTAGE_WRITABLE="no"
LOGNAME="root"
LS_COLORS="no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.rar=01;31:*.ace=01;31:*.cpio=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mng=01;35:*.xcf=01;35:*.pcx=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.avi=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.mov=01;35:*.qt=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:"
MAIL="/var/spool/mail/root"
MAKEOPTS="-j2"
MANPATH="/usr/share/man:/usr/local/share/man:/usr/share/gcc-data/i686-pc-linux-gnu/3.3/man:/usr/X11R6/man:/opt/blackdown-jdk-1.4.1/man:/usr/qt/3/doc/man"
MONO_CONFIG="/etc/mono/config"
MOZILLA_FIVE_HOME="/usr/lib/mozilla"
NOCOLOR="false"
PAGER="/usr/bin/less"
PATH="/bin:/sbin:/usr/bin:/usr/sbin:/opt/gps/bin:/usr/local/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.3:/usr/gnat/bin:/opt/ati/bin:/opt/Acrobat5:/usr/X11R6/bin:/opt/blackdown-jdk-1.4.1/bin:/opt/blackdown-jdk-1.4.1/jre/bin:/usr/qt/3/bin:/usr/kde/3.2/sbin:/usr/kde/3.2/bin:/usr/qt/2/bin:/root/bin"
PKGDIR="/usr/portage/packages"
PKG_CONFIG_PATH="/usr/local/lib/pkgconfig"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_CACHEDIR="/var/cache/edb/dep/"
PORTAGE_CALLER="emerge"
PORTAGE_GID="250"
PORTAGE_MASTER_PID="19658"
PORTAGE_TMPDIR="/mnt/data/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
PORT_LOGDIR="/var/log/portage"
PRELINK_PATH=""
PRELINK_PATH_MASK=""
PS1="\[\033[01;31m\]\h \[\033[01;34m\]\w \$ \[\033[00m\]"
PWD="/root"
QMAKESPEC="linux-g++"
QTDIR="/usr/qt/3"
RESUMECOMMAND="/usr/bin/wget -c -t 5 --passive-ftp -P ${DISTDIR} ${URI}"
RPMDIR="/usr/portage/rpm"
RSYNC_RETRIES="3"
RSYNC_TIMEOUT="180"
SHELL="/bin/bash"
SHLVL="1"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
TERM="xterm"
USE="X acpi acpi4linux alsa apache2 avi bonobo cdr crypt cups dga dvd encode esd
evo fbcon foomaticdb gb gdbm gif gimpprint gnome gpm gtk gtk2 gtkhtml guile imap
imlib innodb java jpeg libg++ libwww mad mikmod motif mozilla moznoirc moznomail
mpeg mule mysql ncurses nls nptl odbc oggvorbis opengl oss pam pdflib perl png
ppds python quicktime radeon readline samba sdl slang slp spell sse ssl svga
tcltk tcpd tiff truetype unicode usb video_cards_radeon x86 xml xml2 xmms xv zlib"
USER="root"
USERLAND="GNU"
USE_EXPAND="VIDEO_CARDS INPUT_DEVICES LINGUAS"
VIDEO_CARDS="radeon"
XARGS="xargs -r"
XAUTHORITY="/root/.xauthsgKjyB"
XINITRC="/etc/X11/xinit/xinitrc"
_="/usr/bin/emerge"
Comment 1 Jonathan Hernández Velasco 2004-06-02 18:25:43 UTC
when i finish the instalation, i did:

opengl-update ati

and same result, it's a "opengpl-update" bug.

emerge -C ati-drivers
emergetest ati-drivers

solved it. Then, "opengpl-update ati" finish ok, and I have aceleration without any problem.

PD: emergetest is an alias:
alias "emergetest"="ACCEPT_KEYWORDS=\"~x86\" emerge"
Comment 2 Donnie Berkholz (RETIRED) gentoo-dev 2004-06-08 00:10:50 UTC
Ah, you have a mixed ~arch/arch system. That explains it -- ~arch xorg-x11 is only designed to be used with ~arch ati-drivers and so forth.

Good job figuring out and solving the problem, though.
Comment 3 Donnie Berkholz (RETIRED) gentoo-dev 2004-06-08 12:25:05 UTC
Try opengl-update-1.7.1 if you still have problems, also.