From mboxrd@z Thu Jan 1 00:00:00 1970 From: Felix Miata Subject: Re: Fast User Switching does not seem to work Date: Wed, 08 Oct 2014 21:11:13 -0400 Message-ID: <5435E0B1.1000101@earthlink.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from elasmtp-masked.atl.sa.earthlink.net (elasmtp-masked.atl.sa.earthlink.net [209.86.89.68]) by gabe.freedesktop.org (Postfix) with ESMTP id 4AB316E06F for ; Wed, 8 Oct 2014 18:18:06 -0700 (PDT) Received: from [24.144.107.77] (helo=[192.168.0.11]) by elasmtp-masked.atl.sa.earthlink.net with esmtpa (Exim 4.67) (envelope-from ) id 1Xc2G9-0000fF-Qu for intel-gfx@lists.freedesktop.org; Wed, 08 Oct 2014 21:11:13 -0400 In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org constantine composed on 2014-10-09 00:38 (UTC): > I am encountering a peculiar problem with Fast User Switching or Kernel > Mode Setting and I do not know how to troubleshoot it. > 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 startx from tty2 and tty3 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 > VTs. > I have followed the instructions at > http://carlosbecker.com/posts/how-to-enable-kms-on-i915-graphiccard-archlinux/ > https://wiki.archlinux.org/index.php/kernel_mode_setting > https://wiki.archlinux.org/index.php/Intel_graphics but I am still > experiencing the problem. > Last, I am certain it is not a hardware related issue, because I can fast > switch in ubuntu, but not in Arch linux. > Any ideas? Does your Arch use systemd? Is your *buntu not using systemd? Distros using systemd typically configure ttys to be on demand. Others do not. I find when I do not reconfigure my systemd installations to start logins on ttys at boot, delays getting to them are normal, and annoying. IOW, I don't think your annoyance has anything to do with KMS or video driver. I do the reconfiguration on systemd installations via script, which may need to be adjusted according to whether /lib or /usr/lib is applicable to your installation: cp -a /usr/lib/systemd/system/getty@.service /usr/lib/systemd/system/getty@tty1.service sed -i 's/TTYVTDisallocate=yes/TTYVTDisallocate=no/' /usr/lib/systemd/system/getty@tty1.service ln -sf /usr/lib/systemd/system/getty@tty1.service /etc/systemd/system/getty.target.wants/getty@tty1.service systemctl start getty@tty1.service ln -sf /usr/lib/systemd/system/getty@.service /etc/systemd/system/getty.target.wants/getty@tty2.service systemctl start getty@tty2.service ln -sf /usr/lib/systemd/system/getty@.service /etc/systemd/system/getty.target.wants/getty@tty3.service systemctl start getty@tty3.service ln -sf /usr/lib/systemd/system/getty@.service /etc/systemd/system/getty.target.wants/getty@tty4.service systemctl start getty@tty4.service ln -sf /usr/lib/systemd/system/getty@.service /etc/systemd/system/getty.target.wants/getty@tty5.service systemctl start getty@tty5.service ln -sf /usr/lib/systemd/system/getty@.service /etc/systemd/system/getty.target.wants/getty@tty6.service systemctl start getty@tty6.service -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/