AW: monitor hotplug resolution switch

Johann Obermayr johann.obermayr at sigmatek.at
Wed Dec 13 08:36:54 UTC 2017



> -----Ursprüngliche Nachricht-----
> Von: xorg [mailto:xorg-bounces at lists.x.org] Im Auftrag von jdd at dodin.org
> Gesendet: Dienstag, 12. Dezember 2017 23:30
> An: xorg at lists.x.org
> Betreff: Re: monitor hotplug resolution switch
> 
> Le 12/12/2017 à 12:22, Johann Obermayr a écrit :
> > Hello,
> >
> > i have a x86 machine with i915 graphics.
> >
> > With connected display (1920x1080) all is ok.
> >
> > But if I disconnect the monitor, the resolution switch to 320x200.
> >
> > How can I disable this ?
> >
> > I will always have the same resolution (1920x1080)
> >
> > How can I do this ?
> >
> some more info is certainly necessary
> 
> what OS?
> what remaining monitor?
> 
> what do xrandr say?
> 
> thanks
> 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


Hello,

yes, sorry.
X86 dualcore Intel(R) Celeron(R) CPU G1820 @ 2.70GHz
With On board graphics i915

Older Yocto build with Kernel 3.10.0
X.Org X Server 1.14.0
Release Date: 2013-03-05
[1274713.521] X Protocol Version 11, Revision 0
[1274713.521] Build Operating System: Linux 3.2.0-126-generic-pae i686
[1274713.521] Current Operating System: Linux sigmatek-x86-mp 3.10.0 #48 SMP PREEMPT Wed Dec 6 18:30:54 CET 2017 i686
[1274713.521] Current version of pixman: 0.29.2
[1274713.521] (II) Module ABI versions:
[1274713.521]   X.Org ANSI C Emulation: 0.4
[1274713.521]   X.Org Video Driver: 14.1
[1274713.521]   X.Org XInput driver : 19.1
[1274713.521]   X.Org Server Extension : 7.0
And using xf86-video-intel-2.21.3.tar.bz2

xorg.conf

Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
EndSection

Section "ServerFlags"
    Option "BlankTime"  "0"
    Option "StandbyTime"  "0"
    Option "SuspendTime"  "0"
    Option "OffTime"  "0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Monitor    "Monitor0"
	DefaultDepth 16
	SubSection "Display"
		Viewport   0 0
		Depth     16
	EndSubSection
EndSection

Yes we use 16 bit color depth.

root at sigmatek-x86-mp:~# xrandr
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192
VGA1 disconnected
DP1 disconnected
HDMI1 disconnected
DP2 disconnected
HDMI2 disconnected
DP3 connected
   1920x1080      60.0 +
HDMI3 disconnected


But after disconnect the monitor, the driver will change resolution to 320x200.
But we will, that driver does not change the resolution. Or we can define the default resolution.

Thanks
  Johann


More information about the xorg mailing list