AW: AW: AW: monitor hotplug resolution switch

Johann Obermayr johann.obermayr at sigmatek.at
Wed Dec 13 19:53:52 UTC 2017


Hello,

> -----Ursprüngliche Nachricht-----
> Von: xorg [mailto:xorg-bounces at lists.x.org] Im Auftrag von jdd at dodin.org
> Gesendet: Mittwoch, 13. Dezember 2017 20:05
> An: xorg at lists.x.org
> Betreff: Re: AW: AW: monitor hotplug resolution switch
> 
> Le 13/12/2017 à 11:14, Johann Obermayr a écrit :
> 
> > We are using VNC.
> >
> 
> so you need a way to set a resolution in VNC, I did that but so long time ago I
> don't recall how :-(
> 
> sorry
> jdd
> 
> 
> --
> http://dodin.org
> _______________________________________________
> xorg at lists.x.org: X.Org support
> Archives: http://lists.freedesktop.org/archives/xorg
> Info: https://lists.x.org/mailman/listinfo/xorg
> Your subscription address: %(user_address)s

Thanks for help,

i think , i have found a solution.

Use newest xf86-video-intel 2.99.917
Enable SNA (+virtual output)
Enable virtual output in the xorg.conf. (Option  "VirtualHeads"  "2")

Call follow line after X started

xrandr --newmode "1280x1024 at VIRT"  138.75  1280 1368 1504 1728  1024 1027 1034 1072
xrandr --addmode VIRTUAL1 "1280x1024 at VIRT"
xrandr --output VIRTUAL1 --mode "1280x1024 at VIRT"

with xrandr I see always the same resolution at the current value.
Also with connect/disconnect HDMI/DP.

Now I'm search a way to set this 3 line with the xrandr extensions library.

Best regards
  Johann


More information about the xorg mailing list