Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
02-04-2005, 07:54 PM
|
#1
|
Member
Registered: Sep 2004
Location: Oregon, USA
Distribution: Ubuntu/Debian
Posts: 82
Rep:
|
x.org server problems on nvidia geforce 4
theres a bunch of minor weird things going on with my x server.
I started out with the .sh driver installer from nvidia, and installed the nvidia kernel module without any problems, went and modified my x config file etc. however, I can't run with depth at 24, only at 16, and my resolution is running at 1280x1024 even though my config file never mentions that resolution at all and is set to use 1024x768 as my first choice, then 800x600.
my xorg.conf file is:
# Xorg configuration created by system-config-display
Section "ServerLayout"
Identifier "single head configuration"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
# RgbPath is the location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "unix/:7100"
EndSection
Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
Load "GLcore"
Load "dri"
EndSection
Section "InputDevice"
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds" "1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
# Option "XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:swapcaps"
# Or if you just want both to be control, use:
# Option "XkbOptions" "ctrl:nocaps"
#
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "yes"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "NEC CS500"
HorizSync 30.0 - 70.0
VertRefresh 50.0 - 90.0
Option "dpms"
EndSection
Section "Device"
Identifier "Videocard0"
Driver "nv"
VendorName "Videocard vendor"
BoardName "NVIDIA GeForce 4 (generic)"
EndSection
Section "Screen"
# SubSection "Display"
# Viewport 0 0
# Depth 16
# Modes "800x600" "640x480"
# EndSubSection
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
# SubSection "Display"
# Viewport 0 0
# Depth 24
# Modes "1024x768" "800x600" "640x480"
# EndSubSection
EndSection
Section "DRI"
Group 0
Mode 0666
EndSection
my monitor is kind of old and really dosn't run high resolutions well, and this is driving me crazy because everything is very fuzzy. also, 16 bit color isn't so great and aulthough the driver seems to work, openGL screensavers I've tried don't work, just black.
Thanks in advance to anyone who can figure this out
|
|
|
02-04-2005, 08:07 PM
|
#2
|
Member
Registered: Oct 2004
Posts: 215
Rep:
|
Call me crazy, but it looks like you did not modify your xorg.conf file properly. According to the nvidia README file, after installing the driver you should remove ( or comment out )
Load "dri"
and
Load "GLcore"
and you should also replace
Driver "nv"
with
Driver "nvidia"
|
|
|
02-04-2005, 08:14 PM
|
#3
|
LQ Newbie
Registered: Mar 2004
Distribution: Mandrake and Mepis
Posts: 9
Rep:
|
I think you are totally on the right track looking in that file and its good that you posted it in it's entirety.
Try this quick fix for the resolution problems:
In the part of the file labelled:
Change the line that says:
to read:
then let us know what changes.
- John
|
|
|
02-04-2005, 08:43 PM
|
#4
|
Member
Registered: Feb 2005
Distribution: Fedora Core 3 (2.6.10_1.741)
Posts: 72
Rep:
|
Quote:
Originally posted by bushidozen
Call me crazy, but it looks like you did not modify your xorg.conf file properly. According to the nvidia README file, after installing the driver you should remove ( or comment out )
|
Yes, I agree with you.
Read the NVIDIA README that came with the driver. Also check this link out if you have any more problems (you probably will):
http://www.nvnews.net/vbulletin/showthread.php?t=40622
|
|
|
02-04-2005, 08:44 PM
|
#5
|
Member
Registered: Sep 2004
Location: Oregon, USA
Distribution: Ubuntu/Debian
Posts: 82
Original Poster
Rep:
|
thats the problem, when I set it to 24, the server starts, and all I get is a black screen and my monitor shows no input (little orange instead of green light) so for some reason, it just won't do 24 bit color. as for the resolution being higher than what I set it to, no idea
|
|
|
02-04-2005, 09:09 PM
|
#6
|
Member
Registered: Feb 2005
Distribution: Fedora Core 3 (2.6.10_1.741)
Posts: 72
Rep:
|
Quote:
Originally posted by c--
thats the problem, when I set it to 24, the server starts, and all I get is a black screen and my monitor shows no input (little orange instead of green light) so for some reason, it just won't do 24 bit color. as for the resolution being higher than what I set it to, no idea
|
The nvidia driver isn't installed unless you change this:
Section "Device"
Identifier "Videocard0"
Driver "nv"
VendorName "Videocard vendor"
BoardName "NVIDIA GeForce 4 (generic)"
EndSection
To this:
Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "Videocard vendor"
BoardName "NVIDIA GeForce 4 (generic)"
EndSection
|
|
|
02-04-2005, 09:23 PM
|
#7
|
Member
Registered: Sep 2004
Location: Oregon, USA
Distribution: Ubuntu/Debian
Posts: 82
Original Poster
Rep:
|
ok, I did do that before my last post, sorry I didn't explain well.
now the xorg.conf file is this:
# Xorg configuration created by system-config-display
Section "ServerLayout"
Identifier "single head configuration"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
# RgbPath is the location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "unix/:7100"
EndSection
Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
# Load "GLcore"
# Load "dri"
EndSection
Section "InputDevice"
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds" "1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
# Option "XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:swapcaps"
# Or if you just want both to be control, use:
# Option "XkbOptions" "ctrl:nocaps"
#
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "yes"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "NEC CS500"
HorizSync 30.0 - 70.0
VertRefresh 50.0 - 90.0
Option "dpms"
EndSection
Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "Videocard vendor"
BoardName "NVIDIA GeForce 4 (generic)"
EndSection
Section "Screen"
# SubSection "Display"
# Viewport 0 0
# Depth 16
# Modes "800x600" "640x480"
# EndSubSection
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
# SubSection "Display"
# Viewport 0 0
# Depth 24
# Modes "1024x768" "800x600" "640x480"
# EndSubSection
EndSection
Section "DRI"
Group 0
Mode 0666
EndSection
and when I do set it to depth 24, it gives me the black screen.
and like I said, I still can't make it run at 1024x768, it runs much higher, 1280x1024 and looks very fuzzy and anoying on my screen.
|
|
|
02-04-2005, 10:29 PM
|
#8
|
LQ Newbie
Registered: Mar 2004
Distribution: Mandrake and Mepis
Posts: 9
Rep:
|
Keep Trying
Let's try this:
Remove the lines:
Code:
Load "GLcore"
Load "dri"
Then the NVidia driver should be fully active.
Next Step:
Replace the whole "Screen" section of that file with this:
Code:
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768" "800x600" "640x480" "320x240"
EndSubSection
EndSection
then post the resulting file and try it out.
|
|
|
02-05-2005, 12:34 AM
|
#9
|
Member
Registered: Sep 2004
Location: Oregon, USA
Distribution: Ubuntu/Debian
Posts: 82
Original Poster
Rep:
|
still no good
I tried that, the load dri and load GLcore lines were commented out so I just left them.
the resulting file is:
# Xorg configuration created by system-config-display
Section "ServerLayout"
Identifier "single head configuration"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
# RgbPath is the location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "unix/:7100"
EndSection
Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
# Load "GLcore"
# Load "dri"
EndSection
Section "InputDevice"
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds" "1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
# Option "XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:swapcaps"
# Or if you just want both to be control, use:
# Option "XkbOptions" "ctrl:nocaps"
#
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "yes"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "NEC CS500"
HorizSync 30.0 - 70.0
VertRefresh 50.0 - 90.0
Option "dpms"
EndSection
Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "Videocard vendor"
BoardName "NVIDIA GeForce 4 (generic)"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768" "800x600" "640x480" "320x240"
EndSubSection
EndSection
Section "DRI"
Group 0
Mode 0666
EndSection
and now for the incredibly weird part. after getting the blank screen, I tried setting the defultdepth to 16 again, and it didn't work. Then, I commented out the display subsection for depth 24, still didn't work. But then, if I have the depth 24 display subesction commented out, and the defaultdepth set to 24, it works fine, again at a much higer resolution than 1024x768
should I make it fail with the config file as you recomended and get the Xorg.0.log file from /var/log?
|
|
|
02-05-2005, 07:53 AM
|
#10
|
LQ Newbie
Registered: Mar 2004
Distribution: Mandrake and Mepis
Posts: 9
Rep:
|
Change resolution on the fly
Right now when I hold ctrl and alt at the same time and press "+" on the numpad my screen cycles through several resolutions then back to the original.
Try pressing ctrl-alt-+ (numpad +) and see what happens.
That will give us clues as to whether perhaps x.org is not allowing those resolutions and it may help you if it works. And then yes make it fail and then show us the Xorg.0.log file.
- John
|
|
|
02-05-2005, 11:32 AM
|
#11
|
Member
Registered: Sep 2004
Location: Oregon, USA
Distribution: Ubuntu/Debian
Posts: 82
Original Poster
Rep:
|
the ctrl-alt-+ and - on num pad works, and I can get it to 1024x768 and other lower resolutions, but then it starts making me "scroll" arround my desktop, even if I log out and back in to reload the window manager. So, it sort of works. When I run with the config file:
Code:
# Xorg configuration created by system-config-display
Section "ServerLayout"
Identifier "single head configuration"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
# RgbPath is the location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "unix/:7100"
EndSection
Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
# Load "GLcore"
# Load "dri"
EndSection
Section "InputDevice"
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds" "1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
# Option "XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:swapcaps"
# Or if you just want both to be control, use:
# Option "XkbOptions" "ctrl:nocaps"
#
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "yes"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "NEC CS500"
HorizSync 30.0 - 70.0
VertRefresh 50.0 - 90.0
Option "dpms"
EndSection
Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "Videocard vendor"
BoardName "NVIDIA GeForce 4 (generic)"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768" "800x600" "640x480" "320x240"
EndSubSection
EndSection
Section "DRI"
Group 0
Mode 0666
EndSection
heres the log from /var/log/Xorg.0.log after it gives me the blank screen
http://www.eugeneweb.com/~ian/xorglog.txt
|
|
|
02-05-2005, 04:01 PM
|
#12
|
LQ Newbie
Registered: Mar 2004
Distribution: Mandrake and Mepis
Posts: 9
Rep:
|
Three new ideas:
1. Before logging in (or starting your x server), try typing
in a command prompt.
2. There is good information in that x.org log file. Also post the other one that is created after the desktop shows up and works but has the wrong resolution.
It is the last line and only the last line of that previous x.org log file that bothers me. Otherwise it looks like everything is configured properly.
3. Try starting the x server from a root account (this of course not recommended for everyday use).
|
|
|
All times are GMT -5. The time now is 10:48 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|