You are not logged in.

#1 2020-11-19 11:33:23

lomaharshana
Member
Registered: 2020-11-06
Posts: 26

[SOLVED] X crashes on startup with LTS kernel

Hello Everyone

I have installed nvidia proprietary driver on my Archlinux.
With the regular linux kernel, X starts fine but with lts kernel the system freezes on startup.
I tried a couple of options from https://wiki.archlinux.org/index.php/NV … leshooting wiki.
(for example 1) load nvidia module in mkinitcpio 2) add drm kernel parameters 3) install nvidia and nvidia-utils and then modprobe nvidia etc.) but to no avail.

Maybe this is red herring but comparing Xorg.log files of working and non-working systems, I found that with lts kernel there is an additional drm device getting added.
Here are the excerpts from the two log file:

------Log with X crash-----

[     6.575] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[     6.576] (II) xfree86: Adding drm device (/dev/dri/card1)
[     6.576] (II) Platform probe for /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1
[     6.587] (II) xfree86: Adding drm device (/dev/dri/card0)
[     6.587] (II) Platform probe for /sys/devices/pci0000:00/0000:00:02.0/drm/card0
[     6.601] (EE)
[     6.601] (EE) Backtrace:
[     6.601] (EE) 0: /usr/lib/Xorg (xorg_backtrace+0x53) [0x556269e12bd3]
[     6.601] (EE) 1: /usr/lib/Xorg (0x556269ccc000+0x151a15) [0x556269e1da15]
[     6.601] (EE) 2: /usr/lib/libc.so.6 (0x7f9b91eb3000+0x3d6a0) [0x7f9b91ef06a0]
[     6.601] (EE) 3: /usr/lib/Xorg (xf86BusProbe+0x1c2) [0x556269e27e32]
[     6.601] (EE) 4: /usr/lib/Xorg (InitOutput+0xeaa) [0x556269e3944a]
[     6.601] (EE) 5: /usr/lib/Xorg (0x556269ccc000+0x39426) [0x556269d05426]
[     6.601] (EE) 6: /usr/lib/libc.so.6 (__libc_start_main+0xf2) [0x7f9b91edb152]
[     6.601] (EE) 7: /usr/lib/Xorg (_start+0x2e) [0x556269d065ae]
[     6.601] (EE)
[     6.601] (EE) Segmentation fault at address 0x0


------Log without any crash-----

[     3.032] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[     3.032] (II) xfree86: Adding drm device (/dev/dri/card0)
[     3.032] (II) Platform probe for /sys/devices/pci0000:00/0000:00:02.0/drm/card0
[     3.036] (--) PCI:*(0@0:2:0) 8086:3e92:1043:8694 rev 0, Mem @ 0xf5000000/16777216, 0xd0000000/268435456, I/O @ 0x0000f000/64, BIOS @ 0x????????/131072
[     3.036] (--) PCI: (1@0:0:0) 10de:1b06:10de:120f rev 161, Mem @ 0xf6000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
[     3.036] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[     3.036] (II) LoadModule: "glx"
[     3.037] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[     3.040] (II) Module glx: vendor="X.Org Foundation"
[     3.040]     compiled for 1.20.9, module version = 1.0.0
[     3.040]     ABI class: X.Org Server Extension, version 10.0
[     3.040] (==) Matched intel as autoconfigured driver 0
[     3.040] (==) Matched modesetting as autoconfigured driver 1
[     3.040] (==) Matched fbdev as autoconfigured driver 2
[     3.040] (==) Matched vesa as autoconfigured driver 3
[     3.040] (==) Assigned the driver to the xf86ConfigLayout
.
.
.

Last edited by lomaharshana (2020-11-29 09:10:48)

Offline

#2 2020-11-19 14:21:57

Hilariousity
Member
Registered: 2009-06-09
Posts: 20

Re: [SOLVED] X crashes on startup with LTS kernel

Are you able to switch your tty?

Try pressing ctrl+alt+F2 If that gives you a screen where you can login via a CLI, let me know. I think I may have encountered an issue similar to yours

Offline

#3 2020-11-19 14:34:38

seth
Member
Registered: 2012-09-03
Posts: 51,148

Re: [SOLVED] X crashes on startup with LTS kernel

You've two drm devices because you've two GPUs (optimus system?)

Please post both complete xorg logs, use code tags, https://bbs.archlinux.org/help.php#bbcode or a pastebin service.

Edit: also "pacman -Qs nvidia"  and "lspci -k" (latter for an LTS kernel boot)

Last edited by seth (2020-11-19 14:44:36)

Offline

#4 2020-11-19 15:18:53

loqs
Member
Registered: 2014-03-06
Posts: 17,363

Re: [SOLVED] X crashes on startup with LTS kernel

https://bugs.archlinux.org/task/67831 should be fixed by xorg-server 1.20.9.r21.g5c400cae1-2 currently in testing.

Online

#5 2020-11-19 15:21:54

lomaharshana
Member
Registered: 2020-11-06
Posts: 26

Re: [SOLVED] X crashes on startup with LTS kernel

@Hilariousity
Yes, I can switch to tty.

@seth
I have just one GPU so I am not sure why card1 is getting added while LTS kernel startup.

Here is the full log file of the crashed instance: https://pastebin.com/1nASycXZ
And here the instance that works fine: https://pastebin.com/wNCDtjhA

Output of pacman -Qs nvidia

local/egl-wayland 1.1.5+2+g9c9c4c6-1
    EGLStream-based Wayland external platform
local/libvdpau 1.4-1
    Nvidia VDPAU library
local/libxnvctrl 455.38-1
    NVIDIA NV-CONTROL X extension
local/nvidia 455.38-7
    NVIDIA drivers for linux
local/nvidia-lts 1:455.38-5
    NVIDIA drivers for linux-lts
local/nvidia-settings 455.38-1
    Tool for configuring the NVIDIA graphics driver
local/nvidia-utils 455.38-1
    NVIDIA drivers utilities

And the output of lspci -k

00:00.0 Host bridge: Intel Corporation 8th Gen Core Processor Host Bridge/DRAM Registers (rev 07)
	Subsystem: ASUSTeK Computer Inc. PRIME H310M-D
	Kernel driver in use: skl_uncore
	Kernel modules: ie31200_edac
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor PCIe Controller (x16) (rev 07)
	Kernel driver in use: pcieport
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 630 (Desktop)
	DeviceName:  Onboard IGD
	Subsystem: ASUSTeK Computer Inc. Device 8694
	Kernel driver in use: i915
	Kernel modules: i915
00:14.0 USB controller: Intel Corporation 200 Series/Z370 Chipset Family USB 3.0 xHCI Controller
	Subsystem: ASUSTeK Computer Inc. Device 8694
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_pci
00:16.0 Communication controller: Intel Corporation 200 Series PCH CSME HECI #1
	Subsystem: ASUSTeK Computer Inc. Device 8694
	Kernel driver in use: mei_me
	Kernel modules: mei_me
00:17.0 SATA controller: Intel Corporation 200 Series PCH SATA controller [AHCI mode]
	Subsystem: ASUSTeK Computer Inc. Device 8694
	Kernel driver in use: ahci
	Kernel modules: ahci
00:1b.0 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #17 (rev f0)
	Kernel driver in use: pcieport
00:1c.0 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #1 (rev f0)
	Kernel driver in use: pcieport
00:1c.2 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #3 (rev f0)
	Kernel driver in use: pcieport
00:1c.4 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #5 (rev f0)
	Kernel driver in use: pcieport
00:1c.6 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #7 (rev f0)
	Kernel driver in use: pcieport
00:1d.0 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #9 (rev f0)
	Kernel driver in use: pcieport
00:1f.0 ISA bridge: Intel Corporation Z370 Chipset LPC/eSPI Controller
	Subsystem: ASUSTeK Computer Inc. Device 8694
00:1f.2 Memory controller: Intel Corporation 200 Series/Z370 Chipset Family Power Management Controller
	Subsystem: ASUSTeK Computer Inc. Device 8694
00:1f.3 Audio device: Intel Corporation 200 Series PCH HD Audio
	Subsystem: ASUSTeK Computer Inc. Device 8723
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
00:1f.4 SMBus: Intel Corporation 200 Series/Z370 Chipset Family SMBus Controller
	Subsystem: ASUSTeK Computer Inc. Device 8694
	Kernel driver in use: i801_smbus
	Kernel modules: i2c_i801
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (2) I219-V
	Subsystem: ASUSTeK Computer Inc. Device 8672
	Kernel driver in use: e1000e
	Kernel modules: e1000e
01:00.0 VGA compatible controller: NVIDIA Corporation GP102 [GeForce GTX 1080 Ti] (rev a1)
	Subsystem: NVIDIA Corporation Device 120f
	Kernel driver in use: nvidia
	Kernel modules: nouveau, nvidia_drm, nvidia
01:00.1 Audio device: NVIDIA Corporation GP102 HDMI Audio Controller (rev a1)
	Subsystem: NVIDIA Corporation Device 120f
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
04:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8822BE 802.11a/b/g/n/ac WiFi adapter
	Subsystem: ASUSTeK Computer Inc. Device 8746
	Kernel driver in use: rtw_pci
	Kernel modules: rtwpci
05:00.0 USB controller: ASMedia Technology Inc. ASM2142 USB 3.1 Host Controller
	Subsystem: ASUSTeK Computer Inc. Device 8756
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_pci
06:00.0 USB controller: ASMedia Technology Inc. ASM2142 USB 3.1 Host Controller
	Subsystem: ASUSTeK Computer Inc. Device 8756
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_pci
07:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981/PM983
	Subsystem: Samsung Electronics Co Ltd Device a801
	Kernel driver in use: nvme

Offline

#6 2020-11-19 15:35:27

seth
Member
Registered: 2012-09-03
Posts: 51,148

Re: [SOLVED] X crashes on startup with LTS kernel

I have just one GPU

00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 630 (Desktop)
	DeviceName:  Onboard IGD
	Subsystem: ASUSTeK Computer Inc. Device 8694
	Kernel driver in use: i915
	Kernel modules: i915
…
01:00.0 VGA compatible controller: NVIDIA Corporation GP102 [GeForce GTX 1080 Ti] (rev a1)
	Subsystem: NVIDIA Corporation Device 120f
	Kernel driver in use: nvidia
	Kernel modules: nouveau, nvidia_drm, nvidia

Did you maybe previously mitigate the problem using https://wiki.archlinux.org/index.php/Ke … _KMS_start for the main kernel?

Offline

#7 2020-11-19 19:21:08

Hilariousity
Member
Registered: 2009-06-09
Posts: 20

Re: [SOLVED] X crashes on startup with LTS kernel

So what appears to be going wrong is that xorg is attempting to run xorg of the intel driver instead of the nvidia driver

You said you only have one videocard. That appears to be incorrect. There is likely a secondary GPU built into you mainboard

it appears you might need to install the nvidia noveau driver or nvidia proprietary driver for you nvidia graphics card.

Please note the noveau is easier to install but the proprietary driver is better if you want to play "games"

Once you have the driver installed you should load the video card driver early in the boot process using early kms by adding the name of the driver to /etc/mkinitcpio.conf as mentioned in this article here

https://wiki.archlinux.org/index.php/No … _early_KMS

Last edited by Hilariousity (2020-11-19 19:21:27)

Offline

#8 2020-11-20 05:46:34

lomaharshana
Member
Registered: 2020-11-06
Posts: 26

Re: [SOLVED] X crashes on startup with LTS kernel

@seth and @Hilariousity

Thank you very much for your quick responses.
- Yes, there is a built in graphics card on the Intel processor. Thanks for pointing it out.
- But as you can see from the log of non-LTS instance, only card0 is getting added and X starts fine with this kernel. (That's the reason I thought of mentioning this fact.)
- When I start Arch with non-LTS kernel, I still see both 'GeForce GTX' and 'Intel Core I7' options under CUDA section of Blender so adding card1 does not seem necessary for built in GPU to work
- I have already tried adding the nvidia to the mkinitcpio modules [MODULES=(nvidia nvidia_modeset nvidia_uvm nvidia_drm)]. I suppose there is no different mkinitcpio for LTS.
- I can install the noveau driver if that helps, but the question still remains: why the same set up works with non-LTS and causes problem with LTS kernel.

Offline

#9 2020-11-20 06:16:14

seth
Member
Registered: 2012-09-03
Posts: 51,148

Re: [SOLVED] X crashes on startup with LTS kernel

as you can see from the log of non-LTS instance, only card0 is getting added and X starts fine with this kernel

[     3.029] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=158073a5-3b30-43fc-8d8a-8d141fbed8b2 rw loglevel=3 nvidia-drm.modeset=1 quiet
…
[     3.032] (II) xfree86: Adding drm device (/dev/dri/card0)
[     3.032] (II) Platform probe for /sys/devices/pci0000:00/0000:00:02.0/drm/card0
…
[     3.639] (II) config/udev: Adding drm device (/dev/dri/card1)
[     3.639] (II) xfree86: Adding drm device (/dev/dri/card1)

You end up running the modesetting driver on both GPUs, what's weid, since you've the nvidia drivers intalled and there's

[     5.869] (II) Applying OutputClass "nvidia" options to /dev/dri/card1

a) please read up https://wiki.archlinux.org/index.php/NVIDIA_Optimus decide how you intend to use the system and configure it accordingly
b) check the nvidia outputclass config

grep -r nvidia /{etc,usr/share}/X11/xorg.conf*

c) What if you start X11 dealyed (boot the multi-user.target, link in my signature, and startx or your DM from there)?
d) Let's see whether the modules are actually in the initramfs

lsinitcpio /boot/initramfs-linux-lts.img| grep nvidia

Offline

#10 2020-11-25 07:13:48

lomaharshana
Member
Registered: 2020-11-06
Posts: 26

Re: [SOLVED] X crashes on startup with LTS kernel

Sorry for the late reply.
There was an upgrade of linux-lts available yesterday. After I upgraded my system things seem to be fine now.

Thank you very much for your help.

Offline

#11 2020-11-25 08:44:44

loqs
Member
Registered: 2014-03-06
Posts: 17,363

Re: [SOLVED] X crashes on startup with LTS kernel

lomaharshana wrote:

Sorry for the late reply.
There was an upgrade of linux-lts available yesterday. After I upgraded my system things seem to be fine now.

Did the update also contain xorg-server 1.20.9.r21.g5c400cae1-2?

Online

#12 2020-11-25 12:22:14

lomaharshana
Member
Registered: 2020-11-06
Posts: 26

Re: [SOLVED] X crashes on startup with LTS kernel

@loqs

Maybe, I did not see the entire list of updates.

But sadly the LTS kernel is again giving the same error today. That's really strange.

Offline

#13 2020-11-25 15:59:28

loqs
Member
Registered: 2014-03-06
Posts: 17,363

Re: [SOLVED] X crashes on startup with LTS kernel

lomaharshana wrote:

Maybe, I did not see the entire list of updates.

You can find the log of package updates in /var/log/pacman.log.  You can also check the current version of a apckage with pacman -Q e.g. `pacman -Q xorg-server`
If xorg-server is not on version 1.20.9.r21.g5c400cae1-2 please try updating the system.

Online

#14 2020-11-26 10:30:54

lomaharshana
Member
Registered: 2020-11-06
Posts: 26

Re: [SOLVED] X crashes on startup with LTS kernel

loqs wrote:

If xorg-server is not on version 1.20.9.r21.g5c400cae1-2 please try updating the system.

Yes, I just checked as per your suggestion and the xorg-server version is indeed 1.20.9.r21.g5c400cae1-2.

Offline

#15 2020-11-26 10:46:16

loqs
Member
Registered: 2014-03-06
Posts: 17,363

Re: [SOLVED] X crashes on startup with LTS kernel

xorg-server 1.20.9.r21.g5c400cae1-2 is still producing the backtrace from your original post?:

[     6.601] (EE) Backtrace:
[     6.601] (EE) 0: /usr/lib/Xorg (xorg_backtrace+0x53) [0x556269e12bd3]
[     6.601] (EE) 1: /usr/lib/Xorg (0x556269ccc000+0x151a15) [0x556269e1da15]
[     6.601] (EE) 2: /usr/lib/libc.so.6 (0x7f9b91eb3000+0x3d6a0) [0x7f9b91ef06a0]
[     6.601] (EE) 3: /usr/lib/Xorg (xf86BusProbe+0x1c2) [0x556269e27e32]
[     6.601] (EE) 4: /usr/lib/Xorg (InitOutput+0xeaa) [0x556269e3944a]
[     6.601] (EE) 5: /usr/lib/Xorg (0x556269ccc000+0x39426) [0x556269d05426]
[     6.601] (EE) 6: /usr/lib/libc.so.6 (__libc_start_main+0xf2) [0x7f9b91edb152]
[     6.601] (EE) 7: /usr/lib/Xorg (_start+0x2e) [0x556269d065ae]
[     6.601] (EE)
[     6.601] (EE) Segmentation fault at address 0x0

Online

#16 2020-11-27 10:25:08

lomaharshana
Member
Registered: 2020-11-06
Posts: 26

Re: [SOLVED] X crashes on startup with LTS kernel

@loqc

No, now the cause of the crash seems to be different.

[     5.403] (--) Log file renamed from "/var/log/Xorg.pid-488.log" to "/var/log/Xorg.0.log"
[     5.404] 
X.Org X Server 1.20.9
X Protocol Version 11, Revision 0
[     5.404] Build Operating System: Linux Arch Linux
[     5.404] Current Operating System: Linux Ihlok 5.4.79-1-lts #1 SMP Sun, 22 Nov 2020 14:22:21 +0000 x86_64
[     5.404] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux-lts root=UUID=158073a5-3b30-43fc-8d8a-8d141fbed8b2 rw loglevel=3 quiet
[     5.404] Build Date: 19 November 2020  11:42:45AM
[     5.404]  
[     5.404] Current version of pixman: 0.40.0
[     5.404] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[     5.404] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[     5.404] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Nov 27 13:47:46 2020
[     5.404] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[     5.404] (==) No Layout section.  Using the first Screen section.
[     5.404] (==) No screen section available. Using defaults.
[     5.404] (**) |-->Screen "Default Screen Section" (0)
[     5.404] (**) |   |-->Monitor "<default monitor>"
[     5.404] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[     5.404] (==) Automatically adding devices
[     5.404] (==) Automatically enabling devices
[     5.404] (==) Automatically adding GPU devices
[     5.404] (==) Automatically binding GPU devices
[     5.404] (==) Max clients allowed: 256, resource mask: 0x1fffff
[     5.405] (WW) The directory "/usr/share/fonts/misc" does not exist.
[     5.405] 	Entry deleted from font path.
[     5.405] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[     5.405] 	Entry deleted from font path.
[     5.405] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[     5.405] 	Entry deleted from font path.
[     5.406] (==) FontPath set to:
	/usr/share/fonts/TTF,
	/usr/share/fonts/100dpi,
	/usr/share/fonts/75dpi
[     5.406] (==) ModulePath set to "/usr/lib/xorg/modules"
[     5.406] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[     5.406] (II) Module ABI versions:
[     5.406] 	X.Org ANSI C Emulation: 0.4
[     5.406] 	X.Org Video Driver: 24.1
[     5.406] 	X.Org XInput driver : 24.1
[     5.406] 	X.Org Server Extension : 10.0
[     5.406] (++) using VT number 1

[     5.406] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[     5.406] (II) xfree86: Adding drm device (/dev/dri/card0)
[     5.407] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules,/usr/lib/xorg/modules"
[     5.407] (--) PCI:*(0@0:2:0) 8086:3e92:1043:8694 rev 0, Mem @ 0xf5000000/16777216, 0xd0000000/268435456, I/O @ 0x0000f000/64, BIOS @ 0x????????/131072
[     5.407] (--) PCI: (1@0:0:0) 10de:1b06:10de:120f rev 161, Mem @ 0xf6000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
[     5.407] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[     5.407] (II) LoadModule: "glx"
[     5.407] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[     5.410] (II) Module glx: vendor="X.Org Foundation"
[     5.410] 	compiled for 1.20.9, module version = 1.0.0
[     5.410] 	ABI class: X.Org Server Extension, version 10.0
[     5.410] (II) Applying OutputClass "nvidia" to /dev/dri/card0
[     5.410] 	loading driver: nvidia
[     5.410] (==) Matched nvidia as autoconfigured driver 0
[     5.410] (==) Matched nouveau as autoconfigured driver 1
[     5.410] (==) Matched nv as autoconfigured driver 2
[     5.410] (==) Matched intel as autoconfigured driver 3
[     5.410] (==) Matched modesetting as autoconfigured driver 4
[     5.410] (==) Matched fbdev as autoconfigured driver 5
[     5.410] (==) Matched vesa as autoconfigured driver 6
[     5.410] (==) Assigned the driver to the xf86ConfigLayout
[     5.410] (II) LoadModule: "nvidia"
[     5.410] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[     5.414] (II) Module nvidia: vendor="NVIDIA Corporation"
[     5.414] 	compiled for 1.6.99.901, module version = 1.0.0
[     5.414] 	Module class: X.Org Video Driver
[     5.414] (II) LoadModule: "nouveau"
[     5.414] (WW) Warning, couldn't open module nouveau
[     5.414] (EE) Failed to load module "nouveau" (module does not exist, 0)
[     5.414] (II) LoadModule: "nv"
[     5.414] (WW) Warning, couldn't open module nv
[     5.414] (EE) Failed to load module "nv" (module does not exist, 0)
[     5.414] (II) LoadModule: "intel"
[     5.414] (WW) Warning, couldn't open module intel
[     5.414] (EE) Failed to load module "intel" (module does not exist, 0)
[     5.414] (II) LoadModule: "modesetting"
[     5.414] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[     5.416] (II) Module modesetting: vendor="X.Org Foundation"
[     5.416] 	compiled for 1.20.9, module version = 1.20.9
[     5.416] 	Module class: X.Org Video Driver
[     5.416] 	ABI class: X.Org Video Driver, version 24.1
[     5.416] (II) LoadModule: "fbdev"
[     5.416] (WW) Warning, couldn't open module fbdev
[     5.416] (EE) Failed to load module "fbdev" (module does not exist, 0)
[     5.416] (II) LoadModule: "vesa"
[     5.416] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[     5.416] (II) Module vesa: vendor="X.Org Foundation"
[     5.416] 	compiled for 1.20.9, module version = 2.5.0
[     5.416] 	Module class: X.Org Video Driver
[     5.416] 	ABI class: X.Org Video Driver, version 24.1
[     5.416] (II) NVIDIA dlloader X Driver  455.45.01  Thu Nov  5 23:01:05 UTC 2020
[     5.416] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[     5.416] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[     5.416] (II) VESA: driver for VESA chipsets: vesa
[     5.416] (WW) Falling back to old probe method for modesetting
[     5.416] vesa: Refusing to run on UEFI
[     5.416] (II) Loading sub module "fb"
[     5.416] (II) LoadModule: "fb"
[     5.416] (II) Loading /usr/lib/xorg/modules/libfb.so
[     5.417] (II) Module fb: vendor="X.Org Foundation"
[     5.417] 	compiled for 1.20.9, module version = 1.0.0
[     5.417] 	ABI class: X.Org ANSI C Emulation, version 0.4
[     5.417] (II) Loading sub module "wfb"
[     5.417] (II) LoadModule: "wfb"
[     5.417] (II) Loading /usr/lib/xorg/modules/libwfb.so
[     5.417] (II) Module wfb: vendor="X.Org Foundation"
[     5.417] 	compiled for 1.20.9, module version = 1.0.0
[     5.417] 	ABI class: X.Org ANSI C Emulation, version 0.4
[     5.417] (II) Loading sub module "ramdac"
[     5.417] (II) LoadModule: "ramdac"
[     5.417] (II) Module "ramdac" already built-in
[     5.417] (EE) Screen 0 deleted because of no matching config section.
[     5.417] (II) UnloadModule: "modesetting"
[     5.417] (EE) Device(s) detected, but none match those in the config file.
[     5.417] (EE) 
Fatal server error:
[     5.417] (EE) no screens found(EE) 
[     5.417] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[     5.417] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[     5.417] (EE) 
[     5.418] (EE) Server terminated with error (1). Closing log file.

Offline

#17 2020-11-27 13:31:46

seth
Member
Registered: 2012-09-03
Posts: 51,148

Re: [SOLVED] X crashes on startup with LTS kernel

We're back to "please configure the optimus system" (#9)
Also you don't have "nvidia-drm.modeset=1" in the kernel commandline anymore.

Offline

#18 2020-11-28 11:07:40

lomaharshana
Member
Registered: 2020-11-06
Posts: 26

Re: [SOLVED] X crashes on startup with LTS kernel

seth wrote:

Also you don't have "nvidia-drm.modeset=1" in the kernel commandline anymore.

I changed the grub.conf to include this kernel parameter and the LTS seems to be working fine now.
Thank you!

Do I still need to configure optimus?
I looked at the archwiki and this option looks to be specific to laptops but I have a desktop.

NVIDIA Optimus is a technology that allows an Intel integrated GPU and discrete NVIDIA GPU to be built into and accessed by a laptop. 

Offline

#19 2020-11-28 13:17:09

seth
Member
Registered: 2012-09-03
Posts: 51,148

Re: [SOLVED] X crashes on startup with LTS kernel

Desktop or notebook - you've two GPUs and you probably want to control which one's used.
Since you don't care about battery life and assuming you can attach the outputs to the nvidia chip, you want to go w/ nvidia only. The easiest way should™ be to disable the intel chip in the BIOS.

Offline

#20 2020-11-29 05:34:27

lomaharshana
Member
Registered: 2020-11-06
Posts: 26

Re: [SOLVED] X crashes on startup with LTS kernel

Ok. I will try configuring optimus and if there are any issues (that can't be solved by referring to the wikis), I will post them in a separate topic.

Thank you so much @loqs @seth @Hilariousity for your help!

Offline

#21 2020-11-29 07:23:36

seth
Member
Registered: 2012-09-03
Posts: 51,148

Re: [SOLVED] X crashes on startup with LTS kernel

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

Board footer

Powered by FluxBB