Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 274589 - xorg-server-1.6.1.901-r3 should allow the use of nvidia-drivers-96.43.11
Summary: xorg-server-1.6.1.901-r3 should allow the use of nvidia-drivers-96.43.11
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Ricardo Mendoza (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 258499
Blocks:
  Show dependency tree
 
Reported: 2009-06-18 09:49 UTC by Acron_0248
Modified: 2009-06-24 15:03 UTC (History)
4 users (show)

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


Attachments
change of code to support nvidia drivers 96.43.11 (xorg-server-1.6.1.901-r3.ebuild,13.91 KB, text/plain)
2009-06-23 06:47 UTC, Acron_0248
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Acron_0248 2009-06-18 09:49:14 UTC
Problem:

The ebuild for xorg-server-1.6.1.901-r3 (and xorg-server-1.6.1.901-r2) has as PDEPEND ">=x11-drivers/nvidia-drivers-173.14.09" for video_cards_nvidia which users who have to use the nvidia 96.43.11 legacy drivers have masked. 

This shouldn't be needed since nvidia-drivers-96.43.11 works with xorg-server-1.6.1.901-r3, I don't know about other versions of the legacy drivers, but this one works. Maybe other users using those drivers could confirm if it works for them as well.

Steps to reproduce:

emerge =x11-base/xorg-server-1.6.1.901-r3

Reproducible:

always

Emerge info:

Portage 2.2_rc33 (default/linux/x86/2008.0, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.30-gentoo-r1 i686)
=================================================================
System uname: Linux-2.6.30-gentoo-r1-i686-Intel-R-_Pentium-R-_4_CPU_1.50GHz-with-glibc2.0
Timestamp of tree: Thu, 18 Jun 2009 05:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.7
dev-lang/python:     2.5.4-r2
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
ALSA_CARDS="via82xx"
ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol"
APACHE2_MODULES="actions alias auth_basic auth_digest authn_alias authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache deflate dir disk_cache env expires ext_filter file_cache filter headers imagemap include info log_config log_forensic logio mem_cache mime mime_magic negotiation rewrite setenvif status unique_id usertrack vhost_alias"
APACHE2_MPMS="worker"
ARCH="x86"
AUTOCLEAN="yes"
BROWSER="opera"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CLEAN_DELAY="5"
COLLISION_IGNORE="/lib/modules"
COLON_SEPARATED="XDG_DATA_DIRS XDG_CONFIG_DIRS"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CVS_RSH="ssh"
CXXFLAGS="-march=pentium4 -O2 -pipe"
DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-tlsLGaTK6H,guid=42b42abf65bb319c2b5dca034a3a012f"
DISPLAY=":0.0"
DISTDIR="/usr/portage/distfiles"
EDITOR="/usr/bin/vim"
ELIBC="glibc"
EMERGE_DEFAULT_OPTS="--verbose"
EMERGE_WARNING_DELAY="10"
FEATURES="ccache distlocks fixpackages nostrip parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv"
FETCHCOMMAND="/usr/bin/wget -t 5 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
GCC_SPECS=""
GDK_USE_XFT="1"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://gentoo.mirrors.tds.net/gentoo http://gentoo.mirrors.easynews.com/linux/gentoo/ "
HISTCONTROL="ignoredups:erasedups"
HISTFILESIZE="2000"
HISTSIZE="2000"
HOME="/home/chaos"
HUSHLOGIN="FALSE"
HZ="100"
INFOPATH="/usr/share/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.18/info:/usr/share/gcc-data/i686-pc-linux-gnu/4.3.2/info"
INPUT_DEVICES="mouse keyboard evdev"
JAVAC="/etc/java-config-2/current-system-vm/bin/javac"
JAVA_HOME="/etc/java-config-2/current-system-vm"
JDK_HOME="/etc/java-config-2/current-system-vm"
KERNEL="linux"
LANG="en_US.UTF-8"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
LC_COLLATE="C"
LC_MONETARY="es_VE.UTF-8"
LC_NUMERIC="es_VE.UTF-8"
LC_PAPER="es_VE.UTF-8"
LDFLAGS="-Wl,-O1"
LDPATH="/usr/local/lib:/usr/lib/opengl/nvidia/lib:/usr/i686-pc-linux-gnu/lib:/usr/lib/gcc/i686-pc-linux-gnu/4.3.2:/usr/lib/nspr:/usr/lib/nss:/usr/lib/qt4:/opt/firefox:/opt/nessus/lib"
LESS="-R -M --shift 5"
LESSOPEN="|lesspipe.sh %s"
LINGUAS="en en_US en_EN"
LOGNAME="chaos"
LS_COLORS="rs=0:di=01;34:ln=01;36:hl=44;37: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:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:"
MAKEOPTS="-j2"
MANPATH="/etc/java-config-2/current-system-vm/man:/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/i686-pc-linux-gnu/2.18/man:/usr/share/gcc-data/i686-pc-linux-gnu/4.3.2/man:/etc/java-config/system-vm/man/:/usr/lib/php5/man/:/opt/nessus/man:/opt/opera/share/man"
NETBEANS="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml"
OPENGL_PROFILE="nvidia"
PAGER="/usr/bin/less"
PATH="/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.3.2:/usr/lib/subversion/bin:/opt/nessus/sbin:/opt/nessus/bin"
PKGDIR="/usr/portage/packages"
PORTAGE_ARCHLIST="ppc s390 amd64 x86 ppc64 x86-fbsd m68k arm sparc sh mips ia64 alpha hppa amd64-fbsd sparc-fbsd"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_BIN_PATH="/usr/lib/portage/bin"
PORTAGE_COMPRESS_EXCLUDE_SUFFIXES="css gif htm[l]? jp[e]?g js pdf png"
PORTAGE_CONFIGROOT="/"
PORTAGE_DEBUG="0"
PORTAGE_DEPCACHEDIR="/var/cache/edb/dep"
PORTAGE_ELOG_CLASSES="log warn error"
PORTAGE_ELOG_MAILFROM="portage@localhost"
PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}"
PORTAGE_ELOG_MAILURI="root"
PORTAGE_ELOG_SYSTEM="save_summary echo"
PORTAGE_FETCH_CHECKSUM_TRY_MIRRORS="5"
PORTAGE_FETCH_RESUME_MIN_SIZE="350K"
PORTAGE_GID="250"
PORTAGE_INST_GID="0"
PORTAGE_INST_UID="0"
PORTAGE_PYM_PATH="/usr/lib/portage/pym"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_RSYNC_RETRIES="3"
PORTAGE_TMPDIR="/var/tmp"
PORTAGE_VERBOSE="1"
PORTAGE_WORKDIR_MODE="0700"
PORTDIR="/usr/portage"
PRELINK_PATH_MASK="/usr/lib/klibc"
PROFILE_ONLY_VARIABLES="ARCH ELIBC KERNEL USERLAND"
PWD="/home/chaos"
RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
ROOT="/"
ROOTPATH="/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.3.2:/usr/lib/subversion/bin"
RPMDIR="/usr/portage/rpm"
RUBYOPT="-rauto_gem"
SANE_CONFIG_DIR="/etc/sane.d"
SHELL="/bin/bash"
SHLVL="4"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
TERM="xterm"
USB_DEVFS_PATH="/dev/bus/usb"
USE="X acl alsa bash-completion bzip2 cli cracklib crypt curl dbus dri fortran gtk2 hal iconv imagemagick isdnlog midi mmx mudflap ncurses nls nptl nptlonly opengl openmp pch pcre perl pppd python readline reflection session spl sse sse2 sysfs tcpd tiff truetype unicode vim-syntax x86 xorg zlib" ALSA_CARDS="via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_alias authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache deflate dir disk_cache env expires ext_filter file_cache filter headers imagemap include info log_config log_forensic logio mem_cache mime mime_magic negotiation rewrite setenvif status unique_id usertrack vhost_alias" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="mouse keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US en_EN" USERLAND="GNU" VIDEO_CARDS="nvidia nv"
USER="chaos"
USERLAND="GNU"
USE_EXPAND="ALSA_CARDS ALSA_PCM_PLUGINS APACHE2_MODULES APACHE2_MPMS CAMERAS CROSSCOMPILE_OPTS DVB_CARDS ELIBC FCDSL_CARDS FOO2ZJS_DEVICES FRITZCAPI_CARDS INPUT_DEVICES KERNEL LCD_DEVICES LINGUAS LIRC_DEVICES MISDN_CARDS NETBEANS_MODULES QEMU_SOFTMMU_TARGETS QEMU_USER_TARGETS USERLAND VIDEO_CARDS"
USE_EXPAND_HIDDEN="CROSSCOMPILE_OPTS ELIBC KERNEL USERLAND"
USE_ORDER="env:pkg:conf:defaults:pkginternal:env.d"
VIDEO_CARDS="nvidia nv"
WINDOWPATH="7"
XAUTHORITY="/home/chaos/.Xauthority"
XDG_CONFIG_DIRS="/etc/xdg"
XDG_DATA_DIRS="/usr/local/share:/usr/share"
XDG_SESSION_COOKIE=""
XSESSION="fluxbox"
_="/usr/bin/emerge"

Reproducible: Always

Steps to Reproduce:
1. emerge =x11-base/xorg-server-1.6.1.901-r3
2.
3.

Actual Results:  
xorg-server-1.6.1.901-r3 attempts to install >=x11-drivers/nvidia-drivers-173.14.09

Expected Results:  
For users who have to use the nvidia 96.43.11 legacy drivers, the ebuild for xorg-server-1.6.1.901-r3 shouldn't attempt to install the non-legacy drivers

Details from glxinfo:

OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce4 MX 440 with AGP8X/AGP/SSE2
OpenGL version string: 1.5.8 NVIDIA 96.43.11
Comment 1 Matthias Schwarzott gentoo-dev 2009-06-18 15:08:36 UTC
nvidia-drivers-173.14.18 does also work with xorg-server-1.6.1.901-r3
Comment 2 Acron_0248 2009-06-19 00:36:08 UTC
(In reply to comment #1)
> nvidia-drivers-173.14.18 does also work with xorg-server-1.6.1.901-r3
> 

I'm sure it does :), however that's not relevant to this since older cards (geforce 4 mx series) are only supported by the 96.43.11 driver
Comment 3 Aleksandr Yakimov 2009-06-22 10:10:10 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > nvidia-drivers-173.14.18 does also work with xorg-server-1.6.1.901-r3
> > 
> 
> I'm sure it does :), however that's not relevant to this since older cards
> (geforce 4 mx series) are only supported by the 96.43.11 driver
> 
Yes, according to http://www.nvnews.net/vbulletin/showthread.php?t=128942 it is supported by xorg-1.6
Comment 4 Acron_0248 2009-06-23 06:43:43 UTC
(In reply to comment #3)
> Yes, according to http://www.nvnews.net/vbulletin/showthread.php?t=128942 it is
> supported by xorg-1.6
> 

Indeed, xorg-server 1.6 works with the nvidia driver 96.43.07 and viceversa

Anyway, since there has been no change regarding to this matter towards a fix, I'm uploading the ebuild I used to avoid the restriction. This is not, however, a proposed fix, it just remarks where the dependency problem is and how could it be avoided.

The affected piece of code is at line 236 which by default contains "video_cards_nvidia? ( >=x11-drivers/nvidia-drivers-173.14.09 )" 

I just changed that line to "video_cards_nvidia? ( >=x11-drivers/nvidia-drivers-96.43.09 )"

This will allow the 96xx driver to be usable with xorg-server-1.6

It needs to be noted that this, by it self, won't help that much until the ebuilds for nvidia-drivers-96.43.* has a wider dependency which have been already reported in here: http://bugs.gentoo.org/show_bug.cgi?id=258499
Comment 5 Acron_0248 2009-06-23 06:47:56 UTC
Created attachment 195529 [details]
change of code to support nvidia drivers 96.43.11
Comment 6 Doug Goldstein (RETIRED) gentoo-dev 2009-06-24 15:03:12 UTC
incvs