LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-21-2004, 06:42 PM   #1
mp4
LQ Newbie
 
Registered: Aug 2004
Location: Newfoundland, Canada
Distribution: Debian 3.1
Posts: 4

Rep: Reputation: 0
Rivafb error with nVidia drivers on Debian Sarge


Well I'm running the latest Debian Sarge distro (2.4.26 kernel), and figured i might as well install the nvidia drivers.. I had done it on Fedora with no problem

Downloaded and ran the installer, it had to compile so I played with apt to get my kernel source downloaded for it to, got it and re-ran the nvidia installer, it worked but gave me an error saying I need to remove the conflicting "rivafb" kernel module

i tried starting X without doing anything to remove rivafb, but it just crashed, so i then tried rmmod rivafb to stop the module, but it said there was no such module.

getting frustrated, i open up my X config file, (i have already edited it to the liking of the nvidia instructions) and tried removing the Load "glx". long behold, X starts and i'm running, but most applications i run in KDE give a crash report when i close them, and (this still always happened prior to installing nvidia drivers) when an icon on the desktop is highlighted, it turns to a 4-color like, and if transparency is enabled to menus like the KDE start menu, that too gets a 4-color look (instead of transparent it is an ugly bright green, text under it is hardly readable)

basically, i'm stuck now.. i read that i have to recompile my kernel without rivafb, and that just flew over my head. any ideas?

Last edited by mp4; 08-21-2004 at 06:43 PM.
 
Old 08-21-2004, 07:12 PM   #2
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Re: Rivafb error with nVidia drivers on Debian Sarge

Quote:
Originally posted by mp4
Well I'm running the latest Debian Sarge distro (2.4.26 kernel), and figured i might as well install the nvidia drivers.. I had done it on Fedora with no problem

Downloaded and ran the installer, it had to compile so I played with apt to get my kernel source downloaded for it to, got it and re-ran the nvidia installer, it worked but gave me an error saying I need to remove the conflicting "rivafb" kernel module

i tried starting X without doing anything to remove rivafb, but it just crashed, so i then tried rmmod rivafb to stop the module, but it said there was no such module.

getting frustrated, i open up my X config file, (i have already edited it to the liking of the nvidia instructions) and tried removing the Load "glx". long behold, X starts and i'm running, but most applications i run in KDE give a crash report when i close them, and (this still always happened prior to installing nvidia drivers) when an icon on the desktop is highlighted, it turns to a 4-color like, and if transparency is enabled to menus like the KDE start menu, that too gets a 4-color look (instead of transparent it is an ugly bright green, text under it is hardly readable)

basically, i'm stuck now.. i read that i have to recompile my kernel without rivafb, and that just flew over my head. any ideas?
For the transparency in the menu change to XRender Blend for the Menu translucency type and it should go away. Can we see the output of dpkg -l | grep kde or dpkg -l | grep 3.2.[234] to see what you have installed. You should not have to recompile the kernel that is just a warning that the driver gives you if it sees that you have the driver present on the system. Can we see the /var/log/XFree86.0.log on a try when the X server crashes (copy to a backup before starting X again or it will get overwritten) with the glx enabled and the /etc/X11/XF86Config-4 you were using at the time you may have to split the log file to get under the posting limit.
 
Old 08-21-2004, 08:01 PM   #3
mp4
LQ Newbie
 
Registered: Aug 2004
Location: Newfoundland, Canada
Distribution: Debian 3.1
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks for the transparency tip, works fine now

as for the outputs, i don't seem to have file posting permission so i'll link to them

crashlog.txt
xconfig.txt
grepkde.txt
 
Old 08-21-2004, 09:15 PM   #4
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally posted by mp4
Thanks for the transparency tip, works fine now

as for the outputs, i don't seem to have file posting permission so i'll link to them

crashlog.txt
xconfig.txt
grepkde.txt
The KDE file looks like it is updated to the proper versions in Sarge so they should be alright. Are you still having the crashes? For the video try commenting out these sections in the file it seems to be failing right at the point where it should be detecting the mouse and I have the DRI commented because you do not need it when using the glx, it (glx) seems to be getting initialized properly.

Code:
#Section "InputDevice"
# Identifier "Generic Mouse"
# Driver  "mouse"
# Option  "SendCoreEvents" "true"
# Option  "Device"  "/dev/input/mice"
# Option  "Protocol"  "ImPS/2"
# Option  "Emulate3Buttons" "true"
# Option  "ZAxis
#EndSection

Section "ServerLayout"
 Identifier "Default Layout"
 Screen  "Default Screen"
 InputDevice "Generic Keyboard"
 InputDevice "Configured Mouse"
# InputDevice "Generic Mouse"
EndSection

#Section "DRI"
# Mode 0666
#EndSection
If you have a wheel mouse you will want to change the Protocol in the Configured Mouse section to ImPS/2. It looks like you have your tv-out connected so you may want to change too this.

Code:
       Driver      "nvidia"
       Option      "IgnoreDisplayDevices"  "DFP, TV"
In the device section to ignore it in case it may be causing problems and you have no configuration in the config file for it anyways.

There are a couple of other minor things in there to change too as they are not being used if you want.

Code:
# FontPath "unix/:7100"   # local font server
# FontPath "/usr/lib/X11/fonts/cyrillic"
# FontPath "/usr/lib/X11/fonts/CID"
In the files section. And you may want to change the resolution to 1280x960 so you get a true 4:3 ratio for the screen display or if you want and the monitor supports it you can get 1400x1050 according to the log.
 
Old 08-21-2004, 10:22 PM   #5
LavaDevil94
LQ Guru
 
Registered: Jul 2003
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795

Rep: Reputation: 47
Just recompile the kernel without RivaFB, it'll get you some experience :D. But, if you really don't want to, try adding this to your /etc/lilo.conf, then run /sbin/lilo (as root):
append="video=rivafb:off"

Last edited by LavaDevil94; 08-21-2004 at 10:25 PM.
 
Old 08-21-2004, 10:27 PM   #6
mp4
LQ Newbie
 
Registered: Aug 2004
Location: Newfoundland, Canada
Distribution: Debian 3.1
Posts: 4

Original Poster
Rep: Reputation: 0
I followed the directions of HappyTux and all is well now, though when Generic Mouse was disabled I had no mouse at all in X - so I added it back in to see, yep.. everything works.

Tested with some GL screensavers, Debian is great for screensavers

Thanks!
 
Old 08-22-2004, 12:48 AM   #7
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally posted by mp4
I followed the directions of HappyTux and all is well now, though when Generic Mouse was disabled I had no mouse at all in X - so I added it back in to see, yep.. everything works.

Tested with some GL screensavers, Debian is great for screensavers

Thanks!
Your welcome good to hear you got it going, strange about that generic mouse though the last couple of Sarge installs I have done I had to get rid of it. Unless .. you don't by any chance have a usb mouse do you?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
nVidia drivers conflict's with rivafb jaakkop Slackware 34 01-29-2005 09:07 AM
rivafb & nvidia drivers in 2.4.26 aje Linux - Software 6 12-05-2004 06:01 PM
nVidia Drivers + Debian Sarge... Tsumeone Debian 5 08-28-2004 11:33 AM
Help - nVidia drivers (6011) - Debian Sarge (2.6.7 kernel) BaptismOfFire Linux - Hardware 8 08-15-2004 12:47 PM
Installing latest nVidia drivers in Mandrake 10. rivafb error? Pumaman Linux - Hardware 4 07-09-2004 07:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration