[arch-general] Fast User Switching does not seem to work
Hello all! I am not sure this is the appropriate mailing list, and I have also posted to intel-gfx@lists.freedesktop.org (without any solution) and systemd-devel@lists.freedesktop.org Please indicate if you recommend me posting the problem to another list. I am encountering a peculiar problem with Fast User Switching or Kernel Mode Setting and I do not know how to troubleshoot it. Suppose the following tty2,3 or VTs: 1. Ctrl+Alt+F2: logged in user in console (no X) 2. Ctrl+Alt+F3: logged in user in console (no X) 3. Ctrl+Alt+F4: logged in user in Desktop Environment (X) 4. Ctrl+Alt+F5: logged in user in Desktop Environment (X)
From 1 to 2, or 2 to 1 there is no delay. From 1,2 to 3, or 1,2 to 4 there is no delay. From 3,4 to 1,2 there **is** delay. From 3 to 4, or 4 to 3, there **is**delay.
In words: when I run two (or more) Virtual Terminals switching between
them (Ctrl+Alt+F4-5, etc.) takes 2+ seconds. (The VTs are either
simply initiated with startx from tty2 and tty3 and having only TWM,
xorg-clock and xterm as their open windows OR as different displays
with KDisplay Manager (kdm) in :0 and :1)
I am using an intel graphics driver so I suppose KMS should be enabled
by default and this seems to be the case, but there still are delays
swithing between VTs.
I have followed the instructions at
http://carlosbecker.com/posts/how-to-enable-kms-on-i915-graphiccard-archlinu...
https://wiki.archlinux.org/index.php/kernel_mode_setting
https://wiki.archlinux.org/index.php/Intel_graphics after a fresh Arch
Linux installation, but I am still experiencing the problem.
I am certain it is not a hardware related issue, because I can fast
switch in ubuntu, but not in Arch linux.
My Arch uses systemd and Ubuntu upstart.
Last, I am aware of the systemd's on-demand "feature" of spawning
terminals but I think it is not related to this, since I think I
correctly "pre-spawned" them.
How can I make switching between VTs as instantaneous as possible?
PS:
$ sudo cat /sys/module/i915/parameters/modeset
1
### Note: ### Before starting the "process" of enabling KMS (which I
suppose it should be enabled in the first place, right?) this value
was: -1
$ uname -a
Linux myhostname 3.16.4-1-ARCH #1 SMP PREEMPT Mon Oct 6 08:22:27 CEST
2014 x86_64 GNU/Linux
$ lsmod | grep -e drm -e 915 -e kms
crc32_pclmul 12915 0
scsi_mod 142915 4 uas,usb_storage,libata,sd_mod
i915 864879 8
button 12909 1 i915
i2c_algo_bit 12744 1 i915
video 17995 1 i915
drm_kms_helper 49262 1 i915
drm 258005 10 i915,drm_kms_helper
i2c_core 50152 5
drm,i915,i2c_i801,drm_kms_helper,i2c_algo_bit
intel_gtt 17848 2 i915,intel_agp
$ sudo lspci -vvnn | head -28 | tail -21
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])
Subsystem: ASRock Incorporation Device [1849:0152]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort-
participants (1)
-
constantine