PDA

View Full Version : [ubuntu] NVIDIA X Server Settings: Refresh rate information not editable



calande
February 18th, 2012, 10:45 AM
Hello,

Using Oneiric here with an NVIDIA graphics board. I'd like to change refresh rate to 75Hz but when I open NVIDIA X Server Settings, under the refresh rate section, it's displayed "60Hz", but there's no option to change it...Also my /etc/X11/xorg.conf file is almost empty for some reason:

Section "Device"
Identifier "Default Device"
Option "NoLogo" "True"
EndSection
How could I change my refresh rate?
Thanks,

calande
February 18th, 2012, 02:28 PM
Any idea? Thanks,

calande
February 20th, 2012, 09:45 PM
There's gotta be a way to unlock it...
:-k

MAFoElffen
February 21st, 2012, 12:22 AM
Hello,

Using Oneiric here with an NVIDIA graphics board. I'd like to change refresh rate to 75Hz but when I open NVIDIA X Server Settings, under the refresh rate section, it's displayed "60Hz", but there's no option to change it...Also my /etc/X11/xorg.conf file is almost empty for some reason:

Section "Device"
Identifier "Default Device"
Option "NoLogo" "True"
EndSection
How could I change my refresh rate?
Thanks,
The reason see no data and cannot change anything (not just your refresh rate) in the "NVIdia X Server Settings" Applet is answered in your Xorg.conf file... You are not using any nvidia driver (no driver line line).

Do... Go to System Settings > Additional Drivers (instructions for 11.04 & newer) and look at which driver is installed... If there is none, select one. If there is one installed, exit and read on...

Open a terminal session and


sudo nvidia-xconfig

Note- if the was not an nvidia driver installed and you installed it above, this should have been created already.

Open the file manager and open /etc/X11/Xorg.conf. It should now look similar to this:


# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 290.10 (buildmeister@swio-display-x86-rhel47-07.nvidia.com) Wed Nov 16 18:47:40 PST 2011


Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Samsung SyncMaster"
HorizSync 30.0 - 81.0
VertRefresh 56.0 - 60.0
Option "DPMS"
EndSection

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 9800 GTX/9800 GTX+"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "NoLogo" "True"
Option "TwinView" "0"
Option "TwinViewXineramaInfoOrder" "DFP-0"
Option "metamodes" "nvidia-auto-select +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection

Then open the Settings Applet again and see if you get different results.

calande
February 22nd, 2012, 08:37 PM
Thanks, I created xorg.conf file. Here's my "monitor" section:

Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 28.0 - 80.0
VertRefresh 57.0 - 75.0
Option "DPMS"
EndSection
I restarted X but the "refresh" option is still grayed out as you can see on the attached screen shot. Any other idea?
Thanks,

MAFoElffen
February 23rd, 2012, 06:27 AM
Thanks, I created xorg.conf file. Here's my "monitor" section:

Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 28.0 - 80.0
VertRefresh 57.0 - 75.0
Option "DPMS"
EndSectionI restarted X but the "refresh" option is still grayed out as you can see on the attached screen shot. Any other idea?
Thanks,
Please post your /etc/Xorg.conf and /var/log/Xorg.0.log files.

calande
February 23rd, 2012, 06:33 PM
Sure, thanks. I attached the files.

MAFoElffen
February 23rd, 2012, 08:59 PM
Okay. I see a few things here. First. look at this:


Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 28.0 - 80.0
VertRefresh 57.0 - 75.0
Option "DPMS"
EndSection
Then, this:


[ 14.571] (--) NVIDIA(0): Connected display device(s) on GeForce FX 5200 at PCI:1:0:0:
[ 14.571] (--) NVIDIA(0): Sony SDM-S93 (CRT-0)
[ 14.571] (--) NVIDIA(0): Sony SDM-S93 (CRT-0): 350.0 MHz maximum pixel clock
[ 14.571] (WW) NVIDIA(0): The EDID for Sony SDM-S93 (CRT-0) contradicts itself: mode
[ 14.571] (WW) NVIDIA(0): "1280x1024" is specified in the EDID; however, the EDID's
[ 14.571] (WW) NVIDIA(0): valid HorizSync range (28.000-65.000 kHz) would exclude
[ 14.571] (WW) NVIDIA(0): this mode's HorizSync (80.0 kHz); ignoring HorizSync check
[ 14.571] (WW) NVIDIA(0): for mode "1280x1024".
[ 14.572] (II) NVIDIA(0): Assigned Display Device: CRT-0
The driver is trying to do it's job as it see's it. By the information available to it, it's trying not putting the monitor into a mode that would damage it... But because of that misinformation, it is in reality wrong.

Sony lists the horizontal refresh as 28-80kHz, 48-75kHz. That could be tweaked in the Xorg.conf in the monitor section. Like this:


Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 28.0 - 80.0
VertRefresh 48.0 - 75.0
Option "DPMS"
EndSection
Next, if you want to use 1280x1024@75kHz, the data is not there to make an informed decision on how to do that. Since it is not, besides getting another monitor, then you're going to have to hardcode the info so that it is informed.

In the manual for that monitor at Sony, the only mode that it offhand lists is 1280x1024@60kHz. Here is where you do "your" homework, to enable me to help you. Please post "ALL" the internal modes with there sync's (example: 1280x1024@75kHz) for your Monitor. Given those, I will compute modelines for you and write a custom Xorg.conf file for you. If we tell the driver to ignore EDID on a monitor, then we have to provide that info else, such as in the Xorg.conf file.

calande
February 23rd, 2012, 11:43 PM
Thanks. I edited my xorg.conf file. Could you give me more info so that I can post you "ALL" the internal modes (with there sync's) for my monitor? Maybe a command that I can run? Thanks.

efflandt
February 24th, 2012, 01:12 AM
It is possible that your display cannot be set higher than 60 Hz @ 1280x1024. Why do you want to do that anyway. You would not notice any difference because LCD displays do not flicker like fast CRT phosphors might at lower refresh rate and your eyes could not really see anything faster than 60 Hz anyway. Higher refresh rate than 60 Hz may only be available at lower resolutions like 640x480 (maybe 75 Hz) or 800x600 (maybe 72 Hz).

Unfortunately the Sony manual give no specific information about what PC video modes that monitor supports, other than frequency ranges and saying:


The vertical frequency turns to 60 Hz.
Since flickers are unobtrusive on the monitor, you can use it as it is. You
do not need to set the vertical frequency to any particular high value.BTW my xorg.conf is exactly like your simple one was originally for nvidia driver DVI to HDMI 1080p HDTV (which can only do faster than 60 Hz at lower resolutions).

MAFoElffen
February 24th, 2012, 03:33 AM
Thanks. I edited my xorg.conf file. Could you give me more info so that I can post you "ALL" the internal modes (with there sync's) for my monitor? Maybe a command that I can run? Thanks.
Thank you efflandt... exactly.

@calande--
How do you know that your monitor does 1280x1024@80? Are you dual booting Windows and can do it fine there? If so, then look at all the resolutions available in Windows.

If not, and if you can't find documentation somewhere that has it's modes or a review or add somewhere...

Next would be to install hwinfo


sudo apt-get install hwinfo

Once installed, then post the results of


sudo hwinfo --monitor
sudo hwinfo --framebuffer
xrandr -q
If none of those return data, then go into NVidia XServer Settings applet > Monitor > Acquire EDID > EDID file format as Text... And post it here. From that I might be able to parse it and get the modes. That one would be the last ditch effort.

calande
February 24th, 2012, 08:49 PM
Thank you. Yes, I have a dual boot, and in Windows, I use 12801024@75Hz with the NVIDIA driver. Here is more info:


$ sudo hwinfo --monitor
> hal.1: read hal dataprocess 21861: arguments to dbus_move_error() were incorrect, assertion "(dest) == NULL || !dbus_error_is_set ((dest))" failed in file ../../dbus/dbus-errors.c line 280.
This is normally a bug in some application using the D-Bus library.
libhal.c 3483 : Error unsubscribing to signals, error=The name org.freedesktop.Hal was not provided by any .service files
36: None 00.0: 10000 Monitor
[Created at monitor.95]
Unique ID: rdCR.Ydp+kNi5tY7
Hardware Class: monitor
Model: "SONY SDM-S93"
Vendor: SNY "SONY"
Device: eisa 0x1390 "SDM-S93"
Serial ID: "3876174"
Resolution: 720x400@70Hz
Resolution: 640x480@60Hz
Resolution: 640x480@72Hz
Resolution: 640x480@75Hz
Resolution: 800x600@60Hz
Resolution: 800x600@72Hz
Resolution: 800x600@75Hz
Resolution: 1024x768@60Hz
Resolution: 1024x768@70Hz
Resolution: 1024x768@75Hz
Resolution: 1280x1024@75Hz
Resolution: 1280x1024@60Hz
Resolution: 1280x960@60Hz
Size: 359x287 mm
Detailed Timings #0:
Resolution: 1280x1024
Horizontal: 1280 1328 1440 1688 (+48 +160 +408) +hsync
Vertical: 1024 1025 1028 1066 (+1 +4 +42) +vsync
Frequencies: 108.00 MHz, 63.98 kHz, 60.02 Hz
Driver Info #0:
Max. Resolution: 1280x1024
Vert. Sync Range: 57-75 Hz
Hor. Sync Range: 28-65 kHz
Bandwidth: 108 MHz
Config Status: cfg=new, avail=yes, need=no, active=unknown



$ sudo hwinfo --framebuffer
> hal.1: read hal dataprocess 21869: arguments to dbus_move_error() were incorrect, assertion "(dest) == NULL || !dbus_error_is_set ((dest))" failed in file ../../dbus/dbus-errors.c line 280.
This is normally a bug in some application using the D-Bus library.
libhal.c 3483 : Error unsubscribing to signals, error=The name org.freedesktop.Hal was not provided by any .service files
02: None 00.0: 11001 VESA Framebuffer
[Created at bios.464]
Unique ID: rdCR.tXWhgTee+eE
Hardware Class: framebuffer
Model: "NVIDIA NV34 Board - p241n-0 "
Vendor: "NVIDIA Corporation"
Device: "NV34 Board - p241n-0 "
SubVendor: "NVIDIA"
SubDevice:
Revision: "Chip Rev"
Memory Size: 128 MB
Memory Range: 0xe8000000-0xefffffff (rw)
Mode 0x0300: 640x400 (+640), 8 bits
Mode 0x0301: 640x480 (+640), 8 bits
Mode 0x0303: 800x600 (+800), 8 bits
Mode 0x0305: 1024x768 (+1024), 8 bits
Mode 0x0307: 1280x1024 (+1280), 8 bits
Mode 0x030e: 320x200 (+640), 16 bits
Mode 0x030f: 320x200 (+1280), 24 bits
Mode 0x0311: 640x480 (+1280), 16 bits
Mode 0x0312: 640x480 (+2560), 24 bits
Mode 0x0314: 800x600 (+1600), 16 bits
Mode 0x0315: 800x600 (+3200), 24 bits
Mode 0x0317: 1024x768 (+2048), 16 bits
Mode 0x0318: 1024x768 (+4096), 24 bits
Mode 0x031a: 1280x1024 (+2560), 16 bits
Mode 0x031b: 1280x1024 (+5120), 24 bits
Mode 0x0330: 320x200 (+320), 8 bits
Mode 0x0331: 320x400 (+320), 8 bits
Mode 0x0332: 320x400 (+640), 16 bits
Mode 0x0333: 320x400 (+1280), 24 bits
Mode 0x0334: 320x240 (+320), 8 bits
Mode 0x0335: 320x240 (+640), 16 bits
Mode 0x0336: 320x240 (+1280), 24 bits
Mode 0x033d: 640x400 (+1280), 16 bits
Mode 0x033e: 640x400 (+2560), 24 bits
Mode 0x0345: 1600x1200 (+1600), 8 bits
Mode 0x0346: 1600x1200 (+3200), 16 bits
Mode 0x0347: 1400x1050 (+1400), 8 bits
Mode 0x0348: 1400x1050 (+2800), 16 bits
Mode 0x0352: 2048x1536 (+8192), 24 bits
Config Status: cfg=new, avail=yes, need=no, active=unknown



$ xrandr -q
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 320 x 240, current 1280 x 1024, maximum 1280 x 1024
default connected 1280x1024+0+0 0mm x 0mm
1280x1024 50.0* 51.0
1280x960 52.0
1152x864 53.0 54.0
1024x768 55.0 56.0 57.0
840x525 58.0 59.0
832x624 60.0
800x600 61.0 62.0 63.0
800x512 64.0
720x450 65.0
680x384 66.0 67.0
640x512 68.0
640x480 69.0 70.0 71.0 72.0
576x432 73.0 74.0
512x384 75.0 76.0 77.0
416x312 78.0
400x300 79.0 80.0 81.0
320x240 82.0 83.0 84.0

Thanks.

MAFoElffen
February 25th, 2012, 09:46 PM
Based on what your PC and you said... Here you go- Posted and attached.


# nvidia-xconfig: X configuration file generated by MAFoElffen (custom)
# Revised As Of: 2012.2.25
# Not generated by nvidia-xconfig:
#

Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Sony"
ModelName "SDM-S93"
DisplaySize 359 287
HorizSync 28.0 - 80.0
VertRefresh 57.0 - 75.0
Option "DPMS"
UseModes "Sony_Modes"
Option "PreferredMode" "1280x1024_75.00"
EndSection

Section "Modes"
Identifier "Sony_Modes"
#These were calculated using the Linux gtf utility.
Modeline "1280x1024_75.00" 138.54 1280 1368 1504 1728 1024 1025 1028 1069 -HSync +Vsync
Modeline "1280x1024_60.00" 108.88 1280 1360 1496 1712 1024 1025 1028 1060 -HSync +Vsync
Modeline "1280x960_60.00" 102.10 1280 1360 1496 1712 960 961 964 994 -HSync +Vsync
Modeline "1024x768_75.00" 81.80 1024 1080 1192 1360 768 769 772 802 -HSync +Vsync
Modeline "1024x768_70.00" 76.16 1024 1080 1192 1360 768 769 772 800 -HSync +Vsync
Modeline "1024x768_60.00" 64.11 1024 1080 1184 1344 768 769 772 795 -HSync +Vsync
Modeline "800x600_75.00" 48.91 800 840 920 1040 600 601 604 627 -HSync +Vsync
Modeline "800x600_72.00" 46.87 800 840 920 1040 600 601 604 626 -HSync +Vsync
Modeline "800x600_60.00" 38.22 800 832 912 1024 600 601 604 622 -HSync +Vsync
Modeline "720x400_70.00" 26.15 720 736 808 896 400 401 404 417 -HSync +Vsync
Modeline "640x480_75.00" 30.72 640 664 728 816 480 481 484 502 -HSync +Vsync
Modeline "640x480_72.00" 29.43 640 664 728 816 480 481 484 501 -HSync +Vsync
Modeline "640x480_60.00" 23.86 640 656 720 800 480 481 484 497 -HSync +Vsync
EndSection

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "NVIDIA GeForce FX 5200"
BusID "PCI:1:0:0"
Option "UseEDID" "FALSE"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Mode "1280x1024_75.00"
EndSubSection
EndSection

calande
February 25th, 2012, 11:37 PM
Thanks. The file prevents me from loading the OS. I'm stuck at a purple screen. I guess we'll throw in the towel, I'm not sure it's gonna work anymore :(

MAFoElffen
February 26th, 2012, 02:07 AM
Thanks. The file prevents me from loading the OS. I'm stuck at a purple screen. I guess we'll throw in the towel, I'm not sure it's gonna work anymore :(
Seems it doesn't like the modeline = 1280x1024@75hz

Recover by renaming or deleting /etc/X11/Xorg.conf and restore the generic.

MAFoElffen
February 26th, 2012, 02:58 AM
Try it this way and see how it goes. If not, then go generic.

Note- only change is removing the mode line in the screen section.


# nvidia-xconfig: X configuration file generated by MAFoElffen (custom)
# Revised As Of: 2012.2.25
# Not generated by nvidia-xconfig:
#

Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Sony"
ModelName "SDM-S93"
DisplaySize 359 287
HorizSync 28.0 - 80.0
VertRefresh 57.0 - 75.0
Option "DPMS"
UseModes "Sony_Modes"
Option "PreferredMode" "1280x1024_75.00"
EndSection

Section "Modes"
Identifier "Sony_Modes"
#These were calculated using the Linux gtf utility.
Modeline "1280x1024_75.00" 138.54 1280 1368 1504 1728 1024 1025 1028 1069 -HSync +Vsync
Modeline "1280x1024_60.00" 108.88 1280 1360 1496 1712 1024 1025 1028 1060 -HSync +Vsync
Modeline "1280x960_60.00" 102.10 1280 1360 1496 1712 960 961 964 994 -HSync +Vsync
Modeline "1024x768_75.00" 81.80 1024 1080 1192 1360 768 769 772 802 -HSync +Vsync
Modeline "1024x768_70.00" 76.16 1024 1080 1192 1360 768 769 772 800 -HSync +Vsync
Modeline "1024x768_60.00" 64.11 1024 1080 1184 1344 768 769 772 795 -HSync +Vsync
Modeline "800x600_75.00" 48.91 800 840 920 1040 600 601 604 627 -HSync +Vsync
Modeline "800x600_72.00" 46.87 800 840 920 1040 600 601 604 626 -HSync +Vsync
Modeline "800x600_60.00" 38.22 800 832 912 1024 600 601 604 622 -HSync +Vsync
Modeline "720x400_70.00" 26.15 720 736 808 896 400 401 404 417 -HSync +Vsync
Modeline "640x480_75.00" 30.72 640 664 728 816 480 481 484 502 -HSync +Vsync
Modeline "640x480_72.00" 29.43 640 664 728 816 480 481 484 501 -HSync +Vsync
Modeline "640x480_60.00" 23.86 640 656 720 800 480 481 484 497 -HSync +Vsync
EndSection

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "NVIDIA GeForce FX 5200"
BusID "PCI:1:0:0"
Option "UseEDID" "FALSE"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSection

calande
February 26th, 2012, 10:04 AM
I tried this new configuration file but I was able to have a screen resolution of at most 1024768. I reverted to the original config file. I think we'll leave it this way, there may be no option at this point.

dino99
February 26th, 2012, 12:46 PM
some comments:

- actual kernels directly deal with X : meaning xorg.conf not needed, and worst often conflict with the kernel optimum choice.

- for specific hardware you can still use EDID settings: http://www.mythtv.org/wiki/Modeline_Database

- for example my own old xorg.conf:

Section "Module"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "GSM"
ModelName "22LS4R"
HorizSync 28.0 - 83.0
VertRefresh 58.0 - 63.0
Option "dpms"
Modeline "1680x1050_100" 146.25 1680 1728 1760 1840 1050 1053 1059 1089 -HSync +VSync
Endsection

Section "Device"
Identifier "Default Device"
Driver "nvidia"
Option "NoLogo" "True"
EndSection

so nothing complicated (but i dont use it anyway as per previous comment)

MAFoElffen
February 27th, 2012, 01:17 AM
some comments:

- actual kernels directly deal with X : meaning xorg.conf not needed, and worst often conflict with the kernel optimum choice.

- for specific hardware you can still use EDID settings: http://www.mythtv.org/wiki/Modeline_Database

- for example my own old xorg.conf:

Section "Module"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "GSM"
ModelName "22LS4R"
HorizSync 28.0 - 83.0
VertRefresh 58.0 - 63.0
Option "dpms"
Modeline "1680x1050_100" 146.25 1680 1728 1760 1840 1050 1053 1059 1089 -HSync +VSync
Endsection

Section "Device"
Identifier "Default Device"
Driver "nvidia"
Option "NoLogo" "True"
EndSection

so nothing complicated (but i dont use it anyway as per previous comment)
(Jumped in while trying to get something important finished for tomorrow...)

@dino - Nvdia kernels look at xorg,conf to override default. Driver section denotes which driver (such as nvidia) to use.

You can put modelines in 3 different sections, but cannot mix them. Each one is correct. Modelines can be computed 2 ways +. Plus meaning, each display vendor and each GPU vendor has a listing of modelines, not just for a modeline, but different modelines (of the same value) for different models they had.

That's why I write separate mode sections, so once there, the user can test on their on to see what works best for them...

The OP's xorg log showed that it got confused with the EDID, that it was conflicted. That is why the detail... The EDID had to be ignorred, not just overiden for one piece. The detail also had room to explore and test.

I don't see telling a user to toss a monitor that is otherwise usable with a little work. Know what I mean?

(I thought you had nvidia also dino? -- We both test dev-cycle)

@calande Okay. If you do want to test and explore later (different sync or resolution), just pull up the Xorg.conf file and use one the other modeline names in the Monitor section's preferred mode line.

Note-- I know 3 other calutation modes or vendor tables to add other mode sections for you to test. If you want to quit or don't have time... I do understand.