Update messed with Nvidia (?) - can only boot in LTS kernel now

Hello,

I cannot boot on Linux, nor linux zen, kernels anymore, I think after an update couple of days ago involving Nvidia.
Lightdm never shows up (a blinking cursor stay on top left of the screen), I can only access tty session.

If I select to boot on LTS kernel, it works, I can access the graphical session.

If I then switch to intel graphics and reboot, I can open a graphic session, but it warn about kernel module errors with the message “Failed to start Load Kernel Modules.”.

I’m not sure how I should investigate this problem (which logs or where to look?), any help would be greatly appreciated !

Here are the logs (form welcome):
https://0x0.st/oE0Q.txt

Thanks (a lot!!) in advance for your time !
Cheers !

I don’t see any Nvidia hardware even listed in the log?

inxi -Ga
1 Like
Graphics:
  Device-1: Intel 2nd Generation Core Processor Family Integrated Graphics vendor: ASUSTeK
    driver: i915 v: kernel arch: Gen-6 ports: active: LVDS-1 empty: DP-1,HDMI-A-1,VGA-1
    bus-ID: 00:02.0 chip-ID: 8086:0116
  Device-2: IMC Networks 2M Integrated Webcam type: USB driver: uvcvideo bus-ID: 1-1.2:3
    chip-ID: 13d3:5122
  Display: x11 server: X.org v: 1.21.1.4 compositors: 1: xfwm v: 4.16.1 2: Picom v: git-c4107
    driver: X: loaded: intel dri: i965 gpu: i915 display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1366x768
  Monitor-1: LVDS-1 mapped: LVDS1 model: Seiko Epson 0x5441 res: 1366x768 dpi: 102
    diag: 395mm (15.5")
  API: OpenGL v: 3.3 Mesa 22.2.1 renderer: Mesa Intel HD Graphics 3000 (SNB GT2)
    direct render: Yes

So no Nvidia…

1 Like

I don’t see any nvidia graphics hardware but it does show Nvidia audio and this in the logs? 390.xx drivers?

#################### ForeignPkgInfo ########################

bashtop-git                     r313.4bf71e6-1                       Resource monitor that shows usage and stats for processor, memory, disks, network and processes.                                                                         
canon-cque                      4.0.10-1                             CUPS printer driver for Canon imagePRESS imageRUNNER ADVANCE PRO C iR i-SENSYS FAX LBP MF Laser Shot PC-D copier printers, may require PCL/PXL or PS dealer LMS license  
celt                            0.11.3-5                             Low-latency audio communication codec                                                                                                                                    
cnrdrvcups-lb                   5.60-1                               CUPS Canon UFR II LIPSLX CARPS2 printer driver for LBP iR MF ImageCLASS ImageRUNNER Laser Shot i-SENSYS ImagePRESS ADVANCE printers and copiers                          
conky-lua-nv                    1.12.2-2                             An advanced system monitor for X based on torsmo with lua and nvidia enabled                                                                                             
ffnvcodec-headers8.1            8.1.24.13-1                          FFmpeg version of headers required to interface with Nvidias codec APIs                                                                                                  
grub-tools                      1.6.9-2                              Fixes, additions and enhancements to grub and os-prober.                                                                                                                 
hardinfo                        0.5.1.816.g877ea2b-2                 A system information and benchmark tool.                                                                                                                                 
i-nex                           7.6.1-8                              System information tool like hardinfo, sysinfo                                                                                                                           
ib-tws                          1:10.19.1f-1                         Electronic trading platform from discount brokerage firm Interactive Brokers                                                                                             
ipw2100-fw                      1.3-10                               Intel Centrino Drivers firmware for IPW2100                                                                                                                              
ipw2200-fw                      3.1-8                                Firmware for the Intel PRO/Wireless 2200BG                                                                                                                               
lib32-nvidia-390xx-utils        390.154-1                            NVIDIA drivers utilities (32-bit), 390xx legacy branch                                                                                                                   
libglade                        2.6.4-8                              Allows you to load glade interface files in a program at runtime                                                                                                         
libva-vdpau-driver-vp9-git      r57.509d3b2-4                        VDPAU backend for VA API. (Version with VP9 codec support)                                                                                                               
libxnvctrl-390xx                390.154-1                            NVIDIA NV-CONTROL X extension, 390xx legacy branch                                                                                                                       
lightdm-webkit2-theme-glorious  2.0.5-3                              A sleek, modern and glorified LightDM webkit2 theme                                                                                                                      
mkinitcpio-numlock              1.0.3-1                              Enable numlock in early userspace                                                                                                                                        
molotov                         4.5.1-2                              Streaming access to French (only) TV channels.                                                                                                                           
nvidia-390xx-dkms               390.154-2                            NVIDIA drivers - module sources                                                                                                                                          
nvidia-390xx-settings           390.154-1                            Tool for configuring the NVIDIA graphics driver, 390xx legacy branch                                                                                                     
nvidia-390xx-utils              390.154-2                            NVIDIA drivers utilities                                                                                                                                                 
picom-ibhagwan-git              1578_Next.297.gc4107bb_2021.11.03-1  iBhagwan's compton                                                                                                                                                       picom fork (X compositor) with dual_kawase blur and rounded corners
python2-psutil                  5.9.1-1                              A cross-platform process and system utilities module for Python2                                                                                                         
qogir-gtk-theme-git             2022.10.16.r21.gcf9528e-1            Qogir is a flat Design theme for GTK                                                                                                                                     
qogir-icon-theme                2022.07.20-1                         A colorful design icon theme for linux desktops                                                                                                                          
spectre-meltdown-checker        0.45-1                               Spectre, Meltdown, Foreshadow, Fallout, RIDL, ZombieLoad vulnerability/mitigation checker                                                                                
timeshift                       22.06.5-2                            A system restore utility for Linux                                                                                                                                       
timeshift-autosnap              0.9-1                                Timeshift auto-snapshot script which runs before package upgrade using Pacman hook.                                                                                      
ulauncher                       5.15.0-1                             Application launcher for Linux                                                                                                                                           
vdhcoapp-bin                    1.6.3-1                              Companion application for Video DownloadHelper browser add-on, precompiled binary version                                                                                
wat-git                         r29.0861966-1                        Show upgrades since recent -Syu                                                                                                                                          

Edit: I’m not familiar with this log? Does it show installed packages that are foreign?

1 Like

Do you switch the graphics card from the BIOS, which allows to select between Intel and NVIDIA? That could explain why inxi -Ga doesn’t show any information about that graphics card.

1 Like

Yes, it shows certain info from command pacman -Qmi.

1 Like

Hello all, @manuel @kiamlaluno @ricklinux

Thanks for your time and sorry for my late response.

I did switch to intel graphic (from the manjaroptimus-appindicator I installed on my initial setup from the Endeavour wiki), would it be why we don’t see nVidia in the logs ?

So I did re-switch to nVidia, and booted to LTS kernel (the only one working) and took those LOGs

https://0x0.st/ol7g.txt

and

sudo inxi -Ga
[sudo] Mot de passe de jmb : 
Graphics:
  Device-1: Intel 2nd Generation Core Processor Family Integrated Graphics
    vendor: ASUSTeK driver: i915 v: kernel arch: Gen-6 process: Intel 32nm
    built: 2011 ports: active: LVDS-1 empty: DP-1,HDMI-A-1,VGA-2
    bus-ID: 00:02.0 chip-ID: 8086:0116 class-ID: 0300
  Device-2: NVIDIA GF108M [GeForce GT 540M] vendor: ASUSTeK driver: nvidia
    v: 390.154 alternate: nouveau,nvidia_drm non-free: series: 390.xx+
    status: legacy-active (EOL~late 2022) arch: Fermi code: GF1xx
    process: 40/28nm built: 2010-16 pcie: gen: 2 speed: 5 GT/s lanes: 16
    ports: active: none empty: VGA-1 bus-ID: 01:00.0 chip-ID: 10de:0df4
    class-ID: 0300
  Device-3: IMC Networks 2M Integrated Webcam type: USB driver: uvcvideo
    bus-ID: 1-1.2:3 chip-ID: 13d3:5122 class-ID: 0e02
    serial: USB2.0 UVC 2M WebCam
  Display: x11 server: X.org v: 1.21.1.4 compositors: 1: xfwm v: 4.16.1
    2: Picom v: git-c4107 driver: X: loaded: modesetting,nvidia dri: crocus
    gpu: i915 display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1366x768 s-size: <missing: xdpyinfo>
  Monitor-1: LVDS-1-1 pos: primary res: 1366x768 hz: 60 dpi: 101
    size: 344x194mm (13.54x7.64") diag: 395mm (15.55") modes: N/A
  Monitor-2: VGA-0 size-res: N/A modes: N/A
  API: OpenGL v: 4.6.0 NVIDIA 390.154 renderer: GeForce GT 540M/PCIe/SSE2
    direct render: Yes
1 Like

So is rendering on the nvidia card!

1 Like

i’m sorry I don’t understand.

(And I only have one monitor, this is a laptop.)

What I’m saying is that it’s rendering or using the Nvidia card as opposed to the Intel graphics… So it is correct.

Before it was using Intel as shown in the output here from the original log in first post.

 Monitor-1: LVDS-1 mapped: LVDS1 model: Seiko Epson 0x5441 res: 1366x768 dpi: 102
    diag: 395mm (15.5")
  API: OpenGL v: 3.3 Mesa 22.2.1 renderer: Mesa Intel HD Graphics 3000 (SNB GT2)
    direct render: Yes
1 Like

Ah, yes, yes, but that is because I did switch (with this method) I guess.

It is not working with Zen kernel or Linux kernel anymore, Lightdm never shows up (a blinking cursor stay on top left of the screen), I can only access tty session.
If I select to boot on LTS kernel, it works, I can access the graphical session.

And, if I switch to intel graphics, I can open a graphic session, but it warn about kernel module errors with the message “Failed to start Load Kernel Modules.”.

Still doesn’t really know what to do :grimacing: (sorry!)

Are you using the nvidia-390xx-dkms drivers and also do you have the headers installed for both the lts kernel and the zen kernel?

Edit: linux-lts-headers and linux-zen-headers

1 Like

Hello,

So, yes indeed nvidia-390xx-dkms drivers are installed on the system and both linux-lts-headers (when I boot on this one it is working actually), linux-zen-headers and linux-headers as well.

The set up was working “perfectly” (doesn’t sound right with nvidia :upside_down_face:) before. (Before what?..I dunno)

I could drop the use of the nvidia card and only use integrated intel graphics, but I need to know where the the message “Failed to start Load Kernel Modules.” comes from then :sob:

Out of curiosity, could you show the output of

yay -Qs nvidia 390

and

yay -Qs linux headers

and

inxi -zaG

Looks like your previous logs are confusing…

1 Like

When I boot (successfully) with LTS and nvidia :

yay -Qs nvidia 390
local/libxnvctrl-390xx 390.154-1
    NVIDIA NV-CONTROL X extension, 390xx legacy branch
local/nvidia-390xx-dkms 390.154-2
    NVIDIA drivers - module sources
local/nvidia-390xx-settings 390.154-1
    Tool for configuring the NVIDIA graphics driver, 390xx legacy branch
local/nvidia-390xx-utils 390.154-2
    NVIDIA drivers utilities
yay -Qs linux headers
local/linux-api-headers 5.18.15-1
    Kernel headers sanitized for use in userspace
local/linux-headers 6.0.9.arch1-1
    Headers and scripts for building modules for the Linux kernel
local/linux-lts-headers 5.15.79-1
    Headers and scripts for building modules for the LTS Linux kernel
local/linux-zen-headers 6.0.9.zen1-1
    Headers and scripts for building modules for the Linux ZEN kernel
sudo inxi -zaG
Graphics:
  Device-1: Intel 2nd Generation Core Processor Family Integrated Graphics
    vendor: ASUSTeK driver: i915 v: kernel arch: Gen-6 process: Intel 32nm
    built: 2011 ports: active: LVDS-1 empty: DP-1,HDMI-A-1,VGA-2
    bus-ID: 00:02.0 chip-ID: 8086:0116 class-ID: 0300
  Device-2: NVIDIA GF108M [GeForce GT 540M] vendor: ASUSTeK driver: nvidia
    v: 390.154 alternate: nouveau,nvidia_drm non-free: series: 390.xx+
    status: legacy-active (EOL~late 2022) arch: Fermi code: GF1xx
    process: 40/28nm built: 2010-16 pcie: gen: 2 speed: 5 GT/s lanes: 16
    ports: active: none empty: VGA-1 bus-ID: 01:00.0 chip-ID: 10de:0df4
    class-ID: 0300
  Device-3: IMC Networks 2M Integrated Webcam type: USB driver: uvcvideo
    bus-ID: 1-1.2:3 chip-ID: 13d3:5122 class-ID: 0e02 serial: <filter>
  Display: x11 server: X.org v: 1.21.1.4 compositors: 1: xfwm v: 4.16.1
    2: Picom v: git-c4107 driver: X: loaded: modesetting,nvidia dri: crocus
    gpu: i915 display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1366x768 s-size: <missing: xdpyinfo>
  Monitor-1: LVDS-1-1 pos: primary res: 1366x768 hz: 60 dpi: 101
    size: 344x194mm (13.54x7.64") diag: 395mm (15.55") modes: N/A
  Monitor-2: VGA-0 size-res: N/A modes: N/A
  API: OpenGL v: 4.6.0 NVIDIA 390.154 renderer: GeForce GT 540M/PCIe/SSE2
    direct render: Yes

When I boot (successfully BUT with the message [FAILED]: Failed to start Load Kernel Modules ) with Linux and intel :

sudo inxi -zaG
Graphics:
  Device-1: Intel 2nd Generation Core Processor Family Integrated Graphics
    vendor: ASUSTeK driver: i915 v: kernel arch: Gen-6 process: Intel 32nm
    built: 2011 ports: active: LVDS-1 empty: DP-1,HDMI-A-1,VGA-1
    bus-ID: 00:02.0 chip-ID: 8086:0116 class-ID: 0300
  Device-2: IMC Networks 2M Integrated Webcam type: USB driver: uvcvideo
    bus-ID: 1-1.2:3 chip-ID: 13d3:5122 class-ID: 0e02 serial: <filter>
  Display: x11 server: X.org v: 1.21.1.4 compositors: 1: xfwm v: 4.16.1
    2: Picom v: git-c4107 driver: X: loaded: intel dri: i965 gpu: i915
    display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1366x768 s-size: <missing: xdpyinfo>
  Monitor-1: LVDS-1 mapped: LVDS1 model: Seiko Epson 0x5441 built: 2009
    res: 1366x768 hz: 60 dpi: 102 gamma: 1.2 size: 340x190mm (13.39x7.48")
    diag: 395mm (15.5") ratio: 16:9 modes: 1366x768
  API: OpenGL v: 3.3 Mesa 22.2.3 renderer: Mesa Intel HD Graphics 3000 (SNB
    GT2) direct render: Yes

When I boot with Linux and nvidia (and am stuck on tty session) :

Graphics:
  Device-1: Intel 2nd Generation Core Processor Family Integrated Graphics vendor: ASUSTeK
    driver: i915 v: kernel arch: Gen-6 process: Intel 32nm built: 2011 ports: active: LVDS-1
    empty: DP-1,HDMI-A-1,VGA-1 bus-ID: 00:02.0 chip-ID: 8086:0116 class-ID: 0300
  Device-2: NVIDIA GF108M [GeForce GT 540M] vendor: ASUSTeK driver: nvidia v: 390.154
    alternate: nouveau,nvidia_drm non-free: series: 390.xx+ status: legacy-active (EOL~late 2022)
    arch: Fermi code: GF1xx process: 40/28nm built: 2010-16 pcie: gen: 2 speed: 5 GT/s lanes: 16
    bus-ID: 01:00.0 chip-ID: 10de:0df4 class-ID: 0300
  Device-3: IMC Networks 2M Integrated Webcam type: USB driver: uvcvideo bus-ID: 1-1.2:3
    chip-ID: 13d3:5122 class-ID: 0e02 serial: <filter>
  Display: server: X.org v: 1.21.1.4 driver: X: loaded: modesetting unloaded: nvidia gpu: i915
    tty: 170x48
  Monitor-1: LVDS-1 model: Seiko Epson 0x5441 built: 2009 res: 1366x768 dpi: 101 gamma: 1.2
    size: 344x194mm (13.54x7.64") diag: 395mm (15.5") ratio: 16:9 modes: 1366x768
  API: OpenGL Message: GL data unavailable in console for root.

Interesting information, sometimes Nvidia driver loads and sometimes not.
It is possible that it is a hardware problem, or the latest updates simply are not fully compatible with your (Nvidia) hardware.
In that case the alternatives are using nouveau or i915, and this means uninstalling the Nvidia driver and possibly blacklisting nouveau if the i915 driver (which probably is the easiest option) is OK for you.

But maybe some of these tricks could help: https://wiki.archlinux.org/title/NVIDIA,
for example Early loading or Troubleshooting or Tips and tricks.

1 Like

@manuel , i have also a report from my side with theses 390 series and kernel 6.0.(8) on AMD Athlon 2 :
it get fail load kernel module for drivers nvidia 390 series

it works with 5.15 LTS

2 Likes

Eventually the proprietary Nvidia drivers will stop supporting old Nvidia cards. (Nvidia wants to sell more. :wink:)
Then nouveau, the open source alternative, may help, although it might not support all features of the Nvidia card.

And often the integrated GPU (Intel, AMD) is available as a fallback too.

2 Likes