PDA

View Full Version : Nvidia drivers i tried all.......



Malo
12-30-2003, 11:19 PM
I hope some one get misericordy and help me.
I tried this howto founded in this forum:

http://www.knoppix.net/forum/viewtopic.php?t=6754

but for me dont work if i change Identifier "Card0" get me a error like variable not fonded and if i dont change it i make startx and the my monitor get black and i only can reboot.

First problem apt-get install kernel-headers-2.4.22-xfs <---file dont exist.
Well i got this headers
apt-get install kernel-headers-2.4.22-1-386 2.4.22-3
them i did this
export IGNORE_CC_MISMATCH=1
ln -s /usr/src/kernel-headers-2.4.22/usr/src/linux
etc/init.d/kdm stop
sh NVIDIA............................run
cd /etc
mcedit modules i added nvidia
cd /etc/X11
mcedit XF86Config-4
erase GLcore and dri
glx was in. and changued nv by nvidia
update-modules
and same problem startx and.. rebooting.
i tried at lilo start Linux vga=text startx rebooting again :(
when i make ll /usr/src/linux show me it
lrwxrwxrwx 1 knoppix knoppix 12 Dec 29 17:28 /usr/src/linux -> linux-2.4.22


-PIV 2.666 -GeForce4 MX 440 AGP 8 x -512 Mg DDR266.

rickenbacherus
12-31-2003, 12:11 AM
Try the nvidia install scripts located here (http://kano.mipooh.net/).

rinswind
12-31-2003, 01:45 AM
More info on knoppix with nvidia cards can be found herehttp://www.knoppix.net/forum/viewtopic.php?p=31765#31765

markleong
12-31-2003, 01:54 AM
This is the way I did it:-

Download driver from http://www.nvidia.com/object/linux.html
Boot into console (non graphical mode) (I think this step is important. X cannot be running.)
Run the downloaded script
Change XF86Config-4 as instructed

At one stage, the script will compile the kernel. Change my system to boot back into graphical mode and everything works.

Stephen
12-31-2003, 02:31 AM
And the Original Poster my want to relink the kernel headers to the proper ones that should already be included I see he has changed it in the post above.

Malo
12-31-2003, 03:04 PM
I remove the kernel-headers-2.4.22-1-386 2.4.22-3
and get kernel-headers-2.4.22-xfs
I tried the script install (i tried all scripts) and i already have the same problem...
I dont know what im doing bad.

Stephen
12-31-2003, 09:08 PM
I remove the kernel-headers-2.4.22-1-386 2.4.22-3
and get kernel-headers-2.4.22-xfs
I tried the script install (i tried all scripts) and i already have the same problem...
I dont know what im doing bad.

When you got the kernel headers you made the proper symbolic link right? eg ln -s /usr/src/kernel-headers-2.4.22-xfs /usr/src/linux

Then from a console login from the menu item on the kde login screen login as normal user the use su to become root. Next /etc/init.d/kdm stop. Then change to the directory with the Nvidia installer and use export IGNORE_CC_MISMATCH=1 or export CC=/usr/bin/gcc-2.95 then run the installer and decline the offer to go to the nvidia site to get a precompiled version and accept the offer to compile watch it compile and make sure you have made the proper changes in the XF86Config-4 and then /etc/init.d/kdm restart and you ashould have a Nvidia splash screen when starting kdm. If this does not work can you post any errors and the XF86Config-4 file that you are using.

Malo
01-01-2004, 01:18 PM
Yes i did;
cd /usr/src/
ln -s kernel-headers-2.4.22-xfs linux
my XF86Config-4:
Section "ServerLayout"
Identifier "XFree86 Configured"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
# PS/2 Mouse not detected
# Serial Mouse not detected
InputDevice "USB Mouse" "CorePointer"
EndSection

Section "ServerFlags"
Option "AllowMouseOpenFail" "true"

EndSection

Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
ModulePath "/usr/X11R6/lib/modules"
FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/misc"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo"
FontPath "/usr/X11R6/lib/X11/fonts/PEX"
# Additional fonts: Locale, Gimp, TTF...
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic"
# FontPath "/usr/X11R6/lib/X11/fonts/latin2/75dpi"
# FontPath "/usr/X11R6/lib/X11/fonts/latin2/100dpi"
# True type and type1 fonts are also handled via xftlib, see /etc/X11/XftConfig!
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
FontPath "/usr/share/fonts/ttf/western"
FontPath "/usr/share/fonts/ttf/decoratives"
FontPath "/usr/share/fonts/truetype"
FontPath "/usr/share/fonts/truetype/openoffice"
FontPath "/usr/share/fonts/truetype/ttf-bitstream-vera"
FontPath "/usr/share/fonts/latex-ttf-fonts"
FontPath "/usr/X11R6/lib/X11/fonts/defoma/CID"
FontPath "/usr/X11R6/lib/X11/fonts/defoma/TrueType"
EndSection

Section "Module"
Load "ddc" # ddc probing of monitor
#Load "GLcore"
Load "dbe"
#Load "dri"
Load "extmod"
Load "glx"
Load "bitmap" # bitmap-fonts
Load "speedo"
Load "type1"
Load "freetype"
Load "record"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"

EndSection

Section "InputDevice"
Identifier "Serial Mouse"
Driver "mouse"
Option "Protocol" "Microsoft"
Option "Device" "/dev/ttyS0"
Option "Emulate3Buttons" "true"
Option "Emulate3Timeout" "70"
Option "SendCoreEvents" "true"
EndSection

Section "InputDevice"
Identifier "PS/2 Mouse"
Driver "mouse"
Option "Protocol" "auto"
Option "ZAxisMapping" "4 5"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "true"
Option "Emulate3Timeout" "70"
Option "SendCoreEvents" "true"
EndSection

Section "InputDevice"
Identifier "USB Mouse"
Driver "mouse"
Option "Device" "/dev/input/mice"
Option "SendCoreEvents" "true"
Option "Protocol" "IMPS/2"
Option "ZAxisMapping" "4 5"
Option "Buttons" "5"
EndSection

# Auto-generated by KNOPPIX mkxf86config

Section "Monitor"
Identifier "Monitor0"
Option "DPMS" "true"
VendorName "MED"
ModelName "MED4768"
HorizSync 30 - 83 # DDC-probed
VertRefresh 50 - 76 # DDC-probed
(lot of commented resolutions)
EndSection
Section "Device"
### Available Driver options are:-
# sw_cursor is needed for some ati and radeon cards
Option "sw_cursor"
#Option "hw_cursor"
#Option "NoAccel"
#Option "ShowCache"
#Option "ShadowFB"
#Option "UseFBDev"
#Option "Rotate"
Identifier "Card0"
# The following line is auto-generated by KNOPPIX mkxf86config
Driver "nvidia"
VendorName "All"
BoardName "All"
# BusID "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultColorDepth 16
SubSection "Display"
Depth 1
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 32
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "DRI"
Mode 0666
EndSection

Stephen
01-01-2004, 10:25 PM
Yes i did;
cd /usr/src/
ln -s kernel-headers-2.4.22-xfs linux


Sorry I made a mistake there I did a fresh install on my spare computer and the kernel headers are in the /usr/src/linux-2.4.22 directory so the line would be ln -s /usr/src/linux-2.4.22 /usr/src/linux to link the kernel headers and I notice that I missed the file /etc/modutils/aliases as well. You should have the line:


alias char-major-195 nvidia

In the file and still as root you should run update-modules to update the modules.conf you may have to reboot for this to be detected.

Another thing I noticed while playing around is that the



FontPath "/usr/X11R6/lib/X11/fonts/defoma/CID"
FontPath "/usr/X11R6/lib/X11/fonts/defoma/TrueType"


Directories do not exist on the system so you may want to comment out these as well and you may want to move the Type1 line down to the bottom of the fonts paths other than that the file look fine. Again sorry for the wrong information and incomplete post.

Malo
01-02-2004, 01:28 AM
Thanx for helps but..
Fresh install and whitout kdm start always start in text mode.
export IGNORE_CC_MISMATCH=1
ln -s /usr/src/linux-2.4.22 /usr/src/linux
cd /home/knoppix/Drivers
sh NVIDIA..........run
update-modules
cd /etc/modules/
mcedit aliases
alias char-mayor-195-nvidia is in so i dont make any modification.
cd /etc/X11
mcedit XF86Config-4
# Load "GLcore"
# Load "dri"
Load "nvidia"
reboot
When i do glxinfo show me something like:
unable (null)
startx and same problem i only can reboot.
Could be my Grafic Card broken? but is strange i have redhat and XP installed too and i dont have problems all works fine.

Stephen
01-02-2004, 02:13 AM
Have you tried of trying any of the options for the driver in my config I use these.


Identifier "Card0
Driver "nvidia"
Option "NoLogo" "on"
Option "NvAgp" "1"
Option "RenderAccel" "On"
Option "IgnoreEDID" "on"
Option "IgnoreDisplayDevices" "DFP, TV"
Option "NoBandWidthTest" "1"
VendorName "nVidia Corporation"
BoardName "NV17 [GeForce4 MX 440-SE]"
BusID "PCI:1:0:0"


The NVAgp gets it to use the nvidia agpgart the Render is for 2D acceleration the IgnoreEDID tells the card not to use the monitor built in settings but yours in the config file the IgnoreDisplay is for digitial cable and TV out not being used and the No Bandwidth makes the card not test the bandwith of the card. Your card should work the only difference between yours and mine the 8x AGP so have you checked what you have set in your BIOS and maybe cut back the port to 4x speed and if you have any speedup settings for the bandwidth writing in there like I have in mine you may want unset those as well. BTW which driver version are you using the 4496 or the new 5328 and can you post the /var/log/XFree86.0.log file so I can see it?

And now that I see this is it a typo, there should be no dash between the 195 and the nvidia and a j not y.


alias char-mayor-195-nvidia

should be


alias char-major-195 nvidia

Malo
01-02-2004, 03:44 AM
:D You are great Stephen was a bios problem i had it in AGP auto i changed it to x8 and surprise all fine. :D
Sorry sometimes i think im stupid.
Thanx again.