From: Felix Miata <mrmazda@earthlink.net>
To: intel-gfx@lists.freedesktop.org
Subject: Re: Fast User Switching does not seem to work
Date: Wed, 08 Oct 2014 21:11:13 -0400 [thread overview]
Message-ID: <5435E0B1.1000101@earthlink.net> (raw)
In-Reply-To: <CANcfdL0MBCd5E3r590u_A9D+KEr+ZfxfEYPXtugR-9G6uG6yMQ@mail.gmail.com>
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/
next prev parent reply other threads:[~2014-10-09 1:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-09 0:38 Fast User Switching does not seem to work constantine
2014-10-09 1:11 ` Felix Miata [this message]
2014-10-09 13:35 ` constantine
2014-10-09 14:03 ` Felix Miata
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5435E0B1.1000101@earthlink.net \
--to=mrmazda@earthlink.net \
--cc=intel-gfx@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox