<div dir="ltr">Hello all!<div><br></div><div>I am encountering a peculiar problem with Fast User Switching or Kernel Mode Setting and I do not know how to troubleshoot it.<div><br><div>When I run two (or more) Virtual Terminals switching between them (Ctrl+Alt+F2-3, etc.) takes 2+ seconds. (That is either simply initiated with <span id="3dc32889-65f3-4112-a5c4-20563e4e1bdf" class="GINGER_SOFTWARE_mark">startx</span> from tty2 and tty3 or as different displays with <span id="9804fd9a-05a0-4b42-8556-b2a6ec24fc7d" class="GINGER_SOFTWARE_mark">KDisplay Manager</span> (kdm) in<span id="fb084356-c126-4f3c-9817-f9d192b4e946" class="GINGER_SOFTWARE_mark"> :</span>0 and<span id="2d0348fe-ef48-4a96-a4a0-2515cc6f0ad6" class="GINGER_SOFTWARE_mark"> :</span>1)</div><div><br></div><div>I am using an <span id="0d937349-2dfc-4521-8d33-bc8da0951469" class="GINGER_SOFTWARE_mark">intel</span> graphics driver so I suppose KMS should be enabled by default and this seems to be the case, but there still are delays <span id="6c30c706-339e-473a-b77c-5ad343e442cd" class="GINGER_SOFTWARE_mark">swithing</span> VTs.</div><div><br></div><div>I have followed the instructions at <a href="http://carlosbecker.com/posts/how-to-enable-kms-on-i915-graphiccard-archlinux/">http://carlosbecker.com/posts/how-to-enable-kms-on-i915-graphiccard-archlinux/</a> <a href="https://wiki.archlinux.org/index.php/kernel_mode_setting">https://wiki.archlinux.org/index.php/kernel_mode_setting</a> <a href="https://wiki.archlinux.org/index.php/Intel_graphics">https://wiki.archlinux.org/index.php/Intel_graphics</a> but I am still experiencing the problem. </div><div><br></div><div>Last, I am certain it is not a hardware related issue, because I can fast switch in <span id="06430c71-ca1f-4325-a9d6-ccae1b49416e" class="GINGER_SOFTWARE_mark">ubuntu</span>, but not in Arch <span id="3b97191b-4443-4764-818b-085f7cc1eae3" class="GINGER_SOFTWARE_mark">linux</span>.</div><div><br></div><div><br></div><div><br></div><div>Any ideas?</div><div><br></div><div><br></div><div><br></div><div><br></div><div><div>$ <span id="b4bd18f1-f42d-42d7-bc1a-381e22b587ef" class="GINGER_SOFTWARE_mark">sudo</span> cat /sys/module/i915/parameters/<span id="ef0507c0-9809-458a-b2d2-8dcf29704cf2" class="GINGER_SOFTWARE_mark">modeset</span></div><div>1</div></div><div><br></div><div>### Note: ### Before starting the "process" of enabling KMS (which I suppose it should be enabled in the first place, right?) this value was: -1</div><div><br></div><div><div>$ <span id="d35c4322-f93e-4e56-a62a-cecf6be7f674" class="GINGER_SOFTWARE_mark">uname</span> -a</div><div>Linux <span id="8dd56fa9-c886-452b-8caf-eb905d12f9af" class="GINGER_SOFTWARE_mark">myhostname</span> 3.16.4-1-ARCH #1 SMP PREEMPT Mon Oct 6 08:22:27 CEST 2014 x86_64 GNU/Linux</div></div><div><br></div><div><div><div>$ lsmod | grep -e drm -e 915 -e kms</div><div>crc32_pclmul 12915 0 </div><div>scsi_mod 142915 4 uas,usb_storage,libata,sd_mod</div><div>i915 864879 8 </div><div><span id="42cca373-47e9-4f7a-9635-5d2a63e16d74" class="GINGER_SOFTWARE_mark">button</span> 12909 1 i915</div><div>i2c_algo_bit 12744 1 i915</div><div><span id="f343ae25-fcce-421d-8acc-3ccc51584b24" class="GINGER_SOFTWARE_mark">video</span> 17995 1 i915</div><div>drm_kms_helper 49262 1 i915</div><div><span id="9c59ff94-fbaa-4b37-b581-187a9963b0b0" class="GINGER_SOFTWARE_mark">drm</span> 258005 10 i915<span id="0e22d063-3182-4d06-81c4-dbc5797b645f" class="GINGER_SOFTWARE_mark">,</span>drm_kms_helper</div><div>i2c_core 50152 5 <span id="8f84b1cb-b9e6-468e-842d-fd9be934f610" class="GINGER_SOFTWARE_mark">drm</span><span id="10abe53e-0b7d-40af-91b9-b617aa8cf30c" class="GINGER_SOFTWARE_mark">,</span>i915<span id="63cae5ab-9cfb-4329-a738-3ffa799758ed" class="GINGER_SOFTWARE_mark">,</span>i2c_i801<span id="74fd4365-bce4-4e5f-84d2-04ea73728df9" class="GINGER_SOFTWARE_mark">,</span>drm_kms_helper<span id="bf02e19c-472f-4298-bb51-06639746f6fe" class="GINGER_SOFTWARE_mark">,</span>i2c_algo_bit</div><div>intel_gtt 17848 2 i915<span id="910a9075-c481-468e-93ac-8363532c885e" class="GINGER_SOFTWARE_mark">,</span>intel_agp</div></div></div><div><br></div><div><div>$ <span id="6a5969ab-45f8-46ca-ab53-302b48de5ec4" class="GINGER_SOFTWARE_mark">sudo</span> lspci -vvnn | head -28 | tail -21</div><div>00:02.0 VGA compatible controller [0300]: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller [8086:0152] (rev 09) (prog-if 00 [VGA controller])</div><div> Subsystem: ASRock Incorporation Device [1849:0152]</div><div> Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+</div><div> Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-</div><div> Latency: 0</div><div> Interrupt: pin A routed to IRQ 40</div><div> Region 0: Memory at f7800000 (64-bit, non-prefetchable) [size=4M]</div><div> Region 2: Memory at e0000000 (64-bit, prefetchable) [size=256M]</div><div> Region 4: I/O ports at f000 [size=64]</div><div> Expansion ROM at <unassigned> [disabled]</div><div> Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-</div><div> Address: fee0f00c Data: 4181</div><div> Capabilities: [d0] Power Management version 2</div><div> Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)</div><div> Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-</div><div> Capabilities: [a4] PCI Advanced Features</div><div> <span id="03c7b671-2feb-4615-80fe-27fbfcb80749" class="GINGER_SOFTWARE_mark">AFCap</span>: TP+ FLR+</div><div> <span id="d5f215b3-118a-4329-a096-194b0834e7e2" class="GINGER_SOFTWARE_mark">AFCtrl</span>: FLR-</div><div> <span id="e45c88bb-1c87-477f-86c3-74cee2c8e539" class="GINGER_SOFTWARE_mark">AFStatus</span>: TP-</div><div> Kernel driver in use: i915</div><div> Kernel modules: i915</div></div><div><br></div><div><div>$ head -10 /var/log/Xorg<span id="928a6535-36aa-4037-9f76-4ba777cc4778" class="GINGER_SOFTWARE_mark">.</span>0<span id="ce60b1be-f522-4920-b142-0f1102305545" class="GINGER_SOFTWARE_mark">.</span>log</div><div>[ 4.919] </div><div><span id="f40cb9c1-4922-463b-aa85-256b4657ec98" class="GINGER_SOFTWARE_mark">X.</span>Org X Server 1.16.1</div><div>Release Date: 2014-09-21</div><div><span id="a727028a-3af4-4351-8a90-7ad617f3845e" class="GINGER_SOFTWARE_mark">[ </span>4.919] X Protocol Version 11, Revision 0</div><div><span id="821b6f4c-64da-4d48-abd8-5b8613a80d92" class="GINGER_SOFTWARE_mark">[ </span>4.919] Build Operating System: Linux 3.16.1-1-ARCH x86_64 </div><div><span id="45d63f5a-f2bb-4eb0-93ab-ee234304c410" class="GINGER_SOFTWARE_mark">[ </span>4.919] Current Operating System: Linux <span id="fce8362c-5ad2-4eb0-b10f-8c20c59a2f72" class="GINGER_SOFTWARE_mark">myhostname</span> 3.16.4-1-ARCH #1 SMP PREEMPT Mon Oct 6 08:22:27 CEST 2014 x86_64</div><div><span id="8b79d1d6-fbf7-425a-b6e2-81dcbc41faac" class="GINGER_SOFTWARE_mark">[ </span>4.919] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-<span id="dee42a05-d518-4a62-9224-a822cae99c39" class="GINGER_SOFTWARE_mark">linux</span> root=UUID=af9a90ee-5db2-4abf-b8be-006a65e9f09e <span id="8bc3418f-fa2c-42aa-b763-a116347c6161" class="GINGER_SOFTWARE_mark">rw</span> quiet video=SVIDEO-1<span id="9777d93b-97f5-4b10-a4fa-5fe5c8c1fb17" class="GINGER_SOFTWARE_mark">:</span>d</div><div><span id="a73a9347-e9a1-4528-92c1-5c10b9b9b6a4" class="GINGER_SOFTWARE_mark">[ </span>4.920] Build Date: 21 September 2014 10:53:13AM</div><div>[ 4.920] </div><div><span id="1071c964-418e-447b-8ea9-0ee195b9d2e6" class="GINGER_SOFTWARE_mark">[ </span>4.920] Current version of <span id="489f32c9-5d7f-4c7e-96b5-22e5ff348255" class="GINGER_SOFTWARE_mark">pixman</span>: 0.32.6</div></div><div><br></div><div>### Note: ### As kernel parameters I have also tried video=SVIDEO-1<span id="d40d01c2-5dfb-47bb-abcc-1c0b589c9084" class="GINGER_SOFTWARE_mark">:</span>d, i915<span id="f2279a8c-c03e-4474-a531-60c32912160c" class="GINGER_SOFTWARE_mark">.</span>modeset=1, and nothing, but neither works.</div><div><br></div>
</div></div></div>