Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 141363 - eselect after emerging nvidia-glx can't switch OpenGL interface
Summary: eselect after emerging nvidia-glx can't switch OpenGL interface
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-22 01:06 UTC by Aben Siatris
Modified: 2006-07-23 03:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aben Siatris 2006-07-22 01:06:40 UTC
After emerging nvidia-glx-1.0.8762, portage starts process with message:
Switching to xorg-x11 OpenGL interface...
that never stops and consume full CPU time for hours.
It is unknown problem with the eselect program (1.0.2)

Portage 2.1-r1 (default-linux/x86/2006.0, gcc-3.3.6, glibc-2.3.5-r1, 2.6.16-ck1 i686)
=================================================================
System uname: 2.6.16-ck1 i686 Intel(R) Celeron(R) CPU 2.40GHz
Gentoo Base System version 1.12.0_pre7
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.5-r2, 2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.12-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache digest distlocks metadata-transfer prelink sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="sk_SK.utf8"
LDFLAGS="-Wl,-O1,--enable-new-dtags,--sort-common,-s"
LINGUAS="en sk cz cs ru de"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/gentopia /usr/portage/local/layman/break-my-gentoo-main /usr/portage/local/layman/gentoo-de /usr/portage/local/layman/fluidportage /usr/portage/local/layman/ecatmur /usr/portage/local/layman/ebuild-exchange"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa apache2 apm arts audiofile avantgo avi berkdb bitmap-fonts bluetooth bootsplash bzip2 cairo cdparanoa cdr chroot cli crypt cups curl dba dbus directfb divix4linux divx4linux dlloader dri dts dv dvd dvdr dvdread eds emboss encode esd exif extensions fame fastcgi fax fbcon festival ffmpeg flac flash foomaticdb fortran gd gdbm geoip gif gnome gpm gstreamer gtk gtk2 hal iconv icq imagemagick imap imlib innodb isdnlog java javascript jpeg jpeg2k kde kdeenablefinal kdexdeltas ldap libg++ libwww lirc lm_sensors lzo mad maildir matroska mbox mikmod mime mjpeg mmx mmx2 mono motif mozsvg mp3 mpeg musicbrainz mysql mythtv ncurses net network nls nptl nptlonly nvidia oci8 odbc ogg oggvorbis openal opengl pam pcre pda pdflib perl png postgres povray pppd python qt qt3 qt4 quicktime readline reflection rtc samba sdl session sndfile soap speex spell spl sqlite sse sse2 ssl svg tcpd theora threads tiff timidity transcode truetype truetype-fonts type1-fonts udev unicode usb v4l v4l2 vcd vhosts vorbis wifi x86 xcomposite xine xinerama xml xml2 xmms xorg xrandr xv xvid xvmc zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux linguas_en linguas_sk linguas_cz linguas_cs linguas_ru linguas_de userland_GNU video_cards_nvidia video_cards_i810 video_cards_nv video_cards_vesa video_cards_vga video_cards_fbdev video_cards_v4l"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2006-07-22 01:12:00 UTC
Just to let you know nvidia-glx & nvidia-kernel are being replaced by nvidia-drivers.

emerge -C nvidia-glx nvidia-kernel
emerge -av nvidia-drivers
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2006-07-22 01:17:39 UTC
Reopen when you have more information.

You might want upgrade your system, as gcc 3.3.6, glibc 2.3.5 are not latest stable anymore. What else is outdated? Maybe it's been fixed allready?

Might want to look at /usr/lib/opengl that directory structure, symlinks and files are allright.
Comment 3 Aben Siatris 2006-07-22 02:40:18 UTC
I have tried the nvidia-drivers, but with same problem of eselect.
all in /usr/lib/opengl looks fine.

now I'm trying to upgrade gcc, glibc, and rekompile nvidia-drivers, eselect, eselect-opengl and opengl-update.

btw: There is none reason to manually upgrade gcc and glibc when any ebuild depends on new versions.
Comment 4 Aben Siatris 2006-07-22 03:57:35 UTC
upgrading gcc, glibc and reemerging packages not solved the problem.
but I found when eselect upgrades opengl, runs this command:
$eselect env update

with this output:
/etc/env.d/rules-save: line 2: *nat: command not found
/etc/env.d/rules-save: line 3: :PREROUTING: command not found
/etc/env.d/rules-save: line 4: :POSTROUTING: command not found
/etc/env.d/rules-save: line 5: :OUTPUT: command not found
/etc/env.d/rules-save: line 7: COMMIT: command not found
/etc/env.d/rules-save: line 10: *filter: command not found
/etc/env.d/rules-save: line 11: :INPUT: command not found
/etc/env.d/rules-save: line 12: :FORWARD: command not found
/etc/env.d/rules-save: line 13: :OUTPUT: command not found
/etc/env.d/rules-save: line 14: [0:0]: command not found
/etc/env.d/rules-save: line 15: [0:0]: command not found
/etc/env.d/rules-save: line 16: [0:0]: command not found
/etc/env.d/rules-save: line 17: [0:0]: command not found
/etc/env.d/rules-save: line 18: [0:0]: command not found
/etc/env.d/rules-save: line 19: [0:0]: command not found
/etc/env.d/rules-save: line 20: [0:0]: command not found
/etc/env.d/rules-save: line 21: [0:0]: command not found
/etc/env.d/rules-save: line 22: [0:0]: command not found
/etc/env.d/rules-save: line 23: [0:0]: command not found
/etc/env.d/rules-save: line 24: [0:0]: command not found
/etc/env.d/rules-save: line 25: [0:0]: command not found
/etc/env.d/rules-save: line 26: [0:0]: command not found
/etc/env.d/rules-save: line 27: [0:0]: command not found
/etc/env.d/rules-save: line 28: [0:0]: command not found
/etc/env.d/rules-save: line 29: [0:0]: command not found
/etc/env.d/rules-save: line 30: [0:0]: command not found
/etc/env.d/rules-save: line 31: [0:0]: command not found
/etc/env.d/rules-save: line 32: [0:0]: command not found
/etc/env.d/rules-save: line 33: [0:0]: command not found
/etc/env.d/rules-save: line 34: [9:1008]: command not found
/etc/env.d/rules-save: line 35: COMMIT: command not found
/etc/env.d/rules-save: line 2: *nat: command not found
/etc/env.d/rules-save: line 3: :PREROUTING: command not found
/etc/env.d/rules-save: line 4: :POSTROUTING: command not found
/etc/env.d/rules-save: line 5: :OUTPUT: command not found
/etc/env.d/rules-save: line 7: COMMIT: command not found
/etc/env.d/rules-save: line 10: *filter: command not found
/etc/env.d/rules-save: line 11: :INPUT: command not found
/etc/env.d/rules-save: line 12: :FORWARD: command not found
/etc/env.d/rules-save: line 13: :OUTPUT: command not found
/etc/env.d/rules-save: line 14: [0:0]: command not found
/etc/env.d/rules-save: line 15: [0:0]: command not found
/etc/env.d/rules-save: line 16: [0:0]: command not found
/etc/env.d/rules-save: line 17: [0:0]: command not found
/etc/env.d/rules-save: line 18: [0:0]: command not found
/etc/env.d/rules-save: line 19: [0:0]: command not found
/etc/env.d/rules-save: line 20: [0:0]: command not found
/etc/env.d/rules-save: line 21: [0:0]: command not found
/etc/env.d/rules-save: line 22: [0:0]: command not found
/etc/env.d/rules-save: line 23: [0:0]: command not found
/etc/env.d/rules-save: line 24: [0:0]: command not found
/etc/env.d/rules-save: line 25: [0:0]: command not found
/etc/env.d/rules-save: line 26: [0:0]: command not found
/etc/env.d/rules-save: line 27: [0:0]: command not found
/etc/env.d/rules-save: line 28: [0:0]: command not found
/etc/env.d/rules-save: line 29: [0:0]: command not found
/etc/env.d/rules-save: line 30: [0:0]: command not found
/etc/env.d/rules-save: line 31: [0:0]: command not found
/etc/env.d/rules-save: line 32: [0:0]: command not found
/etc/env.d/rules-save: line 33: [0:0]: command not found
/etc/env.d/rules-save: line 34: [9:1008]: command not found
/etc/env.d/rules-save: line 35: COMMIT: command not found
/usr/share/eselect//libs/config.bash: line 63: local: `*nat=': not a valid identifier
/tmp/profile.XDR5h5: line 38: *nat=: command not found
/etc/env.d/rules-save: line 2: *nat: command not found
/etc/env.d/rules-save: line 3: :PREROUTING: command not found
/etc/env.d/rules-save: line 4: :POSTROUTING: command not found
/etc/env.d/rules-save: line 5: :OUTPUT: command not found
/etc/env.d/rules-save: line 7: COMMIT: command not found
/etc/env.d/rules-save: line 10: *filter: command not found
/etc/env.d/rules-save: line 11: :INPUT: command not found
/etc/env.d/rules-save: line 12: :FORWARD: command not found
/etc/env.d/rules-save: line 13: :OUTPUT: command not found
/etc/env.d/rules-save: line 14: [0:0]: command not found
/etc/env.d/rules-save: line 15: [0:0]: command not found
/etc/env.d/rules-save: line 16: [0:0]: command not found
/etc/env.d/rules-save: line 17: [0:0]: command not found
/etc/env.d/rules-save: line 18: [0:0]: command not found
/etc/env.d/rules-save: line 19: [0:0]: command not found
/etc/env.d/rules-save: line 20: [0:0]: command not found
/etc/env.d/rules-save: line 21: [0:0]: command not found
/etc/env.d/rules-save: line 22: [0:0]: command not found
/etc/env.d/rules-save: line 23: [0:0]: command not found
/etc/env.d/rules-save: line 24: [0:0]: command not found
....
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-07-22 04:15:18 UTC
Why did you stick your iptables rules into /etc/env.d ??? Delete the file and try again.
Comment 6 Aben Siatris 2006-07-23 03:00:02 UTC
after deleting this file, all works fine.
but I have not created the file rules-save :-O