DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
dont know what happened. everything was working fine, but then i rebooted. logged in and did a startx. the nvidia splash screen came up but went away after about 1-2 seconds and i was back to the cli. i have reinstalled x-window-server, fonts, kde, did a dist-update, no joy. i did notice something called kgamma that had made a backup of my xf86config-4 file but when i used that file, i got the same issue
here are some of the error lines from xfree86.0.log
(WW) The directory "/usr/lib/X11/fonts/cyrillic" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/lib/X11/fonts/CID" does not exist.
Entry deleted from font path.
(WW) Open APM failed (/dev/apm_bios) (No such file or directory)
(II) LoadModule: "speedo"
(II) Loading /usr/X11R6/lib/modules/fonts/libspeedo.a
Skipping "/usr/X11R6/lib/modules/fonts/libspeedo.a:spencode.o": No symbols found
(WW) NVIDIA(0): Not using mode "1152x768":
(WW) NVIDIA(0): horizontal sync start (1178) not a multiple of 8
(WW) NVIDIA(0): Not using mode "576x384":
(WW) NVIDIA(0): horizontal sync start (589) not a multiple of 8
(WW) NVIDIA(0): Not using mode "360x200":
(WW) NVIDIA(0): horizontal sync start (378) not a multiple of 8
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
if you want my xf86config-4 file, let me know. i have tried everything i can think of including dpkg-reconfigure xserver-xfree86 and even xfreeconf to generate new config files
Everything was working fine and then stopped working, how long was everything working fine before the strange behavior. From the error output looks like things are very strange indeed, x is trying to use some very odd resolutions. Start by listing your hardware (monitor, video card) are you using the nvida provided drivers, xfs (x font server), and post your xf86config-4 file, and go from there.
i have an nvidia quadro based card, viewsonic p220f (i got the horz and vert rates from viewsonic.com) monitor, the box is a compaq evo 1.8ghz machine, 512 ram. yes i am using the nvidia drivers from nvidia.
i have had a working debian system on this box for about two months now running samba for file sharing, havent really installed anything out of the ordinary that i cant get through apt-get. i am using sid so that might be the problem, but not sure
here is my xf86config-4 file
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/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/Speedo"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
EndSection
Section "Module"
# Load "GLcore"
Load "bitmap"
Load "dbe"
Load "ddc"
# Load "dri"
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"
Option "ZAxisMapping" "4 5"
EndSection
Ok looked over your config file and noticed a few things. I commented out some stuff that were not absolutely necessary, if all goes well you can add them again until you find out which ones are causing the problem. Your mouse was configured twice so I commented out the second one. Your mouse was configured with both the options IMPS/2 with zaxis mapping for wheel mice, and emulate 3 buttons as true. I believe those two setting don't mix well, should be able to press down the wheel for third button. I commented out everything you don't absolutely need and commented out the font paths listed in error log. Also of very special note The FontPath "unix/:7100" part indicates the use of xfs (x font server) or at least means your xserver is configured to use it, very important to make sure this is starting up before your x server does, if you are not using xfs anymore, which is very possible this could definitely throw your x server for a loop, try commenting out this line as well if you are still having trouble. One last note I am pretty sure the monitor you listed is capable of much better resolutions then the "1024x768" specified, I just put it there to be safe. Once you get a successful start, you can add 1280x1024, 1600x1200 or whatever resolution you prefer. I hope this helps, if you figure it out be sure to repost, if not, there are a few other things that can be done. Best of luck, Sincerely, Dan
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/misc"
# FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
# FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/Speedo"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
EndSection
Section "Module"
# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
# Load "GLcore"
Load "bitmap"
Load "dbe"
# Load "ddc"
# Load "dri"
# 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"
Option "ZAxisMapping" "4 5"
EndSection
thanks Dan, i will try those out tomorrow, the machine in question is at work
one thing though, my machine here at home that i am on now in kde has an almost identical xf86config-4 file with two mouse configurations and it works fine
i will definitely post my findings and thanks again for your help
Jerry
well none of that worked. i even reinstalled the nvidia driver (from nvidia) and that didnt work either. i'm not sure what is going on.
the xfs is loading up first, so that inst a problem, i have the proper video driver, so that isnt a problem
can i completely uninstall xfree86 and start over? will i have to reinstall kde? what about x.org? can i install that and have the two co-exist? how would i get the one to work over the other?
also checked in /var/log/system and messages and found this
Jun 25 09:03:17 localhost kernel: nvidia: no version for "struct_module" found: kernel tainted.
Jun 25 09:03:17 localhost kernel: nvidia: module license 'NVIDIA' taints kernel.
dont want to paste the whole file but i found these lines in both files
anyone have any idea?
i tried running kdm at the prompt and that does start x and i can log into kde now, but startx still will not work
Try this: Make sure no X processes are running (gdm, kdm, xdm, X, Xfree86) using "ps -A | more". If some are running kill them "killall gdm" killall X" etc... Now run "dexconf --output=/tmp/foo ; pager /tmp/foo > /etc/X11/XF86Config-4 ; startx" Most likley X will start now however if it fails run "dpkg-reconfigure xserver-xfree86", and select the nvidia module, also when you configure the monitor use the 'simple' option. Try to startx again, if it still fails "dpkg-reconfigure xserver-xfree86" and select vesa as the graphics module. If it now works, recompile the nvidia driver and try using it again.
If you get a warning message on your console or in your syslog, saying that the "nvidia license taints kernel":
* Don't worry. Your kernel is fine. All this message means is that because your driver isn't open source, you won't get any support from the kernel maintainers if anything goes wrong with your kernel while the module is loaded.
One technique I use for problems like this is to kompare the log files, XFree86.0.log and syslog, for when you're kicked out (at boot) and when it works (when you type kdm or startx). IMHO, if startx works, then your XF86Config-4 is fine.
Do you notice any strange differences (such as errors, duh) when you kompare the logs?
I had this problem with my woody since I install the new kernel. I think you have to recompile your NVIDIA driver. Witch one do you use ? the (tm) or the open source driver ?
dont know if anyone is watching this thread anymore, but i reinstalled debian again with the 2.6.7 kernel and a new nvidia driver, not sure if the 6102 driver was out then but i do know i was using the 2.6.3 kernel then so hopefully this wont happen again, but i will be paying attention to what i install and when so if it happens again i can back track
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.