You are not logged in.

#1 2018-07-02 17:16:49

nonZero
Member
Registered: 2015-05-17
Posts: 57

Display mirroring does not work with 1366x768 and 1360x768???

Hi!

I am using gnome 3.28.2.

While trying to mirror my internal display and an external monitor connected via HDMI the maximum resolution is 1024x768.

xrandr output:

Screen 0: minimum 8 x 8, current 2726 x 768, maximum 32767 x 32767
LVDS1 connected primary 1366x768+0+0 (normal left inverted right x axis y axis) 340mm x 190mm
   1366x768      60.00*+
   1280x720      59.86    60.00    59.74  
   1024x768      60.00  
   1024x576      60.00    59.90    59.82  
   960x540       60.00    59.63    59.82  
   800x600       60.32    56.25  
   864x486       60.00    59.92    59.57  
   640x480       59.94  
   720x405       59.51    60.00    58.99  
   680x384       60.00  
   640x360       59.84    59.32    60.00  
DP1 disconnected (normal left inverted right x axis y axis)
HDMI1 connected 1360x768+1366+0 (normal left inverted right x axis y axis) 700mm x 390mm
   1360x768      59.80*+
   1280x768      60.35  
   1024x768      75.03    70.07    60.00  
   832x624       74.55  
   800x600       75.00    60.32  
   640x480       75.00    59.94  
   720x400       70.08  
VGA1 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)

Adding 1360x768 to LVDS1 or adding 1366x768 to HDMI1 with

xrandr --addmode

did not help.

Please advice, thanks!

Offline

#2 2018-07-02 19:48:22

seth
Member
Registered: 2012-09-03
Posts: 51,056

Re: Display mirroring does not work with 1366x768 and 1360x768???

You will not drive a monitor at a resolution that it does not support (you can add resolutions and pipe them into the output, but if the monitor doesn't actually support the resolution, it will just faint)

What you can do is using either panning and/or scaling, ie. if you eg.

xrandr --output HDMI1 --scale 1.004412x1

you should end up with a 1366x768 resolution on HDMI1 - the image will be blurry, though.

xrandr --output HDMI1 --panning 1366x768

should get you 1366x768 likewise, but a part is off screen and will become visible if you move the mouse there.

The nvidia blob can also "underscan" (ie. you can add a black stripe on the bigger monitor) w/ the viewport settings in the advanced section on the display config page. I don't think this is supported by the randr protocol.

Offline

#3 2018-07-03 20:03:29

nonZero
Member
Registered: 2015-05-17
Posts: 57

Re: Display mirroring does not work with 1366x768 and 1360x768???

Hmmm.... this seems to work:

xrandr --output HDMI1 --mode 1360x768 --output LVDS1 --mode 1366x768

I don't really understand how and why, but it works.

And now xrandr returns:

Screen 0: minimum 8 x 8, current 1366 x 768, maximum 32767 x 32767
LVDS1 connected 1366x768+0+0 (normal left inverted right x axis y axis) 340mm x 190mm
   1366x768      60.00*+
   1280x720      59.86    60.00    59.74  
   1024x768      60.00  
   1024x576      60.00    59.90    59.82  
   960x540       60.00    59.63    59.82  
   800x600       60.32    56.25  
   864x486       60.00    59.92    59.57  
   640x480       59.94  
   720x405       59.51    60.00    58.99  
   680x384       60.00  
   640x360       59.84    59.32    60.00  
DP1 disconnected (normal left inverted right x axis y axis)
HDMI1 connected primary 1366x768+0+0 (normal left inverted right x axis y axis) 510mm x 290mm
   1920x1080     60.00 +  50.00    59.94  
   1920x1080i    60.00    50.00    59.94  
   1600x900      60.00  
   1280x1024     60.02  
   1360x768      60.02* 
   1280x720      60.00    50.00    59.94  
   1024x768      60.00  
   800x600       60.32  
   720x576       50.00  
   720x576i      50.00  
   720x480       60.00    59.94  
   720x480i      60.00    59.94  
   640x480       60.00    59.94  
VGA1 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)

Offline

#4 2018-07-03 20:07:13

seth
Member
Registered: 2012-09-03
Posts: 51,056

Re: Display mirroring does not work with 1366x768 and 1360x768???

But HDMI1 should lack 6px width?

Offline

Board footer

Powered by FluxBB