You are not logged in.

#1 2023-02-15 10:43:26

travnick
Member
From: Poland
Registered: 2011-04-24
Posts: 75

Virtual console not available on F1-F6

Today I'm facing some X11 issue (probably after yesterday update, fortunately wayland is kind of working), so tried to switch to virtual console on F1-F6, but none was working.

I mean, there is no login prompt, only a few last lines of boot process.

How to start debugging it?

The /etc/systemd/logind.conf is untouched, all options commented out.
System us up to date (right now).

ps aux |grep tty

root        1513  0.1  0.1 6509368 53044 tty7    Ssl+ 10:33   0:06 /usr/lib/Xorg -nolisten tcp -background none -seat seat0 vt7 -auth /var/run/sddm/{2227e923-f6fd-4c4b-8e33-d1fe48c851db} -noreset -displayfd 17
my_user      1908  0.0  0.1 205364 43428 tty1     Ssl+ 10:34   0:00 /usr/bin/startplasma-wayland
root        6096  0.0  0.0  11732  2068 tty3     Ss+  10:49   0:00 /sbin/agetty -o -p -- \u --noclear - linux
root        6757  0.0  0.0  11732  2140 tty4     Ss+  10:56   0:00 /sbin/agetty -o -p -- \u --noclear - linux
root        6760  0.0  0.0  11732   940 tty2     Ss+  10:56   0:00 /sbin/agetty -o -p -- \u --noclear - linux
root       10720  0.0  0.0  11732   940 tty6     Ss+  11:34   0:00 /sbin/agetty -o -p -- \u --noclear - linux
my_user ~ $ systemctl status getty
getty-pre.target    getty.target        getty@tty1.service  getty@tty2.service  getty@tty3.service  getty@tty4.service  getty@tty6.service  
my_user ~ $ systemctl status getty@tty1.service 
○ getty@tty1.service - Getty on tty1
     Loaded: loaded (/usr/lib/systemd/system/getty@.service; enabled; preset: enabled)
     Active: inactive (dead)
       Docs: man:agetty(8)
             man:systemd-getty-generator(8)
             http://0pointer.de/blog/projects/serial-console.html
my_user ~ $ systemctl status getty@tty2.service 
● getty@tty2.service - Getty on tty2
     Loaded: loaded (/usr/lib/systemd/system/getty@.service; disabled; preset: enabled)
     Active: active (running) since Wed 2023-02-15 10:56:09 CET; 44min ago
       Docs: man:agetty(8)
             man:systemd-getty-generator(8)
             http://0pointer.de/blog/projects/serial-console.html
   Main PID: 6760 (agetty)
      Tasks: 1 (limit: 37642)
     Memory: 348.0K
     CGroup: /system.slice/system-getty.slice/getty@tty2.service
             └─6760 /sbin/agetty -o "-p -- \\u" --noclear - linux

lut 15 10:56:09 my_user-pc systemd[1]: Started Getty on tty2.
my_user ~ $ systemctl status getty@tty3.service 
● getty@tty3.service - Getty on tty3
     Loaded: loaded (/usr/lib/systemd/system/getty@.service; disabled; preset: enabled)
     Active: active (running) since Wed 2023-02-15 10:49:42 CET; 51min ago
       Docs: man:agetty(8)
             man:systemd-getty-generator(8)
             http://0pointer.de/blog/projects/serial-console.html
   Main PID: 6096 (agetty)
      Tasks: 1 (limit: 37642)
     Memory: 348.0K
     CGroup: /system.slice/system-getty.slice/getty@tty3.service
             └─6096 /sbin/agetty -o "-p -- \\u" --noclear - linux

lut 15 10:49:42 my_user-pc systemd[1]: Started Getty on tty3.
my_user ~ $ systemctl status getty@tty4.service 
● getty@tty4.service - Getty on tty4
     Loaded: loaded (/usr/lib/systemd/system/getty@.service; disabled; preset: enabled)
     Active: active (running) since Wed 2023-02-15 10:56:09 CET; 44min ago
       Docs: man:agetty(8)
             man:systemd-getty-generator(8)
             http://0pointer.de/blog/projects/serial-console.html
   Main PID: 6757 (agetty)
      Tasks: 1 (limit: 37642)
     Memory: 348.0K
     CGroup: /system.slice/system-getty.slice/getty@tty4.service
             └─6757 /sbin/agetty -o "-p -- \\u" --noclear - linux

lut 15 10:56:09 my_user-pc systemd[1]: Started Getty on tty4.
my_user ~ $ systemctl status getty@tty6.service 
● getty@tty6.service - Getty on tty6
     Loaded: loaded (/usr/lib/systemd/system/getty@.service; disabled; preset: enabled)
     Active: active (running) since Wed 2023-02-15 11:34:12 CET; 6min ago
       Docs: man:agetty(8)
             man:systemd-getty-generator(8)
             http://0pointer.de/blog/projects/serial-console.html
   Main PID: 10720 (agetty)
      Tasks: 1 (limit: 37642)
     Memory: 348.0K
     CGroup: /system.slice/system-getty.slice/getty@tty6.service
             └─10720 /sbin/agetty -o "-p -- \\u" --noclear - linux

lut 15 11:34:12 my_user-pc systemd[1]: Started Getty on tty6.

Using Plasma, Nvidia, there is also Intel gpu on board.

lsmod |grep video

video                  65536  2 i915,nvidia_modeset
wmi                    45056  2 video,mxm_wmi

Offline

#2 2023-02-15 11:07:13

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,295

Re: Virtual console not available on F1-F6

Are you actively using the intel GPU? If not blacklist it or disable it in your UEFI. That will be the primary reason why your VTs don't work. https://wiki.archlinux.org/title/NVIDIA … grated_GPU

Offline

#3 2023-02-15 11:18:57

travnick
Member
From: Poland
Registered: 2011-04-24
Posts: 75

Re: Virtual console not available on F1-F6

That was it! Disabling GPU in bios solved the issue. But is there any other option to fix this? I'd like to have intel gpu available in second X server.

Offline

#4 2023-02-15 11:30:59

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,295

Re: Virtual console not available on F1-F6

How do you intend to be doing that? The fact that the virtual console is not available means that you do not have a display attached to the integrated GPU and using the integrated gpu on a secondary X server for other purposes seems counterintuitive and likely not really useful.

You can avoid it by going to an older kernel that doesn't have the framebuffer breaking patch (5.19.x and earlier, afaik current LTS should also still qualifiy) or patching the kernel to remove the change that caused this: https://bbs.archlinux.org/viewtopic.php … 0#p2076510

Offline

#5 2023-02-15 11:47:11

travnick
Member
From: Poland
Registered: 2011-04-24
Posts: 75

Re: Virtual console not available on F1-F6

I do not have attached screen to intel gpu yet. But planning to set up multiset with a TV. But anyway, TV will not be available for "work usage".

Thanks for the link. Nice bug/issue/patch ;/

Offline

Board footer

Powered by FluxBB