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 just installed a new Slackware on my desk with KDE, by default it just has a 1024*768 resolution, so I installed the packages nvidia-kernel and nvidia-drivers with sbopkg. I rebooted and then I just typed nvidia-xconfig for make a new xorg.conf, after that, I saw there is not the resolution that I want (1600*900), so I added it in the configuration file (xorg.conf)
bash-4.3# xrandr
Screen 0: minimum 8 x 8, current 1024 x 768, maximum 16384 x 16384
DVI-I-0 disconnected (normal left inverted right x axis y axis)
VGA-0 connected primary 1024x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
1024x768 60.00*+
800x600 72.19 60.32 56.25
640x480 59.94
512x384 60.00
400x300 72.19
320x240 60.05
DVI-I-1 disconnected (normal left inverted right x axis y axis)
HDMI-0 disconnected (normal left inverted right x axis y axis)
bash-4.3#
What can I do? Sorry for my english! I will be here is you need more information.
Last edited by disableNoise; 02-06-2017 at 10:21 AM.
It should be reporting an EDID value (which I don't see)..
The other thing I see is that only the VGA connection is being used.
Now if the monitor is not presenting the EDID value (or for some reason it is incorrect) then it is possible that what is happening is that default values for the clock rates are being used (and may be incorrect).
I "worked around" this problem once by specifying the clocks for a monitor in the "section Monitor" using:
I once had a laptop with an nVidia GPU that had an incorrect value in the EDID.
I captured the EDID and used a hex editor to change the incorrect value. I then used the "CustomEDID" option provided by the nVidia driver to load the modified EDID. For further details see here
It should be reporting an EDID value (which I don't see)..
The other thing I see is that only the VGA connection is being used.
Now if the monitor is not presenting the EDID value (or for some reason it is incorrect) then it is possible that what is happening is that default values for the clock rates are being used (and may be incorrect).
I "worked around" this problem once by specifying the clocks for a monitor in the "section Monitor" using:
#cat caso1 | grep -i
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 387.406] (**) |-->Screen "Screen0" (0)
[ 387.406] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 387.687] (**) NVIDIA(0): device CRT-1 (Using EDID frequencies has been enabled on
[ 387.699] (II) NVIDIA(0): Virtual screen size determined to be 1024 x 768
[ 388.067] (--) evdev: Logitech USB Optical Mouse: Found scroll wheel(s)
[ 388.067] (II) evdev: Logitech USB Optical Mouse: Adding scrollwheel support
[ 388.067] (**) evdev: Logitech USB Optical Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWhe$
[ 388.068] (**) Logitech USB Optical Mouse: (accel) keeping acceleration scheme 1
[ 388.069] (II) This device may have been added with another device file.
[ 388.071] (--) evdev: USB Keyboard: Found scroll wheel(s)
[ 388.072] (II) evdev: USB Keyboard: Adding scrollwheel support
[ 388.072] (**) evdev: USB Keyboard: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[ 388.073] (**) USB Keyboard: (accel) keeping acceleration scheme 1
[ 388.074] (II) This device may have been added with another device file.
[ 388.074] (II) This device may have been added with another device file.
[ 388.074] (II) This device may have been added with another device file.
[ 388.074] (II) This device may have been added with another device file.
[ 388.075] (II) This device may have been added with another device file.
[ 388.075] (II) This device may have been added with another device file.
[ 388.075] (II) This device may have been added with another device file.
[ 388.075] (II) This device may have been added with another device file.
[ 388.075] (II) This device may have been added with another device file.
# cat caso1 | grep -i WW
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 387.406] (WW) The directory "/usr/share/fonts/local" does not exist.
[ 387.406] (WW) The directory "/usr/share/fonts/CID" does not exist.
[ 387.406] (WW) The directory "/usr/share/fonts/local" does not exist.
[ 387.406] (WW) The directory "/usr/share/fonts/CID" does not exist.
[ 387.406] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[ 387.406] (WW) Disabling Mouse0
[ 387.406] (WW) Disabling Keyboard0
[ 387.697] (WW) NVIDIA(0): No valid modes for "CRT-1:1600x900"; removing.
[ 387.733] (WW) NVIDIA(0): CRT-1 does not have an EDID, or its EDID does not contain a
[ 387.733] (WW) NVIDIA(0): maximum image size; cannot compute DPI from CRT-1's EDID.
[ 388.072] (WW) evdev: USB Keyboard: ignoring absolute axes.
With this configuration I could set a higher resolution, but isn't the correct proportion.
Quote:
Originally Posted by allend
I once had a laptop with an nVidia GPU that had an incorrect value in the EDID.
I captured the EDID and used a hex editor to change the incorrect value. I then used the "CustomEDID" option provided by the nVidia driver to load the modified EDID. For further details see here
Thanks for your reply! I tried to capture the EDID value with nvidia-settings, but the "acquire EDID" button appears like unavailable. (See the link)
Because of that, I installed the read-edid package from SBO. Here are the results:
Code:
# get-edid | parse-edid
This is read-edid version 3.0.2. Prepare for some fun.
Attempting to use i2c interface
No EDID on bus 0
No EDID on bus 1
No EDID on bus 2
No EDID on bus 3
Looks like no busses have an EDID. Sorry!
Attempting to use the classical VBE interface
Performing real mode VBE call
Interrupt 0x10 ax=0x4f00 bx=0x0 cx=0x0
Function supported
Call successful
VBE version 0
VBE string at 0x0 "Partial Read... Try again
Last edited by disableNoise; 02-07-2017 at 07:50 PM.
Try using 150 for the HorizSync. You can go higher, I just don't know what NVIDIA actually uses. For LCD monitors it won't hurt anything.
Thanks for your reply! I tried with that HorizSync and I still can't set the correct resolution.
Code:
bash-4.3# xrandr
Screen 0: minimum 8 x 8, current 1280 x 960, maximum 16384 x 16384
DVI-I-0 disconnected (normal left inverted right x axis y axis)
VGA-0 connected primary 1280x960+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
1024x768 70.07 + 60.00
2048x1536 60.00
1920x1440 60.00
1856x1392 60.01
1792x1344 60.01
1600x1200 70.00 65.00 60.00
1400x1050 59.98
1280x1024 60.02
1280x960 60.00*
800x600 72.19 60.32 56.25
700x525 59.98
640x480 59.94
512x384 70.07 60.00
400x300 72.19
320x240 60.05
DVI-I-1 disconnected (normal left inverted right x axis y axis)
HDMI-0 disconnected (normal left inverted right x axis y axis)
[ 1872.809] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
[ 1872.809] (**) NVIDIA(0): device CRT-1 (Using EDID frequencies has been enabled on
[ 1872.809] (**) NVIDIA(0): all display devices.)
[ 1872.811] (WW) NVIDIA(0): No valid modes for "CRT-1:1600x900"; removing.
[ 1872.813] (II) NVIDIA(0): Validated MetaModes:
[ 1872.813] (II) NVIDIA(0): "CRT-1:1024x768"
[ 1872.813] (II) NVIDIA(0): "CRT-1:800x600"
[ 1872.813] (II) NVIDIA(0): "CRT-1:640x480"
[ 1872.813] (II) NVIDIA(0): Virtual screen size determined to be 1024 x 768
[ 1872.820] (WW) NVIDIA(0): CRT-1 does not have an EDID, or its EDID does not contain a
[ 1872.820] (WW) NVIDIA(0): maximum image size; cannot compute DPI from CRT-1's EDID.
[ 1872.820] (==) NVIDIA(0): DPI set to (75, 75); computed from built-in default
What are the details of the monitor (manufacturer and model)?
Are you sure that it can operate with your preferred resolution?
If so, then I agree with jpollard that a custom ModeLine entry in the Monitor section of your xorg.conf is worth trying. In addition to the on-line tool, you can use 'cvt' to generate modelines.
You may also want to consider
Quote:
Option "UseEdidFreqs" "boolean"
This option controls whether the NVIDIA X driver will use the HorizSync and VertRefresh ranges given in a display device's EDID, if any. When UseEdidFreqs is set to True, EDID-provided range information will override the HorizSync and VertRefresh ranges specified in the Monitor section. If a display device does not provide an EDID, or the EDID does not specify an hsync or vrefresh range, then the X server will default to the HorizSync and VertRefresh ranges specified in the Monitor section of your X config file. These frequency ranges are used when validating modes for your display device.
Default: True (EDID frequencies will be used)
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.,
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.