View previous topic :: View next topic |
Author |
Message |
Majkijin Tux's lil' helper
Joined: 05 Mar 2004 Posts: 88 Location: AGH-UST Krakow, Poland
|
Posted: Tue Oct 19, 2004 1:48 pm Post subject: 3d acceleration and nvidia |
|
|
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 |
|
|
lucasjb Tux's lil' helper
Joined: 10 Mar 2003 Posts: 123 Location: Melbourne, Au
|
Posted: Tue Oct 19, 2004 1:54 pm Post subject: Re: 3d acceleration and nvidia |
|
|
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 |
|
|
Majkijin Tux's lil' helper
Joined: 05 Mar 2004 Posts: 88 Location: AGH-UST Krakow, Poland
|
Posted: Tue Oct 19, 2004 2:18 pm Post subject: |
|
|
Thanks |
|
Back to top |
|
|
howey n00b
Joined: 24 May 2004 Posts: 37 Location: Sydney, Australia.
|
Posted: Tue Oct 19, 2004 2:32 pm Post subject: |
|
|
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 |
|
|
jshanab Guru
Joined: 22 Dec 2003 Posts: 359
|
Posted: Tue Oct 19, 2004 2:45 pm Post subject: More questions |
|
|
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 |
|
|
howey n00b
Joined: 24 May 2004 Posts: 37 Location: Sydney, Australia.
|
Posted: Wed Oct 20, 2004 12:46 am Post subject: |
|
|
can you post you xorg.conf? thats probably the first place to start |
|
Back to top |
|
|
lucasjb Tux's lil' helper
Joined: 10 Mar 2003 Posts: 123 Location: Melbourne, Au
|
Posted: Wed Oct 20, 2004 12:47 am Post subject: Re: More questions |
|
|
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:
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 |
|
|
jshanab Guru
Joined: 22 Dec 2003 Posts: 359
|
Posted: Wed Oct 20, 2004 3:05 am Post subject: humm |
|
|
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 |
|
|
lucasjb Tux's lil' helper
Joined: 10 Mar 2003 Posts: 123 Location: Melbourne, Au
|
Posted: Wed Oct 20, 2004 3:25 am Post subject: Re: humm |
|
|
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.
If lsmod shows nothing, then the NVIDIA kernel driver isn't loaded and you need to load it.
--
Lucas |
|
Back to top |
|
|
|