View previous topic :: View next topic |
Author |
Message |
yayaba n00b

Joined: 16 Jul 2004 Posts: 22
|
Posted: Fri Jul 16, 2004 2:29 am Post subject: newbie: nvidia drivers and xorg |
|
|
I've done some searching on the board but am still a little unsure of things.
I just finished installing Gentoo 2004.1 Kernel-2.6.7-r11 and did the emerge of xorg. It worked perfectly with the default nv drivers and I read about using the accelerated nvidia drivers.
Here's where I'm not sure. I emerged the nvidia-kernel drivers but are the nvidia-glx drivers important? It seems that to use the glx drivers that I would have to install xfree which I'd rather not do.
Xorg can't seem to find my nvidia module either. The only module that the kernel package seemed to install was "nvidia.ko" but when I try to modprobe that I get an error saying that it's an invalid module format. Plus my xorg has no idea where this nvidia module is as there's nothing in my X11R6 module directory relating to it.
Thanks in advance for the help and sorry if these Q's have been asked dozens of times already . |
|
Back to top |
|
 |
tomek32 Tux's lil' helper

Joined: 30 May 2004 Posts: 139
|
Posted: Fri Jul 16, 2004 2:52 am Post subject: |
|
|
First, make sure you emerged nvidia-kernel after installing the latest kernel. Second, I don't really know how nvidia-glx works with nvidia-kernel, but I've always assumes they're both need. So I do.
I have the nvidia-drivers working with the 2.6.7 kernel, but I need the latest unstable ones. I'm using the unstable ones for nvidia-glx also just in case it matters, but I have no idea. |
|
Back to top |
|
 |
yayaba n00b

Joined: 16 Jul 2004 Posts: 22
|
Posted: Fri Jul 16, 2004 3:05 am Post subject: |
|
|
Hrm, I'd really rather not install xfree because it seems kind of redundant having both xorg and xfree in there (glx basically requires I have xfree in there).
From what I read glx is for OpenGL but heck, I just want the regular drivers. Maybe that'll fix my resolution problems.
Edit: Well, I broke down and just tried installing the glx drivers too but now I have some errors:
Code: | [blocks B ] x11-base/xorg-x11 ("virtual/x11" from pkg x11-base/xfree-4.3.0-r6)
[blocks B ] x11-base/xorg-x11 (from pkg x11-base/xfree-4.3.0-r6) | [/code]
Last edited by yayaba on Fri Jul 16, 2004 3:15 am; edited 1 time in total |
|
Back to top |
|
 |
tomek32 Tux's lil' helper

Joined: 30 May 2004 Posts: 139
|
Posted: Fri Jul 16, 2004 3:14 am Post subject: |
|
|
I know glx is for OpenGL, I'm just not sure if it's strictly for compiling opengl apps or if there's also some runtime dependency for app that use it.
I've always thought it had something to do with the following, but again I'm not sure. Code: | opengl-update nvidia |
You could trying putting xfree in package.mask, or emerging nvidia-glx without dependencies. |
|
Back to top |
|
 |
archsvile Apprentice


Joined: 16 Jun 2004 Posts: 164 Location: PA
|
Posted: Fri Jul 16, 2004 6:20 am Post subject: hey |
|
|
first get the nvidia-glx and nvidia-kernel then pm me and i can help u set up xorg _________________ Site: http://moth.homelinux.com/~archsvile
Aim: archsvile
yahoo: archsvile |
|
Back to top |
|
 |
Moled l33t


Joined: 09 Jul 2003 Posts: 635
|
Posted: Fri Jul 16, 2004 11:18 am Post subject: |
|
|
change your profile to "default-x86-2004.2"
this updates the virtuals to xorg-x11 etc so it will not try to install xfree
ie, update the /etc/make.profile symlink to point at /usr/portage/profiles/default-x86-2004.2 |
|
Back to top |
|
 |
skywarp n00b

Joined: 19 Jun 2004 Posts: 41 Location: Germany
|
Posted: Fri Jul 16, 2004 10:00 pm Post subject: module format |
|
|
Hello,
the problem with "invalid module format" is wellknown. The forum's full of it. For 2.6.7 you should use the most recent 6106 version of the nvidia drivers.
In my case, I had to activate 4K Stacks in the Kernel - the former driver versions needed 8K. Recompiling the kernel, and afterwards
Code: |
ACCEPT_KEYWORDS="~x86" emerge nvidia-kernel |
I'm not sure wether nvidia-glx is really a must. I don't believe so. That's up to you to try.
I have Xorg and nvidia-kernel + glx running without any problems so far. The only thing I had to change since the 5336 version was the size of the stack to 4K. If you are coming from an 4496 version you will have to change some few things more your kernel .config . I don't remember exactly now.
Hope this helps.
PS: I forgot to mention that you should use the same compiler for comiling the kernel and nvidia'sa drivers. In my cxase this is gcc 3.3.3 |
|
Back to top |
|
 |
cyfred Retired Dev

Joined: 23 Aug 2002 Posts: 596
|
Posted: Sat Jul 17, 2004 11:59 pm Post subject: |
|
|
Also the circular dependency is fixed now. |
|
Back to top |
|
 |
|