Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
3d acceleration and nvidia
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Majkijin
Tux's lil' helper
Tux's lil' helper


Joined: 05 Mar 2004
Posts: 88
Location: AGH-UST Krakow, Poland

PostPosted: Tue Oct 19, 2004 1:48 pm    Post subject: 3d acceleration and nvidia Reply with quote

Hi i have a simple question. I use kernel 2.6 and there is no dri modules for nvidia cards. Do I need install nvidia binary drivers?
Back to top
View user's profile Send private message
lucasjb
Tux's lil' helper
Tux's lil' helper


Joined: 10 Mar 2003
Posts: 123
Location: Melbourne, Au

PostPosted: Tue Oct 19, 2004 1:54 pm    Post subject: Re: 3d acceleration and nvidia Reply with quote

Majkijin wrote:
Hi i have a simple question. I use kernel 2.6 and there is no dri modules for nvidia cards. Do I need install nvidia binary drivers?


And I have a simple answer:

Yes, if you want hardware accelerated graphics.

--
Lucas
Back to top
View user's profile Send private message
Majkijin
Tux's lil' helper
Tux's lil' helper


Joined: 05 Mar 2004
Posts: 88
Location: AGH-UST Krakow, Poland

PostPosted: Tue Oct 19, 2004 2:18 pm    Post subject: Reply with quote

Thanks :)
Back to top
View user's profile Send private message
howey
n00b
n00b


Joined: 24 May 2004
Posts: 37
Location: Sydney, Australia.

PostPosted: Tue Oct 19, 2004 2:32 pm    Post subject: Reply with quote

emerge nvidia-kernel nvidia-glx

then update your /etc/x11/xorg.conf so that the "Driver" entry has "nvidia"
in the "Device" section for your video card. Something Like this:


Code:

...
Section "Device"
        Identifier  "nVidia GeForce4"
        Driver      "nvidia"  <----this is most important!
        VendorName  "nVidia Corporation"
        BoardName   "NV28 [GeForce4 Ti 4200 AGP 8x]"
        BusID       "PCI:1:0:0"
EndSection



the other lines may be different to reflect your hardware, of course. I suggest reading the gentoo desktop docs on setting up X.
Back to top
View user's profile Send private message
jshanab
Guru
Guru


Joined: 22 Dec 2003
Posts: 359

PostPosted: Tue Oct 19, 2004 2:45 pm    Post subject: More questions Reply with quote

:oops: I need furthor explination

I have nvidia-kernel in my world file and emerge search says 1.0.5336-r4 is installed, I also get nvidia splash screen and my test game, Chromium works. Do I still need some binaries for nvidia?

The reason I asked is because my desktop has become slow, draging a window to size is jerky and near impossible cause the mouse looses focus.
Back to top
View user's profile Send private message
howey
n00b
n00b


Joined: 24 May 2004
Posts: 37
Location: Sydney, Australia.

PostPosted: Wed Oct 20, 2004 12:46 am    Post subject: Reply with quote

can you post you xorg.conf? thats probably the first place to start
Back to top
View user's profile Send private message
lucasjb
Tux's lil' helper
Tux's lil' helper


Joined: 10 Mar 2003
Posts: 123
Location: Melbourne, Au

PostPosted: Wed Oct 20, 2004 12:47 am    Post subject: Re: More questions Reply with quote

jshanab wrote:
I have nvidia-kernel in my world file and emerge search says 1.0.5336-r4 is installed, I also get nvidia splash screen and my test game, Chromium works. Do I still need some binaries for nvidia?


You need two things. nvidia-kernel is the kernel driver for your hardware, this needs to be installed and the driver must be loaded into the kernel for use. Check that the driver is loaded by issuing lsmod, you should see something like this amongst your other modules:

Code:
nvidia               4819764  14


The second thing you need is the nvidia-glx driver for your X server, you can use something like esearch to check this is installed.

It sounds to me like you've got it working, based on the splash screen and the fact that you're getting smooth performance in Chromium. One thing to check is that nvidia-kernel and nvidia-glx are at the same version. Sometimes you can end up with different versions installed and this will usually work but can give you strange little problems and is best avoided. Check that the version numbers for nvidia-kernel and nvidia-glx are the same.

HTH,

--
Lucas
Back to top
View user's profile Send private message
jshanab
Guru
Guru


Joined: 22 Dec 2003
Posts: 359

PostPosted: Wed Oct 20, 2004 3:05 am    Post subject: humm Reply with quote

Is it possible to have everything compiled intot the kernel? I think that was my goal and lsmod doesn't list anything
Back to top
View user's profile Send private message
lucasjb
Tux's lil' helper
Tux's lil' helper


Joined: 10 Mar 2003
Posts: 123
Location: Melbourne, Au

PostPosted: Wed Oct 20, 2004 3:25 am    Post subject: Re: humm Reply with quote

jshanab wrote:
Is it possible to have everything compiled intot the kernel? I think that was my goal and lsmod doesn't list anything


Theoretically it should be possible to compile the NVIDIA kernel driver into your Linux kernel, but you'd probably have to write some kernel code, and, I don't know about you but I certainly don't have the skill for that. Besides, there's no point. If you've installed the NVIDIA kernel driver via portage, then it will be compiled as a kernel module and you can load it via modprobe.

Code:
modprobe nvidia


If lsmod shows nothing, then the NVIDIA kernel driver isn't loaded and you need to load it.

--
Lucas
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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