Linux - NewbieThis 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.
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.
I am running FC5 release 2.6.16-1.2090_FC5smp, and my graphics card is a Quadro FX 1000 (NV30GL).
I have *some* nvidia drivers installed, and my xorg.conf seems to reference these correctly.
Here is the problem:
When I am logged in as root, the nVidia drives are "found":
glxgears gives me a FPS of about 2000. Not great, but hey.
glxinfo indicates that the nVidia drivers are being used.
BUT, logged in as myself (mmaleck):
glxgears --> FPS ~500, because
glxinfo indicates that the default driver (MESA) is being used instead.
I have looked around, and I couldn't find any direct reference to this problem, and I've tried a few things. My lack of experience has me going in circles, so any tips on what could be causing this and where to start would be greatly appreciated.
Are you using XFree86 or X.org ? (look in /etc/X11/ and see if there is xorg.conf or XF86.conf) Take a look at the configuration file and see if the driver is listed there. There should be a section "Device" with an "Identifier" that says something about your card, and then the "Driver" part is the important part. Check to see if that's the correct value.
Also, are these the drives that came with your distro, or did you download and install these yourself?
has "nvidia" -- I have heard of use of the generic "nv" here instead for some distributions, but this totally borks my dual display and gives me ~250 FPS.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, a font server independent of the X server is
# used to render fonts.
ModulePath "/usr/lib/xorg/modules/extensions/nvidia"
ModulePath "/usr/lib/xorg/modules"
FontPath "unix/:7100"
EndSection
# 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
### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Dell 2001FP (Digital)"
DisplaySize 410 310
### Comment all HorizSync and VertSync values to use DDC:
HorizSync 31.0 - 80.0
VertRefresh 56.0 - 76.0
Option "dpms"
EndSection
Re: Are these the distro drivers -- sorry, forgot to reply about that. The answer is that I do not know -- mostly because I did not document my upgrade to FC5 (yikes) and I don't remember.
No, he means (I think), did you use the nVidia drivers that perhaps come with the Fedora install, or did you download the drivers yourself from nVidia and install it on your own.
Taking the chance that you got the nVidia drivers from nVidia, I am a bit confused--you say that the 'nv' driver 'borks' the dual display you use. But I only see settings for one display in the above file.
EDIT- Oops, OK I see now the 2 displays, it's a bit different than my xorg.conf file but I use Xinerama instead of Twinview.
PS - nothing wrong with 2000 FPS especially if it's at 24bit color.
I get about 1380 FPS using dual screens, 24bit color @ 1600x1200 & 1024x768. By reducing the color depth to 16, the FPS goes up by thousands
EDIT - and yes, I agree with one of the posters above implication that it seems you are having more than one .conf file being used, depending on who is logged in.
The right file is typically etc/X11/xorg.conf, as you stated.
Last edited by GrapefruiTgirl; 03-16-2007 at 02:10 PM.
has "nvidia" -- I have heard of use of the generic "nv" here instead for some distributions, but this totally borks my dual display and gives me ~250 FPS.
Right. "nv" is the open-source driver that comes with many distros, and "nvidia" is the proprietary driver that nvidia releases.
Anyway about the main problem here, not being able to use the drivers as a mortal user.
Do you have permissions to the file? Do:
Also, you could try booting into a command prompt (init 3) and then using "startx" (as a mortal user), then check out the X log file to see if anything went wrong there. My log file is kept in
/var/log/Xorg.0.log . Copy that into a different file, then try doing "startx" as root, and compare the two log files. Maybe that will reveal some useful info. Also check the line: (==) Using config file: "/etc/X11/xorg.conf" to make sure we're considering the correct config file. In the log file, (II) is information, (WW) are warnings, and (EE) are errors. (I'd begin by grepping the two files for (EE) )
If not enough info is in the logfiles, try this:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.