Tty screens only show boot splash, no access to shell

I’ve seen a similar problem in here, but there was no solution offered there, so I’m trying my luck with opening this again.

I’m running xfce on X11, with a discrete nvidia gpu (gtx 1080) (a PC, not a laptop, so no hybrid mode).

inxi:

System:
  Kernel: 5.15.112-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.2.1
    parameters: BOOT_IMAGE=/boot/vmlinuz-5.15-x86_64
    root=UUID=14840702-a1f4-45f2-ac1d-bf20549068fa rw quiet apparmor=1
    security=apparmor udev.log_priority=3 mitigations=off
  Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.36 info: xfce4-panel wm: xfwm
    v: 4.18.0 vt: 7 dm: LightDM v: 1.32.0 Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Desktop System: Dell product: Precision 3630 Tower v: N/A
    serial: <superuser required> Chassis: type: 3 serial: <superuser required>
  Mobo: Dell model: 0NNNCT v: A01 serial: <superuser required> UEFI: Dell
    v: 2.19.0 date: 12/01/2022
Battery:
  Message: No system battery data found. Is one present?
Memory:
  System RAM: available: 31.18 GiB used: 2.44 GiB (7.8%)
  RAM Report: permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: Intel Core i7-8700 bits: 64 type: MT MCP arch: Coffee Lake
    gen: core 8 level: v3 note: check built: 2018 process: Intel 14nm family: 6
    model-id: 0x9E (158) stepping: 0xA (10) microcode: 0xF0
  Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
    L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 1.5 MiB desc: 6x256 KiB
    L3: 12 MiB desc: 1x12 MiB
  Speed (MHz): avg: 1850 high: 4163 min/max: 800/4600 scaling:
    driver: intel_pstate governor: powersave cores: 1: 3031 2: 4163 3: 2046
    4: 1456 5: 1059 6: 900 7: 899 8: 900 9: 900 10: 899 11: 3386 12: 2568
    bogomips: 76831
  Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat
    arch_capabilities arch_perfmon art avx avx2 bmi1 bmi2 bts clflush
    clflushopt cmov constant_tsc cpuid cpuid_fault cx16 cx8 de ds_cpl dtes64
    dtherm dts epb ept ept_ad erms est f16c flexpriority flush_l1d fma fpu
    fsgsbase fxsr ht hwp hwp_act_window hwp_epp hwp_notify ibpb ibrs ida
    intel_pt invpcid invpcid_single lahf_lm lm mca mce md_clear mmx monitor
    movbe mpx msr mtrr nonstop_tsc nopl nx pae pat pbe pcid pclmulqdq pdcm
    pdpe1gb pebs pge pln pni popcnt pse pse36 pts rdrand rdseed rdtscp
    rep_good sdbg sep smap smep smx ss ssbd sse sse2 sse4_1 sse4_2 ssse3 stibp
    syscall tm tm2 tpr_shadow tsc tsc_adjust tsc_deadline_timer vme vmx vnmi
    vpid x2apic xgetbv1 xsave xsavec xsaveopt xsaves xtopology xtpr
  Vulnerabilities:
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf mitigation: PTE Inversion; VMX: vulnerable
  Type: mds status: Vulnerable; SMT vulnerable
  Type: meltdown status: Vulnerable
  Type: mmio_stale_data status: Vulnerable
  Type: retbleed status: Vulnerable
  Type: spec_store_bypass status: Vulnerable
  Type: spectre_v1 status: Vulnerable: __user pointer sanitization and
    usercopy barriers only; no swapgs barriers
  Type: spectre_v2 status: Vulnerable, IBPB: disabled, STIBP: disabled,
    PBRSB-eIBRS: Not affected
  Type: srbds status: Vulnerable
  Type: tsx_async_abort mitigation: TSX disabled
Graphics:
  Device-1: Intel CoffeeLake-S GT2 [UHD Graphics 630] vendor: Dell driver: i915
    v: kernel arch: Gen-9.5 process: Intel 14nm built: 2016-20 ports:
    active: none empty: DP-1, DP-2, DP-3, HDMI-A-1, HDMI-A-2, HDMI-A-3
    bus-ID: 00:02.0 chip-ID: 8086:3e92 class-ID: 0300
  Device-2: NVIDIA GP104 [GeForce GTX 1080] vendor: Dell driver: nvidia
    v: 530.41.03 alternate: nouveau,nvidia_drm non-free: 530.xx+
    status: current (as of 2023-05) arch: Pascal code: GP10x process: TSMC 16nm
    built: 2016-21 pcie: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 01:00.0
    chip-ID: 10de:1b80 class-ID: 0300
  Display: x11 server: X.Org v: 21.1.8 compositor: xfwm v: 4.18.0 driver: X:
    loaded: nvidia gpu: i915,nvidia display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x286mm (20.00x11.26")
    s-diag: 583mm (22.95")
  Monitor-1: DP-4 res: 1920x1080 hz: 60 dpi: 94
    size: 521x293mm (20.51x11.54") diag: 598mm (23.53") modes: N/A
  API: OpenGL v: 4.6.0 NVIDIA 530.41.03 renderer: NVIDIA GeForce GTX
    1080/PCIe/SSE2 direct-render: Yes
Audio:
  Device-1: Intel Cannon Lake PCH cAVS vendor: Dell driver: snd_hda_intel
    v: kernel alternate: snd_soc_skl,snd_sof_pci_intel_cnl bus-ID: 00:1f.3
    chip-ID: 8086:a348 class-ID: 0403
  API: ALSA v: k5.15.112-1-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: JACK v: 1.9.22 status: off tools: N/A
  Server-2: PipeWire v: 0.3.70 status: off tools: pw-cli
  Server-3: PulseAudio v: 16.1 status: active with: 1: pulseaudio-alsa
    type: plugin 2: pulseaudio-jack type: module tools: pacat,pactl,pavucontrol
Network:
  Device-1: Intel Ethernet I219-LM vendor: Dell driver: e1000e v: kernel
    port: N/A bus-ID: 00:1f.6 chip-ID: 8086:15bb class-ID: 0200
  IF: eno1 state: up speed: 100 Mbps duplex: full mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: dynamic noprefixroute scope: global
  IP v6: <filter> type: noprefixroute scope: link
  IF-ID-1: docker0 state: down mac: <filter>
  IP v4: <filter> scope: global broadcast: <filter>
  WAN IP: <filter>
Bluetooth:
  Message: No bluetooth data found.
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 476.94 GiB used: 164.03 GiB (34.4%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: Micron model: 1100 SATA 512GB
    size: 476.94 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
    tech: SSD serial: <filter> fw-rev: L022 scheme: GPT
  Optical-1: /dev/sr0 vendor: TS8XDVDS model: TRANSCEND rev: 1.00
    dev-links: cdrom
  Features: speed: 62 multisession: yes audio: yes dvd: yes
    rw: cd-r,cd-rw,dvd-r,dvd-ram state: running
Partition:
  ID-1: / raw-size: 210.08 GiB size: 205.72 GiB (97.93%)
    used: 163.96 GiB (79.7%) fs: ext4 dev: /dev/sda5 maj-min: 8:5 label: N/A
    uuid: 14840702-a1f4-45f2-ac1d-bf20549068fa
  ID-2: /boot/efi raw-size: 650 MiB size: 646 MiB (99.38%)
    used: 67.1 MiB (10.4%) fs: vfat dev: /dev/sda1 maj-min: 8:1 label: ESP
    uuid: B040-598E
Swap:
  Alert: No swap data was found.
Unmounted:
  ID-1: /dev/sda2 maj-min: 8:2 size: 128 MiB fs: <superuser required>
    label: N/A uuid: N/A
  ID-2: /dev/sda3 maj-min: 8:3 size: 265.12 GiB fs: ntfs label: OS
    uuid: 426C78126C77FF4B
  ID-3: /dev/sda4 maj-min: 8:4 size: 990 MiB fs: ntfs label: WINRETOOLS
    uuid: C26A19566A194895
USB:
  Hub-1: 1-0:1 info: hi-speed hub with single TT ports: 16 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Device-1: 1-10:2 info: Transcend Information Portable Super Multi Drive
    type: mass storage driver: usb-storage interfaces: 1 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 power: 500mA
    chip-ID: 8564:8000 class-ID: 0802 serial: <filter>
  Hub-2: 2-0:1 info: super-speed hub ports: 10 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
    class-ID: 0900
  Device-1: 2-8:2 info: Realtek USB3.0-CRW type: mass storage
    driver: usb-storage interfaces: 1 rev: 3.0 speed: 5 Gb/s (596.0 MiB/s)
    lanes: 1 mode: 3.2 gen-1x1 power: 800mA chip-ID: 0bda:0328 class-ID: 0806
    serial: <filter>
Sensors:
  System Temperatures: cpu: 35.0 C pch: 43.0 C mobo: N/A
  Fan Speeds (RPM): cpu: 1567 fan-2: 839
Info:
  Processes: 286 Uptime: 17m wakeups: 0 Init: systemd v: 252 default: graphical
  tool: systemctl Compilers: gcc: 12.2.1 alt: 11 clang: 15.0.7 Packages: 1798
  pm: pacman pkgs: 1778 libs: 438 tools: pamac,yay pm: flatpak pkgs: 20
  Shell: Bash v: 5.1.16 running-in: xfce4-terminal inxi: 3.3.27

nvidia-smi:

Mon May 22 10:10:53 2023       
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 530.41.03              Driver Version: 530.41.03    CUDA Version: 12.1     |
|-----------------------------------------+----------------------+----------------------+
| GPU  Name                  Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf            Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                                         |                      |               MIG M. |
|=========================================+======================+======================|
|   0  NVIDIA GeForce GTX 1080         Off| 00000000:01:00.0  On |                  N/A |
| 28%   38C    P8               10W / 180W|    371MiB /  8192MiB |      0%      Default |
|                                         |                      |                  N/A |
+-----------------------------------------+----------------------+----------------------+

mhwd -li

> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
     video-modesetting            2020.01.13                true            PCI
          video-nvidia            2023.03.23               false            PCI

mhwd -l

> 0000:01:00.0 (0300:10de:1b80) Display controller nVidia Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-prime            2023.03.23               false            PCI
video-hybrid-intel-nvidia-470xx-prime            2023.03.23               false            PCI
video-hybrid-intel-nvidia-390xx-bumblebee            2023.03.23               false            PCI
          video-nvidia            2023.03.23               false            PCI
    video-nvidia-470xx            2023.03.23               false            PCI
    video-nvidia-390xx            2023.03.23               false            PCI
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI


> 0000:00:02.0 (0300:8086:3e92) Display controller Intel Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-prime            2023.03.23               false            PCI
video-hybrid-intel-nvidia-470xx-prime            2023.03.23               false            PCI
video-hybrid-intel-nvidia-390xx-bumblebee            2023.03.23               false            PCI
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI


After moving to tty2, systemctl status getty@tty2 turns active:

● getty@tty2.service - Getty on tty2
     Loaded: loaded (/usr/lib/systemd/system/getty@.service; disabled; preset: enabled)
     Active: active (running) since Mon 2023-05-22 10:15:21 IDT; 16s ago
       Docs: man:agetty(8)
             man:systemd-getty-generator(8)
             http://0pointer.de/blog/projects/serial-console.html
   Main PID: 3417 (agetty)
      Tasks: 1 (limit: 38292)
     Memory: 400.0K
        CPU: 2ms
     CGroup: /system.slice/system-getty.slice/getty@tty2.service
             └─3417 /sbin/agetty -o "-p -- \\u" --noclear - linux

But it doesn’t show the shell, only the boot splash screen.

journalctl shows

... systemd[1]: Started Getty on tty2.
... audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='unit=getty@tty2 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'

I have this installation for about 2 years, and it used to work fine.

I’ve tried playing around with all the config options in /etc/default/grub, e.g. changing it to console instead of gfx. It didn’t fix it.

Also installed bootsplash-manager and set the theme to manjaro. splash screen is animating fine on startup.
Now when I start the tty I see the last frame of the splash screen (no animation).

That looks pretty normal. If you boot to shell so multi-user.target it will not stop until another graphical application takes place. The intention of a splash screen is to hide the shell.

Normally you can unhide the shell by typing ESC.

I have for example greetd as display-manager and if I would add a splash screen, it will animate forever, since greetd is pure shell and has a TUI. Only if I unhide the shell, I can log in.

Or did I miss something important?

maybe related to: https://forum.manjaro.org/t/plymouth-errors-could-not-start-display-server-on-vt-1/140949

you can also try removing quiet from GRUB_CMDLINE_LINUX_DEFAULT to increase verbose

Pressing ESC while displaying the tty had no effect…

Ok, found the issue - for some reason the tty were trying to render with my iGpu for some weird reason. After adding module_blacklist=i915 to GRUB_CMDLINE_LINUX_DEFAULT in /etc/default/grub, the problem got solved.

BTW, I also tried disabling i915 by adding blacklist i915 to /etc/modprobe.d/mhwd-gpu.conf, ran mkinitcpio and update-grub, but the module still got loaded… It only stopped loading when I added the kernel cmd line… I wonder why the blacklist in mhwd-gpu.conf is ignored…

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.