Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
nvidia & gentoo-dev-sources-2.6.7
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
joeljkp
Guru
Guru


Joined: 06 Mar 2004
Posts: 316
Location: Starkville, MS, USA

PostPosted: Sat Jun 19, 2004 4:24 pm    Post subject: nvidia & gentoo-dev-sources-2.6.7 Reply with quote

Looks like nvidia is broken again. I just upgraded to gentoo-dev-sources-2.6.7, and remerged nvidia-kernel (4496-r3). When I tried to start X, I got a message saying it couldn't load the nvidia drivers.

So I tried to load them myself:
Code:
# modprobe nvidia
FATAL: Error inserting nvidia (/lib/modules/2.6.7-gentoo/video/nvidia.ko): Invalid module format
#

And yeah, I checked, it's compiling it for the right kernel. /lib/modules/2.6.7-gentoo has nvidia.ko in it.
Back to top
View user's profile Send private message
spb
Retired Dev
Retired Dev


Joined: 02 Jan 2004
Posts: 2135
Location: Cambridge, UK

PostPosted: Sat Jun 19, 2004 4:28 pm    Post subject: Reply with quote

Go to your kernel config. First, under 'Processor type and features'. Make sure that 'use register arguments' is off. Then, under 'Kernel Hacking'. Make sure that 'Use 4K for kernel stacks instead of 8K' is also off.
Back to top
View user's profile Send private message
joeljkp
Guru
Guru


Joined: 06 Mar 2004
Posts: 316
Location: Starkville, MS, USA

PostPosted: Sat Jun 19, 2004 5:31 pm    Post subject: Reply with quote

Yes, both are off. nvidia-*-5336 works fine, btw.
Back to top
View user's profile Send private message
NiK[IT]
Tux's lil' helper
Tux's lil' helper


Joined: 28 May 2004
Posts: 91

PostPosted: Sat Jun 19, 2004 6:59 pm    Post subject: Reply with quote

Could you tell me if in your conf works glx too? I upgraded form 2.6.5 to 2.6.7 and now everything works fine except glx. I could not start Americas Army anymore!!! Buuuuuhhhh!!! :D :D :D
Back to top
View user's profile Send private message
dfy
Tux's lil' helper
Tux's lil' helper


Joined: 05 Apr 2004
Posts: 79

PostPosted: Sat Jun 19, 2004 9:09 pm    Post subject: Reply with quote

I've got the same problem. Seems like there's something wrong with the 4496 and 2.6.7. Would be very nice if someone had a solution, because I have a GF4MX and would like to keep the 44-drivers instead of upgrading to 5xxx.

edit: I was looking around a bit, and it seems like the best way is upgrading to 5xxx. I don't have a really good feeling about that because it's still in ~arch, but well, it's officially released by nvidia, so I hope everything will work.... we'll see.
Back to top
View user's profile Send private message
joeljkp
Guru
Guru


Joined: 06 Mar 2004
Posts: 316
Location: Starkville, MS, USA

PostPosted: Sat Jun 19, 2004 9:34 pm    Post subject: Reply with quote

My glx does work with the 5336 drivers.
Back to top
View user's profile Send private message
NiK[IT]
Tux's lil' helper
Tux's lil' helper


Joined: 28 May 2004
Posts: 91

PostPosted: Sat Jun 19, 2004 10:26 pm    Post subject: Reply with quote

right! I tried upgrading to newest (unstable) nvidia-glx and nvidia-kernel and now all works faster than before.
I did an
Code:
ACCEPT_KEYWORDS="~x86" emerge nvidia-kernel nvidia-glx

thx to all!!! :D :D :D :D :D
Back to top
View user's profile Send private message
robfish
Tux's lil' helper
Tux's lil' helper


Joined: 25 Nov 2002
Posts: 137
Location: New Zealand

PostPosted: Sun Jun 20, 2004 2:18 am    Post subject: Reply with quote

Thanks from me as well. That worked to fix the same problem here.
_________________
RobFish
Back to top
View user's profile Send private message
Lance
Tux's lil' helper
Tux's lil' helper


Joined: 02 Apr 2004
Posts: 125

PostPosted: Sun Jun 20, 2004 2:31 am    Post subject: Reply with quote

I have exactly the same problem.

I have tried
ACCEPT_KEYWORDS="~x86" emerge nvidia-kernel nvidia-glx
even worse, my box freezed at bootup.
_________________
choose Gentoo, choose freedom
Back to top
View user's profile Send private message
Mythos
l33t
l33t


Joined: 02 May 2004
Posts: 953
Location: Portugal

PostPosted: Sun Jun 20, 2004 3:07 am    Post subject: Reply with quote

did you make
Code:
 modules-update
???

don't use accept_keywords ...

do this:

Code:
mkdir /etc/portage;echo " media-video/nvidia-kernel ~x86" >> /etc/portage/package.keywords;echo "media-video/nvidia-glx ~x86" >> /etc/portage/package.keywords;emerge nvidia-kernel nvidia-glx

_________________
Best Regards,
Sérgio Henrique
Linux dune 3.0.6-gentoo #1 SMP Thu Oct 27 16:47:29 WEST 2011 x86_64 Intel(R) Core(TM)2 Duo CPU T7500 @ 2.20GHz GenuineIntel GNU/Linux
Back to top
View user's profile Send private message
joeljkp
Guru
Guru


Joined: 06 Mar 2004
Posts: 316
Location: Starkville, MS, USA

PostPosted: Sun Jun 20, 2004 3:28 am    Post subject: Reply with quote

Has anyone posted a bug about this?
Back to top
View user's profile Send private message
steel300
Veteran
Veteran


Joined: 10 Jul 2003
Posts: 1155

PostPosted: Sun Jun 20, 2004 2:46 pm    Post subject: Reply with quote

It's a known thing.
_________________
Rationality is the recognition of the fact that nothing can alter the truth and nothing can take precedence over that act of perceiving it.
Back to top
View user's profile Send private message
linuxkrn
Tux's lil' helper
Tux's lil' helper


Joined: 13 Oct 2003
Posts: 140
Location: Denver,Colorado

PostPosted: Sun Jun 20, 2004 9:25 pm    Post subject: Reply with quote

joeljkp wrote:
Yes, both are off. nvidia-*-5336 works fine, btw.



They DO NOT work fine. The 5xxx driver tree is CRAP.

They have a SERIOUS bug in them that has been talked about on the kernel mailing list.

Here is some sample ouput.

Code:
Badness in pci_find_subsys at drivers/pci/search.c:167
Call Trace:
 [<c023f734>] pci_find_subsys+0x114/0x11c
 [<c023f76b>] pci_find_device+0x2f/0x33
 [<c023f537>] pci_find_slot+0x27/0x49
 [<f8d164aa>] os_pci_init_handle+0x39/0x68 [nvidia]
 [<f8baa85f>] _nv001243rm+0x1f/0x24 [nvidia]
 [<f8cf1115>] _nv000816rm+0x2f5/0x384 [nvidia]
 [<f8c5992c>] _nv003801rm+0xd8/0x100 [nvidia]
 [<f8cf0c4f>] _nv000809rm+0x2f/0x34 [nvidia]
 [<f8c5a750>] _nv003816rm+0xf0/0x104 [nvidia]
 [<f8c5900e>] _nv003795rm+0x6ea/0xaec [nvidia]
 [<f8bc3267>] _nv004046rm+0x3a3/0x3b0 [nvidia]
 [<f8cc4ba7>] _nv001476rm+0x277/0x45c [nvidia]
 [<f8bad39a>] _nv000896rm+0x4a/0x64 [nvidia]
 [<f8baebb4>] rm_isr_bh+0xc/0x10 [nvidia]
 [<f8d13b49>] nv_kern_isr_bh+0xf/0x13 [nvidia]
 [<c0125b03>] tasklet_action+0x65/0xae
 [<c0125888>] do_softirq+0xc0/0xc2
 [<c0109a3b>] do_IRQ+0x13e/0x192
 [<c0107d70>] common_interrupt+0x18/0x20
 [<c010501e>] default_idle+0x0/0x2c
 [<c0105047>] default_idle+0x29/0x2c
 [<c01050b0>] cpu_idle+0x33/0x3c
 [<c04fa86c>] start_kernel+0x191/0x1c0
 [<c04fa433>] unknown_bootoption+0x0/0x110




This results in the keyboard/mouse locking up on my system. It happens with both GeForceFX 5600s and on Quadro4 900GLX cards.

If you read the mailing list they are pissed (as I am) off at nVidia for having this problem for so long in the 5xxx branch. The 4xxx do not have these issues.

That becomes a major problem now with 2.6.7 because you can't use 4xxx anymore. I'm rather upset that I have to deal with either lockups or use a old kernel with security holes. :evil:
Back to top
View user's profile Send private message
stoffe
n00b
n00b


Joined: 13 Mar 2004
Posts: 45

PostPosted: Tue Jun 22, 2004 3:08 pm    Post subject: Reply with quote

I'm not too happy about having to use the 5x.xx drivers either - I develop games and the 5x.xx series has some serious performance issues under certain conditions, with large 3D objects and suchlike (which is unavoidable with this game ;)), and I do mean really serious. These problems are exactly the same on Windows 5x.xx series also. On both Windows and Linux, 4x.xx drivers work just fine, and on Windows, there also is available 6x.xx beta drivers (forceware) that has all of these issues fixed.

For now, since we are still in development, we are using the beta drivers while waiting for the final ones to be released... anybody has any idea how long it takes before Linux drivers follows (or, for now, know of any way to find betas for that too)?
Back to top
View user's profile Send private message
JinxterX
n00b
n00b


Joined: 19 Apr 2004
Posts: 59

PostPosted: Wed Jun 23, 2004 10:55 pm    Post subject: Reply with quote

Download patched 44.96 drivers that work with dev-sources 2.6.7 here.
Back to top
View user's profile Send private message
Larcen
Apprentice
Apprentice


Joined: 21 Mar 2004
Posts: 174

PostPosted: Wed Jun 23, 2004 11:49 pm    Post subject: Reply with quote

Help! I'm pulling my hair out. :(

Code:
Building modules, stage 2.
make -rR -f /usr/src/linux-2.6.7-gentoo-r5/scripts/Makefile.modpost
  scripts/modpost -i /usr/src/linux-2.6.7-gentoo-r5/Module.symvers /var/tmp/portage/nvidia-kernel-1.0.5336-r4/work/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nvidia.o
/bin/sh: line 1: scripts/modpost: No such file or directory
make[3]: *** [__modpost] Error 127
make[2]: *** [modules] Error 2
nvidia.ko failed to build!
make[1]: *** [module] Error 1
make: *** [module] Error 2

!!! ERROR: media-video/nvidia-kernel-1.0.5336-r4 failed.
!!! Function src_compile, Line 118, Exitcode 2
!!! Failed to build module

(root@shell)[/]#
Back to top
View user's profile Send private message
stoffe
n00b
n00b


Joined: 13 Mar 2004
Posts: 45

PostPosted: Fri Jun 25, 2004 1:01 am    Post subject: Reply with quote

JinxterX wrote:
Download patched 44.96 drivers that work with dev-sources 2.6.7 here.


What is the procedure for using those, and will it need other stuff (re)installed?
Back to top
View user's profile Send private message
JinxterX
n00b
n00b


Joined: 19 Apr 2004
Posts: 59

PostPosted: Fri Jun 25, 2004 4:45 pm    Post subject: Reply with quote

stoffe wrote:
JinxterX wrote:
Download patched 44.96 drivers that work with dev-sources 2.6.7 here.


What is the procedure for using those, and will it need other stuff (re)installed?


Ok I did this:

Code:
emerge -kv nvidia-kernel nvidia-glx


But of course it won't work with dev-sources 2.6.7, so you then download the drivers from the link above, quit any X server or edit inittab and reboot to console and:

Code:
sh ./NVIDIA*.run


in the location you put the file, when the driver requests to compile a module, say Yes.

Worked for me.
Back to top
View user's profile Send private message
pajoma
n00b
n00b


Joined: 24 Mar 2004
Posts: 3
Location: MS, Germany

PostPosted: Sat Jun 26, 2004 11:08 am    Post subject: Reply with quote

Larcen wrote:
Help! I'm pulling my hair out. :(


/bin/sh: line 1: scripts/modpost: No such file or directory
make[3]: *** [__modpost] Error 127
make[2]: *** [modules] Error 2
nvidia.ko failed to build!
make[1]: *** [module] Error 1
make: *** [module] Error 2

!!! ERROR: media-video/nvidia-kernel-1.0.5336-r4 failed.
!!! Function src_compile, Line 118, Exitcode 2
!!! Failed to build module

(root@shell)[/]#[/code]


phew, that was quite some...

the modpost script in your kernel directory is not compiled. Just 'make' your kernel, the scripts should be there afterwards.
_________________
somehow confused
Back to top
View user's profile Send private message
DeZZa
n00b
n00b


Joined: 08 Apr 2004
Posts: 58
Location: Denmark, Aalborg

PostPosted: Sat Jun 26, 2004 4:09 pm    Post subject: Reply with quote

Hi.

I have the CONFIG_4STACKS option off, and 'use register arguments' off ..

And i use the patched 4496 drivers from minion.de ..

Still it gives me the bad format error :evil:

Code:
FATAL: Error inserting nvidia (/lib/modules/2.6.7-ck1/video/nvidia.ko): Invalid module format


Please help, this is a very evil :twisted: error! ;) ..
Back to top
View user's profile Send private message
xcable
Guru
Guru


Joined: 15 Aug 2002
Posts: 424
Location: College Station, Texas

PostPosted: Sun Jun 27, 2004 8:35 pm    Post subject: my 2 cents Reply with quote

I have the same problem with 2.6.7 and 1.0.5336. I use k3ddesktop (which uses 3D Desktop, and opengl desktop switching program) to change virtual desktops in KDE and under heavy CPU load (compiling programs) it CRAWLS slowly to the next desktop. Before it was extremely fast, with the 1.0.4496 version of the nvidia drivers.

Just another example of a large company half-assing the Linux drivers, just so there marketing brochure can say ".. we support Linux ..".

heath holcomb
Back to top
View user's profile Send private message
embuste
n00b
n00b


Joined: 01 Nov 2003
Posts: 23

PostPosted: Mon Jun 28, 2004 5:48 pm    Post subject: Reply with quote

I used the ~x86 drivers (5xxx) with kernel 2.6.7, but now x can't find the nvidia module!!!!

help!!!!!
Back to top
View user's profile Send private message
xcable
Guru
Guru


Joined: 15 Aug 2002
Posts: 424
Location: College Station, Texas

PostPosted: Mon Jun 28, 2004 5:53 pm    Post subject: Reply with quote

Try this.

Code:

modprobe nvidia


heath
Back to top
View user's profile Send private message
embuste
n00b
n00b


Joined: 01 Nov 2003
Posts: 23

PostPosted: Mon Jun 28, 2004 6:49 pm    Post subject: Reply with quote

did that:

Code:
$ modprobe nvidia
$


but nothing, still doesn't work
Back to top
View user's profile Send private message
ranmakun
Guru
Guru


Joined: 06 Nov 2002
Posts: 372
Location: Buenos Aires - Argentina

PostPosted: Wed Jun 30, 2004 3:12 pm    Post subject: Reply with quote

Does anyone know what is the latest kernel where the 4496 driver works ok?, I've tried 2.6.7 and 2.6.6 and it doesn't work in any of them. Now I went back to 2.6.1 and it works fine.
The new 53xx series corrupts my screen when I'm using Maya.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
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