View previous topic :: View next topic |
Author |
Message |
TheAxeMaster n00b
Joined: 17 Sep 2003 Posts: 50
|
Posted: Thu Oct 13, 2005 3:25 am Post subject: 2.6.13 + nvidia = wits end |
|
|
Ok, sorry to bother you all with this, I know this has been a hot topic lately, and some people have been successful, but I haven't. This is my first successful gentoo install (number 5 I think), so I'm finally getting the kernel thing.
On to the problem.
I've got an nvidia FX5200 and so I emerged the nvidia-glx and nvidia-kernel. No dice. So I read the forums, found that it was a common problem, and was supposed to be taken care of in the newer drivers. So I edited the /etc/portage/package.keywords file to get the newest drivers (1.0.7676) and the app-admin/eselect things. Still nothing. Now when I try modprobe nvidia, I get this (~ish, I'm copying this by hand and KVMing between screens):
Code: | FATAL: error inserting nvidia (/lib/modules/2.6.13-gentoo-r3/video/nvidia.ko): No such device |
Which I just don't understand. When I do the X -configure, it detects my card as a FX5200 and sets up the xorg.conf pretty correctly (there are no resolutions specified in the "Display" section, which is wierd, just color depths, but it still should work). When I had the stable drivers, I got the NVmakedevices.sh, but that didn't fix anything either.
I also tried the two fixes in the bug report (comments 8 AND 15 I think), editing the /etc/conf.d/local.start, and that doesn't seem to do anything for me. But I know I don't have the nodes either, when I do a locate for them, I get nothing.
So now I'm lost, any ideas as to why I'm getting that fatal error? Did I mess something up? Does it matter that I compiled in nvidia support into my kernel? I didn't think it did, but maybe I'm wrong. |
|
Back to top |
|
|
TheWitePony Apprentice
Joined: 04 Feb 2004 Posts: 211
|
Posted: Thu Oct 13, 2005 4:06 am Post subject: |
|
|
Not sure if this is the way you did it but here's what I do when I recompile nvidia stuff for a new kernel:
1: Compile kernel with agpart as a module, as well as the chipset as a module (in my case nForce), copy image over to /boot, reboot. Make sure agpart starts at boot.
2: umerge nvidia-glx and nvidia-kernel, then remerge.
3: modprobe nvidia, make sure nvidia starts at boot
3: dont forget to "opengl-update nvidia"
4: startx
Other than that I don't know how much help I can be. Maybe someone else has an idea. My only suggestion would be to check if agpart is loaded if you want to use it. |
|
Back to top |
|
|
davidmanning n00b
Joined: 09 Oct 2005 Posts: 10
|
Posted: Thu Oct 13, 2005 4:09 am Post subject: |
|
|
Which driver are you using for your framebuffer?
Apparently it's not currently possible to use the nvidiafb and nvidia's graphics driver at the same time. The nvidiafb "claims" the card and the nvidia driver can't access it. Nvidia says it will be fixed in a future version.
Long story short: if you want the nvidia driver for X, you need to use vesafb or vesafb-tng |
|
Back to top |
|
|
TheAxeMaster n00b
Joined: 17 Sep 2003 Posts: 50
|
Posted: Thu Oct 13, 2005 4:23 am Post subject: |
|
|
I compiled in the nvidiafb one, so I guess its time to recompile... =/ I do need the nvidia driver for the TV out, since this system is gonna be a DVR. Ok, recompile time, be back in about 30 minutes!
Oh, should I compile in the vesa-tng as a module? |
|
Back to top |
|
|
davidmanning n00b
Joined: 09 Oct 2005 Posts: 10
|
Posted: Thu Oct 13, 2005 12:23 pm Post subject: |
|
|
Can you compile vesafb-tng as a module? seems like you'd need it to load asap...
You shouldn't need to make it a module. |
|
Back to top |
|
|
Old School Apprentice
Joined: 20 Nov 2004 Posts: 252 Location: West Bank of the Coast Fork
|
Posted: Fri Oct 14, 2005 12:19 am Post subject: |
|
|
I'm having the same problem on an existing stable system. This is on an Asus A7N8x board with an older nvidia card. I've used a genkernel compiled kernel on this system since June and everything has been rock solid, so I decided to build my own kernel. It is a 2.6.12-r10. (genkernel kernel was 2.6.12-r4)
I've got the folowing in the kernel. Sorry I am in my windows side so I can't cut n paste.
Code: | Character Devices-->
[m] Direct Rendering manager
[*] Intel/AMD/Via Random number support
[*] /dev/nvram support
[*] Enhanced real time clock support
[m] /dev/agpgart
[m] Nvidia nForce
[m] Direct rendering manager
Graphics Support
[*] vesa VGA
[*]support framebuffer splash |
I'm using the vesafb-tng
I did the following:
Code: | make menuconfig
make && make modules_install
mount /boot |
copied the arch
umounted /boot
unmerged nvidia-kernel nvidia-glx
emerged them
yes, I was pointing to the correct kernel
got no compile errors
modprobe nvidia and wham:
Code: | FATAL: Error inserting nvidia (/lib/modules/2.6.12-gentoo-r10/video/nvidia.ko): No such device. |
Any ideas?
Also the same version of gcc compiled both the kernel and the module. _________________ www.otw20.com
The further a society drifts from truth, the more it will hate those who speak it.
George Orwell
Last edited by Old School on Fri Oct 14, 2005 1:05 am; edited 3 times in total |
|
Back to top |
|
|
psk31 Tux's lil' helper
Joined: 10 Jun 2004 Posts: 143 Location: Calgary, AB, Canada
|
Posted: Fri Oct 14, 2005 12:53 am Post subject: |
|
|
Has there been a solution found to this problem? I am getting the very same error trying to modprobe the new ~86 nvidia driver with 2.6.13-gentoo-r3 (fresh install).
card is also a FX5200.
I am stuck. Tried all the ususal fixes (recompiling kernel and drivers after updating to gcc 3.6).
Help!!
psk31 |
|
Back to top |
|
|
TheAxeMaster n00b
Joined: 17 Sep 2003 Posts: 50
|
Posted: Fri Oct 14, 2005 12:58 am Post subject: |
|
|
Well mine works now yay! I just recompiled the kernel (took like 5 minutes) and loaded it up, everything was fine. Thanks all!
menelmacar, did you compile in support for your graphics card when you did your kernel? If you did, then apparently it won't ever work. I think its under Device Drivers --> Graphics Support, look for an nvidia option, and compile that in as a module (or not at all? You may not need it period) and be sure and compile in as default <*> the vesafb or vesa-tng. I'm not sure compiling your chipset in as a module is the best idea either, I'd do that part as a default. |
|
Back to top |
|
|
psk31 Tux's lil' helper
Joined: 10 Jun 2004 Posts: 143 Location: Calgary, AB, Canada
|
Posted: Fri Oct 14, 2005 1:18 am Post subject: |
|
|
Ok, I will have to look at my menuconfig. I suspect I have selected the nvidia option. I just went back and tryed an older version of nvidia-kernel and -glx ..same fault.
Can I assume you are still running the FX5200 card?
psk31 |
|
Back to top |
|
|
Gentoo User Apprentice
Joined: 07 May 2004 Posts: 164
|
Posted: Fri Oct 14, 2005 2:30 am Post subject: |
|
|
Hello there!
Let me tell you, how an Nvidia card may be set up. Generally, you may use Nvidia drivers directly. It seems to be a good option if something goes wrong with portage programs.
1. Fetch the latest driver from the Nvidia site.
http://www.nvidia.com/object/unix.html
2. Original nvidia settings are quite all right, so the kernel AGP support may be left blank
(Section character devices)
Code: |
[ ] Non-standard serial port support
Serial drivers --->
[*] Legacy (BSD) PTY support
(256) Maximum number of legacy PTY in use
IPMI --->
Watchdog Cards --->
< > Intel/AMD/VIA HW Random Number Generator support
< > /dev/nvram support
<M> Enhanced Real Time Clock Support
< > Generic /dev/rtc emulation
< > Double Talk PC internal speech card support
< > Siemens R3964 line discipline
< > Applicom intelligent fieldbus card support
< > Sony Vaio Programmable I/O Control Device support (EXPERIMENTAL)
Ftape, the floppy tape device driver --->
< > /dev/agpgart (AGP Support)
< > Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)
< > ACP Modem (Mwave) support
< > RAW driver (/dev/raw/rawN) (OBSOLETE)
[ ] HPET - High Precision Event Timer
< > Hangcheck timer
|
You can easily add framebuffer support in graphics support section if you need it.
Recompile the kernel.
3. Following nvidia instructions, install the driver.
4. Edit xorg.conf according to the specs of your monitor.
5. Reboot.
Hopefully, this information may help you with your cards.
Rgds
Gentoo User |
|
Back to top |
|
|
psk31 Tux's lil' helper
Joined: 10 Jun 2004 Posts: 143 Location: Calgary, AB, Canada
|
Posted: Sun Oct 16, 2005 2:56 am Post subject: |
|
|
Yep, that did it. Removing the AGP support within the kernel did the trick!
Thanks mate!
-psk31 |
|
Back to top |
|
|
|