<div dir="ltr"><div><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">Hello all!</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">I am not sure this is the appropriate mailing list, and I have also</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">posted to  </span><a href="mailto:intel-gfx@lists.freedesktop.org" style="font-family:arial,sans-serif;font-size:12.8000001907349px">intel-gfx@lists.freedesktop.org</a><span style="font-family:arial,sans-serif;font-size:12.8000001907349px"> (without any solution) and</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px;white-space:nowrap"> </span><span style="font-family:arial,sans-serif;font-size:12.8000001907349px;white-space:nowrap"><a href="mailto:arch-general@archlinux.org">arch-general@archlinux.org</a></span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">Please indicate if you recommend me posting the problem to another list.</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">I am encountering a peculiar problem with Fast User Switching or</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">Kernel Mode Setting and I do not know how to troubleshoot it.</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">Suppose the following tty2,3 or VTs:</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">1. Ctrl+Alt+F2:    logged in user in console (no X)</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">2. Ctrl+Alt+F3:    logged in user in console (no X)</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">3. Ctrl+Alt+F4:    logged in user in Desktop Environment (X)</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">4. Ctrl+Alt+F5:    logged in user in Desktop Environment (X)</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">From 1 to 2, or 2 to 1 there is no delay.</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">From 1,2 to 3, or 1,2 to 4 there is no delay.</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">From 3,4 to 1,2 there **is** delay.</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">From 3 to 4, or 4 to 3, there **is**delay.</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">In words: when I run two (or more) Virtual Terminals switching between</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">them (Ctrl+Alt+F4-5, etc.) takes 2+ seconds. (The VTs are either</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">simply initiated with startx  from tty2 and tty3 and having only TWM,</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">xorg-clock and xterm as their open windows OR as different displays</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">with KDisplay Manager (kdm) in :0 and :1)</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">I am using an intel graphics driver so I suppose KMS should be enabled</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">by default and this seems to be the case, but there still are delays</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">swithing between VTs.</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">I have followed the instructions at</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><a href="http://carlosbecker.com/posts/how-to-enable-kms-on-i915-graphiccard-archlinux/" target="_blank" style="font-family:arial,sans-serif;font-size:12.8000001907349px">http://carlosbecker.com/posts/how-to-enable-kms-on-i915-graphiccard-archlinux/</a><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><a href="https://wiki.archlinux.org/index.php/kernel_mode_setting" target="_blank" style="font-family:arial,sans-serif;font-size:12.8000001907349px">https://wiki.archlinux.org/index.php/kernel_mode_setting</a><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><a href="https://wiki.archlinux.org/index.php/Intel_graphics" target="_blank" style="font-family:arial,sans-serif;font-size:12.8000001907349px">https://wiki.archlinux.org/index.php/Intel_graphics</a><span style="font-family:arial,sans-serif;font-size:12.8000001907349px"> after a fresh Arch</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">Linux installation, but I am still experiencing the problem.</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">I am certain it is not a hardware related issue, because I can fast</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">switch in ubuntu, but not in Arch linux.</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">My Arch uses systemd and Ubuntu upstart.</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">Last, I am aware of the systemd's on-demand "feature" of spawning</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">terminals but I think it is not related to this, since I think I</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">correctly "pre-spawned" them.</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">How can I make switching between VTs as instantaneous as possible?</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">PS:</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">$ sudo cat /sys/module/i915/parameters/</span><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">modeset</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">1</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">### Note: ### Before starting the "process" of enabling KMS (which I</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">suppose it should be enabled in the first place, right?) this value</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">was:    -1</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">$ uname -a</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">Linux myhostname 3.16.4-1-ARCH #1 SMP PREEMPT Mon Oct 6 08:22:27 CEST</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">2014 x86_64 GNU/Linux</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">$ lsmod | grep -e drm -e 915 -e kms</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">crc32_pclmul        12915     0</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">scsi_mod              142915   4 uas,usb_storage,libata,sd_mod</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">i915                       864879  8</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">button                    12909    1 i915</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">i2c_algo_bit           12744    1 i915</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">video                      17995    1 i915</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">drm_kms_helper    49262    1 i915</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">drm                         258005  10 i915,drm_kms_helper</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">i2c_core                  50152    5</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">drm,i915,i2c_i801,drm_kms_</span><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">helper,i2c_algo_bit</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">intel_gtt                   17848    2 i915,intel_agp</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">$ sudo lspci -vvnn | head -28 | tail -21</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">00:02.0 VGA compatible controller [0300]: Intel Corporation Xeon</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">E3-1200 v2/3rd Gen Core processor Graphics Controller [8086:0152] (rev</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">09) (prog-if 00 [VGA controller])</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">        Subsystem: ASRock Incorporation Device [1849:0152]</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">ParErr- Stepping- SERR- FastB2B- DisINTx+</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort-</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px"><TAbort- <MAbort- >SERR- <PERR- INTx-</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">        Latency: 0</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">        Interrupt: pin A routed to IRQ 40</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">        Region 0: Memory at f7800000 (64-bit, non-prefetchable) [size=4M]</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">        Region 2: Memory at e0000000 (64-bit, prefetchable) [size=256M]</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">        Region 4: I/O ports at f000 [size=64]</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">        Expansion ROM at <unassigned> [disabled]</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">        Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">                Address: fee0f00c  Data: 4181</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">        Capabilities: [d0] Power Management version 2</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">                Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">PME(D0-,D1-,D2-,D3hot-,D3cold-</span><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">)</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">                Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">        Capabilities: [a4] PCI Advanced Features</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">                AFCap: TP+ FLR+</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">                AFCtrl: FLR-</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">                AFStatus: TP-</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">        Kernel driver in use: i915</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">        Kernel modules: i915</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">$ head -10 /var/log/Xorg.0.log</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">[     4.919]</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">X.Org X Server 1.16.1</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">Release Date: 2014-09-21</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">[     4.919] X Protocol Version 11, Revision 0</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">[     4.919] Build Operating System: Linux 3.16.1-1-ARCH x86_64</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">[     4.919] Current Operating System: Linux myhostname 3.16.4-1-ARCH</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">#1 SMP PREEMPT Mon Oct 6 08:22:27 CEST 2014 x86_64</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">[     4.919] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">root=UUID=af9a90ee-5db2-4abf-</span><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">b8be-006a65e9f09e rw quiet</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">video=SVIDEO-1:d</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">[     4.920] Build Date: 21 September 2014  10:53:13AM</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">[     4.920]</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">[     4.920] Current version of pixman: 0.32.6</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">### Note: ### As kernel parameters I have also tried video=SVIDEO-1:d,</span><br style="font-family:arial,sans-serif;font-size:12.8000001907349px"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">i915.modeset=1, and nothing, but neither works.</span><br></div>
</div>