You are not logged in.

#1 2017-10-19 11:58:43

jD91mZM2
Member
Registered: 2017-10-19
Posts: 21
Website

[Solved] Switching TTYs is buggy.

Ok so this is not the first time I have had issues, I firstly wanna point out.
On KDE Neon I couldn't even see other TTYs, and it would freeze until I changed back.

On Arch Linux though, it works, but sometimes when I change back, all input methods stop working!
I suddenly can't move my mouse, type, not even use SysRq!
I literally have to hold the power button, which hurts my soul.

Does anybody have any idea of what's going on?
It could be a driver issue, but then again it works perfectly until I actually change and change back TTYs.
Could this be an issue with X? I do use X on TTY1, which could explain why it has (yet) only happened when changing back.

TL;DR: Why does changing between TTYs sometimes make my mouse and keyboard stop working?

Thanks a lot!

Last edited by jD91mZM2 (2017-10-20 06:31:48)

Offline

#2 2017-10-19 15:13:05

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [Solved] Switching TTYs is buggy.

No idea, you haven't told us anything about your hardware, card, driver, or what is in your logs or journal...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2017-10-19 15:15:26

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,722

Re: [Solved] Switching TTYs is buggy.

Also, when this happens, are the keyboard lights flashing?  Can you ssh into the box?  can you ping the box?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#4 2017-10-19 17:08:32

jD91mZM2
Member
Registered: 2017-10-19
Posts: 21
Website

Re: [Solved] Switching TTYs is buggy.

Ah, thank you. Sorry for not providing the necessary details.
How do I check logs? Doesn't `dmesg` reset per boot?

I do not host an SSH server on my computer, so I can't SSH into it. I could try pinging, though.
I think that would work though, because I can still receive notifications. It's not frozen, it just doesn't accept any input.

Offline

#5 2017-10-19 17:14:07

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [Solved] Switching TTYs is buggy.

Boot into the console and read your journal and Xorg.log from the previous boot.
https://wiki.archlinux.org/index.php/Sy … _boot_into
https://wiki.archlinux.org/index.php/Sy … ing_output


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#6 2017-10-19 17:14:39

loqs
Member
Registered: 2014-03-06
Posts: 19,113

Re: [Solved] Switching TTYs is buggy.

Systemd#Journal includes dmesg and all systemd messages,  Xorg#General to locate the current Xorg.#.log

Offline

#7 2017-10-19 18:43:42

jD91mZM2
Member
Registered: 2017-10-19
Posts: 21
Website

Re: [Solved] Switching TTYs is buggy.

Journal around the time. It doesn't seem to have anything other than my failed login attempts (I was stupid enough to forget my new password I generated today. Thankfully didn't change the root password.)

Xorg.0.old.
I think you found it! After changing back, it appears to think the webcam is the keyboard and everything like that. Then it literally prints 20000 lines of the same error to the log file.

Offline

#8 2017-10-19 19:36:39

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [Solved] Switching TTYs is buggy.

Please don't paste truncated logs, paste the entire thing (especially the head): https://wiki.archlinux.org/index.php/Co … s_and_code

Also, include details of your X session: how you start it, what you are starting, how you manage input, package details and versions, etc...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#9 2017-10-19 21:16:55

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,868

Re: [Solved] Switching TTYs is buggy.

There's regression w/ some touchpads (incl. elantech) since 4.12: https://bugs.archlinux.org/task/55030
=> Try the behavior on the LTS kernel (also install nvidia-lts)

Offline

#10 2017-10-20 06:31:03

jD91mZM2
Member
Registered: 2017-10-19
Posts: 21
Website

Re: [Solved] Switching TTYs is buggy.

Jason, sorry for not providing the necessary details. I felt like I didn't want to share everything about my computer, although I suppose it doesn't really matter.

Seth, you appear to have found the issue! I can't seem to reproduce the freezes after installing the LTS kernel.
Now... I can't decide. Should I keep using the LTS kernel? Is there anything bad with that? I suppose not, but on the other hand Arch is normally liked for always keeping the latest versions.
(By the way, I'm using the open source nvidia drivers, not the propietary ones. So nvidia-lts wasn't necessary smile)

Thank you both a lot smile
You're amazing!

Offline

#11 2017-10-20 06:33:41

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,868

Re: [Solved] Switching TTYs is buggy.

At some point the lts kernel will probably be a version including the critical patches, so this is only a temporary solution.

Offline

#12 2017-10-20 06:35:41

jD91mZM2
Member
Registered: 2017-10-19
Posts: 21
Website

Re: [Solved] Switching TTYs is buggy.

But won't they fix the bug before merging it with LTS?

Offline

Board footer

Powered by FluxBB