Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] switching from ATI to NVidia graphics card
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Illiander
Apprentice
Apprentice


Joined: 22 Feb 2011
Posts: 252

PostPosted: Tue Jun 28, 2011 5:55 pm    Post subject: [solved] switching from ATI to NVidia graphics card Reply with quote

I'm in a bit of a bind here, I have a machine that came with a small ati graphics card, which I am in the process of converting into a gaming machine for my wife, I was foolish enough to try to use the ati drivers. I then found out the uselessness of the ati drivers with Wine, and got a replacement NVidia graphics card for the machine (quite a bit beefier than the ati as well, but that's probably not relevant).

I switched my make.conf settings to use the new drivers (VIDEO_CARDS="nvidia noveau vesa") and emerged xorg-server again. It's taken me a while to realise that the machine was still trying to use the old ati drivers (eselect opengl list gave: [1] ati * [2] xorg-x11, after I had changed my make.conf, and re-emerged xorg-server, and still doesn't give me nvidia as an option)

What have I not known to do to make this transition work? I'd really prefer to not have to go down to install files on this machine, so what information have I forgotten to include to diagnose this?


(Oh, it isn't picking up on the monitor resolution either, but I figure that will sort itself out once I get the graphics card driver working properly)


Last edited by Illiander on Wed Jun 29, 2011 7:54 am; edited 1 time in total
Back to top
View user's profile Send private message
gerard27
Advocate
Advocate


Joined: 04 Jan 2004
Posts: 2377
Location: Netherlands

PostPosted: Tue Jun 28, 2011 6:09 pm    Post subject: Reply with quote

You need to install x11-drivers/nvidia-drivers.
You could also try xf86-video-nouveau.
Watch the emerge output:it might be necessary to change kernel config.
Gerard.
_________________
To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download
Back to top
View user's profile Send private message
ccosse
Apprentice
Apprentice


Joined: 10 Mar 2004
Posts: 171
Location: Las Vegas, NV

PostPosted: Tue Jun 28, 2011 7:02 pm    Post subject: Reply with quote

You can also taint your kernel w/ nvidia drivers from nvidia.com ... they always work well ... the installer writes a working xorg.conf for you as well ... it builds the driver from the cmd line based upon your running kernel, so it's pretty robust. I tried using nvidia-drivers from portage to no avail for a couple hours. The nvidia.com driver worked perfectly the first time. It may not be opensource, but it is produced by the company that makes the card ... and it does work reliably. +2 IMHO. Good Luck!
Back to top
View user's profile Send private message
gerard27
Advocate
Advocate


Joined: 04 Jan 2004
Posts: 2377
Location: Netherlands

PostPosted: Tue Jun 28, 2011 7:14 pm    Post subject: Reply with quote

@ccosse,
The Gentoo nvidia ebuild installs from the same source and taints the kernel as well.
The advantage is that portage then knows about it.
I am on nvidia myself since forever.
Gerard.
_________________
To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download
Back to top
View user's profile Send private message
Illiander
Apprentice
Apprentice


Joined: 22 Feb 2011
Posts: 252

PostPosted: Tue Jun 28, 2011 7:34 pm    Post subject: Reply with quote

Thanks for the help, I had to unmask a couple of things, as I'm running hardened (Hardened+nvidia drivers is something I'm ok with on this machine, but I can see the reason in hindsight for masking them), and a few other things needed resetting, but that worked wonders.

Thank You!
Back to top
View user's profile Send private message
ccosse
Apprentice
Apprentice


Joined: 10 Mar 2004
Posts: 171
Location: Las Vegas, NV

PostPosted: Tue Jun 28, 2011 7:34 pm    Post subject: Reply with quote

Hi Gerard,

gerard82 wrote:

The Gentoo nvidia ebuild installs from the same source and taints the kernel as well.

Thanks, I didn't know that. But could you elaborate what you mean by "same source"? You just mean all the kernel source already on your computer i suppose, right? But maybe you mean that all the libGL instances turn out the same as if you did the nvidia.com option?

Quote:

The advantage is that portage then knows about it.

But for me, at least, it's always a struggle with nvidia-drivers ... i'm a purist but i do opt for the "easier way" in this case.

Thanks, and thanks for clarifying,
Charles
Back to top
View user's profile Send private message
gerard27
Advocate
Advocate


Joined: 04 Jan 2004
Posts: 2377
Location: Netherlands

PostPosted: Tue Jun 28, 2011 9:25 pm    Post subject: Reply with quote

@ccosse,
Please open an nvidia ebuild:
Check what it says at SRC_URI.
That's what portage downloads to install.
As a bonus portage makes sure all dependencies get installed too.


@Illiander,
You're quite welcome.
Plse add solved to this post when you've got everything running.
Gerard.
_________________
To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download
Back to top
View user's profile Send private message
ccosse
Apprentice
Apprentice


Joined: 10 Mar 2004
Posts: 171
Location: Las Vegas, NV

PostPosted: Tue Jun 28, 2011 9:38 pm    Post subject: Reply with quote

@gerard82,

Code:

SRC_URI="x86? ( ftp://download.nvidia.com/XFree86/Linux-x86/${PV}/${X86_NV_PACKAGE}-pkg0.run )
         amd64? ( ftp://download.nvidia.com/XFree86/Linux-x86_64/${PV}/${AMD64_NV_PACKAGE}-pkg2.run )
         x86-fbsd? ( ftp://download.nvidia.com/freebsd/${PV}/${X86_FBSD_NV_PACKAGE}.tar.gz )"


Wow ... that's very interesting! Thanks for the enlightenment,
Charles
Back to top
View user's profile Send private message
gerard27
Advocate
Advocate


Joined: 04 Jan 2004
Posts: 2377
Location: Netherlands

PostPosted: Tue Jun 28, 2011 9:50 pm    Post subject: Reply with quote

Ebuilds are a great source of knowledge.
I always check what it says in case of a problem.
Not that I always find a solution in them but it often helps.
The same is true for the /var/log/portage logfiles and the elog files.

Gerard.
_________________
To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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