Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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 note from your ubuntuforums post that to get your monitor to work with windows, you had to
Quote:
un-check "Hide resolutions that this monitor doesn't support" in display settings
I also note that your xorg.log says things like:
Code:
(WW) NVIDIA(0): Mode "1600x1200" is too large for UPV UP-M30W1 (DFP-0);
(WW) NVIDIA(0): discarding.
So it rather looks as though the monitor is reporting that it cannot run high resolutions when in fact, it can.
So, firstly, I'd get rid of the modelines (as o_fortuna recommended in the ubuntuforums), they are not helpful when all you need to supply is your HorizSync and VertRefresh, X should work out all it needs from them.
Secondly, we need to find a way to make X ignore what the monitor is saying it is capable of, because it would appear to be lying!
Please post your xorg.conf in its entirety when you have removed the modelines and set your HorizSync and VertRefresh correctly.
Edit:
I have done a bit of googling...
"EDID" is the thing that reports your monitor's capabilities to X.
The nvidia driver has an option not to use EDID (because your monitor seems to be lying about its capabilities)
Thanks for the great reply. I'm still pretty new to this, so bear with me. I've got a lot of hope now.
Ok, I've been taking a look through the page you linked to, and trying some things out. When I tried nvidia-xconfig --virtual=2560x1600 It gave me the same resolution, but it only displayed about 1/4th of the screen at a time. So, I could scroll all over.
So, I tried nvidia-config --query-gpu-info and here's what I got:
Code:
[Number of GPUs: 1
GPU #0:
Name : GeForce 7900 GT/GTO
PCI BusID : PCI:5:0:0
Number of Display Devices: 1
Display Device 0 (DFP-0):
EDID Name : UPV UP-M30W1
Minimum HorizSync : 30.000 kHz
Maximum HorizSync : 80.000 kHz
Minimum VertRefresh : 59 Hz
Maximum VertRefresh : 61 Hz
Maximum PixelClock : 268.500 MHz
Maximum Width : 2560 pixels
Maximum Height : 1600 pixels
Preferred Width : 1280 pixels
Preferred Height : 800 pixels
Preferred VertRefresh : 60 Hz
Physical Width : 800 mm
Physical Height : 450 mm
Looking at that, it's pretty obvious to me that my monitor can go 2560x1600 @ 60Hz, but the 'preferred' Width and Height seem to be what's giving me problems.
Please pardon my newbness, but I'm not sure how I can set my HorizSync and VertRefresh or if I'm even supposed to.
I'm pretty sure now that I'm just missing something obvious, but I really don't know what that is.
Also, I tried with --no-use-edid and that gave me 'half-screen, tripple-split.'
So... is this a matter of changing the preferred Height and Width in the EDID? Or...?
The following driver options are supported by the NVIDIA X driver.
They may be specified either in the Screen or Device sections of the X config file.
... [snip] ...
Option "UseEDID" "boolean"
By default, the NVIDIA X driver makes use of a display device's EDID, when available,
during construction of its mode pool. The EDID is used as a source for possible modes,
for valid frequency ranges, and for collecting data on the physical dimensions of the
display device for computing the DPI (see Appendix Y, Dots Per Inch). However, if you wish to
disable the driver's use of the EDID, you can set this option to False:
Option "UseEDID" "FALSE"
Note that, rather than globally disable all uses of the EDID, you can individually
disable each particular use of the EDID; e.g.,
Option "UseEDIDFreqs" "FALSE"
Option "UseEDIDDpi" "FALSE"
Option "ModeValidation" "NoEdidModes"
Default: True (use EDID).
We don't want it to use EDID too much (because something is picking up the "Preferred" bits and locking you into that, refusing higher resolutions).
So, I suggest you:
- Make a backup of any xorg.conf that works, (you can call it xorg.conf.bad.but_works, then you can always copy it back if you end up with a conf file that dumps you at a terminal only)
Now, in your xorg.conf:
- Set your HorizSync and VertRefresh like this: HorizSync 30-80
VertRefresh 59-61
because these are the values your monitor is reporting.
These lines are already in my xorg.conf file, like this, in my case:
If you do not have this section, add it, but yours may not be a "Generic Monitor", it may be something else. It doesn't really matter what you (or linux) calls it, so long as you are consistent with your references to it in your xorg.conf file.
- Get rid of all the modelines - they are not needed, because we have defined the sync rates, and as you'll see later, X will get your monitor's geometry from EDID, so X can work out the "modelines" itself. Mmmmmm Nice!
- In the Section Screen bit there's a DefaultDepth, this should be set at 24 for full colour.
- Then there are SubSection "Display" parts, relating to 1, 2, 4, .... 32 bits
We are only interested in the Depth 24 part because that is what we have set as our DefaultDepth above.
Give it a line like this: Modes "2560x1600" "1280x800" "1280x768" "1200x800" "1024x768" "800x600" "640x480"
Because the DefaultDepth's default resolution is the first in this list, this should be 2560x1600.
Now we want the NVIDIA driver to ignore the stuff it gets from EDID (because we have supplied the information it needs, and we don't want it listening to any Preferred stuff, that is messing things up). [It is interesting that win has a similar bug - I expect not enough people are playing with these nice monitors yet].
So find the bit that says Section "Device", there'll be stuff about your nvidia card identifier, driver (which should be nvidia) etc. Add this bit (you should copy & paste):
Code:
# We have already supplied the frequencies
Option "UseEDIDFreqs" "FALSE"
# We might as well let the monitor report its geometry (800mm x 450mm)
Option "UseEDIDDpi" "TRUE"
# We do NOT want any of this "preferred" stuff, as it then
# refuses to use higher resolutions so..
Option "ModeValidation" "NoEdidModes"
Save your new xorg.conf and then restart X (<CTRL><ALT><BACKSPACE> - but I expect you have discovered that by now )and see what happens.
If you have difficulties, PLEASE post your xorg.conf as I asked you previously (with the above modifications, and no modelines -they are generally a waste of space, but are only very sometimes useful) as it is giving me a headache trying to imagine what it looks like.
The errors from your xorg.log would also be useful.
And while you are at it, please update your LQ profile so it reflects the Distro you are using. Your location is also quite useful to know (Well there are timezones to consider).
Thanks for the patience... and the color-coded guide
Here's the first half of my Xorg.0.log:
Code:
X Window System Version 7.1.1
Release Date: 12 May 2006
X Protocol Version 11, Revision 0, Release 7.1.1
Build Operating System: Linux 2.6.15.7 i686
Current Operating System: Linux andrew 2.6.17-12-generic #2 SMP Mon Jul 16 19:37:5$
Build Date: 07 July 2006
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
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/Xorg.0.log", Time: Wed Aug 1 18:29:00 2007
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "Default Layout"
(**) |-->Screen "Default Screen" (0)
(**) | |-->Monitor "UP-M30W1"
(**) | |-->Device "NVIDIA Corporation NVIDIA Default Card"
(**) |-->Input Device "Generic Keyboard"
(**) |-->Input Device "Configured Mouse"
(**) |-->Input Device "stylus"
(**) |-->Input Device "cursor"
(**) |-->Input Device "eraser"
(WW) The directory "/usr/share/X11/fonts/misc" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/share/X11/fonts/cyrillic" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/share/X11/fonts/100dpi/" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/share/X11/fonts/75dpi/" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/share/X11/fonts/Type1" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/share/X11/fonts/100dpi" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/share/X11/fonts/75dpi" does not exist.
Entry deleted from font path.
(WW) `fonts.dir' not found (or not valid) in "/var/lib/defoma/x-ttcidfont-conf.d/d$
Entry deleted from font path.
(Run 'mkfontdir' on "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType").
(**) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/misc/,
/usr/share/fonts/X11/TTF/,
/usr/share/fonts/X11/OTF,
/usr/share/fonts/X11/Type1/,
/usr/share/fonts/X11/CID/,
/usr/share/fonts/X11/100dpi/,
/usr/share/fonts/X11/75dpi/
(==) RgbPath set to "/usr/share/X11/rgb"
(==) ModulePath set to "/usr/lib/xorg/modules"
(**) Extension "Composite" is enabled
(II) Open ACPI successful (/var/run/acpid.socket)
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.3
X.Org Video Driver: 1.0
X.Org XInput driver : 0.6
X.Org Server Extension : 0.3
X.Org Font Renderer : 0.5
(II) Loader running on linux
(II) LoadModule: "bitmap"
(II) Loading /usr/lib/xorg/modules/fonts/libbitmap.so
(II) Module bitmap: vendor="X.Org Foundation"
compiled for 7.1.1, module version = 1.0.0
Module class: X.Org Font Renderer
ABI class: X.Org Font Renderer, version 0.5
(II) Loading font Bitmap
(II) LoadModule: "pcidata"
(II) Loading /usr/lib/xorg/modules/libpcidata.so
(II) Module pcidata: vendor="X.Org Foundation"
compiled for 7.1.1, module version = 1.0.0
ABI class: X.Org Video Driver, version 1.0
(++) using VT number 7
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 10de,005e card 0000,0000 rev a3 class 05,80,00 hdr 00
(II) PCI: 00:01:0: chip 10de,0050 card 10de,cb84 rev a3 class 06,01,00 hdr 80
(II) PCI: 00:01:1: chip 10de,0052 card 10de,cb84 rev a2 class 0c,05,00 hdr 80
(II) PCI: 00:02:0: chip 10de,005a card 10de,cb84 rev a2 class 0c,03,10 hdr 80
(II) PCI: 00:02:1: chip 10de,005b card 10de,cb84 rev a3 class 0c,03,20 hdr 80
(II) PCI: 00:04:0: chip 10de,0059 card 10de,cb84 rev a2 class 04,01,00 hdr 00
(II) PCI: 00:06:0: chip 10de,0053 card 10de,cb84 rev a2 class 01,01,8a hdr 00
(II) PCI: 00:07:0: chip 10de,0054 card 10de,cb84 rev a3 class 01,01,85 hdr 00
(II) PCI: 00:08:0: chip 10de,0055 card 10de,cb84 rev a3 class 01,01,85 hdr 00
(II) PCI: 00:09:0: chip 10de,005c card 0000,0000 rev a2 class 06,04,01 hdr 01
(II) PCI: 00:0a:0: chip 10de,0057 card 10de,cb84 rev a3 class 06,80,00 hdr 00
(II) PCI: 00:0b:0: chip 10de,005d card 0000,0000 rev a3 class 06,04,00 hdr 01
(II) PCI: 00:0c:0: chip 10de,005d card 0000,0000 rev a3 class 06,04,00 hdr 01
(II) PCI: 00:0d:0: chip 10de,005d card 0000,0000 rev a3 class 06,04,00 hdr 01
(II) PCI: 00:0e:0: chip 10de,005d card 0000,0000 rev a3 class 06,04,00 hdr 01
(II) PCI: 00:18:0: chip 1022,1100 card 0000,0000 rev 00 class 06,00,00 hdr 80
(II) PCI: 00:18:1: chip 1022,1101 card 0000,0000 rev 00 class 06,00,00 hdr 80
(II) PCI: 00:18:2: chip 1022,1102 card 0000,0000 rev 00 class 06,00,00 hdr 80
(II) PCI: 00:18:3: chip 1022,1103 card 0000,0000 rev 00 class 06,00,00 hdr 80
(II) PCI: 01:09:0: chip 1106,3044 card 15bd,1006 rev 80 class 0c,00,10 hdr 00
(II) PCI: 01:0a:0: chip 11ab,4320 card 15bd,100a rev 13 class 02,00,00 hdr 00
(II) PCI: 05:00:0: chip 10de,0291 card 1682,2211 rev a1 class 03,00,00 hdr 00
(II) PCI: End of PCI scan
(II) PCI-to-ISA bridge:
(II) Bus -1: bridge is at (0:1:0), (0,-1,-1), BCTRL: 0x0008 (VGA_EN is set)
(II) Subtractive PCI-to-PCI bridge:
(II) Bus 1: bridge is at (0:9:0), (0,1,1), BCTRL: 0x0204 (VGA_EN is cleared)
(II) Bus 1 I/O range:
[0] -1 0 0x0000a000 - 0x0000a0ff (0x100) IX[B]
[1] -1 0 0x0000a400 - 0x0000a4ff (0x100) IX[B]
[2] -1 0 0x0000a800 - 0x0000a8ff (0x100) IX[B]
[3] -1 0 0x0000ac00 - 0x0000acff (0x100) IX[B]
(II) Bus 1 non-prefetchable memory range:
[0] -1 0 0xfde00000 - 0xfdefffff (0x100000) MX[B]
(II) Bus 1 prefetchable memory range:
[0] -1 0 0xfdf00000 - 0xfdffffff (0x100000) MX[B]
(II) PCI-to-PCI bridge:
(II) Bus 2: bridge is at (0:11:0), (0,2,2), BCTRL: 0x0004 (VGA_EN is cleared)
(II) Bus 2 I/O range:
[0] -1 0 0x00009000 - 0x000090ff (0x100) IX[B]
[1] -1 0 0x00009400 - 0x000094ff (0x100) IX[B]
[2] -1 0 0x00009800 - 0x000098ff (0x100) IX[B]
[3] -1 0 0x00009c00 - 0x00009cff (0x100) IX[B]
I commented out Option "ModeValidation" "NoEdidModes" because, I couldn't see anything but a black screen after reboot with it in.
The log shows that X is still thinking that your monitor cannot do 2560x1600, and this is because you commented out the line Option "ModeValidation" "NoEdidModes". It would be interesting to see what the X error log said when you got the black screen. No need to post it in full next time, just the error parts. [The fontpath errors do not seem to be imporant - it eventually sorts itself out!]
.. and I have a suspicion that this may be complicating things. What do you need this extension for? We basically have a screen-resolution problem, let's just get that sorted out and then play with extra extensions.
Some things to try:
Re-enable "ModeValidation" "NoEdidModes". I think this is an essential step for you.
What does the log say when you get the black screen? (You should be able to get at it from a terminal on <CTL><ALT><F2>, even if you have a black screen on your X terminal (<CTL><ALT><F7>))
Comment out the Section "Extensions" part and try again.
Any difference in the log?
Maybe try NVIDIAs latest driver: NVIDIA-Linux-x86-100.14.11-pkg1.run this solved a load of problems (mainly with Googleearth rendering) for me.
Lastly, there's no need to reboot between all these changes. It gets tedious. You'll save yourself quite a lot of time if you have 2 terminal logins on <CTL><ALT><F2> and <CTL><ALT><F3>
Leave yourself logged in as root ( sudo -i ) on F3, and yourself on F2. As root, stop X with either /etc/init.d/kdm stop or /etc/init.d/gdm stop, depending on KDE / gnome. Make your edits in the root terminal, then switch back to yourself, and try a startx, or in the root terminal /etc/init.d/kdm start. Either of these will switch you to the F7 X terminal if X starts OK.
Thanks for persevering - I am sure this problem will be fixable eventually. .. ...
That's how my terminal shows that there's more text in the line. My monitor may be large, but with the resolution at 1280x800, I don't have nearly as much space to work with as I should.
Quote:
Otherwise your xorg.conf looks OK to me, except that I notice that you have this:
.. and I have a suspicion that this may be complicating things. What do you need this extension for?
I don't know what this is for. I have commented it out.
Quote:
Some things to try:
Re-enable "ModeValidation" "NoEdidModes". I think this is an essential step for you.
What does the log say when you get the black screen?
Ok, tried that. Here's the Xorg.0.log:
Code:
(II) Setting vga for screen 0.
(**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
(==) NVIDIA(0): RGB weight 888
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(**) NVIDIA(0): Option "NoLogo" "True"
(**) NVIDIA(0): Option "UseEdidFreqs" "FALSE"
(**) NVIDIA(0): Option "UseEdidDpi" "TRUE"
(**) NVIDIA(0): Option "ModeValidation" "NoEdidModes"
(**) NVIDIA(0): Enabling RENDER acceleration
(**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID has been
(**) NVIDIA(0): disabled on all display devices.
(II) NVIDIA(0): Support for GLX with the Damage and Composite X extensions is
(II) NVIDIA(0): enabled.
(II) NVIDIA(0): NVIDIA GPU GeForce 7900 GT/GTO at PCI:5:0:0 (GPU-0)
(--) NVIDIA(0): Memory: 262144 kBytes
(--) NVIDIA(0): VideoBIOS: 05.71.22.12.83
(II) NVIDIA(0): Detected PCI Express Link width: 16X
(--) NVIDIA(0): Interlaced video modes are supported on this GPU
(--) NVIDIA(0): Connected display device(s) on GeForce 7900 GT/GTO at
(--) NVIDIA(0): PCI:5:0:0:
(--) NVIDIA(0): UPV UP-M30W1 (DFP-0)
(--) NVIDIA(0): UPV UP-M30W1 (DFP-0): 330.0 MHz maximum pixel clock
(--) NVIDIA(0): UPV UP-M30W1 (DFP-0): Internal Dual Link TMDS
(II) NVIDIA(0): Mode Validation Overrides for UPV UP-M30W1 (DFP-0):
(II) NVIDIA(0): NoEdidModes
(II) NVIDIA(0): Assigned Display Device: DFP-0
(WW) NVIDIA(0): No valid modes for "2560x1600"; removing.
(WW) NVIDIA(0): No valid modes for "1280x800"; removing.
(WW) NVIDIA(0): No valid modes for "1280x768"; removing.
(WW) NVIDIA(0): No valid modes for "1200x800"; removing.
(WW) NVIDIA(0): No valid modes for "1024x768"; removing.(WW) NVIDIA(0): No valid modes for "800x600"; removing.
(WW) NVIDIA(0):
(WW) NVIDIA(0): Unable to validate any modes; falling back to the default mode
(WW) NVIDIA(0): "nvidia-auto-select".
(WW) NVIDIA(0):
(II) NVIDIA(0): Validated modes:
(II) NVIDIA(0): "nvidia-auto-select"
(II) NVIDIA(0): Virtual screen size determined to be 640 x 480
(--) NVIDIA(0): DPI set to (20, 27); computed from "UseEdidDpi" X config
(--) NVIDIA(0): option
(--) Depth 24 pixmap format is 32 bpp
(II) do I need RAC? No, I don't.
Quote:
Comment out the Section "Extensions" part and try again.
Any difference in the log?
Maybe try NVIDIAs latest driver: NVIDIA-Linux-x86-100.14.11-pkg1.run
Thank you so much for all your help so far That's it for tonight, I'll have more time to try playing around with the "Extensions" section, and getting the latest NVIDIA driver tomorrow.
I see it is still saying "No valid modes for..." what are perfectly valid modes!
Quote:
That's it for tonight, I'll have more time to try playing around with the "Extensions" section, and getting the latest NVIDIA driver tomorrow.
I understand, I'm tired too - work, not linux!
Let us know how you get on with the newer driver. The only other thing I can offer at this stage would be to try disabling EDID completely with Option "UseEDID" "FALSE" [see my post above for where this option goes], and commenting out all other references to EDID, and then explicitly defining your sync rates (already done) and DPI. DPI goes like this, here:
Well... I've tried playing around with my xorg.conf file... I noticed that when I commented out the Option part of "Extentions" nothing happened, but when I commented out section "Extentions" I got a black screen.
I've installed the Nvidia driver - there's no more 'Section "Extentions"' so, I guess that part has worked itself out, at least.
Anyway, I've tried with the useEDID "False" - and got black screen. Same with "ModeValidation" "NoEdidModes"
I've tried a couple of things. I really don't know what else to do.
I also noticed that there's an option to upgrade to 7.04 in the upgrade manager. I don't know if that would help.
When you tried with Option "UseEDID" "FALSE" - and got a black screen, what was the error in the Xlog?
The only reliable way of tracking down what is wrong is to:
1] Make a single change to xorg.conf
2] Restart X
3] Look at the error log
4] Repeat until it is working.
Did you install the NVIDIA-Linux-x86-100.14.11-pkg1.run driver?
I don't know if upgrading to 7.04 will help or not, but as a general rule, things seem to go more smoothly when you install a new version from scratch, rather than "upgrade". If you have spare disk space you could install 7.04 on a separate partition and try it, but I have learned more from wrestling with a problem until it is solved.
If you get to [3] above and are not sure what the error is referring to, please post details (and all of xorg.conf) and we'll try to help.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.