Which three packages, specifically?

|
安丹梅 2022-09-27 21:39:49
安丹梅 2022-09-27 21:39:15
Update the pacman keyring.

pacman -Sy archlinux-keyring

I_a_m_A_K 2022-09-27 22:28:32
I am having a very weird error on Arch. When I login it says can’t connect to X server. Other ttys (as shell) and ssh work fine. I have Nvidia GPU (prop drivers) and i3 wm (no login manager). I tried both linux and linux-lts kernels.

http://dpaste.com/2UEG8J5MG

This is the xorg crash log. Can anyone help me fix it?

Noodlez1232 2022-09-27 22:35:46
You’re using nvidia-dkms right? Or maybe nvidia-lts?

Either way, it needs to be for your LTS kernel

jonathn 2022-09-27 22:36:03
Also make sure you didn’t do a partial upgrade.
jonathn 2022-09-27 22:37:09
I_a_m_A_K 2022-09-27 22:28:32
I am having a very weird error on Arch. When I login it says can’t connect to X server. Other ttys (as shell) and ssh work fine. I have Nvidia GPU (prop drivers) and i3 wm (no login manager). I tried both linux and linux-lts kernels.

http://dpaste.com/2UEG8J5MG

This is the xorg crash log. Can anyone help me fix it?

Also worth asking,…

Has it worked correctly at any point? If so, what changed since then?

I_a_m_A_K 2022-09-27 22:39:36
It was working fine till Saturday. I updated my system on Saturday and got the grub bug. After reinstalling grub using chroot I am getting this error
I_a_m_A_K 2022-09-27 22:39:47
Noodlez1232 2022-09-27 22:35:46
You’re using nvidia-dkms right? Or maybe nvidia-lts?

Either way, it needs to be for your LTS kernel

I’ll check once

jonathn 2022-09-27 22:40:01
I_a_m_A_K 2022-09-27 22:39:36
It was working fine till Saturday. I updated my system on Saturday and got the grub bug. After reinstalling grub using chroot I am getting this error

Have you updated again since then to see if it has already been fixed in an update?

I_a_m_A_K 2022-09-27 22:40:13
Yes
I_a_m_A_K 2022-09-27 22:41:15
I have 3 nvidia packages installed – nvidia, nvidia-utils, opencl-nvidia

Should I install the other 2 (dkms and lts)?

jonathn 2022-09-27 22:41:51
I_a_m_A_K 2022-09-27 22:40:13
Yes

Do you have a newer Intel CPU that needs the ibt=off parameter (https://wiki.archlinux.org/title/NVIDIA#Installation)?

I_a_m_A_K 2022-09-27 22:42:10
I have AMD Ryzen 5600X
jonathn 2022-09-27 22:42:17
I_a_m_A_K 2022-09-27 22:41:15
I have 3 nvidia packages installed – nvidia, nvidia-utils, opencl-nvidia

Should I install the other 2 (dkms and lts)?

No, either install nvidia-lts for the LTS kernel, or remove nvidia and install nvidia-dkms (and base devel, and kernel headers)

I_a_m_A_K 2022-09-27 22:43:10
jonathn 2022-09-27 22:42:17
No, either install nvidia-lts for the LTS kernel, or remove nvidia and install nvidia-dkms (and base devel, and kernel headers)

Okay one min let me try that

I_a_m_A_K 2022-09-27 22:43:24
Kernel headers = linux-firmware?
jonathn 2022-09-27 22:43:35
No, like linux-headers
jonathn 2022-09-27 22:44:00
Please refer to the NVIDIA wiki page if in doubt
I_a_m_A_K 2022-09-27 22:44:08
Okay
I_a_m_A_K 2022-09-27 22:48:24
I installed these 3 packages and booted into linux (non lts) kernel. Now I am simply getting a blank screen at login. No prompt, no interaction, can’t even switch tty
jonathn 2022-09-27 22:48:50
I_a_m_A_K 2022-09-27 22:48:24
I installed these 3 packages and booted into linux (non lts) kernel. Now I am simply getting a blank screen at login. No prompt, no interaction, can’t even switch tty

Which three packages, specifically?

What is your system? Does it have an external display connected?

I_a_m_A_K 2022-09-27 22:49:36
nvidia-dkms linux-headers base-devel
I_a_m_A_K 2022-09-27 22:50:42
jonathn 2022-09-27 22:48:50
Which three packages, specifically?

What is your system? Does it have an external display connected?

Yes. It’s a PC. No inbuilt display. External monitor connected using HDMI

C0rn3j 2022-09-27 22:51:38
I_a_m_A_K 2022-09-27 22:48:24
I installed these 3 packages and booted into linux (non lts) kernel. Now I am simply getting a blank screen at login. No prompt, no interaction, can’t even switch tty

Send X log

jonathn 2022-09-27 22:51:39
I_a_m_A_K 2022-09-27 22:50:42
Yes. It’s a PC. No inbuilt display. External monitor connected using HDMI

Can you boot to a recovery TTY, e.g. append 3 or to the end of the GRUB boot line? Then check dkms status.

I_a_m_A_K 2022-09-27 22:52:30
Okay 1 sec. Should I do unsafe shutdown now? (Hold down power button)
I_a_m_A_K 2022-09-27 22:53:14
C0rn3j 2022-09-27 22:51:38
Send X log

Ok. Let me reboot. Currently PC is unresponsive

jonathn 2022-09-27 22:53:35
I_a_m_A_K 2022-09-27 22:52:30
Okay 1 sec. Should I do unsafe shutdown now? (Hold down power button)

If you can’t CTRL-ALT-DEL, then REISUB (https://wiki.archlinux.org/title/Keyboard_shortcuts#Kernel_(SysRq)), otherwise you’ll have to hard power off.

C0rn3j 2022-09-27 22:55:45
I_a_m_A_K 2022-09-27 22:53:14
Ok. Let me reboot. Currently PC is unresponsive

I suggest you temporarily disable your display manager

Noodlez1232 2022-09-27 22:57:36
He said earlier he is not using one. Presumably just using startx??
I_a_m_A_K 2022-09-27 22:58:13
Yeah. I had already disabled
I_a_m_A_K 2022-09-27 22:59:43
jonathn 2022-09-27 22:51:39
Can you boot to a recovery TTY, e.g. append 3 or to the end of the GRUB boot line? Then check dkms status.

hid-nintendo/1.2, 5.19.10-arch1-1, x86_64: installed (original_module exists)
nvidia/515.76, 5.19.10-arch1-1, x86_64: installed

jonathn 2022-09-27 23:00:00
OK, so the module built.
I_a_m_A_K 2022-09-27 23:00:55
C0rn3j 2022-09-27 22:51:38
Send X log

http://dpaste.com/ALBTT983R

C0rn3j 2022-09-27 23:03:21
I_a_m_A_K 2022-09-27 23:00:55
http://dpaste.com/ALBTT983R

Downgrade to older nvidia-dkms and retest

C0rn3j 2022-09-27 23:03:35
Or try with wayland, iirc that’s probably an X bug with latest nvidia driver
|