You are not logged in.

#1 2016-01-03 00:11:05

Lorem Ipsum
Member
Registered: 2016-01-02
Posts: 2

Xrandr fails to change resolution

I am trying to set my Acer XF270HU 1440p monitor to output at its native 2560x1440 resolution using xrandr. I am connecting the monitor via HDMI (a different system is using the display port) so am anticipating 60Hz.

The output of xrandr is:

[lorem@archbox ~]$ xrandr
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192
DVI-I-1 disconnected (normal left inverted right x axis y axis)
DVI-D-1 disconnected (normal left inverted right x axis y axis)
HDMI-3 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 597mm x 336mm
   1920x1080     60.00*   50.00    59.94    30.00    25.00    24.00    29.97    23.98  
   1920x1080i    60.00    50.00    59.94  
   1280x1024     75.02    60.02  
   1440x900      59.90  
   1152x864      75.00  
   1280x720      60.00    50.00    59.94  
   1440x576      50.00  
   1024x768      75.08    70.07    60.00  
   1440x480      60.00    59.94  
   832x624       74.55  
   800x600       72.19    75.00    60.32    56.25  
   720x576       50.00  
   720x480       60.00    59.94  
   640x480       75.00    66.67    60.00    59.94  
   720x400       70.08  
DP-1 disconnected (normal left inverted right x axis y axis)

Since the native 2560x1440 resolution was undetected, I consulted the Arch wiki (https://wiki.archlinux.org/index.php/Xr … esolutions) and tried the following:

[lorem@archbox ~]$ cvt 2560 1440
# 2560x1440 59.96 Hz (CVT 3.69M9) hsync: 89.52 kHz; pclk: 312.25 MHz
Modeline "2560x1440_60.00"  312.25  2560 2752 3024 3488  1440 1443 1448 1493 -hsync +vsync
[lorem@archbox ~]$ xrandr --newmode "2560x1440_60.00"  312.25 2560 2752 3024 3488  1440 1443 1448 1493 -hsync +vsync
[lorem@archbox ~]$ xrandr --addmode HDMI-3 "2560x1440_60.00"
[lorem@archbox ~]$ xrandr --output HDMI-3 --mode "2560x1440_60.00"

The display then blacks out before returning at an unchanged 1080@60 resolution, but the mouse cursor has disappeared! I tried many combinations of modelines, including some I tried to guess from the timings from the monitor's EDID but all yielded the same strange result.

I started up an old windows partition and the 2560x1440@60 Hz resolution was detected automatically and was functional, so the GPU/cable/monitor are capable of this.

The GPU is a GTX 760 and the display driver is nouveau. In case it's relevant, here's the monitor's EDID output from /home/lorem/.local/share/xorg/Xorg.0.log: http://pastebin.com/cqFQizUq

I'm completely stumped on this problem, let me know any outputs or logs that may be of use.

Offline

#2 2016-01-03 02:46:13

tom.ty89
Member
Registered: 2012-11-15
Posts: 897

Re: Xrandr fails to change resolution

Guess from the timings? The modelines for 1440p60 are listed. For example:

[ 10861.992] (II) NOUVEAU(0): Supported detailed timing:
[ 10861.992] (II) NOUVEAU(0): clock: 241.5 MHz   Image Size:  597 x 336 mm
[ 10861.992] (II) NOUVEAU(0): h_active: 2560  h_sync: 2608  h_sync_end 2640 h_blank_end 2720 h_border: 0
[ 10861.992] (II) NOUVEAU(0): v_active: 1440  v_sync: 1443  v_sync_end 1448 v_blanking: 1481 v_border: 0

So have you tried:

xrandr --newmode "2560x1440_60.00" 241.5 2560 2608 2640 2720 1440 1443 1448 1481

Offline

#3 2016-01-03 23:34:43

Lorem Ipsum
Member
Registered: 2016-01-02
Posts: 2

Re: Xrandr fails to change resolution

tom.ty89 wrote:

Guess from the timings? The modelines for 1440p60 are listed. For example:

[ 10861.992] (II) NOUVEAU(0): Supported detailed timing:
[ 10861.992] (II) NOUVEAU(0): clock: 241.5 MHz   Image Size:  597 x 336 mm
[ 10861.992] (II) NOUVEAU(0): h_active: 2560  h_sync: 2608  h_sync_end 2640 h_blank_end 2720 h_border: 0
[ 10861.992] (II) NOUVEAU(0): v_active: 1440  v_sync: 1443  v_sync_end 1448 v_blanking: 1481 v_border: 0

So have you tried:

xrandr --newmode "2560x1440_60.00" 241.5 2560 2608 2640 2720 1440 1443 1448 1481

Yes, I have tried all the 1440p modelines in the EDID, all yield the same strange result.

I swapped the nouveau drivers out for the Nvidia ones and xrandr successfully changes the resolution to 1440p when I do exactly the same thing as with the nouveau drivers in place.

I'm not a fan of proprietary drivers, so would prefer to find a solution for nouveau. I suspect the problem lies with nouveau and this particular display, which has a new 1440p 144Hz panel. Nouveau drivers fail to show anything at all except a grey flicker when the monitor is connected through display port, regardless of what mode I set. Nvidia drivers fare better over display port, they can take the display up to 120Hz. I'm pretty sure the display isn't faulty, as it's fine on other OSs.

Oh well, it does what I originally wanted it to do for now (1440p@60Hz via HDMI) at the cost of some software freedom. If anyone has any ideas why nouveau didn't get on with this display I'd be interested to hear, as I will continue to troubleshoot this.

Offline

#4 2016-01-04 05:47:31

likeahundredninjas
Banned
Registered: 2015-12-13
Posts: 23

Re: Xrandr fails to change resolution

what window manager are you using? some don't work with it i think.

ase for troubleshooting nouveau, not really sure. like maybe try a nvidia driver and see if it just works???? not proprietary, the open-source one you can get from pacman.

Last edited by likeahundredninjas (2016-01-04 05:57:55)

Offline

#5 2016-01-04 10:46:46

tom.ty89
Member
Registered: 2012-11-15
Posts: 897

Re: Xrandr fails to change resolution

Have you tried using DisplayPort to connect the monitor to see if any 1440p mode is detected and usable?

It could be a bug in nouveau in determining whether dual-link TMDS should be used.

Offline

Board footer

Powered by FluxBB