PDA

View Full Version : [ubuntu] Wrong screen resolution with nvidia-settings



WDYSUN
June 23rd, 2015, 08:17 AM
Dear All

I have an NVIDIA GeForce GT 740 graphic card and DELL U2715H monitor, my system is a fresh Ubuntu 14.04 LTS.


Dell suggest to use the monitor at the following resolution: 2560x1440 (60Hz). Running the nvidia settings


gksudo nvidia-settings

I am not able to select that resolution, the maximum it allows to set is: 2048x1152, in fact this is the content of my "/etc/X11/xorg.conf"



# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 331.20 (buildd@roseapple) Mon Feb 3 15:07:22 UTC 2014

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 304.125 (buildmeister@swio-display-x64-rhel04-14) Mon Dec 1 21:18:22 PST 2014

Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
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 "Unknown"
ModelName "DELL U2715H"
HorizSync 30.0 - 113.0
VertRefresh 56.0 - 86.0
Option "DPMS"
EndSection

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "Unknown"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "Stereo" "0"
Option "nvidiaXineramaInfoOrder" "DFP-1"
Option "metamodes" "2048x1152_60 +0+0"
Option "SLI" "Off"
Option "MultiGPU" "Off"
Option "BaseMosaic" "off"
SubSection "Display"
Depth 24
EndSubSection
EndSection


How can I set the optimal resolution? Does it suffice to replace


Option "metamodes" "2048x1152_60 +0+0"

with


Option "metamodes" "2560x1440_60 +0+0"

in my "/etc/X11/xorg.conf"? What does that "+0+0" means?


Thanks
Pierre

dino99
June 23rd, 2015, 01:35 PM
nowadays the kernel directly deals with X; and a simple typo inside a non needed xorg.conf can push unpredictable troubles
about the resolution, 3 conditions needs to be validated: the card/chipset is able to display it, the screen interface used needs to be able too, then the cord

WDYSUN
June 23rd, 2015, 01:44 PM
nowadays the kernel directly deals with X; and a simple typo inside a non needed xorg.conf can push unpredictable troubles
about the resolution, 3 conditions needs to be validated: the card/chipset is able to display it, the screen interface used needs to be able too, then the cord

Hello Dino99

from specs I can see that the card can deal with that resolution, regard the other two:

1. by "cord" you mean the hdmi cable? Can it really be?

2. I am not sure what you mean by "the screen interface used needs to be able too"

so what I should do?

Regards
P

WDYSUN
June 23rd, 2015, 01:47 PM
... I should also tell you that I am working with Ubunutu packed drivers for the Nvidia card. I also tried the Nvidia proprietary drivers and the issue disappear (nvidia-setting in that case properly recognizes the max screen resolution), although I get some instability that forced me to get back to Ubuntu-Nvidia drivers.

Regards
P