PDA

View Full Version : No card index in xf86config



TheBman
01-23-2004, 11:24 AM
knoppix 3.3 hard drive install

tryed to run xf86config, all goes well throughout except when I try to display card types (so I can choose one)...wont let me look at card list, says something to the effect that listing cant be found. everthing else sets up ok.

using a TNT2 card and would like to get my video set properly and get away from frame buffer.

would apt-get solve problem?

Thanks,TheBman

gowator
01-23-2004, 02:09 PM
Dont know why thats happening but this should will fix it.
Presumoing you have installed it on the HDD
Boot to RL2 (knoppix 2)
then XFREE86 -configure
(might be --configure)
this will generate a file in the directory where you are, presumably root and you follow the instructions. If this works then go back to the CLI and copy this file to /etc/X11/XF86Config-4

Stephen
01-23-2004, 06:44 PM
Dont know why thats happening but this should will fix it.
Presumoing you have installed it on the HDD
Boot to RL2 (knoppix 2)
then XFREE86 -configure
(might be --configure)
this will generate a file in the directory where you are, presumably root and you follow the instructions. If this works then go back to the CLI and copy this file to /etc/X11/XF86Config-4

X --configure. To the OP that card should work with the "nv" driver try dpkg-reconfigure xserver-xfree86.

TheBman
01-23-2004, 10:54 PM
Thanks for the good info, I used Stephen's advice and used dpkg-reconfigure xserver-xfree86 and the video is better on the nv driver.

Can I use the Nvidia self installing shell script for the nvidia drivers and re-edit the xf86config-4 file and get my acceleration?

I have always used Slackware and I used to do the following to set up the accelaration:

-- edit inittab for no x
-- install nvidia drivers from cd
-- edit xf86config to load GLX and dri, and changed driver
from "nv" to "nvidia"
-- edit inittab for x
-- reboot

I really like the ease of configuration of this distro, a little confused as to the "particulars" as they are all different in ways.

Thanks again

Stephen
01-23-2004, 11:44 PM
Thanks for the good info, I used Stephen's advice and used dpkg-reconfigure xserver-xfree86 and the video is better on the nv driver.

Can I use the Nvidia self installing shell script for the nvidia drivers and re-edit the xf86config-4 file and get my acceleration?

I have always used Slackware and I used to do the following to set up the accelaration:

-- edit inittab for no x
-- install nvidia drivers from cd
-- edit xf86config to load GLX and dri, and changed driver
from "nv" to "nvidia"
-- edit inittab for x
-- reboot

I really like the ease of configuration of this distro, a little confused as to the "particulars" as they are all different in ways.

Thanks again

You can do it two ways the easy one with Kano's (http://www.kano.mipooh.net/) script I would recommend the 4496 one or following your example:


login to the console from kde greeter screen
su to root
/etc/init.d/kdm stop
change to directory with nvidia installer
export CC=/usr/bin/gcc-2.95 or export IGNORE_CC_MISMATCH=1
ll /usr/src/linux and make sure it points to /usr/src/kernel-headers-2.4.22-xfs
./nvidia_installer and choose compile custom module
make the required changes in the /etc/X11/XF86Config-4
/etc/init.d/kdm restart to get the greeter screen for a new login.

TheBman
01-24-2004, 06:57 AM
ok, probably my error, but this is what I tried:

login to console per your directions as root
execute /etc/init.d/kdm stop (that halted X)

inserted cdrom, mount /cdrom cd /cdrom/drivers (this is where shell script resides) also tried copying to /usr/src/linux (same return after switching directories

export CC=/usr/bin/gcc-2.95
ll /usr/src/linux returns lrwxrwxrwx 1 knoppix knoppix 12 Jan 22 19:27 /usr/src/linux -> linux-2.4.22

same return for export IGNORE_CC_MISMATCH=1

tried running sh install script

not getting /usr/src/linux pointing to /usr/src/kernel-headers-2.4.22-xfs./nvidia_installer in order to choose compile custom module

sh script fails

TheBman

Stephen
01-24-2004, 07:31 AM
ok, probably my error, but this is what I tried:

login to console per your directions as root
execute /etc/init.d/kdm stop (that halted X)

inserted cdrom, mount /cdrom cd /cdrom/drivers (this is where shell script resides) also tried copying to /usr/src/linux (same return after switching directories

export CC=/usr/bin/gcc-2.95
ll /usr/src/linux returns lrwxrwxrwx 1 knoppix knoppix 12 Jan 22 19:27 /usr/src/linux -> linux-2.4.22

same return for export IGNORE_CC_MISMATCH=1

tried running sh install script

not getting /usr/src/linux pointing to /usr/src/kernel-headers-2.4.22-xfs./nvidia_installer in order to choose compile custom module

sh script fails

TheBman

I made a typo in the post it looks like Klaus has the headers named /usr/src/linux-2.4.22 that should make no difference though it is still pointed to the correct directory. What error did it give you when it failed? And checking over my post I see I left out edit the /etc/modutils/aliases file and adding the line alias char-major-195 nvidia and then running update-modules as root and reboot, I was thinking about my install I've already got the line so that step is not necessary for me.

TheBman
01-24-2004, 11:44 AM
ok, installer worked that time after editing the files you recommended, I know i forgot to remove a line or comment something in the XF86Config-4 file as X is now broken. I did change the driver to nvidia from nv, will have to go back through my notes and review. Will post this afternoon after class.

TheBman
01-24-2004, 09:25 PM
ok, i have tried my way...failed miserably! Tried the easyone (Kano's script) and it installed ok, but, as soon as it was completed the screen went blank (black) no clicking, no lines ...nothing. rebooted and ran dpkg-reconfigure xserver-xfree86. I did this about 15 different times ensuring that I had the nvidia driver, and tried taking out the modules 1 by 1 ( dri etc etc ) went through the entire list substituting different ones and combinations. Every time I would try to invoke kdm and the screen would go black and that was it, couldn't even get to a console. Had to reboot to get to console. Cant find the right combo i guess. what else might I try?

thank you for all your help

Stephen
01-24-2004, 10:06 PM
Ok so the driver built and installed correctly right? If so then is is something simple wrong in the config file can you post the /etc/X11/XF86Config-4 file so we can see it and any lines in the /var/log/XFree86.0.log that have (WW) or (EE) in front of them and the last 15 or 20 lines of this file where it is failing to start.

TheBman
01-24-2004, 11:55 PM
reinstalled from scratch, started config and this is steps i followed

--installed kernel headers
--export CC=/usr/bin/gcc-2.95
--cd to dir with sh script, ran it compiled ok
--ran xf86config, still no card database
--ran dpkg-reconfigure xserver-xfree86
changed driver to nvidia from nv
--edited /etc/X11/XF86Config-4 file, removed load dri and glcore, ensured load GLX was uncommented, changed driver from "nv" to "nvidia"
--tried to start kdm...black screen, no clicking, lines etc rebooted
--edited XF86Config, changed driver back to "nv"
--started kdm, clicked over, kdm started, no nvidia splash screen
--logged in as root, -->kde, periperials, changed card to tnt2 nvanta, and driver to nvidia, rebooted invoked kdm and noticable improvement in X, no nvidia splash screen.

Xf86Config -4 reads:

Section "Files"
FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/Speedo"
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
EndSection

Section "Module"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "record"
Load "speedo"
Load "type1"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc101"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/psaux"
Option "Protocol" "PS/2"
Option "Emulate3Buttons" "true"
EndSection

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

Section "Device"
Identifier "tnt2"
Driver "nv"
VideoRam 32000
vendorname "NVidia"
boardname "Riva Vanta TNT2"
EndSection

Section "Monitor"
Identifier "viewsonic A70"
HorizSync 30-70
VertRefresh 50-180
Option "DPMS"
vendorname "[viewsonic A70]"
modelname "[viewsonic A70]"
ModeLine "1024x768/85Hz" 98.9 1024 1056 1216 1408 768 782 788 822 -HSync -VSync
EndSection

Section "Screen"
Identifier "Default Screen"
Device "tnt2"
Monitor "viewsonic A70"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768/85Hz" "1152x864" "1024x768" "640x480"
Virtual 0 0
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768/85Hz" "1152x864" "1024x768" "640x480"
Virtual 0 0
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768/85Hz" "1152x864" "1024x768" "640x480"
Virtual 0 0
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768/85Hz" "1152x864" "1024x768" "640x480"
Virtual 0 0
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768/85Hz" "1152x864" "1024x768" "640x480"
Virtual 0 0
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768/85Hz" "1152x864" "1024x768" "640x480"
Virtual 0 0
EndSubSection
EndSection

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

Section "DRI"
Mode 0666
EndSection

### END DEBCONF SECTION

Section "InputDevice"

Identifier "Keyboard"

Option "XkbModel" "pc104"
Option "XkbLayout" "us"
Driver "keyboard"
EndSection


Section "InputDevice"

Identifier "Mouse"

Option "Protocol" ""
Option "Device" "/dev/mouse"
Driver "mouse"
Option "Emulate3Buttons"
EndSection


Section "ServerFlags"

EndSection

/var/log/Xfree86.0.log reads: WW & EE'S

(**) NV(0): VideoRAM: 32000 kBytes
(==) NV(0): Using gamma correction (1.0, 1.0, 1.0)
(II) NV(0): viewsonic A70: Using hsync range of 30.00-70.00 kHz
(II) NV(0): viewsonic A70: Using vrefresh range of 50.00-180.00 Hz
(II) NV(0): Clock range: 12.00 to 350.00 MHz
(WW) (1152x864,viewsonic A70) mode clock 108MHz exceeds DDC maximum 100MHz
(WW) (1280x960,viewsonic A70) mode clock 108MHz exceeds DDC maximum 100MHz
(II) NV(0): Not using default mode "1280x960" (hsync out of range)
(II) NV(0): Not using default mode "640x480" (hsync out of range)
(WW) (1280x1024,viewsonic A70) mode clock 108MHz exceeds DDC maximum 100MHz
(II) NV(0): Not using default mode "1280x1024" (hsync out of range)
(II) NV(0): Not using default mode "640x512" (hsync out of range)
(II) NV(0): Not using default mode "1280x1024" (hsync out of range)
(II) NV(0): Not using default mode "640x512" (hsync out of range)
(II) NV(0): Not using default mode "1600x1200" (hsync out of range)
(II) NV(0): Not using default mode "800x600" (hsync out of range)
(II) NV(0): Not using default mode "1600x1200" (hsync out of range)
(II) NV(0): Not using default mode "800x600" (hsync out of range)
(II) NV(0): Not using default mode "1600x1200" (hsync out of range)
(II) NV(0): Not using default mode "800x600" (hsync out of range)
(II) NV(0): Not using default mode "1600x1200" (hsync out of range)
(II) NV(0): Not using default mode "800x600" (hsync out of range)
(II) NV(0): Not using default mode "1600x1200" (hsync out of range)
(II) NV(0): Not using default mode "800x600" (hsync out of range)
(II) NV(0): Not using default mode "1792x1344" (hsync out of range)
(II) NV(0): Not using default mode "896x672" (hsync out of range)
(II) NV(0): Not using default mode "1792x1344" (hsync out of range)
(II) NV(0): Not using default mode "896x672" (hsync out of range)
(II) NV(0): Not using default mode "1856x1392" (hsync out of range)
(II) NV(0): Not using default mode "928x696" (hsync out of range)
(II) NV(0): Not using default mode "1856x1392" (hsync out of range)
(II) NV(0): Not using default mode "928x696" (hsync out of range)
(II) NV(0): Not using default mode "1920x1440" (hsync out of range)
(II) NV(0): Not using default mode "960x720" (hsync out of range)
(II) NV(0): Not using default mode "1920x1440" (hsync out of range)
(II) NV(0): Not using default mode "960x720" (hsync out of range)
(WW) (1400x1050,viewsonic A70) mode clock 122MHz exceeds DDC maximum 100MHz
(II) NV(0): Not using default mode "1400x1050" (hsync out of range)
(II) NV(0): Not using default mode "700x525" (hsync out of range)
(WW) (1600x1024,viewsonic A70) mode clock 106.91MHz exceeds DDC maximum 100MHz
(II) NV(0): Not using default mode "1920x1440" (hsync out of range)
(II) NV(0): Not using default mode "960x720" (hsync out of range)
(II) NV(0): Not using default mode "2048x1536" (hsync out of range)
(II) NV(0): Not using default mode "1024x768" (hsync out of range)
(II) NV(0): Not using default mode "2048x1536" (hsync out of range)
(II) NV(0): Not using default mode "1024x768" (hsync out of range)
(II) NV(0): Not using default mode "2048x1536" (bad mode clock/interlace/doublescan)
(II) NV(0): Not using default mode "1024x768" (hsync out of range)
(II) NV(0): Not using default mode "1400x1050" (width too large for virtual size)
(II) NV(0): Not using default mode "1280x1024" (width too large for virtual size)
(II) NV(0): Not using default mode "1280x960" (width too large for virtual size)
(--) NV(0): Virtual size is 1152x864 (pitch 1152)
(**) NV(0): *Mode "1024x768/85Hz": 98.9 MHz, 70.2 kHz, 85.5 Hz
(II) NV(0): Modeline "1024x768/85Hz" 98.90 1024 1056 1216 1408 768 782 788 822 -hsync -vsync
(**) NV(0): *Default mode "1152x864": 108.0 MHz, 67.5 kHz, 75.0 Hz
(II) NV(0): Modeline "1152x864" 108.00 1152 1216 1344 1600 864 865 868 900 +hsync +vsync
(**) NV(0): *Default mode "1024x768": 94.5 MHz, 68.7 kHz, 85.0 Hz
(II) NV(0): Modeline "1024x768" 94.50 1024 1072 1168 1376 768 769 772 808 +hsync +vsync
(**) NV(0): *Default mode "640x480": 36.0 MHz, 43.3 kHz, 85.0 Hz
(II) NV(0): Modeline "640x480" 36.00 640 696 752 832 480 481 484 509 -hsync -vsync
(**) NV(0): Default mode "1152x768": 65.0 MHz, 44.2 kHz, 54.8 Hz
(II) NV(0): Modeline "1152x768" 65.00 1152 1178 1314 1472 768 771 777 806 +hsync +vsync
(**) NV(0): Default mode "1024x768": 78.8 MHz, 60.1 kHz, 75.1 Hz
(II) NV(0): Modeline "1024x768" 78.80 1024 1040 1136 1312 768 769 772 800 +hsync +vsync
(**) NV(0): Default mode "1024x768": 75.0 MHz, 56.5 kHz, 70.1 Hz
(II) NV(0): Modeline "1024x768" 75.00 1024 1048 1184 1328 768 771 777 806 -hsync -vsync
(**) NV(0): Default mode "1024x768": 65.0 MHz, 48.4 kHz, 60.0 Hz
(II) NV(0): Modeline "1024x768" 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync
(**) NV(0): Default mode "1024x768": 44.9 MHz, 35.5 kHz, 87.1 Hz (I)
(II) NV(0): Modeline "1024x768" 44.90 1024 1032 1208 1264 768 768 776 817 interlace +hsync +vsync
(**) NV(0): Default mode "832x624": 57.3 MHz, 49.7 kHz, 74.6 Hz
(II) NV(0): Modeline "832x624" 57.28 832 864 928 1152 624 625 628 667 -hsync -vsync
(**) NV(0): Default mode "800x600": 56.3 MHz, 53.7 kHz, 85.1 Hz
(II) NV(0): Modeline "800x600" 56.30 800 832 896 1048 600 601 604 631 +hsync +vsync
(**) NV(0): Default mode "800x600": 49.5 MHz, 46.9 kHz, 75.0 Hz
(II) NV(0): Modeline "800x600" 49.50 800 816 896 1056 600 601 604 625 +hsync +vsync
(**) NV(0): Default mode "800x600": 50.0 MHz, 48.1 kHz, 72.2 Hz
(II) NV(0): Modeline "800x600" 50.00 800 856 976 1040 600 637 643 666 +hsync +vsync
(**) NV(0): Default mode "800x600": 40.0 MHz, 37.9 kHz, 60.3 Hz
(II) NV(0): Modeline "800x600" 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync
(**) NV(0): Default mode "800x600": 36.0 MHz, 35.2 kHz, 56.2 Hz
(II) NV(0): Modeline "800x600" 36.00 800 824 896 1024 600 601 603 625 +hsync +vsync
(**) NV(0): Default mode "700x525": 61.0 MHz, 64.9 kHz, 60.0 Hz (D)
(II) NV(0): Modeline "700x525" 61.00 700 744 820 940 525 526 532 541 doublescan +hsync +vsync
(**) NV(0): Default mode "640x512": 54.0 MHz, 64.0 kHz, 60.0 Hz (D)
(II) NV(0): Modeline "640x512" 54.00 640 664 720 844 512 512 514 533 doublescan +hsync +vsync
(**) NV(0): Default mode "640x480": 31.5 MHz, 37.5 kHz, 75.0 Hz
(II) NV(0): Modeline "640x480" 31.50 640 656 720 840 480 481 484 500 -hsync -vsync
(**) NV(0): Default mode "640x480": 31.5 MHz, 37.9 kHz, 72.8 Hz
(II) NV(0): Modeline "640x480" 31.50 640 664 704 832 480 489 491 520 -hsync -vsync
(**) NV(0): Default mode "640x480": 25.2 MHz, 31.5 kHz, 60.0 Hz
(II) NV(0): Modeline "640x480" 25.20 640 656 752 800 480 490 492 525 -hsync -vsync
(**) NV(0): Default mode "640x480": 54.0 MHz, 60.0 kHz, 60.0 Hz (D)
(II) NV(0): Modeline "640x480" 54.00 640 688 744 900 480 480 482 500 doublescan +hsync +vsync
(**) NV(0): Default mode "720x400": 35.5 MHz, 37.9 kHz, 85.0 Hz
(II) NV(0): Modeline "720x400" 35.50 720 756 828 936 400 401 404 446 -hsync +vsync
(**) NV(0): Default mode "640x400": 31.5 MHz, 37.9 kHz, 85.1 Hz
(II) NV(0): Modeline "640x400" 31.50 640 672 736 832 400 401 404 445 -hsync +vsync
(**) NV(0): Default mode "576x432": 54.0 MHz, 67.5 kHz, 75.0 Hz (D)
(II) NV(0): Modeline "576x432" 54.00 576 608 672 800 432 432 434 450 doublescan +hsync +vsync
(**) NV(0): Default mode "640x350": 31.5 MHz, 37.9 kHz, 85.1 Hz
(II) NV(0): Modeline "640x350" 31.50 640 672 736 832 350 382 385 445 +hsync -vsync
(**) NV(0): Default mode "576x384": 32.5 MHz, 44.2 kHz, 54.8 Hz (D)
(II) NV(0): Modeline "576x384" 32.50 576 589 657 736 384 385 388 403 doublescan +hsync +vsync
(**) NV(0): Default mode "512x384": 47.2 MHz, 68.7 kHz, 85.0 Hz (D)
(II) NV(0): Modeline "512x384" 47.25 512 536 584 688 384 384 386 404 doublescan +hsync +vsync
(**) NV(0): Default mode "512x384": 39.4 MHz, 60.1 kHz, 75.1 Hz (D)
(II) NV(0): Modeline "512x384" 39.40 512 520 568 656 384 384 386 400 doublescan +hsync +vsync
(**) NV(0): Default mode "512x384": 37.5 MHz, 56.5 kHz, 70.1 Hz (D)
(II) NV(0): Modeline "512x384" 37.50 512 524 592 664 384 385 388 403 doublescan -hsync -vsync
(**) NV(0): Default mode "512x384": 32.5 MHz, 48.4 kHz, 60.0 Hz (D)
(II) NV(0): Modeline "512x384" 32.50 512 524 592 672 384 385 388 403 doublescan -hsync -vsync
(**) NV(0): Default mode "512x384": 22.4 MHz, 35.5 kHz, 87.1 Hz (D)
(II) NV(0): Modeline "512x384" 22.45 512 516 604 632 384 384 388 409 interlace doublescan +hsync +vsync
(**) NV(0): Default mode "416x312": 28.6 MHz, 49.7 kHz, 74.7 Hz (D)
(II) NV(0): Modeline "416x312" 28.64 416 432 464 576 312 312 314 333 doublescan -hsync -vsync
(**) NV(0): Default mode "400x300": 28.1 MHz, 53.7 kHz, 85.3 Hz (D)
(II) NV(0): Modeline "400x300" 28.15 400 416 448 524 300 300 302 315 doublescan +hsync +vsync
(**) NV(0): Default mode "400x300": 24.8 MHz, 46.9 kHz, 75.1 Hz (D)
(II) NV(0): Modeline "400x300" 24.75 400 408 448 528 300 300 302 312 doublescan +hsync +vsync
(**) NV(0): Default mode "400x300": 25.0 MHz, 48.1 kHz, 72.2 Hz (D)
(II) NV(0): Modeline "400x300" 25.00 400 428 488 520 300 318 321 333 doublescan +hsync +vsync
(**) NV(0): Default mode "400x300": 20.0 MHz, 37.9 kHz, 60.3 Hz (D)
(II) NV(0): Modeline "400x300" 20.00 400 420 484 528 300 300 302 314 doublescan +hsync +vsync
(**) NV(0): Default mode "400x300": 18.0 MHz, 35.2 kHz, 56.3 Hz (D)
(II) NV(0): Modeline "400x300" 18.00 400 412 448 512 300 300 301 312 doublescan +hsync +vsync
(**) NV(0): Default mode "320x240": 18.0 MHz, 43.3 kHz, 85.2 Hz (D)
(II) NV(0): Modeline "320x240" 18.00 320 348 376 416 240 240 242 254 doublescan -hsync -vsync
(**) NV(0): Default mode "320x240": 15.8 MHz, 37.5 kHz, 75.0 Hz (D)
(II) NV(0): Modeline "320x240" 15.75 320 328 360 420 240 240 242 250 doublescan -hsync -vsync
(**) NV(0): Default mode "320x240": 15.8 MHz, 37.9 kHz, 72.8 Hz (D)
(II) NV(0): Modeline "320x240" 15.75 320 332 352 416 240 244 245 260 doublescan -hsync -vsync
(**) NV(0): Default mode "320x240": 12.6 MHz, 31.5 kHz, 60.1 Hz (D)
(II) NV(0): Modeline "320x240" 12.60 320 328 376 400 240 245 246 262 doublescan -hsync -vsync
(**) NV(0): Default mode "360x200": 17.8 MHz, 37.9 kHz, 85.0 Hz (D)
(II) NV(0): Modeline "360x200" 17.75 360 378 414 468 200 200 202 223 doublescan -hsync +vsync
(**) NV(0): Default mode "320x200": 15.8 MHz, 37.9 kHz, 85.3 Hz (D)
(II) NV(0): Modeline "320x200" 15.75 320 336 368 416 200 200 202 222 doublescan -hsync +vsync
(**) NV(0): Default mode "320x175": 15.8 MHz, 37.9 kHz, 85.3 Hz (D)
(II) NV(0): Modeline "320x175" 15.75 320 336 368 416 175 191 192 222 doublescan +hsync -vsync
(++) NV(0): DPI set to (75, 75)
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/X11R6/lib/modules/libfb.a
(II) Module fb: vendor="The XFree86 Project"
compiled for 4.3.0, module version = 1.0.0
ABI class: XFree86 ANSI C Emulation, version 0.2
(II) Loading sub module "xaa"
(II) LoadModule: "xaa"
(II) Loading /usr/X11R6/lib/modules/libxaa.a
(II) Module xaa: vendor="The XFree86 Project"
compiled for 4.3.0, module version = 1.1.0
ABI class: XFree86 Video Driver, version 0.6
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"
(II) Loading /usr/X11R6/lib/modules/libramdac.a
(II) Module ramdac: vendor="The XFree86 Project"
compiled for 4.3.0, module version = 0.1.0
ABI class: XFree86 Video Driver, version 0.6
(--) Depth 24 pixmap format is 32 bpp
(II) do I need RAC? No, I don't.
(II) resource ranges after preInit:
[0] 0 0 0xd8000000 - 0xd9ffffff (0x2000000) MX[B]
[1] 0 0 0xda000000 - 0xdaffffff (0x1000000) MX[B]
[2] -1 0 0xffe00000 - 0xffffffff (0x200000) MX[B](B)
[3] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
[4] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
[5] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
[6] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[7] -1 0 0xdc000000 - 0xdc0000ff (0x100) MX[B]
[8] -1 0 0xd0000000 - 0xcfffffff (0x0) MX[B]O
[9] -1 0 0xd8000000 - 0xd9ffffff (0x2000000) MX[B](B)
[10] -1 0 0xda000000 - 0xdaffffff (0x1000000) MX[B](B)
[11] 0 0 0x000a0000 - 0x000affff (0x10000) MS[B](OprD)
[12] 0 0 0x000b0000 - 0x000b7fff (0x8000) MS[B](OprD)
[13] 0 0 0x000b8000 - 0x000bffff (0x8000) MS[B](OprD)
[14] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[15] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
[16] -1 0 0x0000e400 - 0x0000e40f (0x10) IX[B]
[17] -1 0 0x0000e000 - 0x0000e01f (0x20) IX[B]
[18] -1 0 0x0000dc00 - 0x0000dc1f (0x20) IX[B]
[19] -1 0 0x0000d800 - 0x0000d81f (0x20) IX[B]
[20] -1 0 0x0000d400 - 0x0000d407 (0x8) IX[B]
[21] -1 0 0x0000d000 - 0x0000d01f (0x20) IX[B]
[22] 0 0 0x000003b0 - 0x000003bb (0xc) IS[B](OprU)
[23] 0 0 0x000003c0 - 0x000003df (0x20) IS[B](OprU)
(II) NV(0): Splitting WC range: base: 0xd8000000, size: 0x1f40000
(II) NV(0): Splitting WC range: base: 0xd9000000, size: 0xf40000
(II) NV(0): Splitting WC range: base: 0xd9800000, size: 0x740000
(II) NV(0): Splitting WC range: base: 0xd9c00000, size: 0x340000
(II) NV(0): Splitting WC range: base: 0xd9e00000, size: 0x140000
(==) NV(0): Write-combining range (0xd9f00000,0x40000)
(==) NV(0): Write-combining range (0xd9e00000,0x140000)
(==) NV(0): Write-combining range (0xd9c00000,0x340000)
(==) NV(0): Write-combining range (0xd9800000,0x740000)
(==) NV(0): Write-combining range (0xd9000000,0xf40000)
(==) NV(0): Write-combining range (0xd8000000,0x1f40000)
(II) NV(0): Using XFree86 Acceleration Architecture (XAA)
Screen to screen bit blits
Solid filled rectangles
8x8 mono pattern filled rectangles
Indirect CPU to Screen color expansion
Solid Lines
Offscreen Pixmaps
Setting up tile and stipple cache:
32 128x128 slots
32 256x256 slots
16 512x512 slots
(==) NV(0): Backing store disabled
(==) NV(0): Silken mouse enabled
(**) Option "dpms"
(**) NV(0): DPMS enabled
(==) RandR enabled
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension LBX
(II) Initializing built-in extension XC-APPGROUP
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFree86-Bigfont
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(EE) [GLX]: Failed to add GLX extension (NVIDIA XFree86 driver not found)
(II) Keyboard "Generic Keyboard" handled by legacy driver
(**) Option "Protocol" "PS/2"
(**) Configured Mouse: Protocol: "PS/2"
(**) Option "CorePointer"
(**) Configured Mouse: Core Pointer
(**) Option "Device" "/dev/psaux"
(**) Option "Emulate3Buttons" "true"
(**) Configured Mouse: Emulate3Buttons, Emulate3Timeout: 50
(==) Configured Mouse: Buttons: 3
(**) Option "Protocol" "ImPS/2"
(**) Generic Mouse: Protocol: "ImPS/2"
(**) Option "SendCoreEvents" "true"
(**) Generic Mouse: always reports core events
(**) Option "Device" "/dev/input/mice"
(EE) xf86OpenSerial: Cannot open device /dev/input/mice
No such device.
(EE) Generic Mouse: cannot open input device
(EE) PreInit failed for input device "Generic Mouse"
(II) UnloadModule: "mouse"
(II) XINPUT: Adding extended input device "Configured Mouse" (type: MOUSE)
(II) Configured Mouse: ps2EnableDataReporting: succeeded
Warning: font renderer for ".pcf" already registered at priority 0
Warning: font renderer for ".pcf.Z" already registered at priority 0
Warning: font renderer for ".pcf.gz" already registered at priority 0
Warning: font renderer for ".snf" already registered at priority 0
Warning: font renderer for ".snf.Z" already registered at priority 0
Warning: font renderer for ".snf.gz" already registered at priority 0
Warning: font renderer for ".bdf" already registered at priority 0
Warning: font renderer for ".bdf.Z" already registered at priority 0
Warning: font renderer for ".bdf.gz" already registered at priority 0
Warning: font renderer for ".pmf" already registered at priority 0
Could not init font path element unix/:7100, removing from list!

eyeball2
01-25-2004, 02:18 AM
Just a quick note re the original question in this thread. The file Cards is missing from this distribution, but Cards-v3 is present, I believe in /usr/X11R6/docs/X11

Wherever it is (I'm not on such a machine at the moment, sorry; use locate Cards-v3 to find it) just cp it to Cards in the same location. This only works for HD install, of course. xf86Config will find it now...
:shock:

Stephen
01-25-2004, 04:05 AM
Try this for the /etc/X11/XF86Config-4 file you would copy your present one to a backup and then overwrite it with this and restart the Xserver. It should start at 1024x768 in 24 bit colour with the nvidia driver using a ps/2 wheelmouse and a 104 key keyboard with a us layout.




Section "Files"
# if the local font server has problems, we can fall back on these
RgbPath "/usr/X11R6/lib/X11/rgb"
ModulePath "/usr/X11R6/lib/modules"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "/usr/X11R6/lib/X11/fonts/TrueType"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo"
FontPath "/usr/X11R6/lib/X11/fonts/misc"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi"
FontPath "/usr/X11R6/lib/X11/fonts/CID"
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
EndSection

Section "Module"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "record"
Load "speedo"
Load "type1"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/psaux"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
EndSection

Section "Device"
Identifier "tnt2"
Driver "nvidia"
vendorname "NVidia"
boardname "Riva Vanta TNT2"
EndSection

Section "Monitor"
Identifier "viewsonic A70"
HorizSync 30-70
VertRefresh 50-180
Option "DPMS"
vendorname "[viewsonic A70]"
modelname "[viewsonic A70]"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "tnt2"
Monitor "viewsonic A70"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768" "640x480"
Virtual 0 0
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "640x480"
Virtual 0 0
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "640x480"
Virtual 0 0
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "640x480"
Virtual 0 0
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "640x480"
Virtual 0 0
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "640x480"
Virtual 0 0
EndSubSection
EndSection

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

### END DEBCONF SECTION

TheBman
01-25-2004, 06:52 AM
XF86Config-4 file changed as directed, tried to start kdm, got the black screen again, copied XF86Config-4.old to XF86Config-4 and got back on here Last few lines of log file read
II) Initializing built-in extension RANDR
(EE) [GLX]: Failed to add GLX extension (NVIDIA XFree86 driver not found)
(II) Keyboard "Generic Keyboard" handled by legacy driver
(**) Option "Protocol" "PS/2"
(**) Configured Mouse: Protocol: "PS/2"
(**) Option "CorePointer"
(**) Configured Mouse: Core Pointer
(**) Option "Device" "/dev/psaux"
(**) Option "Emulate3Buttons" "true"
(**) Configured Mouse: Emulate3Buttons, Emulate3Timeout: 50
(==) Configured Mouse: Buttons: 3
(**) Option "Protocol" "ImPS/2"
(**) Generic Mouse: Protocol: "ImPS/2"
(**) Option "SendCoreEvents" "true"
(**) Generic Mouse: always reports core events
(**) Option "Device" "/dev/input/mice"
(EE) xf86OpenSerial: Cannot open device /dev/input/mice
No such device.
(EE) Generic Mouse: cannot open input device
(EE) PreInit failed for input device "Generic Mouse"
(II) UnloadModule: "mouse"
(II) XINPUT: Adding extended input device "Configured Mouse" (type: MOUSE)
(II) Configured Mouse: ps2EnableDataReporting: succeeded
Warning: font renderer for ".pcf" already registered at priority 0
Warning: font renderer for ".pcf.Z" already registered at priority 0
Warning: font renderer for ".pcf.gz" already registered at priority 0
Warning: font renderer for ".snf" already registered at priority 0
Warning: font renderer for ".snf.Z" already registered at priority 0
Warning: font renderer for ".snf.gz" already registered at priority 0
Warning: font renderer for ".bdf" already registered at priority 0
Warning: font renderer for ".bdf.Z" already registered at priority 0
Warning: font renderer for ".bdf.gz" already registered at priority 0
Warning: font renderer for ".pmf" already registered at priority 0
Could not init font path element unix/:7100, removing from list!

suggestions?

Stephen
01-25-2004, 09:24 AM
That is the log from your next start of X not the Nvidia start it still has the UNIX 7100 path and the /dev/input/mouse in there they should not be there as they were not in the file I suggested. Try with the file I suggested and copy the log file to a backup then start X with the working file and post the backup copy if you could. And check to make sure the module is in the correct location:


>$ locate nvidia.o
/lib/modules/2.4.24.040105/kernel/drivers/video/nvidia.o


It should be in the directory of your running kernel (uname -r) and you may want to use modprobe nvidia as root to see if the module will load correctly without being in use post the output of the command so we can see it if it fails. That is about the only thing I can think of that could be wrong I used the file I put up above and it worked fine on my install so there is no reason it should not work for you it did complain about the module path being missing in the log but it worked normally I have edited the post to put the lines in.

TheBman
01-25-2004, 08:25 PM
Stephen,
First of all thanks you for your patience and your help, very much appreciated.

used your config, tried to start kdm, and this time i got some flashing, flicked on, off, on, off, on , off, back to console. saved the log file, and your configuration, reinserted the one that gets me to X and back on.

root@PackMule:~# locate nvidia.o
/lib/modules/2.4.22-xfs/kernel/drivers/video/nvidia.o
root@PackMule:~# modprobe nvidia
Warning: loading /lib/modules/2.4.22-xfs/kernel/drivers/video/nvidia.o will taint the kernel: non-GPL license - NVIDIA
See http://www.tux.org/lkml/#export-tainted for information about tainted modules
Module nvidia loaded, with warnings

/var/log/XFree86.0.log1 reads

Module Loader present
OS Kernel: Linux version 2.4.22-xfs (root@Knoppix) (gcc version 2.95.4 20011002 (Debian prerelease)) #1 SMP Fr Okt 3 20:36:25 CEST 2003
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/XFree86.0.log", Time: Sun Jan 25 11:19:12 2004
(==) Using config file: "/etc/X11/XF86Config-4"
(==) ServerLayout "Default Layout"
(**) |-->Screen "Default Screen" (0)
(**) | |-->Monitor "viewsonic A70"
(**) | |-->Device "tnt2"
(**) |-->Input Device "Generic Keyboard"
(**) Option "XkbRules" "xfree86"
(**) XKB: rules: "xfree86"
(**) Option "XkbModel" "pc104"
(**) XKB: model: "pc104"
(**) Option "XkbLayout" "us"
(**) XKB: layout: "us"
(==) Keyboard: CustomKeycode disabled
(**) |-->Input Device "Configured Mouse"
(WW) The directory "/usr/X11R6/lib/X11/fonts/TrueType" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/X11R6/lib/X11/fonts/CID" does not exist.
Entry deleted from font path.
(**) FontPath set to "var/lib/deforma/x-ttcidfont-conf.d/dirs/TrueType,/usr/X11R6/lib/X11/fonts/Speedo,/usr/X11R6/lib/X11/fonts/misc,/usr/X11R6/lib/X11/fonts/cyrillic,/usr/X11R6/lib/X11/fonts/100dpi,/usr/X11R6/lib/X11/fonts/75dpi,/usr/X11R6/lib/X11/fonts/Type1"
(**) RgbPath set to "usr/X11R6/lib/X11/rgb"
(**) ModulePath set to "usr/X11R6/lib/modules"
(++) using VT number 7

(II) Open APM successful
(II) Module ABI versions:
XFree86 ANSI C Emulation: 0.2
XFree86 Video Driver: 0.6
XFree86 XInput driver : 0.4
XFree86 Server Extension : 0.2
XFree86 Font Renderer : 0.4
(II) Loader running on linux
(II) LoadModule: "bitmap"
(II) UnloadModule: "bitmap"
(EE) Failed to load module "bitmap" (invalid argument(s) to LoadModule(), 1)
(II) LoadModule: "pcidata"
(II) UnloadModule: "pcidata"
(EE) Failed to load module "pcidata" (invalid argument(s) to LoadModule(), 1)

Fatal server error:
Unable to load required base modules, Exiting...

Brent

Stephen
01-26-2004, 02:51 AM
Well that seems like the modules are not being found what is the contents of the directory /usr/X11R6/lib/modules/fonts/ here is what it looks like on my install:



[09:42 PM Sun Jan 25: stephen @ ~]
>$ ll /usr/X11R6/lib/modules/fonts/
total 794K
drwxr-xr-x 2 root root 200 2003-12-10 12:44 ./
drwxr-xr-x 9 root root 1016 2003-12-10 12:44 ../
-rw-r--r-- 1 root root 201K 2003-10-24 21:44 libtype1.a
-rw-r--r-- 1 root root 81K 2003-10-24 21:44 libbitmap.a
-rw-r--r-- 1 root root 69K 2003-10-24 21:44 libspeedo.a
-rw-r--r-- 1 root root 137K 2003-10-24 21:44 libxtt.a
-rw-r--r-- 1 root root 292K 2003-10-24 21:44 libfreetype.a


And did you modprobe nvidia for the module to be loaded when you tried to start with the test file?

TheBman
01-26-2004, 03:59 AM
no, I did not do the modprobe

heres output of the file

brent@PackMule:~$ ll /usr/X11R6/lib/modules/fonts/
total 736
-rw-r--r-- 1 root root 79096 Apr 16 2003 libbitmap.a
-rw-r--r-- 1 root root 277934 Apr 16 2003 libfreetype.a
-rw-r--r-- 1 root root 67508 Apr 16 2003 libspeedo.a
-rw-r--r-- 1 root root 201332 Apr 16 2003 libtype1.a
-rw-r--r-- 1 root root 117814 Apr 16 2003 libxtt.a
brent@PackMule:~$

Brent

Stephen
01-26-2004, 04:15 AM
That looks good for the output you should modprobe the nvidia module and then try the file with it loaded.

TheBman
01-26-2004, 11:13 AM
with modprobe, result was same, cycled on & off a few times and back to console.


Module Loader present
OS Kernel: Linux version 2.4.22-xfs (root@Knoppix) (gcc version 2.95.4 20011002 (Debian prerelease)) #1 SMP Fr Okt 3 20:36:25 CEST 2003 T
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/XFree86.0.log", Time: Sun Jan 25 22:27:39 2004
(==) Using config file: "/etc/X11/XF86Config-4"
(==) ServerLayout "Default Layout"
(**) |-->Screen "Default Screen" (0)
(**) | |-->Monitor "viewsonic A70"
(**) | |-->Device "tnt2"
(**) |-->Input Device "Generic Keyboard"
(**) Option "XkbRules" "xfree86"
(**) XKB: rules: "xfree86"
(**) Option "XkbModel" "pc104"
(**) XKB: model: "pc104"
(**) Option "XkbLayout" "us"
(**) XKB: layout: "us"
(==) Keyboard: CustomKeycode disabled
(**) |-->Input Device "Configured Mouse"
(WW) The directory "/usr/X11R6/lib/X11/fonts/TrueType" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/X11R6/lib/X11/fonts/CID" does not exist.
Entry deleted from font path.
(**) FontPath set to "var/lib/deforma/x-ttcidfont-conf.d/dirs/TrueType,/usr/X11R6/lib/X11/fonts/Speedo,/usr/X11R6/lib/X11/fonts/misc,/usr/X11R6/lib/X11/fonts/cyrillic,/usr/X11R6/lib/X11/fonts/100dpi,/usr/X11R6/lib/X11/fonts/75dpi,/usr/X11R6/lib/X11/fonts/Type1"
(**) RgbPath set to "usr/X11R6/lib/X11/rgb"
(**) ModulePath set to "usr/X11R6/lib/modules"
(++) using VT number 7

(II) Open APM successful
(II) Module ABI versions:
XFree86 ANSI C Emulation: 0.2
XFree86 Video Driver: 0.6
XFree86 XInput driver : 0.4
XFree86 Server Extension : 0.2
XFree86 Font Renderer : 0.4
(II) Loader running on linux
(II) LoadModule: "bitmap"
(II) UnloadModule: "bitmap"
(EE) Failed to load module "bitmap" (invalid argument(s) to LoadModule(), 1)
(II) LoadModule: "pcidata"
(II) UnloadModule: "pcidata"
(EE) Failed to load module "pcidata" (invalid argument(s) to LoadModule(), 1)

Fatal server error:
Unable to load required base modules, Exiting...

Brent

TheBman
01-26-2004, 11:26 AM
just a additional note, got to thinking about it and went back and verified the md5sum on my cd I burned, that was fine.

TheBman
01-31-2004, 02:26 AM
reinstalled using knoppix-installer/debian style. No modifications to system. How-to desired.

If anyone has a method that works for this, I would appreciate your help.

Thanks,
TheBman