AW: monitor hotplug resolution switch
Hello, now i have compile 2.99.917 and enable VirtualHeads in the xorg.conf. xrandr --newmode "1920x1080" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 xrandr --addmode VIRTUAL1 "1920x1080" xrandr --output VIRTUAL1 --mode "1920x1080" now it looks like it works. The resolution is always 1920x1080, even if I connect / disconnect DisplayPort or HDMI Monitor. Can I put this settings into the xorg.conf ? Or is xrandr the only way ? Thanks & regards Johann ___ xorg@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
AW: AW: AW: monitor hotplug resolution switch
Hello, > -Ursprüngliche Nachricht- > Von: xorg [mailto:xorg-boun...@lists.x.org] Im Auftrag von j...@dodin.org > Gesendet: Mittwoch, 13. Dezember 2017 20:05 > An: xorg@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@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@VIRT" 138.75 1280 1368 1504 1728 1024 1027 1034 1072 xrandr --addmode VIRTUAL1 "1280x1024@VIRT" xrandr --output VIRTUAL1 --mode "1280x1024@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 ___ xorg@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
AW: AW: monitor hotplug resolution switch
Hi, Thanks for helping. regards Johann > -Ursprüngliche Nachricht- > Von: xorg [mailto:xorg-boun...@lists.x.org] Im Auftrag von j...@dodin.org > Gesendet: Mittwoch, 13. Dezember 2017 10:22 > An: xorg@lists.x.org > Betreff: Re: AW: monitor hotplug resolution switch > > Le 13/12/2017 à 09:36, Johann Obermayr a écrit : > > > root@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. > > > > what mean "default resolution" if no monitor is connected? I mean, it is a define resolution, same as your monitor. We have different monitors with different resolution. But our customer set the used resolution In a config file. The resolution must be always the same. With or without monitor. But now, if the monitor is disconnect, the resolution will change to 320x200. > > seems it's simply the lower resolution available > > do you need some remote X? We are using VNC. > > you can play with xrandr I will do that. I also looking for the "virtual" extention in the new xf86-video-intel driver. > > http://dodin.org/wiki/pmwiki.php?n=Doc.AddXResolution > > but with no monitor I dunno what happen nor what is the config for remote > X desktop > > jdd > > > -- > http://dodin.org > ___ > xorg@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 ___ xorg@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
AW: monitor hotplug resolution switch
Hello, > -Ursprüngliche Nachricht- > Von: xorg [mailto:xorg-boun...@lists.x.org] Im Auftrag von Felix Miata > Gesendet: Mittwoch, 13. Dezember 2017 11:31 > An: xorg@lists.x.org > Betreff: Re: monitor hotplug resolution switch > > Johann Obermayr composed on 2017-12-13 08:36 (UTC: > > >> Johann Obermayr composed: > > >>> 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? > > > yes, sorry. > > X86 dualcore Intel(R) Celeron(R) CPU G1820 @ 2.70GHz With On board > > graphics i915 > > 'inxi -c0 -G' and/or 'lspci -nnk | grep -A4 VGA' would tell a bit more. 00:02.0 VGA compatible controller [0300]: Intel Corporation Haswell Integrated Graphics Controller [8086:0402] (rev 06) Subsystem: Intel Corporation Haswell Integrated Graphics Controller [8086:0402] Kernel driver in use: i915 > > > Older Yocto build with Kernel 3.10.0 > > That kernel version is older than your G1820 CPU. > > > 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 > > Why did you omit the "Kernel command line:" line? What's on it might > explain why falling back to 320x200, if the age of your hardware being newer > than your software does not. > > > And using xf86-video-intel-2.21.3.tar.bz2 > > That predates the release of your G1820 (Haswell) CPU by nearly a year. Now i have compile version 2.99.917 This support virtual outputs. (with sna enabled) Now I will make some test with this virtual outputs. > > > xorg.conf > ... > > Section "Screen" > > Identifier "Screen0" > > Monitor"Monitor0" > > DefaultDepth 16 > > SubSection "Display" > > Viewport 0 0 > > Depth 16 > > EndSubSection > > EndSection > > > Yes we use 16 bit color depth. > > That's not as well tested as the higher depths, and may cause inexplicable > trouble. I think intel will wrap this. Because if I ask framebuffer, it tell me that he has 32bit color. But only x-server will work with 16 bit. > > > root@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. > > Section "Monitor" > ... > Option "PreferredMode" "1920x1080" > ... > EndSection > > PreferredMode option should define resolution preferred, if the hardware is > supported. > -- > "Wisdom is supreme; therefore get wisdom. Whatever else you get, get > wisdom." Proverbs 4:7 (New Living Translation) > > Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! > > Felix Miata *** http://fm.no-ip.com/ > ___ > xorg@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 ___ xorg@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
AW: monitor hotplug resolution switch
> -Ursprüngliche Nachricht- > Von: xorg [mailto:xorg-boun...@lists.x.org] Im Auftrag von j...@dodin.org > Gesendet: Dienstag, 12. Dezember 2017 23:30 > An: xorg@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@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@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 ___ xorg@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
monitor hotplug resolution switch
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 ? Thanks for help Johann ___ xorg@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