Nvidia [Solved]

If you are new to Linux or new to Sabayon Linux and just not sure where to post, here ya go. Post without fear of being told to RTFM :-)

Moderator: Moderators

Nvidia [Solved]

Postby Jack45073 » Fri May 14, 2010 8:52

Where do I post to get help on installing the latest NVIDIA drivers?
Last edited by Jack45073 on Fri May 14, 2010 20:24, edited 1 time in total.
Jack45073
Baby Hen
 
Posts: 10
Joined: Fri May 14, 2010 8:42

Re: NVIDIA

Postby micia » Fri May 14, 2010 10:08

I think that this section is the right place :D

You can get the latest Nvidia drivers using the entropy package manager, you can use equo from a console or sulfur, the entropy GUI frontend, here is an example using equo:
Code: Select all
equo update
equo install --ask nvidia-drivers


You could use portage to install them directly from source. You need some experience to use portage and it is not recommended for newbies.
Portage usually has more recent versions of the packages.
You can read the wiki to learn how to use entropy.
micia
Sagely Hen
 
Posts: 2718
Joined: Wed Nov 26, 2008 16:41

Re: NVIDIA

Postby Jack45073 » Fri May 14, 2010 18:26

I first tried emerge but I got an error about my kernel then I tried
Code: Select all
equo update
equo install --ask nvidia-drivers

but it didn't do anything.
Jack45073
Baby Hen
 
Posts: 10
Joined: Fri May 14, 2010 8:42

Re: NVIDIA

Postby micia » Fri May 14, 2010 18:31

can you post the output from the:
Code: Select all
equo install --ask nvidia-drivers

command?

You have to be root to install a package.
Use su to become root, like this:
Code: Select all
su

You will be prompted for a password, insert the root password (it will not output what you are typing).
Now you can run commands as root.

You can check that the drivers are in use using eselect:
Code: Select all
eselect opengl list

You should see something like:
Code: Select all
eselect opengl list
Available OpenGL implementations:
  [1]   nvidia *
  [2]   xorg-x11
  [3]   ati

there is a '*' next the currently active drivers.
If it is not next 'nvidia' make them current using:
Code: Select all
eselect opengl set nvidia

You have to be root for this too.
micia
Sagely Hen
 
Posts: 2718
Joined: Wed Nov 26, 2008 16:41

Re: NVIDIA

Postby Jack45073 » Fri May 14, 2010 19:02

It worked this time with
Code: Select all
su
it just didn't install the latest drivers it installed the same ones I had.
Jack45073
Baby Hen
 
Posts: 10
Joined: Fri May 14, 2010 8:42

Re: NVIDIA

Postby micia » Fri May 14, 2010 19:18

To get a more recent version probably you will need to use portage, I would wait for them to be added to entropy, but if you really want the latest ones you need to get the kernel sources (so that they can be compiled).
You can get them from entropy too, as root:
Code: Select all
equo install sabayon-sources


Now you need to update the portage package list:
Code: Select all
emerge --sync && layman -S

now you can emerge the latest nvidia drivers:
Code: Select all
emerge -av nvidia-drivers


Be careful using portage, you need some experience, also this procedure involves mixing entropy and portage.
You should let entropy know what portage did, using:
Code: Select all
equo rescue spmsync

otherwise entropy will think that it has still the old nvidia-drivers package installed.

Probably entropy will try to reinstall the old version of that package, since entropy tries to replace packages that are not installed by itself.
You can change this behaviour changing the:
ignore-spm-downgrades
in /etc/entropy/client.conf from disable to enable.
Like:
Code: Select all
ignore-spm-downgrades|enable

(you need to be root to do this)

Again, if you have no experience with portage, do this only if you really need the new version of the Nvidia drivers.
micia
Sagely Hen
 
Posts: 2718
Joined: Wed Nov 26, 2008 16:41

Re: NVIDIA

Postby Jack45073 » Fri May 14, 2010 20:24

Thanks again for the help, TF2 on Wine is running smooth now I was only getting 8-12 FPS and it went up to 25-30 :D gonna go check out the Wine site for tweaks :twisted:
Jack45073
Baby Hen
 
Posts: 10
Joined: Fri May 14, 2010 8:42


Return to Beginners|Newbies Area

Who is online

Users browsing this forum: No registered users and 2 guests

cron