Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How do i switch to nvidia glx?[solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
kevstar31
Guru
Guru


Joined: 22 Nov 2006
Posts: 449
Location: Ohio

PostPosted: Tue Jun 26, 2007 6:11 pm    Post subject: How do i switch to nvidia glx?[solved] Reply with quote

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
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Tue Jun 26, 2007 6:13 pm    Post subject: Reply with quote

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
View user's profile Send private message
kevstar31
Guru
Guru


Joined: 22 Nov 2006
Posts: 449
Location: Ohio

PostPosted: Tue Jun 26, 2007 6:59 pm    Post subject: Reply with quote

there is no ebuild for 100.14.11
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Tue Jun 26, 2007 7:06 pm    Post subject: Reply with quote

See bugzilla. Or just rename nvidia-drivers-100.14.09.ebuild
Back to top
View user's profile Send private message
kevstar31
Guru
Guru


Joined: 22 Nov 2006
Posts: 449
Location: Ohio

PostPosted: Tue Jun 26, 2007 9:21 pm    Post subject: Reply with quote

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
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Tue Jun 26, 2007 9:34 pm    Post subject: Reply with quote

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
View user's profile Send private message
zAfi
Apprentice
Apprentice


Joined: 08 Aug 2006
Posts: 220
Location: Austria

PostPosted: Tue Jun 26, 2007 10:17 pm    Post subject: Reply with quote

https://forums.gentoo.org/viewtopic-t-560734.html

It's just 2 scrolls ahead...
_________________
Gentoo 2008.0/desktop | Kernel: 2.6.27-tuxonice | Arch: amd64 | KDE 3.5.9 | WU Wien |
----------
Share your kernel information @ http://klive.cpushare.com/
Back to top
View user's profile Send private message
kevstar31
Guru
Guru


Joined: 22 Nov 2006
Posts: 449
Location: Ohio

PostPosted: Tue Jun 26, 2007 11:04 pm    Post subject: Reply with quote

Works, thanks.
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Wed Jun 27, 2007 12:59 am    Post subject: Reply with quote

I've rewritten the wiki so hopefully it's much clearer as to what to do with ebuilds :)
Back to top
View user's profile Send private message
Dr_b_
n00b
n00b


Joined: 18 Jan 2004
Posts: 33

PostPosted: Mon Jul 02, 2007 8:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum