You are not logged in.

#1 2023-06-25 17:50:19

BackToUSSR
Member
Registered: 2023-05-17
Posts: 26

[SOLVED] Unable to switch TTY

Greetings!
I have a laptop with an AMD 680M iGPU and Nvidia 3060 dGPU
When the laptop is used in maximum performance mode (Nvidia graphics card only in Armoury-Crate )
Other TTYs don't work. (Works only TTY7 on which WM - i3) When I press ctrl+alt+F1, F2, F3... I only see a black screen with the inscription:
Loading Linux linux-lts
Loading initial ramdisk
When switching back to TTY7, everything is fine and WM is displayed and working. If I disable lightdm, I also see only these two lines when the system boots, But! By entering a username and password, I can log in and even reboot my laptop by entering commands blindly. It's just that everything I enter is not visible on the screen. when i turn lightdm back on, the DM is displayed and allows you to enter the system, but other TTYs still do not work
When switching back to standard mode (iGPU + dGPU) Switches to other TTYs work as they should. The problem started about 3 days ago.
Any ideas what could be the problem? Thank you!

/var/log/Xorg.0.log
journalctl -b

Last edited by BackToUSSR (2023-06-26 14:43:35)

Offline

#2 2023-06-25 21:11:49

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

Re: [SOLVED] Unable to switch TTY

The problem started about 3 days ago.

Did you update nvidia to 535xx at that point?
Try to downgrade to the 530xx driver (you'll also have to downgrade the kernel to linux 6.3.7.arch1-1 or you need to use nvidia-dkms))

Offline

#3 2023-06-26 07:17:51

BackToUSSR
Member
Registered: 2023-05-17
Posts: 26

Re: [SOLVED] Unable to switch TTY

seth wrote:

The problem started about 3 days ago.

Did you update nvidia to 535xx at that point?
Try to downgrade to the 530xx driver (you'll also have to downgrade the kernel to linux 6.3.7.arch1-1 or you need to use nvidia-dkms))

Hi Seth!
Currently in the system:

 
: linux-6.3.9.arch1-1 
: linux-lts-6.1.35-1 (currently in use)

: lib32-nvidia-utils-535.54.03-2 
: lib32-opencl-nvidia-535.54.03-2 
: nvidia-dkms-535.54.03-1 
: nvidia-settings-535.54.03-1 
: nvidia-utils-535.54.03-1 i
: opencl-nvidia-535.54.03-1 

Leave linux-lts and just rollback nvidia packages to 530xx?

Last edited by BackToUSSR (2023-06-26 07:19:57)

Offline

#4 2023-06-26 07:25:00

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

Re: [SOLVED] Unable to switch TTY

You'll need 530.41.03-14 and 6.1.33-1, you cannot downgrade the nvidia drivers in isolation of the kernel unless you're using nvidia-dkms.

Offline

#5 2023-06-26 09:14:09

BackToUSSR
Member
Registered: 2023-05-17
Posts: 26

Re: [SOLVED] Unable to switch TTY

seth wrote:

You'll need 530.41.03-14 and 6.1.33-1, you cannot downgrade the nvidia drivers in isolation of the kernel unless you're using nvidia-dkms.


I rolled back to previous versions of the packages and the kernel. But additional TTY's still don't work. Only one TTY(7) works, which starts the session with i3

uname -r
6.1.33-1-lts

packages in system:

linux-lts-6.1.33-1
linux-lts-headers-6.1.33-1
eglexternalplatform-1.1-2
egl-wayland-2_1.1.11-4
lib32-nvidia-utils-530.41.03-1
lib32-opencl-nvidia-530.41.03-1
libxnvctrl-530.41.03-1
nvidia-dkms-530.41.03-1
nvidia-settings-530.41.03-1
nvidia-utils-530.41.03-1
opencl-nvidia-530.41.03-1

Last edited by BackToUSSR (2023-06-26 09:16:38)

Offline

#6 2023-06-26 13:11:43

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

Re: [SOLVED] Unable to switch TTY

Please post your complete system journal for the boot:

sudo journalctl -b | curl -F 'f:1=<-' ix.io

Offline

#7 2023-06-26 13:26:53

BackToUSSR
Member
Registered: 2023-05-17
Posts: 26

Re: [SOLVED] Unable to switch TTY

seth wrote:

Please post your complete system journal for the boot:

sudo journalctl -b | curl -F 'f:1=<-' ix.io

sudo journalctl -b | curl -F 'f:1=<-' ix.io

Offline

#8 2023-06-26 14:07:23

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

Re: [SOLVED] Unable to switch TTY

Jun 26 19:22:30 alm507 kernel: amdgpu 0000:05:00.0: [drm] Cannot find any crtc or sizes

Seems the only outputs are attached to the nvidia GPU, try to add "module_blacklist=amdgpu" to the https://wiki.archlinux.org/title/Kernel_parameters

Edit: you also don't seem to have https://wiki.archlinux.org/title/NVIDIA … de_setting but both modules (nvidia* + amdgpu) in the initramfs?

Last edited by seth (2023-06-26 14:09:53)

Offline

#9 2023-06-26 14:30:13

BackToUSSR
Member
Registered: 2023-05-17
Posts: 26

Re: [SOLVED] Unable to switch TTY

seth wrote:

Edit: you also don't seem to have https://wiki.archlinux.org/title/NVIDIA … de_setting but both modules (nvidia* + amdgpu) in the initramfs?

Yes, that's right, today when I noticed the described problem, I started experimenting with different kernel parameters and modules in mkinitcpio.conf. by elimination method. Now I will reset everything and try to add "module_blacklist=amdgpu" in /etc/default/grub

Offline

#10 2023-06-26 14:43:02

BackToUSSR
Member
Registered: 2023-05-17
Posts: 26

Re: [SOLVED] Unable to switch TTY

The problem was solved! As per your advice, after adding "module_blacklist=amdgpu" in /etc/default/grub
All TTYs available. Thanks Seth!
It's strange that before this did not cause conflicts and TTY's worked together with loaded nvidia + amdgpu modules. Is there a way to achieve the same without turning off the amdgpu module? And how did you understand that the error is in it? What arguments to the grep command did you use? So that in the future I would not waste other people's man-hours

Last edited by BackToUSSR (2023-06-26 14:46:03)

Offline

#11 2023-06-26 14:55:45

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

Re: [SOLVED] Unable to switch TTY

You can also try to assign the console to the drm device, https://raw.githubusercontent.com/torva … /fbcon.rst - look for fbcon=map

It's strange that before

Likely because https://github.com/archlinux/linux/comm … 9c2f60edea
Another possible reason would be that previously you had the nvidia modules in the initramfs, but amdgpu not.

What arguments to grep did you use?

Grepping is for masochists, I use the greatest and beste text editor in the world (tribute) to inspect the journal and filter and search it.
From the context I first checked how many vga devices are there, in which order they show up and because the scenario had shown up before looked for the crtc warning and since everything did fit together through an educated guess at you.
There is unfortunately no secret token that marks the relevant line in the logs sad

Offline

Board footer

Powered by FluxBB