Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
nvidia Freeze-up with kernel 2.4.22-r5 and later
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
davecs
Guru
Guru


Joined: 08 Nov 2003
Posts: 436
Location: Dagenham, GB

PostPosted: Sun Feb 22, 2004 3:22 pm    Post subject: nvidia Freeze-up with kernel 2.4.22-r5 and later Reply with quote

I have searched through this site, and cannot find an answer that matches my circumstances.

I recently upgraded my kernel from 2.4.20-r8 to 2.4.22-r5. I had to recompile anyway, as I wanted to install ALSA, and correct one or two errors in my previous kernel, in that I had DMA set up wrongly, and I had to change the Sound settings.

The upshot is that when I run the new kernel with the NVIDIA driver, my KDE 3.2 desktop comes up and after a few seconds, everything freezes, that is, the keyboard and mouse buttons do not respond, the mouse pointer still moves, though it keeps the form it had at the point everything else froze, the clock display does not move and icons do not react to having the mouse pointer over them.

All this happened straight after I installed the new kernel. BEFORE I had installed ALSA (which works fine, by the way).

I have a GeForce 4/MX440 64Mb video card plugged in to a PC Chips M810 motherboard. Using the nv driver everything seems fine, however, there is a slight problem that it seems to use a 1278x1024 display instead of 1280x1024 (ie I get 2 usused columns of pixels on the screen so I am sure there will a little distortion somewhere on the screen though I cannot see it at the moment). And as the nv driver does not support GL, I can't play emilia-pinball, which is important to me.

Given my mobo-video card combination, are there entries in the kernel configurator that I must have and others that are best avoided? Any help would be appreciated.
_________________
Gentoo, PCLOS-pre-81a and Windows 98SE.
Shuttle SN41G2V2
Athlon XP2500+ o/c to 3200+, 2x256Mb Geil Value RAM, FX5200.
Ntlworld cable internet via ethernet
and PC-Chips Desknote Laptop (with PCLOS-pre-81a )


Last edited by davecs on Fri Mar 19, 2004 12:39 am; edited 1 time in total
Back to top
View user's profile Send private message
maloo38
n00b
n00b


Joined: 13 Feb 2004
Posts: 32
Location: Australia

PostPosted: Sun Feb 22, 2004 11:54 pm    Post subject: Reply with quote

You may have the riva framebuffer module (rivafb) loaded.
I had a similar problem when it was loaded and I started X using the NVidia driver the display would lock up.

If it is loaded you can either rebuild your kernel without it (that is neither built in or as a module) or add rivafb to the /etc/hotplug/blacklist and reboot
_________________
Cheers

maloo38

Two pints of lager and a packet of crisps please
Back to top
View user's profile Send private message
davecs
Guru
Guru


Joined: 08 Nov 2003
Posts: 436
Location: Dagenham, GB

PostPosted: Mon Feb 23, 2004 12:43 am    Post subject: Reply with quote

Thanks, but it didn't work.

So far I have tried:

removing DRI support from kernel

adding: "pci=bios noapic acpi=off" to append in lilo

and in line with your suggestion I added rivafb to /etc/hotplug/blacklist.

Thing is I had the same version of nvidia's driver under kernel 2.4.20-r8 yet it worked with no problems.

I wonder if I should just go back to the earlier version of the kernel...

Any other ideas, anyone?
_________________
Gentoo, PCLOS-pre-81a and Windows 98SE.
Shuttle SN41G2V2
Athlon XP2500+ o/c to 3200+, 2x256Mb Geil Value RAM, FX5200.
Ntlworld cable internet via ethernet
and PC-Chips Desknote Laptop (with PCLOS-pre-81a )
Back to top
View user's profile Send private message
maloo38
n00b
n00b


Joined: 13 Feb 2004
Posts: 32
Location: Australia

PostPosted: Mon Feb 23, 2004 1:08 am    Post subject: Reply with quote

I am using 2.4.22-r3 of the kernel and the NVidia driver is working.
I had to downgrade to get vmware working.
_________________
Cheers

maloo38

Two pints of lager and a packet of crisps please
Back to top
View user's profile Send private message
davecs
Guru
Guru


Joined: 08 Nov 2003
Posts: 436
Location: Dagenham, GB

PostPosted: Mon Feb 23, 2004 2:28 am    Post subject: Reply with quote

Just downgraded back to 2.4.20-r8 and all seems well!

Just have to re emerge alsa-drivers now...

Thanks anyway.
_________________
Gentoo, PCLOS-pre-81a and Windows 98SE.
Shuttle SN41G2V2
Athlon XP2500+ o/c to 3200+, 2x256Mb Geil Value RAM, FX5200.
Ntlworld cable internet via ethernet
and PC-Chips Desknote Laptop (with PCLOS-pre-81a )
Back to top
View user's profile Send private message
davecs
Guru
Guru


Joined: 08 Nov 2003
Posts: 436
Location: Dagenham, GB

PostPosted: Wed Mar 17, 2004 9:01 pm    Post subject: Reply with quote

Just upgraded to kernel-2.6.3-r1 and exactly the same thing is happening as I reported earlier.

The screen, keyboard and mouse buttons freeze but the mouse pointer keeps moving under the nvidia driver. No problems under nv driver.

Has anyone come up with an answer to this?
_________________
Gentoo, PCLOS-pre-81a and Windows 98SE.
Shuttle SN41G2V2
Athlon XP2500+ o/c to 3200+, 2x256Mb Geil Value RAM, FX5200.
Ntlworld cable internet via ethernet
and PC-Chips Desknote Laptop (with PCLOS-pre-81a )
Back to top
View user's profile Send private message
Visseroth
Apprentice
Apprentice


Joined: 13 Oct 2003
Posts: 291
Location: Idaho

PostPosted: Thu Mar 18, 2004 4:35 am    Post subject: Reply with quote

no, emerge mm-sources, 2.6.4-rc2-mm1 Works well here!!!!
I had the some problems a while back with a old kernel version.
_________________
2.6Gig AMD Athlon XP - Chaintech 7njs - 512Mg kingston HyperX - 80Gig with Windows 40 Gig with Gentoo - GeForce4 - Toshiba DVD ROM & Plextor CDRW - Turbo Cool 350 - 7 Case fans running Gentoo Linux 2.6.4-rc1-mm1
Back to top
View user's profile Send private message
davecs
Guru
Guru


Joined: 08 Nov 2003
Posts: 436
Location: Dagenham, GB

PostPosted: Thu Mar 18, 2004 1:01 pm    Post subject: Reply with quote

Visseroth wrote:
no, emerge mm-sources, 2.6.4-rc2-mm1 Works well here!!!!
I had the some problems a while back with a old kernel version.


I'll try that when I get home from work.

I had a look on the nvidia linux forum last night and found that certain people had trouble with certain mobo/card combinations. One person with a Geforce 4 card and a similar problem swapped it with his friends Geforce 2 card and both worked correctly!

One of the people was a Mandrake user who had upgraded to version 9.2.

I used to use Mdk9.1 before Gentoo and it used the 2.4.21 kernel. I have 2.4.20 with Gentoo. When I tried 2.4.22 this was when the trouble started. So what was changed between kernels 2.4.21 and 2.4.22 which could have made the difference?

Anyway, I'll try Mr Morton's kernel patch and see how I get on...
_________________
Gentoo, PCLOS-pre-81a and Windows 98SE.
Shuttle SN41G2V2
Athlon XP2500+ o/c to 3200+, 2x256Mb Geil Value RAM, FX5200.
Ntlworld cable internet via ethernet
and PC-Chips Desknote Laptop (with PCLOS-pre-81a )
Back to top
View user's profile Send private message
davecs
Guru
Guru


Joined: 08 Nov 2003
Posts: 436
Location: Dagenham, GB

PostPosted: Thu Mar 18, 2004 11:11 pm    Post subject: Reply with quote

I tried the mm-kernel but it did not really make a lot of difference. It lasted a bit longer (in fact I was just getting excited and about to yell "you little beauty" or similar) but the same freeze occurred.

I tried looking at /var/log/messages and as I could access it from a separate boot directory, nothing had been added at the end. It was just recording key presses and stopped. No obvious error message.

Now I have a problem: As I don't really require superfast 3D acceleration I could unplug my nvidia card. But I do require basic GLX so I can play my precious pinball! This would mean I would be using the onboard SiS730 graphics. I would have to either downgrade my XFree from 4.3 to 4.2.1 or upgrade it to the 4.4 which Gentoo is not supporting!

Or stick with kernel 2.4.20 forever...
_________________
Gentoo, PCLOS-pre-81a and Windows 98SE.
Shuttle SN41G2V2
Athlon XP2500+ o/c to 3200+, 2x256Mb Geil Value RAM, FX5200.
Ntlworld cable internet via ethernet
and PC-Chips Desknote Laptop (with PCLOS-pre-81a )
Back to top
View user's profile Send private message
Visseroth
Apprentice
Apprentice


Joined: 13 Oct 2003
Posts: 291
Location: Idaho

PostPosted: Fri Mar 19, 2004 5:35 am    Post subject: Reply with quote

not sure what to tell ya there davecs, but I am running a 7NJS nforce2 mobo with a nvidia chipset and a nvidia GF4 TI4200 video card and the problem has not occured as of yet. So I am quite happy.
Back to top
View user's profile Send private message
davecs
Guru
Guru


Joined: 08 Nov 2003
Posts: 436
Location: Dagenham, GB

PostPosted: Fri Mar 19, 2004 10:23 am    Post subject: Reply with quote

Yeah this problem is probably hardware related: when I switch the computer on there is a delay of several seconds before the Graphics card is detected and reports in, and when the fault I am describing has occurred, if I "soft off" the computer rather than "reset" it, then the card doesn't get detected and the machine locks on startup, unless I give it about 30 seconds before starting up again.

But since it only seems to affect kernels from 2.4.22 onwards, there has obviously been a change in something which has affected it.

The other problem is that the actual screen display I get with "nv" as opposed to "nvidia" is not quite as stable for some reason, even though they report identical HSync and VRefresh rates.

I originally set up Linux on the self same mobo and had no problems once I had learnt the basics, and I am sorely tempted to yank out nvidia!
_________________
Gentoo, PCLOS-pre-81a and Windows 98SE.
Shuttle SN41G2V2
Athlon XP2500+ o/c to 3200+, 2x256Mb Geil Value RAM, FX5200.
Ntlworld cable internet via ethernet
and PC-Chips Desknote Laptop (with PCLOS-pre-81a )
Back to top
View user's profile Send private message
Visseroth
Apprentice
Apprentice


Joined: 13 Oct 2003
Posts: 291
Location: Idaho

PostPosted: Wed Mar 24, 2004 1:35 am    Post subject: Reply with quote

well surprisingly I am having simular problems now that I have updated t othe 2.6.5-rc1-mm1 kernel. I am unable to load the nvidia module, just the nv module. So it may verywell be a software issue.
Back to top
View user's profile Send private message
davecs
Guru
Guru


Joined: 08 Nov 2003
Posts: 436
Location: Dagenham, GB

PostPosted: Wed Mar 24, 2004 11:04 pm    Post subject: Reply with quote

I have now yanked out my nvidia card because it is too frustrating.

I am going to have to reformat my new partition and start again as I have b0rked it somewhere along the line, probably because I tried to change things too far down the road. I will try Thomas Winischhofer's patches for the kernel and xfree which should get 3D graphics out of my SiS video.

It will all be an academic exercise anyway, because I will hopefully get something new soon. Linux Format magazine will be running an article on building an up-to-date computer with Linux performance and compatibility the priority, and it's my birthday soon as well!
_________________
Gentoo, PCLOS-pre-81a and Windows 98SE.
Shuttle SN41G2V2
Athlon XP2500+ o/c to 3200+, 2x256Mb Geil Value RAM, FX5200.
Ntlworld cable internet via ethernet
and PC-Chips Desknote Laptop (with PCLOS-pre-81a )
Back to top
View user's profile Send private message
Visseroth
Apprentice
Apprentice


Joined: 13 Oct 2003
Posts: 291
Location: Idaho

PostPosted: Fri Mar 26, 2004 1:29 am    Post subject: Reply with quote

hey let me know what kind of a system they recommend for Linux being as I would also like to build a new one when I can and to give you a nice idea, why not put the computer in a shelf or in a drawwer (don't know how to spell that) in your computer desk. That is what is going to be my next project.

Anyhow. Yea, let me know and I'm going to checkout that magazine myself
Back to top
View user's profile Send private message
davecs
Guru
Guru


Joined: 08 Nov 2003
Posts: 436
Location: Dagenham, GB

PostPosted: Fri Mar 26, 2004 3:18 pm    Post subject: Reply with quote

Visseroth, I agree, you should look up Linux Format. They live at

www.linuxformat.co.uk

The web site isn't all that, but considering that the takeup of Linux seems to be poorer in UK than US or Europe, it seems that LXF sends its mags all over the world, because no-one else seems to have something similar.

You can get a CD or DVD edition (don't know about abroad) and there have been full distros of Mandrake, system rescue, mandrake move, plus loads of programs. One DVD had a Gentoo Live CD image plus a portage tree and loads of source files, so you could get a pretty good system up without an internet connection.

Well worth a year's subscription.

If I decide to build their ideal system and it works (it's one of several alternatives... it's a BIG birthday I'll be 50!) I'll definitely post here, including kernel settings etc.
_________________
Gentoo, PCLOS-pre-81a and Windows 98SE.
Shuttle SN41G2V2
Athlon XP2500+ o/c to 3200+, 2x256Mb Geil Value RAM, FX5200.
Ntlworld cable internet via ethernet
and PC-Chips Desknote Laptop (with PCLOS-pre-81a )
Back to top
View user's profile Send private message
davecs
Guru
Guru


Joined: 08 Nov 2003
Posts: 436
Location: Dagenham, GB

PostPosted: Sat Mar 27, 2004 4:41 pm    Post subject: Reply with quote

I have now removed the nvidia card and set up XFree4.4.0 and gentoo-dev-sources-2.6.3r1 with Thomas Winischhofer's patches and it works fine until I try to run a program that uses OpenGL at which point the computer freezes, in exactly the same way as when I tried to run the nividia driver on kernels over 2.6.20. (Though I have to say, somewhat surprisingly, the 2D image quality is far better with the onboard SiS graphics than it was with either the nvidia driver or the nv driver when I had the nvidia card plugged in).

I am going to try once more with the vanilla 2.6.3 kernel and see what happens. Maybe the problem has been with the later kernels and my mobos agpgart driver...
_________________
Gentoo, PCLOS-pre-81a and Windows 98SE.
Shuttle SN41G2V2
Athlon XP2500+ o/c to 3200+, 2x256Mb Geil Value RAM, FX5200.
Ntlworld cable internet via ethernet
and PC-Chips Desknote Laptop (with PCLOS-pre-81a )
Back to top
View user's profile Send private message
davecs
Guru
Guru


Joined: 08 Nov 2003
Posts: 436
Location: Dagenham, GB

PostPosted: Mon Mar 29, 2004 11:38 am    Post subject: Reply with quote

I've just seen in another thread talk of not including the "pre-emptible kernel" in the kernel build. I'll try that next...

As you can guess, the same thing happened with the vanilla kernel.
_________________
Gentoo, PCLOS-pre-81a and Windows 98SE.
Shuttle SN41G2V2
Athlon XP2500+ o/c to 3200+, 2x256Mb Geil Value RAM, FX5200.
Ntlworld cable internet via ethernet
and PC-Chips Desknote Laptop (with PCLOS-pre-81a )
Back to top
View user's profile Send private message
HermanR
Apprentice
Apprentice


Joined: 08 Jan 2004
Posts: 293
Location: The Netherlands

PostPosted: Mon Mar 29, 2004 7:38 pm    Post subject: Reply with quote

Have you tried to disable AGP? Like:
Code:
    Option      "NvAGP" "0"

in your /etc/X11/XF86Config.

I had a similar problem with my GForce II MX (Asus A7V motherboard), but I got around this by disabling AGP.

The AGP-problem seems to be fixed in more recent versions of nvidia-kernel and indeed I can now enable AGP, but only when I set AGP to 2x in my BIOS. I haven't had a single lock-up since I've changed this.

Good luck!
Back to top
View user's profile Send private message
davecs
Guru
Guru


Joined: 08 Nov 2003
Posts: 436
Location: Dagenham, GB

PostPosted: Tue Apr 13, 2004 7:36 pm    Post subject: Reply with quote

Visseroth wrote:
hey let me know what kind of a system they recommend for Linux


Personally I think their recommendation is a bit over-the-top, but it is very fast and compatible. I was hoping for a recommendation that was a bit less uncompromising but Linux-compatible.

Anyway here it is (with prices in £/British pounds):

CPU: Athlon64 3400+ £247
matching Cooler Master Heatsink/Fan £8
Mobo: MSI K8T Neo £82
RAM: 2xCorsair XMS 512Mb DDR 3200 2x£52
Graphics: Gigabyte GeForce FX5950 Ultra 256Mb DDR Ram £275
Sound Card: Creative Labs Soundblaster Audigy 2 ZS Platinum Pro £135
Hard Disk: 2x Maxtor MaXLine Plus II 250Gb (S-ATA) 2x£131
Optical Drive: TDK Dual Format DVD-RW/+RW £88
Case: Cooler Master Praetorian £111
Monitor: CTX PV722e 17" LCD £308
Keyboard/Mouse: Microsoft Wireless Optical Desktop £43
Creative Labs T7700 7.1 speakers £80

Seems like a lot of money to me! They tested it dual-booting Mandrake Community 10.0 (only available for x86, mainly to check that it all worked with the 2.6 kernel) and Mandrake 9.2 Athlon 64 version. Without going into details, with the 2.6 kernel everything worked OK, and with the 64-bit optimised OS it flew.

I doubt whether I will want to spend that much, but at least I can see that S-ATA works OK and that I would expect few if any problems if I team up a modern mobo with an nVidia card.
_________________
Gentoo, PCLOS-pre-81a and Windows 98SE.
Shuttle SN41G2V2
Athlon XP2500+ o/c to 3200+, 2x256Mb Geil Value RAM, FX5200.
Ntlworld cable internet via ethernet
and PC-Chips Desknote Laptop (with PCLOS-pre-81a )
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