You are not logged in.

#1 2021-07-15 23:02:50

DuoRiver
Member
Registered: 2021-07-08
Posts: 5

[SOLVED] Unable to access Command-line shell from SDDM

While trying to setup single gpu passthrough from this guide, I found out that when I try to access the basic command shell (with Ctrl+Alt+F2) it wouldn't display, although a bunch of weird pixels appeared on the top-right of the screen. I was also able to get back to SDDM with Ctrl+Alt+F1. I am using the nvidia-dkms driver on linux-zen, though the problem persists on linux-lts. Here is my Xorg log, please let me know if there's any more troubleshooting I can do.

Last edited by DuoRiver (2021-07-16 01:14:04)

Offline

#2 2021-07-15 23:51:19

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

Re: [SOLVED] Unable to access Command-line shell from SDDM

That's often related to nvidia's modesetting state after starting xorg and then attempting to switch back to a TTY. Can generally be fixed by enabling modesetting via the

nvidia-drm.modeset=1

kernel parameter, but not sure in what way that would complicate any single gpu pass through attempts

Last edited by V1del (2021-07-15 23:51:42)

Online

#3 2021-07-16 00:47:50

DuoRiver
Member
Registered: 2021-07-08
Posts: 5

Re: [SOLVED] Unable to access Command-line shell from SDDM

That didn't seem to fix it. Am I supposed to put it somewhere else beside GRUB_CMDLINE_LINUX_DEFAULT in /etc/default/grub?

Offline

#4 2021-07-16 00:57:27

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

Re: [SOLVED] Unable to access Command-line shell from SDDM

No, but did you regenerate the actual grub config with grub-mkconfig ? Check cat /proc/cmdline to see whether it's actually present.

Online

#5 2021-07-16 01:00:45

DuoRiver
Member
Registered: 2021-07-08
Posts: 5

Re: [SOLVED] Unable to access Command-line shell from SDDM

I did regenerate the config. Here's the output of /proc/cmdline

BOOT_IMAGE=/boot/vmlinuz-linux-zen root=UUID=195c5480-bc6f-422a-bf3b-d3214dcc3988 rw amd_iommu=on iommu-pt video=efifb:off nvidia-drm.modeset=1 loglevel=3

Offline

#6 2021-07-16 01:06:14

DuoRiver
Member
Registered: 2021-07-08
Posts: 5

Re: [SOLVED] Unable to access Command-line shell from SDDM

Okay I seem to have fixed it by removing the "video=efifb:off" paramater I must have added at some point. Thank you for your help.

Offline

Board footer

Powered by FluxBB