LinuxQuestions.org
Visit Jeremy's Blog.
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 02-13-2005, 03:13 AM   #1
triaydev
LQ Newbie
 
Registered: Oct 2004
Location: Yucatán, México
Distribution: Mandrake 10.x
Posts: 23

Rep: Reputation: 15
nvidia driver setup problems


:S
I don't know what i'm doing wrong:
1. Downloaded the nvidia driver setup program for linux from official site
2. I executed it this way:
#sh NVIDIA-Linux-x86-1.0-6629-pkg1.run -k2.6.8.1-10mdksmp
3. Got the warning about the rivafl module incompatibility in the setup process ignored and continued. Driver was built (i checked the nvidia.ko file was @ /lib/modules/.../kernel/drivers/video)
4. Added the nvidia module to modprobe.preload
5. Rebooted and checked nvidia module was loaded AND rivafl not.
6. Made the XF86Config changes (just changed the driver name in the device section from "nv" to "nvidia"
7. Added the Load "glx" and checked that Load "dri" and Load "GLcore" weren't there
8. $startx
9. Everything appeared to be ok as i saw the nvidia logo BUT then, when KDE started i saw the forms appeared to be transparent, only the labels widgets and captions of controls were visible, not even the title bar of the forms were visible, i could only see the borders. Then i tried to switch to a another virtual console using the CRL+ALT+Fx and my screen was all messed up with lines, dots, etc. nothing readable on it no matter the consoles used (from F1 to F6). That way (blind) my only option was login as root and #reboot.
Reboot was normal so i edited my XF86Config file and returned the driver to "nv". Now everything runs as usual but have no 3d acceleration, no twinview to use my tv.
I've already read the posts here and nothing seems to help.

This are my video HW specs (got from harddrake):
---------------------------------------------------------------------------------------------
Identificación
Fabricante: ‎NVIDIA Corp.
Descripción: ‎NV18.6? GeForce4 MX 4000
Clase de soporte: ‎DISPLAY_VGA

Conexión
Bus: ‎PCI
Bus PCI #: ‎1
Dispositivo PCI #: ‎0
Función PCI #: ‎0
ID del fabricante: ‎4318
ID del dispositivo: ‎389
Sub-ID del fabricante: ‎5208
Sub-ID del dispositivo: ‎12554

Misc
Módulo: ‎Card:NVIDIA GeForce4 (generic)
---------------------------------------------------------------------------------------------

And here's my XF86Config
---------------------------------------------------------------------------------------------
# File generated by XFdrake.

# **********************************************************************
# Refer to the XF86Config man page for details about the format of
# this file.
# **********************************************************************

Section "Files"
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Mandrake 6.0 and later now use a font server independent of
# the X server to render fonts.
FontPath "unix/:-1"
EndSection

Section "ServerFlags"
#DontZap # disable <Crtl><Alt><BS> (server abort)
AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work
#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
EndSection

Section "Module"
Load "glx" #Sugerido por el README de Nvidia
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "extmod"
Load "type1"
Load "freetype"
######################################### Load "glx" # 3D layer
EndSection

Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
Option "XkbModel" "pc105"
Option "XkbLayout" "es"
Option "XkbOptions" ""
EndSection

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/mouse"
Option "ZAxisMapping" "6 7"
EndSection

Section "Monitor"
Identifier "monitor1"
VendorName "Plug'n Play"
HorizSync 30-71
VertRefresh 50-160

# Sony Vaio C1(X,XS,VE,VN)?
# 1024x480 @ 85.6 Hz, 48 kHz hsync
ModeLine "1024x480" 65.00 1024 1032 1176 1344 480 488 494 563 -hsync -vsync

# Dell D800 and few Inspiron (16/10) 1280x800
ModeLine "1280x800" 147.89 1280 1376 1512 1744 800 801 804 848

# Dell D800 and few Inspiron (16/10) 1680x1050
ModeLine "1680x1050" 214.51 1680 1800 1984 2288 1050 1051 1054 1103

# Dell D800 and few Inspiron (16/10) 1920x1200
ModeLine "1920x1200" 230 1920 1936 2096 2528 1200 1201 1204 1250 +HSync +VSync

# TV fullscreen mode or DVD fullscreen output.
# 768x576 @ 79 Hz, 50 kHz hsync
ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630

# 768x576 @ 100 Hz, 61.6 kHz hsync
ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616
EndSection

Section "Device"
Identifier "device1"
VendorName "NVIDIA Corp."
BoardName "NVIDIA GeForce4 (generic)"
Driver "nv" #Here's where i changed nv to nvidia and then switched back
Option "DPMS"
EndSection

Section "Screen"
Identifier "screen1"
Device "device1"
Monitor "monitor1"
DefaultColorDepth 24

Subsection "Display"
Depth 8
Virtual 1280 1024
EndSubsection

Subsection "Display"
Depth 15
Virtual 1280 1024
EndSubsection

Subsection "Display"
Depth 16
Virtual 1280 1024
EndSubsection

Subsection "Display"
Depth 24
Virtual 1280 1024
EndSubsection
EndSection

Section "ServerLayout"
Identifier "layout1"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
Screen "screen1"
EndSection
---------------------------------------------------------------------------------------------

Thanks in advance.
triaydev
 
Old 02-13-2005, 07:47 AM   #2
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Testing"
Posts: 6,111

Rep: Reputation: 413Reputation: 413Reputation: 413Reputation: 413Reputation: 413
I couldn't get the 6229 driver to work with MDK10.x and the 2.6 kernel. Driver version 6111 worked fine with a simple patch.

Please see this thread and follow the easy instructions in Linux24's post:

http://www.linuxquestions.org/questi...hreadid=248615
 
Old 02-13-2005, 12:52 PM   #3
rob0t
Member
 
Registered: Jun 2003
Location: Chicago
Distribution: Arch, CentOS, Ubuntu, FreeBSD, Solaris / OpenIndiana
Posts: 95

Rep: Reputation: 16
You gotta disable rivafb in kernel. SImply recompile kernel with rivafb turn off or easily go to KDE Control Center as root.

There, go to System Administration (should be something like that, I don't remember, currently not using Linux) and go to Kernel modules (or settings, something like it) and there disable rivafb support under nVidia settings.
 
Old 02-13-2005, 10:57 PM   #4
triaydev
LQ Newbie
 
Registered: Oct 2004
Location: Yucatán, México
Distribution: Mandrake 10.x
Posts: 23

Original Poster
Rep: Reputation: 15
aright... i got the nvidia 6111 drivers up and running, but i still have a fix to do. My virtual consoles F1 to F6 keep unreadable and full of trash on screen (dots and lines), even if i shutdown X the proper way. I'm thinking here's where the rivafb problem starts to bother, and i think so because my terminals are framebuffer based. Is just recompiling without the rivafb the only solution? even when i don't load the module? Now here comes the fun part, configure TwinView...
Thanks people!
triaydev
 
Old 03-03-2005, 09:54 AM   #5
mrGenixus
Member
 
Registered: Dec 2004
Location: Colorado, US
Distribution: gentoo, debian, ubuntu live gnome 2.10
Posts: 440

Rep: Reputation: 30
try adding "options nvidia NVreg_Mobile=0" to /etc/modprobe.d/nvidia to get accelerated graphics with 6629 drivers
 
Old 03-03-2005, 12:27 PM   #6
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Testing"
Posts: 6,111

Rep: Reputation: 413Reputation: 413Reputation: 413Reputation: 413Reputation: 413
triaydev,

Congratulations on getting the 6111 driver to work!

F1-F6 screens not working is, I think, due to a "framebuffer" problem. Not only did I have unusable virtual terminals like you, but also a messy screen at shutdown. My workaround was to put the line
vga=normal in lilo.conf, after the append="blah blah" and then rerun /sbin/lilo and reboot.

For what it is worth, I got it all working without having to recompile my kernel.
 
Old 03-03-2005, 03:20 PM   #7
mrGenixus
Member
 
Registered: Dec 2004
Location: Colorado, US
Distribution: gentoo, debian, ubuntu live gnome 2.10
Posts: 440

Rep: Reputation: 30
f1-6 not working has more to do with using nv driver, and it not giving up controll. using the nvidia driver works to fix this as well
 
Old 03-09-2005, 02:39 PM   #8
triaydev
LQ Newbie
 
Registered: Oct 2004
Location: Yucatán, México
Distribution: Mandrake 10.x
Posts: 23

Original Poster
Rep: Reputation: 15
Ok. I've been out of line for a while due to health issues but now i'm back now trying to get my TwinView up and running. I've added the options suggested by the nvidia README (i'm using the 6111 drivers yet) and the best i've got is having one screen (either my CRT or my TV) functional at a time but never got both working. Here's a copy of my XF86Config. I commented the Option "TwinView" line in order to use my CRT screen, when I uncomment this line, then my TV works but not my CRT.

I'm Using Mandrake 10.1 Community and X 4.0

# File generated by XFdrake.

# **********************************************************************
# Refer to the XF86Config man page for details about the format of
# this file.
# **********************************************************************

Section "Files"
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Mandrake 6.0 and later now use a font server independent of
# the X server to render fonts.
FontPath "unix/:-1"
EndSection

Section "ServerFlags"
#DontZap # disable <Crtl><Alt><BS> (server abort)
#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work
EndSection

Section "Module"
Load "glx" #Sugerido por el README de Nvidia
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "extmod"
Load "type1"
Load "freetype"
######################################### Load "glx" # 3D layer
EndSection

Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
Option "XkbModel" "pc105"
Option "XkbLayout" "es"
Option "XkbOptions" ""
EndSection

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/mouse"
Option "ZAxisMapping" "6 7"
EndSection

Section "Monitor"
Identifier "monitor"
VendorName "Plug'n Play"
HorizSync 30-71
VertRefresh 50-160

# Sony Vaio C1(X,XS,VE,VN)?
# 1024x480 @ 85.6 Hz, 48 kHz hsync
ModeLine "1024x480" 65.00 1024 1032 1176 1344 480 488 494 563 -hsync -vsync

# Dell D800 and few Inspiron (16/10) 1280x800
ModeLine "1280x800" 147.89 1280 1376 1512 1744 800 801 804 848

# Dell D800 and few Inspiron (16/10) 1680x1050
ModeLine "1680x1050" 214.51 1680 1800 1984 2288 1050 1051 1054 1103

# Dell D800 and few Inspiron (16/10) 1920x1200
ModeLine "1920x1200" 230 1920 1936 2096 2528 1200 1201 1204 1250 +HSync +VSync

# TV fullscreen mode or DVD fullscreen output.
# 768x576 @ 79 Hz, 50 kHz hsync
ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630

# 768x576 @ 100 Hz, 61.6 kHz hsync
ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616
EndSection

Section "Monitor"
Identifier "tv"
VendorName "Sansui"
HorizSync 30-50
VertRefresh 60
Option "TVOutStandard" "SVIDEO"
EndSection

Section "Device"
Identifier "nvidia0"
VendorName "NVIDIA Corp."
BoardName "NVIDIA GeForce4 (generic)"
Driver "nvidia" #Sugerido por el README de Nvidia
#Option "TwinView"
Option "ConnectedMonitor" "CRT,TV"
Option "MetaModes" "CRT:1240x1024,TV:640x480"
Option "TwinViewOrientation" "CRT LeftOf TV"
EndSection

Section "Screen"
Identifier "screen1"
Device "nvidia0"
Monitor "monitor"
DefaultColorDepth 24

Subsection "Display"
Depth 8
Virtual 1280 1024
EndSubsection

Subsection "Display"
Depth 15
Virtual 1280 1024
EndSubsection

Subsection "Display"
Depth 16
Virtual 1280 1024
EndSubsection

Subsection "Display"
Depth 24
Virtual 1280 1024
EndSubsection
EndSection

Section "Screen"
Identifier "screen2"
Device "nvidia0"
Monitor "tv"
DefaultColorDepth 24
Option "TVStandard" "NTSC-M"
Subsection "Display"
Depth 24
Modes "640x480"
EndSubsection
EndSection

Section "ServerLayout"
Identifier "layout1"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
Screen "screen1"
EndSection

Thanx in advance once again.
triaydev
 
  


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 driver setup Deb Sarge 3.1 lostdata Linux - Hardware 2 08-16-2005 03:52 AM
nvidia driver setup dink27 Linux - Software 6 06-24-2005 04:30 PM
nvidia instalation problems / Sblive driver problems Colonel-1990 Linux - Software 13 02-14-2005 05:48 PM
Problems with Nvidia driver setup techscroll Mandriva 6 07-14-2004 05:49 PM
Problems with Nvidia driver....! lub0 Linux - Software 6 10-07-2003 11:42 PM

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

All times are GMT -5. The time now is 04:00 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration