You are not logged in.

#1 2017-01-23 17:06:37

TremorAcePV
Member
Registered: 2016-08-24
Posts: 22

Monitor displaying at incorrect resolution using xrandr

The problem: xrandr is sending a 2560x1440 signal over HDMI to a 1440p monitor, and the monitor is outputting that signal at 1280x1440. It does not have this issue with other systems such as Windows PCs and consoles such as a PS3 or PS4.

I have a Pixio PX277 1440p monitor. For some reason, it isn't automatically detected by xrandr when I connect it with HDMI. Manually configuring the connection leads to it displaying at 1280x1440 (half the horizontal resolution it is capable of).

$ uname -a
Linux localhost 4.8.13-1-ARCH #1 SMP PREEMPT Fri Dec 9 07:24:34 CET 2016 x86_64 GNU/Linux
$ pacman -Q | grep xorg
xorg-appres 1.0.4-1
xorg-bdftopcf 1.0.5-1
xorg-font-util 1.3.1-1
xorg-font-utils 7.6-4
xorg-fonts-alias 1.0.3-1
xorg-fonts-encodings 1.0.4-4
xorg-fonts-misc 1.0.3-5
xorg-mkfontdir 1.0.7-7
xorg-mkfontscale 1.1.2-1
xorg-server 1.19.1-1
xorg-server-common 1.19.1-1
xorg-setxkbmap 1.3.1-1
xorg-xauth 1.0.9-1
xorg-xinit 1.3.4-4
xorg-xinput 1.6.2-1
xorg-xkbcomp 1.3.1-1
xorg-xmessage 1.0.4-2
xorg-xmodmap 1.0.9-1
xorg-xrandr 1.5.0-1
xorg-xrdb 1.1.0-2
xorg-xset 1.2.3-1

If I do xrandr without manual configuration after connecting the monitor, making sure it's on, and switching to the correct display input:

$ xrandr
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
HDMI-1 disconnected primary (normal left inverted right x axis y axis)
DVI-D-1 disconnected (normal left inverted right x axis y axis)
VGA-1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 477mm x 268mm
   1920x1080     60.00*+
   1680x1050     59.95  
   1400x1050     74.76    59.98  
   1280x1024     75.02    60.02  
   1440x900      59.89  
   1280x960      60.00  
   1152x864      75.00  
   1280x720      60.00  
   1024x768      75.05    60.04    75.03    70.07    60.00  
   960x720       75.00    60.00  
   928x696       75.00    60.05  
   896x672       75.05    60.01  
   832x624       74.55  
   800x600       75.00    70.00    65.00    60.00    72.19    75.00    60.32    56.25  
   700x525       74.76    59.98  
   640x512       75.02    60.02  
   640x480       60.00    75.00    72.81    75.00    66.67    59.94  
   720x400       70.08  
   576x432       75.00  
   512x384       75.03    70.07    60.00  
   416x312       74.66  
   400x300       72.19    75.12    60.32    56.34  
   320x240       72.81    75.00    60.05  

VGA-1 is my main monitor (since the PX277 is giving me issues atm). HDMI-1 is connected to the PX277. I've tried DVI and DisplayPort. Nothing will be auto-recognized and "connected" the way VGA-1 is.

Here are the commands I issue to xrandr to get the display working (as in, displaying an image):

$ sudo xrandr --newmode "2560x1440_59.95" 241.50  2560 2608 2640 2720 1440 1443 1448 1481 +hsync -vsync
$ sudo xrandr --addmode HDMI-1 "2560x1440_59.95"
$ sudo xrandr --output HDMI-1 --mode "2560x1440_59.95" --left-of VGA-1

Now, regarding those settings used when adding the new mode (specifically, 2560x1440_59.95" 241.50  2560 2608 2640 2720 1440 1443 1448 1481 +hsync -vsync), I got those from the manufacturer themselves, but they explicitly mentioned that those were for Windows. I imagine they shouldn't be different for Linux.

After using the above commands, xrandr reports the following:

$ xrandr
Screen 0: minimum 320 x 200, current 4480 x 1440, maximum 16384 x 16384
HDMI-1 disconnected primary 2560x1440+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   2560x1440_59.95  59.95* 
DVI-D-1 disconnected (normal left inverted right x axis y axis)
VGA-1 connected 1920x1080+2560+0 (normal left inverted right x axis y axis) 477mm x 268mm
<same info as last time> 

I've tried adding the correctly display dimensions (in this case, 597mm x 336mm) with the following command:

$ sudo xrandr --output HDMI-1 --size 597x336 

I had thought it might be a DPI issue, so I attempted this command but it did not fix the issue:

$ sudo xrandr --output HDMI-1 --dpi 120

Finally, I checked the monitor itself, and it's reporting that it is displaying in 1280x1440 mode at 60hz. I have no idea why it'd be doing that if I used the correct settings in creating the new mode (which I have seemed to).

This display has no issue with Windows or a console (such as a PS3 or PS4) using HDMI to output a 2560x1440 image. I've factory reset it multiple times.

Other (possibly) related packages that are installed:
awesome 4.0-1
lxdm 0.5.3-3

Last edited by TremorAcePV (2017-01-24 18:19:18)

Offline

Board footer

Powered by FluxBB