You are not logged in.
I can't seem to set the full resolution of 2560x1440 pixels on my combination of GPU and Monitor .. yeah, I tried Google and Forum search. But I can't seem to find any solution that works for me .. most relevant forum posts I found are this, this and this.
First things first:
GPU: (nvidia) EVGA GTX 580
Monitor: Dell U2515H, full resolution: 2560x1440 @ 60Hz
Cable: miniHDMI (GPU end) ---> HDMI (Monitor)
Driver: nvidia 358.16-3 + nvidia-libgl 358.16-1
anything else ..?
So, I know this is not an ideal combination because I need to set a custom resolution in my Windows environment too. Also I already had some back-and-forth with EVGA's customer support because when I first bought the monitor all video during POST was gone. I was using a DVI-D --> HDMI cable back then. Windows worked fine (yet also needed a custom resolution) but not having any video during POST was less than ideal .. switching the cable fixed that.
I do have a Laptop with Arch installed, which works flawlessly when connected to my monitor thorugh a miniDP --> DisplayPort cable.
Currently, I have no /etc/X11/xorg.conf, but i have this in my /etc/X11/xorg.conf.d/20-nvidia.conf:
Section "Monitor"
Identifier "Monitor0"
VendorName "Dell"
ModelName "U2515H"
Option "DPMS"
Horizsync 30.0 - 113.0
VertRefresh 56.0 - 86.0
Modeline "Mode0" 241.50 2560 2608 2640 2720 1440 1443 1448 1481 +hsync -vsync
Modeline "Mode1" 148.500 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync
Modeline "Mode2" 74.250 1920 2008 2052 2200 1080 1082 1087 1125 +hsync +vsync interlace
Modeline "Mode3" 74.250 1280 1390 1420 1650 720 725 730 750 +hsync +vsync
Modeline "Mode4" 27.027 720 736 798 858 480 489 495 525 -hsync -vsync
Modeline "Mode5" 27.027 720 736 798 858 480 489 495 525 -hsync -vsync
Modeline "Mode6" 27.027 1440 1478 1602 1716 480 484 487 525 -hsync -vsync interlace
Modeline "Mode7" 27.000 1440 1464 1590 1728 576 578 581 625 -hsync -vsync interlace
Modeline "Mode8" 25.200 640 656 752 800 480 490 492 525 -hsync -vsync
Modeline "Mode9" 74.250 1920 2448 2492 2640 1080 1082 1089 1125 +hsync +vsync interlace
Modeline "Mode10" 148.500 1920 2448 2492 2640 1080 1084 1089 1125 +hsync +vsync
Modeline "Mode11" 27.000 720 732 796 864 576 581 586 625 -hsync -vsync
Modeline "Mode12" 74.250 1280 1720 1760 1980 720 725 730 750 +hsync +vsync
Modeline "Mode13" 74.250 1920 2558 2602 2750 1080 1084 1089 1125 +hsync +vsync
Modeline "Mode14" 74.250 1920 2448 2492 2640 1080 1084 1089 1125 +hsync +vsync
Modeline "Mode15" 74.250 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync
Modeline "Mode16" 148.50 1920 2008 2052 2200 1080 1082 1087 1125 +hsync +vsync
Modeline "Mode17" 74.25 1920 2008 2052 2200 540 542 547 562 +hsync +vsync interlace
Modeline "Mode18" 74.25 1280 1390 1430 1650 720 725 730 750 +hsync +vsync
Modeline "Mode19" 27.00 720 736 798 858 480 489 495 525 -hsync -vsync
Option "PreferredMode" "Mode0"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GTX 580"
# Option "UseEdidFreqs" "FALSE"
# Option "UseEDID" "FALSE"
# Option "ModeValidation" "AllowNonEdidModes"
# Option "ConnectedMonitor" "DFP"
# Option "CustomEDID" "DFP-1:/etc/X11/dell.edid"
# Option "CustomEDID" "DFP-0:/etc/X11/dell.edid"
# Option "CustomEDID" "HDMI-0:/etc/X11/dell.edid"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "Mode0"
EndSubSection
EndSectionThat is a mixture of an auto-generated file from nvidia's utility and a parsed EDID file. The EDID file that I got from my monitor is:
[/etc/X11]# cat dell.edid | parse-edid
Checksum Correct
Section "Monitor"
Identifier "DELL U2515H"
ModelName "DELL U2515H"
VendorName "DEL"
# Monitor Manufactured week 11 of 2015
# EDID version 1.3
# Digital Display
DisplaySize 550 310
Gamma 2.20
Option "DPMS" "true"
Horizsync 30-113
VertRefresh 56-86
# Maximum pixel clock is 300MHz
#Not giving standard mode: 1680x1050, 60Hz
#Not giving standard mode: 1920x1200, 60Hz
#Not giving standard mode: 1152x864, 75Hz
#Not giving standard mode: 1600x1200, 60Hz
#Not giving standard mode: 1280x1024, 60Hz
#Not giving standard mode: 1200x960, 60Hz
#Extension block found. Parsing...
Modeline "Mode 16" 148.50 1920 2008 2052 2200 1080 1082 1087 1125 +hsync +vsync
Modeline "Mode 0" 241.50 2560 2608 2640 2720 1440 1443 1448 1481 +hsync -vsync
Modeline "Mode 1" 148.500 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync
Modeline "Mode 2" 74.250 1920 2008 2052 2200 1080 1082 1087 1125 +hsync +vsync interlace
Modeline "Mode 3" 74.250 1280 1390 1420 1650 720 725 730 750 +hsync +vsync
Modeline "Mode 4" 27.027 720 736 798 858 480 489 495 525 -hsync -vsync
Modeline "Mode 5" 27.027 720 736 798 858 480 489 495 525 -hsync -vsync
Modeline "Mode 6" 27.027 1440 1478 1602 1716 480 484 487 525 -hsync -vsync interlace
Modeline "Mode 7" 27.000 1440 1464 1590 1728 576 578 581 625 -hsync -vsync interlace
Modeline "Mode 8" 25.200 640 656 752 800 480 490 492 525 -hsync -vsync
Modeline "Mode 9" 74.250 1920 2448 2492 2640 1080 1082 1089 1125 +hsync +vsync interlace
Modeline "Mode 10" 148.500 1920 2448 2492 2640 1080 1084 1089 1125 +hsync +vsync
Modeline "Mode 11" 27.000 720 732 796 864 576 581 586 625 -hsync -vsync
Modeline "Mode 12" 74.250 1280 1720 1760 1980 720 725 730 750 +hsync +vsync
Modeline "Mode 13" 74.250 1920 2558 2602 2750 1080 1084 1089 1125 +hsync +vsync
Modeline "Mode 14" 74.250 1920 2448 2492 2640 1080 1084 1089 1125 +hsync +vsync
Modeline "Mode 15" 74.250 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync
Modeline "Mode 17" 74.25 1920 2008 2052 2200 540 542 547 562 +hsync +vsync interlace
Modeline "Mode 18" 74.25 1280 1390 1430 1650 720 725 730 750 +hsync +vsync
Modeline "Mode 19" 27.00 720 736 798 858 480 489 495 525 -hsync -vsync
Option "PreferredMode" "Mode 16"
EndSectionHowever, that never seems to be used correctly anywhere ... my output from xrandr is currently:
Screen 0: minimum 8 x 8, current 2048 x 1152, maximum 16384 x 16384
DVI-I-0 disconnected (normal left inverted right x axis y axis)
DVI-I-1 disconnected (normal left inverted right x axis y axis)
DVI-I-2 disconnected (normal left inverted right x axis y axis)
HDMI-0 connected primary 2048x1152+0+0 (normal left inverted right x axis y axis) 553mm x 311mm
2048x1152 60.00*+
1920x1200 59.88
1920x1080 60.00 59.94 50.00 29.97 25.00 23.97 60.05 60.00 50.04
1680x1050 59.95
1600x1200 60.00
1280x1024 75.02 60.02
1280x720 60.00 59.94 50.00
1200x960 60.00
1152x864 75.00
1024x768 75.03 60.00
800x600 75.00 60.32
720x576 50.00 50.08
720x480 59.94 60.05
640x480 75.00 59.94 59.93
DVI-I-3 disconnected (normal left inverted right x axis y axis)I have tried adding the Modeline from EDID manually with xrandr --newmode [...] & xrandr --addmode [...] etc. but all I get is a BadMatch error. I've tried the modelines generated by gtf and cvt, too. They all yield the same error.
(✓) root [/etc/X11]# xrandr --newmode 2560x1440 241.50 2560 2608 2640 2720 1440 1443 1448 1481 +hsync -vsync
(✓) root [/etc/X11]# xrandr --addmode HDMI-0 2560x1440
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 140 (RANDR)
Minor opcode of failed request: 18 (RRAddOutputMode)
Serial number of failed request: 31
Current serial number in output stream: 32.. so there's that.
In my 20-nvidia.conf you see some lines commented out.. if I uncomment
# Option "UseEdidFreqs" "FALSE".. then I get very bad screen flicker, everything is super blurry. As if the lines diffuse vertically.
If I uncomment
# Option "UseEDID" "FALSE".. then I am stuck with an even lower resolution (I believe it was 1280x1024) and setting any modelines manually does not work either.
Uncommenting any of
# Option "CustomEDID" "DFP-1:/etc/X11/dell.edid"
# Option "CustomEDID" "DFP-0:/etc/X11/dell.edid"
# Option "CustomEDID" "HDMI-0:/etc/X11/dell.edid".. does not seem to have any effect at all.
Any blindly following Wiki: NVIDIA#Override_EDID made my screen go black ...
Using the mesa drivers allows me to set modelines manually with xrandr (interestingly, the output is called HDMI-1 with mesa drivers), but then my mouse disappears and it looks as if the monitor keeps its lower resolution and only shows the upper left part of the desktop surface, which apparently uses the full 1440p size then.
I'm really lost by now ... would anybody have further ideas? Any combination of the above options I should try?
Any help or direction is greatly appreciated!
---
edit Jan 6, 22:37
I deactivated gdm temporarily and tried tuning some options while testing them with a simpler "startx" ..
The black screen as mentioned above was caused by 'Option "ConnectedMonitor" "DFP"', setting it to "DFP-1" works fine but does not fix the problem either.
In the logs (/var/log/Xorg.0.log) I found:
[ <timestamp>] (WW) NVIDIA(0): No valid modes for "DFP-1:QHD"; removing.
[ <timestamp>] (WW) NVIDIA(0): Unable to validate any modes; falling back to the default mode "nvidia-auto-select".I've changed the modeline in 20-nvidia.conf to be named "QHD" and duplicated it with the name "DFP-1:QHD" just in case ...
---
edit Jan 6, 23:01
I renamed the mode again and tried something .. I now have:
Section "Monitor"
[...]
ModeLine "1440p" 241.50 2560 2608 2640 2720 1440 1443 1448 1481 +hsync -vsync
EndSection
[...]
Section "Screen"
[...]
SubSection "Display"
Depth 24
Modes "1440p" "1920x1080"
EndSubSection
EndSection.. where the mode "1920x1080" is one of the modes shown in the output of xrandr. Using this config the resolution is set to 1920x1080, as expected. The mode 1440p however is still ignored ...
[ <timestamp>] (WW) NVIDIA(0): No valid modes for "DFP-1:1440p"; removing.------------------------------
edit Jan 7, 01:04
I think I have found the cause: Pixel Frequency .. but I'm not sure how to work around it yet. Setting the following option generated a lot of helpful output in the logs:
Section "Device"
[...]
Option "ModeDebug" "true"
EndSectionHere are the interesting portions from the Xorg.0.log:
[ 4098.080] (--) NVIDIA(0): DELL U2515H (DFP-1): connected
[ 4098.080] (--) NVIDIA(0): DELL U2515H (DFP-1): Internal TMDS
[...]
[ 4098.080] (--) NVIDIA(0): DELL U2515H (DFP-1): 225.0 MHz maximum pixel clock <<<------------
[ 4098.080] (--) NVIDIA(0):
[ 4098.080] (--) NVIDIA(0): --- EDID for DELL U2515H (HDMI-0) ---
[ 4098.080] (--) NVIDIA(0): EDID Version : 1.3
[ 4098.080] (--) NVIDIA(0): Manufacturer : DEL
[ 4098.080] (--) NVIDIA(0): Monitor Name : DELL U2515H
[...]
[ 4098.080] (--) NVIDIA(0): DPMS Capabilities : Standby Suspend Active Off
[ 4098.080] (--) NVIDIA(0): Input Type : Digital
[ 4098.080] (--) NVIDIA(0): Prefer first detailed timing : Yes
[ 4098.080] (--) NVIDIA(0): Supports GTF : No
[ 4098.080] (--) NVIDIA(0): Maximum Image Size : 550 mm x 310 mm
[ 4098.080] (--) NVIDIA(0): Valid HSync Range : 30.0 kHz - 113.0 kHz
[ 4098.080] (--) NVIDIA(0): Valid VRefresh Range : 56.0 Hz - 86.0 Hz
[ 4098.080] (--) NVIDIA(0): EDID maximum pixel clock : 300.0 MHz <<<<-----------------------
[ 4098.080] (--) NVIDIA(0): CEA-861 extension block # : 0
[...]
[ 4098.080] (--) NVIDIA(0): Detailed Timings:
[ 4098.080] (--) NVIDIA(0): 2560 x 1440 @ 60 Hz
[ 4098.080] (--) NVIDIA(0): Pixel Clock : 241.50 MHz <<<<-----------------------
[ 4098.080] (--) NVIDIA(0): HRes, HSyncStart : 2560, 2608
[ 4098.080] (--) NVIDIA(0): HSyncEnd, HTotal : 2640, 2720
[ 4098.080] (--) NVIDIA(0): VRes, VSyncStart : 1440, 1443
[ 4098.080] (--) NVIDIA(0): VSyncEnd, VTotal : 1448, 1481
[ 4098.080] (--) NVIDIA(0): H/V Polarity : +/-
[ 4098.080] (--) NVIDIA(0): Image Size : 553 mm x 311 mmThen, later:
[ 4098.084] (II) NVIDIA(GPU-0): --- Building ModePool for DELL U2515H (DFP-1) ---
[ 4098.084] (**) NVIDIA(GPU-0): Mode Validation Overrides for DELL U2515H (DFP-1):
[ 4098.084] (**) NVIDIA(GPU-0): AllowNonEdidModes
[ 4098.084] (WW) NVIDIA(GPU-0): Validating Mode "2560x1440_60":
[ 4098.084] (WW) NVIDIA(GPU-0): Mode Source: EDID
[ 4098.084] (WW) NVIDIA(GPU-0): 2560 x 1440 @ 60 Hz
[ 4098.084] (WW) NVIDIA(GPU-0): Pixel Clock : 241.50 MHz
[ 4098.084] (WW) NVIDIA(GPU-0): HRes, HSyncStart : 2560, 2608
[ 4098.084] (WW) NVIDIA(GPU-0): HSyncEnd, HTotal : 2640, 2720
[ 4098.084] (WW) NVIDIA(GPU-0): VRes, VSyncStart : 1440, 1443
[ 4098.084] (WW) NVIDIA(GPU-0): VSyncEnd, VTotal : 1448, 1481
[ 4098.084] (WW) NVIDIA(GPU-0): Sync Polarity : +H -V
[ 4098.084] (WW) NVIDIA(GPU-0): Mode is rejected: PixelClock (241.5 MHz) too high for <<<<---------------------
[ 4098.084] (WW) NVIDIA(GPU-0): Display Device (Max: 225.0 MHz).
[ 4098.084] (WW) NVIDIA(GPU-0): Mode "2560x1440_60" is invalid.
[ 4098.084] (WW) NVIDIA(GPU-0):
[... ...]
[ 4098.185] (II) NVIDIA(GPU-0): Validating Mode "2560x1440_40":
[ 4098.185] (II) NVIDIA(GPU-0): Mode Source: X Configuration file ModeLine
[ 4098.185] (II) NVIDIA(GPU-0): 2560 x 1440 @ 40 Hz
[ 4098.185] (II) NVIDIA(GPU-0): Pixel Clock : 201.00 MHz
[ 4098.185] (II) NVIDIA(GPU-0): HRes, HSyncStart : 2560, 2720
[ 4098.185] (II) NVIDIA(GPU-0): HSyncEnd, HTotal : 2984, 3408
[ 4098.185] (II) NVIDIA(GPU-0): VRes, VSyncStart : 1440, 1443
[ 4098.185] (II) NVIDIA(GPU-0): VSyncEnd, VTotal : 1448, 1476
[ 4098.186] (II) NVIDIA(GPU-0): Sync Polarity : -H +V
[ 4098.186] (II) NVIDIA(GPU-0): Viewport 2560x1440+0+0
[ 4098.186] (II) NVIDIA(GPU-0): Horizontal Taps 0
[ 4098.186] (II) NVIDIA(GPU-0): Vertical Taps 0
[ 4098.186] (II) NVIDIA(GPU-0): Base SuperSample x4
[ 4098.186] (II) NVIDIA(GPU-0): Base Depth 32
[ 4098.186] (II) NVIDIA(GPU-0): Distributed Rendering 1
[ 4098.186] (II) NVIDIA(GPU-0): Overlay Depth 32
[ 4098.186] (II) NVIDIA(GPU-0): Mode "2560x1440_40" is valid.The 2560x1440_40 mode was created with "$ cvt 2560 1440 40" and only works if I also set: (also, only when using "startx" with gdm deactivated! when I activate/start gdm the mode validation is repeated without the modified VertRefresh a few times and subsequently the mode gets thrown out again ..)
Section "Monitor"
[...]
HorizSync 30-150
VertRefresh 40-90
Option "MinClock" "1"
Option "MaxClock" "1000000"
ModeLine "1440p" 241.50 2560 2608 2640 2720 1440 1443 1448 1481 +hsync -vsync
ModeLine "1440h" 201.00 2560 2720 2984 3408 1440 1443 1448 1476 -hsync +vsync
EndSectionI also tried manually overriding the Pixel Clock .. but the MinClock and MaxClock options seem to be ignored.
So, without gdm I can have a Desktop with full resolution at 40Hz right now.
Please excuse the excessive use of code blocks .. I'm simply trying to document my own progress as good as possible here.
----
edit: Jan 7, 01:14
Setting Option "ModeValidation" "AllowNonEdidModes, NoMaxPClkCheck" marks the EDID mode 2560x1440_60 as valid in the logs, but the screen stays black or shows the previous console view, without further reaction. Restart by CtrlAltDel is needed ..
Last edited by baer (2016-01-07 00:17:07)
Offline