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

Bug 145149

Summary: x11-drivers/nvidia-drivers-1.0.8774 works successfully with xorg-7.1
Product: Gentoo Linux Reporter: Neal McConachie <mcconachieneal>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 2006.0   
Hardware: All   
OS: Linux   
URL: http://www.nvidia.com/object/linux_display_amd64_1.0-8774.html
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: log of my Xorg startup showing successful loading of nvidia glx module
patch of xorg-server-1.1.1.ebuild to allow nvidia-drivers

Description Neal McConachie 2006-08-26 00:38:20 UTC
From the Nvidia Drivers page:
Linux Display Driver - AMD64/EM64T

Version: 1.0-8774
Operating System: Linux AMD64/EM64T
Release Date: August 24, 2006

Release Highlights

    * Added support for X.Org 7.1. 
etc...

So, I tested it out by copying the existing ebuild for xorg-server-1.1.1 into my overlay, and modifying it to allow for nvidia drivers.

(I didn't change the way it forces a switch back to the xorg opengl, but manually set it to nvidia afterwards)

I've restarted X using the new nvidia module with no problems.

Emerge --info:

Gentoo Base System version 1.12.4
Portage 2.1.1_pre5-r3 (default-linux/amd64/2006.0, gcc-4.1.0, glibc-2.4-r3, 2.6.17-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.17-gentoo-r4 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4400+
Last Sync: Sat, 26 Aug 2006 01:20:01 +0000
ccache version 2.3 [disabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=athlon64 -O2 -pipe -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_CA.UTF-8"
LC_ALL="en_CA.UTF-8"
LINGUAS="en_CA en_US en_GB en"
MAKEOPTS="-j3"
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"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac alsa apache2 arts avi bash-completion berkdb bitmap-fonts bzip2 cairo cdparanoia cdr cjk cli crypt css cups directfb dlloader doc dri dv dvd dvdr dvdread eds elibc_glibc emboss emul-linux-x86 encode examples fbcon ffmpeg firefox foomaticdb fortran gif glut gmp gnome gpm gstreamer gtk gtk2 ieee1394 imlib input_devices_evdev input_devices_keyboard input_devices_mouse ipod isdnlog java javascript jikes jpeg kde kdeenablefinal kdehiddenvisibility kernel_linux lame ldap libwww linguas_en linguas_en_CA linguas_en_GB linguas_en_US logrotate lzw lzw-tiff mad motif mp3 mpeg msn musepack ncurses nls nptl nptlonly nsplugin nvidia ofx ogg oggvorbis opengl pam pcre pdflib perl png ppds pppd python qt3 qt4 quicktime readline reflection sdl session slang spell spl ssl svg tcltk tcpd threads tidy tiff tk truetype truetype-fonts type1-fonts unicode usb userland_GNU video_cards_nv video_cards_nvidia video_cards_vesa vorbis wma wmf xinetd xml xmms xorg xpm xprint xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS

I will also attach a copy of my Xorg.0.log, but here are the relevant parts:

X Window System Version 7.1.1
Release Date: 12 May 2006
X Protocol Version 11, Revision 0, Release 7.1.1
Build Operating System: Linux 2.6.17-gentoo-r4 x86_64
Current Operating System: Linux zebra 2.6.17-gentoo-r4 #7 SMP Wed Aug 23 9:32:20 MDT 2006 x86_64

...

(II) LoadModule: "glx"
(II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
(II) Module glx: vendor="NVIDIA Corporation"
         compiled for 4.0.2, module version = 1.0.8774
         Module class: X.Org Server Extension
         ABI class: X.Org Server Extension, version 0.1
(II) Loading extension GLX                                          

I'll also upload a patch for the existing xorg-server-1.1.1 ebuild, but it should probably be improved by someone who knows more about it with regards to not forcing the xorg glx module.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-08-26 00:40:20 UTC

*** This bug has been marked as a duplicate of 145051 ***
Comment 2 Neal McConachie 2006-08-26 00:40:21 UTC
Created attachment 95107 [details]
log of my Xorg startup showing successful loading of nvidia glx module
Comment 3 Neal McConachie 2006-08-26 00:42:35 UTC
Created attachment 95108 [details, diff]
patch of xorg-server-1.1.1.ebuild to allow nvidia-drivers

Not ideal.  (Still need to eselect opengl set nvidia afterwards)