View previous topic :: View next topic |
Author |
Message |
kevstar31 Guru
Joined: 22 Nov 2006 Posts: 449 Location: Ohio
|
Posted: Tue Jun 26, 2007 6:11 pm Post subject: How do i switch to nvidia glx?[solved] |
|
|
I installed the driver with nvidia's installer and eselect opengl set nvidia does not work.
Last edited by kevstar31 on Tue Jun 26, 2007 11:05 pm; edited 1 time in total |
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Tue Jun 26, 2007 6:13 pm Post subject: |
|
|
That's because eselect requires the files in different locations. Use the ebuilds instead.
Code: | emerge nvidia-drivers |
Choose the correct driver version for your video card. |
|
Back to top |
|
|
kevstar31 Guru
Joined: 22 Nov 2006 Posts: 449 Location: Ohio
|
Posted: Tue Jun 26, 2007 6:59 pm Post subject: |
|
|
there is no ebuild for 100.14.11 |
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Tue Jun 26, 2007 7:06 pm Post subject: |
|
|
See bugzilla. Or just rename nvidia-drivers-100.14.09.ebuild |
|
Back to top |
|
|
kevstar31 Guru
Joined: 22 Nov 2006 Posts: 449 Location: Ohio
|
Posted: Tue Jun 26, 2007 9:21 pm Post subject: |
|
|
localhost ~ # ebuild /root/portage/x11-drivers/nvidia-drivers/nvidia-drivers-100.14.11.ebuild install
* NVIDIA-Linux-x86-100.14.11-pkg0.run MD5 ... [ ok ]
* NVIDIA-Linux-x86-100.14.11-pkg0.run RMD160 ... [ ok ]
* NVIDIA-Linux-x86-100.14.11-pkg0.run SHA1 ... [ ok ]
* NVIDIA-Linux-x86-100.14.11-pkg0.run SHA256 ... [ ok ]
* NVIDIA-Linux-x86-100.14.11-pkg0.run size ... [ ok ]
* checking ebuild checksums ... [ ok ]
* checking auxfile checksums ... [ ok ]
* checking miscfile checksums ... [ ok ]
* checking NVIDIA-Linux-x86-100.14.11-pkg0.run ... [ ok ]
* Checking for MTRR support ... [ ok ]
>>> Checking NVIDIA-Linux-x86-100.14.11-pkg0.run's mtime...
>>> Checking NVIDIA-Linux-x86_64-100.14.11-pkg2.run's mtime...
>>> Checking NVIDIA-FreeBSD-x86-100.14.11.tar.gz's mtime...
>>> Checking nvidia-settings-1.0.tar.gz's mtime...
>>> Not marked as unpacked; recreating WORKDIR...
>>> Unpacking source...
Creating directory NVIDIA-Linux-x86-100.14.11-pkg0
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86 100.14.11.............................................................................................................................
* Applying NVIDIA_glx-defines.patch ... [ ok ]
* Cannot find $EPATCH_SOURCE! Value for $EPATCH_SOURCE is:
*
* /root/portage/x11-drivers/nvidia-drivers/files/NVIDIA_glx-glheader.patch
* ( NVIDIA_glx-glheader.patch )
!!! ERROR: x11-drivers/nvidia-drivers-100.14.11 failed.
Call stack:
ebuild.sh, line 1615: Called dyn_unpack
ebuild.sh, line 752: Called qa_call 'src_unpack'
ebuild.sh, line 44: Called src_unpack
nvidia-drivers-100.14.11.ebuild, line 172: Called epatch '/root/portage/x11-drivers/nvidia-drivers/files/NVIDIA_glx-glheader.patch'
eutils.eclass, line 161: Called die
!!! Cannot find $EPATCH_SOURCE!
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-100.14.11/temp/build.log'.
!!! This ebuild is from an overlay: '/root/portage' |
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Tue Jun 26, 2007 9:34 pm Post subject: |
|
|
Look in the ebuild.
Code: | $ grep patch /usr/local/portage/x11-drivers/nvidia-drivers/nvidia-drivers-100.14.11.ebuild
epatch "${FILESDIR}"/NVIDIA_glx-defines.patch
epatch "${FILESDIR}"/NVIDIA_glx-glheader.patch |
So set up your FILESDIR. Copy the files from /usr/portage/x11-drivers/nvidia-drivers/files/ to the ebuild's "files" subdirectory.
Also, don't do "ebuild blah.ebuild install", just digest it then emerge it.
Code: | ebuild nvidia-drivers-100.14.11.ebuild digest
emerge =nvidia-drivers-100.14.11 |
|
|
Back to top |
|
|
zAfi Apprentice
Joined: 08 Aug 2006 Posts: 220 Location: Austria
|
|
Back to top |
|
|
kevstar31 Guru
Joined: 22 Nov 2006 Posts: 449 Location: Ohio
|
Posted: Tue Jun 26, 2007 11:04 pm Post subject: |
|
|
Works, thanks. |
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Wed Jun 27, 2007 12:59 am Post subject: |
|
|
I've rewritten the wiki so hopefully it's much clearer as to what to do with ebuilds |
|
Back to top |
|
|
Dr_b_ n00b
Joined: 18 Jan 2004 Posts: 33
|
Posted: Mon Jul 02, 2007 8:30 pm Post subject: |
|
|
The Wiki was excellent, it worked perfectly on my PCI-E 8600GTS, and the .11 was the only driver that worked on my card.
Kudos.
-Dr_b_ |
|
Back to top |
|
|
|