You are not logged in.

#1 2016-03-20 04:26:32

i_love_r34
Member
From: Mexico
Registered: 2016-02-14
Posts: 87

[Solved]Black Screen when I switch to tty1-6

Hi again!

My problem is when I switch to tty (crtl+alt+f1-f6) I get a black screen with blinking cursor instead of login screen, but I not have problem when I switch again to X.
I recently update the kernel and my graphic driver but I have the problem since I installed Arch.
I check the state of getty in systemctl but says all is fine:

    getty@tty3.service - Getty on tty3
   Loaded: loaded (/usr/lib/systemd/system/getty@.service; enabled; vendor preset: enabled)
   Active: active (running) since Sat 2016-03-19 20:20:05 PDT; 44min ago
     Docs: man:agetty(8)
           man:systemd-getty-generator(8)
           http://0pointer.de/blog/projects/serial-console.html
 Main PID: 1540 (agetty)
   CGroup: /system.slice/system-getty.slice/getty@tty3.service
           └─1540 /sbin/agetty --noclear tty3 linux

Mar 19 20:20:05 illuminati.eye systemd[1]: Started Getty on tty3.

And says the same in all status reports.

Dmesg and journalctl not have any error information about getty.

Any solution?

Thanks!

Last edited by i_love_r34 (2016-03-21 23:56:06)

Offline

#2 2016-03-20 05:25:46

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,523

Re: [Solved]Black Screen when I switch to tty1-6

Details of your system may help to discover a solution.

 lspci -vnn | grep VGA

Brand and model of your computer.


do it good first, it will be faster than do it twice the saint wink

Offline

#3 2016-03-20 06:56:29

i_love_r34
Member
From: Mexico
Registered: 2016-02-14
Posts: 87

Re: [Solved]Black Screen when I switch to tty1-6

The command give me this:
00:02.0 VGA compatible controller [0300]: Intel Corporation Skylake Integrated Graphics [8086:191b] (rev 06) (prog-if 00 [VGA controller])

Offline

#4 2016-03-20 07:31:22

mpan
Member
Registered: 2012-08-01
Posts: 1,208
Website

Re: [Solved]Black Screen when I switch to tty1-6

Also:

ps -au | grep [a]getty

Sometimes I seem a bit harsh — don’t get offended too easily!

Offline

#5 2016-03-20 12:08:44

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,523

Re: [Solved]Black Screen when I switch to tty1-6

By the informations you provided I found this for your MSI 14" GS40 Phantom
Try to disable nvidia


do it good first, it will be faster than do it twice the saint wink

Offline

#6 2016-03-21 06:22:45

i_love_r34
Member
From: Mexico
Registered: 2016-02-14
Posts: 87

Re: [Solved]Black Screen when I switch to tty1-6

mpan wrote:

Also:

ps -au | grep [a]getty

The command return this:

root     22510  0.0  0.0   7972  1512 tty2     Ss+  22:57   0:00 /sbin/agetty --noclear tty2 linux
root     22514  0.0  0.0   7972  1512 tty3     Ss+  22:57   0:00 /sbin/agetty --noclear tty3 linux
root     22517  0.0  0.0   7972  1456 tty4     Ss+  22:57   0:00 /sbin/agetty --noclear tty4 linux
root     22520  0.1  0.0   7972  1560 tty5     Ss+  22:57   0:00 /sbin/agetty --noclear tty5 linux
root     22525  0.0  0.0   7972  1460 tty6     Ss+  22:57   0:00 /sbin/agetty --noclear tty6 linux
TheSaint wrote:

By the informations you provided I found this for your MSI 14" GS40 Phantom
Try to disable nvidia

Currently I have the disabled the nvidia card of my computer by nouveau and nv in blacklist. I only use the Intel graphic card.

Additional Information:
When I switch to tty 1-6 the sound stops but when I switch to X the sound return to normality; in some cases, when I switch to tty and return to X, the applications show graphics errors (Like firefox shows error colors of the page or the applications shows bad colors of the interface)

Last edited by i_love_r34 (2016-03-21 06:23:52)

Offline

#7 2016-03-21 06:32:24

mpan
Member
Registered: 2012-08-01
Posts: 1,208
Website

Re: [Solved]Black Screen when I switch to tty1-6

Does any of those provide any useful info?

# journalctl -b _COMM=agetty
# journalctl -b _PID=pid

(replace pid with the actual PID of one of the agetty instances — the second column in the ps output).


Sometimes I seem a bit harsh — don’t get offended too easily!

Offline

#8 2016-03-21 11:49:57

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,523

Re: [Solved]Black Screen when I switch to tty1-6

One more think,  try to stop the login manager and start the machine into non graphical state. From there issue startx and try what will happen when switching TTY.


do it good first, it will be faster than do it twice the saint wink

Offline

#9 2016-03-21 21:45:47

i_love_r34
Member
From: Mexico
Registered: 2016-02-14
Posts: 87

Re: [Solved]Black Screen when I switch to tty1-6

mpan wrote:

Does any of those provide any useful info?

# journalctl -b _COMM=agetty
# journalctl -b _PID=pid

(replace pid with the actual PID of one of the agetty instances — the second column in the ps output).

Journalctl says:

[monesvol@illuminati ~]$ journalctl -b _COMM=agetty
-- No entries --

and:

[monesvol@illuminati ~]$ ps aux | grep agetty
monesvol 21360  0.0  0.0  10756  2112 pts/1    S+   14:41   0:00 grep agetty
root     22510  0.0  0.0   7972  1420 tty2     Ss+  Mar20   0:00 /sbin/agetty --noclear tty2 linux
root     22514  0.0  0.0   7972  1420 tty3     Ss+  Mar20   0:00 /sbin/agetty --noclear tty3 linux
root     22517  0.0  0.0   7972  1372 tty4     Ss+  Mar20   0:00 /sbin/agetty --noclear tty4 linux
root     22520  0.0  0.0   7972  1476 tty5     Ss+  Mar20   0:00 /sbin/agetty --noclear tty5 linux
root     22525  0.0  0.0   7972  1376 tty6     Ss+  Mar20   0:00 /sbin/agetty --noclear tty6 linux
[monesvol@illuminati ~]$ journalctl -b _PID=22510
-- No entries --
[monesvol@illuminati ~]$ journalctl -b _PID=22514
-- No entries --
[monesvol@illuminati ~]$ journalctl -b _PID=22517
-- No entries --
[monesvol@illuminati ~]$ journalctl -b _PID=22520
-- No entries --
[monesvol@illuminati ~]$ journalctl -b _PID=22525
-- No entries --

Offline

#10 2016-03-21 23:54:16

i_love_r34
Member
From: Mexico
Registered: 2016-02-14
Posts: 87

Re: [Solved]Black Screen when I switch to tty1-6

TheSaint wrote:

One more think,  try to stop the login manager and start the machine into non graphical state. From there issue startx and try what will happen when switching TTY.

Amazing, the ttys start with normality and serveral graphics errors fixed.

Offline

#11 2016-03-21 23:55:45

i_love_r34
Member
From: Mexico
Registered: 2016-02-14
Posts: 87

Re: [Solved]Black Screen when I switch to tty1-6

The solution is change the Session Manager.
Thanks to all for the help!

Offline

Board footer

Powered by FluxBB