You are not logged in.

#1 2020-12-18 15:28:05

AndreyTarkovsky
Member
Registered: 2017-03-26
Posts: 77

[Solved] I can't get the correct resolution on my second display

I have two Samsung displays here and both of them do support the resolution I want to use: 1600x900. The primary display is connected to my GT 710 DVI output and is working fine, but the second one connected to the VGA output is not presenting the correct resolution as shown in the first picture. In the second and third pictures, as you can see, the resolutions are properly configured and yes, I double checked the second display built in configurations. Can someone help me with this?
*Also I tested the second display with my old laptop using a VGA cable and it's working just fine*

Picture 1
Picture 2
Picture 3

And that's my xrandr output:

xrandr 
Screen 0: minimum 8 x 8, current 3200 x 900, maximum 16384 x 16384
VGA-0 connected 1600x900+1600+0 (normal left inverted right x axis y axis) 0mm x 0mm
   1024x768      60.00 +
   1600x900      59.82* 
   1400x900      59.88  
   1368x768      59.88    59.85  
   1280x800      59.91    59.81  
   1280x720      59.86    59.74  
   1024x576      59.90    59.82  
   960x540       59.82    59.63  
   864x486       59.92    59.57  
   800x600       72.19    60.32    56.25  
   800x450       59.82  
   700x450       59.88  
   684x384       59.88    59.85  
   640x480       59.94  
   640x400       59.98    59.88  
   640x360       59.86    59.83  
   512x384       60.00  
   512x288       60.00    59.92  
   480x270       59.82    59.63  
   432x243       59.92    59.57  
   400x300       72.19  
   320x240       60.05  
DVI-D-0 connected primary 1600x900+0+0 (normal left inverted right x axis y axis) 443mm x 249mm
   1600x900      60.00*+
   1440x900      74.98    59.89  
   1280x800      59.81  
   1280x720      60.00    50.00  
   1152x864      75.00  
   1024x768      75.03    70.07    60.00  
   800x600       75.00    72.19    60.32    56.25  
   720x576       50.00  
   720x480       59.94  
   640x480       75.00    72.81    59.94  
HDMI-0 disconnected (normal left inverted right x axis y axis)
DP1 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
VGA1 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)

Last edited by AndreyTarkovsky (2020-12-28 14:50:56)

Offline

#2 2020-12-19 07:51:50

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,095

Re: [Solved] I can't get the correct resolution on my second display

Try adding and configuring

# 1600x900 @ 60.000 Hz Reduced Blank (CVT) field rate 59.999 Hz; hsync: 55.560 kHz; pclk: 93.34 MHz
Modeline "1600x900_60.00_rb2"  93.34  1600 1608 1640 1680  900 912 920 926 +hsync -vsync

for the VGA device.

Edit: please also replace the oversized images (200x200 max) w/ links and/or thumbnails.

Last edited by seth (2020-12-19 07:52:41)

Offline

#3 2020-12-19 15:39:42

AndreyTarkovsky
Member
Registered: 2017-03-26
Posts: 77

Re: [Solved] I can't get the correct resolution on my second display

seth wrote:

Try adding and configuring

# 1600x900 @ 60.000 Hz Reduced Blank (CVT) field rate 59.999 Hz; hsync: 55.560 kHz; pclk: 93.34 MHz
Modeline "1600x900_60.00_rb2"  93.34  1600 1608 1640 1680  900 912 920 926 +hsync -vsync

for the VGA device.

Didn't work:

xrandr --newmode "1600x900_60.00_rb2"  93.34  1600 1608 1640 1680  900 912 920 926 +hsync -vsync
X Error of failed request:  BadName (named color or font does not exist)
  Major opcode of failed request:  140 (RANDR)
  Minor opcode of failed request:  16 (RRCreateMode)
  Serial number of failed request:  52
  Current serial number in output stream:  52

Offline

#4 2020-12-19 15:48:38

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,095

Re: [Solved] I can't get the correct resolution on my second display

You'll typically get that error for trying to create the same mode (w/ the same name) twice.
Check "xrandr -q" for whether such named mode already exists.

Offline

#5 2020-12-19 15:58:15

AndreyTarkovsky
Member
Registered: 2017-03-26
Posts: 77

Re: [Solved] I can't get the correct resolution on my second display

seth wrote:

You'll typically get that error for trying to create the same mode (w/ the same name) twice.
Check "xrandr -q" for whether such named mode already exists.

xrandr -q
Screen 0: minimum 8 x 8, current 1600 x 900, maximum 16384 x 16384
VGA-0 connected primary 1600x900+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   1024x768      60.00 +
   1600x900      59.82* 
   1400x900      59.88  
   1368x768      59.88    59.85  
   1280x800      59.91    59.81  
   1280x720      59.86    59.74  
   1024x576      59.90    59.82  
   960x540       59.82    59.63  
   864x486       59.92    59.57  
   800x600       72.19    60.32    56.25  
   800x450       59.82  
   700x450       59.88  
   684x384       59.88    59.85  
   640x480       59.94  
   640x400       59.98    59.88  
   640x360       59.86    59.83  
   512x384       60.00  
   512x288       60.00    59.92  
   480x270       59.82    59.63  
   432x243       59.92    59.57  
   400x300       72.19  
   320x240       60.05  
DVI-D-0 connected 1600x900+0+0 (normal left inverted right x axis y axis) 443mm x 249mm
   1600x900      60.00*+
   1440x900      74.98    59.89  
   1280x800      59.81                                                                                                                                          
   1280x720      60.00    50.00                                                                                                                                 
   1152x864      75.00                                                                                                                                          
   1024x768      75.03    70.07    60.00                                                                                                                        
   800x600       75.00    72.19    60.32    56.25                                                                                                               
   720x576       50.00  
   720x480       59.94  
   640x480       75.00    72.81    59.94  
HDMI-0 disconnected (normal left inverted right x axis y axis)
DP1 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
VGA1 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
  1600x900_60.00_rb2 (0x32e) 93.340MHz +HSync -VSync
        h: width  1600 start 1608 end 1640 total 1680 skew    0 clock  55.56KHz
        v: height  900 start  912 end  920 total  926           clock  60.00Hz
  1600x900_60.00 (0x36b) 118.250MHz -HSync +VSync
        h: width  1600 start 1696 end 1856 total 2112 skew    0 clock  55.99KHz
        v: height  900 start  903 end  908 total  934           clock  59.95Hz

Offline

#6 2020-12-19 16:06:08

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,095

Re: [Solved] I can't get the correct resolution on my second display

Well, yeah - you already created the mode, now add it to the output.
https://wiki.archlinux.org/index.php/Xr … esolutions

Offline

#7 2020-12-19 16:17:57

AndreyTarkovsky
Member
Registered: 2017-03-26
Posts: 77

Re: [Solved] I can't get the correct resolution on my second display

Also I did reboot my pc and tried again, the --newmode worked but the --addmode don't:

xrandr --addmode VGA-0 1600x900_60.00_rb2
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:  52
  Current serial number in output stream:  53

Last edited by AndreyTarkovsky (2020-12-19 16:18:56)

Offline

#8 2020-12-28 14:50:23

AndreyTarkovsky
Member
Registered: 2017-03-26
Posts: 77

Re: [Solved] I can't get the correct resolution on my second display

It was a cable issue...

Last edited by AndreyTarkovsky (2021-01-04 04:55:22)

Offline

Board footer

Powered by FluxBB