Page 1 of 2

After installing nvidia-propriaty drivers, KDE no longer boots

Posted: Mon Feb 24, 2025 5:15 pm
by Josip
Hello, I wanted to test KDE Mx Linux to try and see how is it. Installation went good no issues. After installing Liquorix Kernel + Nvidia drivers my KDE no longer boots, it just stays on Blinking `_` being unable to do anything. Any recommandations / fixes?

Re: After installing nvidia-propriaty drivers, KDE no longer boots

Posted: Mon Feb 24, 2025 5:18 pm
by Eadwine Rose
According to the forum rules (please read): Please provide full Quick System Info, use copy for forum button, no edits.
LiveUSB version is OK if needed.

Re: After installing nvidia-propriaty drivers, KDE no longer boots

Posted: Mon Feb 24, 2025 5:18 pm
by Josip
Thats ironic, if i cannot boot into the KDE how am i supposed to get System info?

Re: After installing nvidia-propriaty drivers, KDE no longer boots

Posted: Mon Feb 24, 2025 5:21 pm
by Eadwine Rose
If you read my post, all the lines, you will see that liveUSB is ok if needed.

Re: After installing nvidia-propriaty drivers, KDE no longer boots

Posted: Mon Feb 24, 2025 5:24 pm
by Josip

Code: Select all

System:
  Kernel: 6.1.0-29-amd64 [6.1.123-1] arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/antiX/vmlinuz quiet splasht nosplash
  Desktop: KDE Plasma v: 5.27.5 wm: kwin_x11 vt: 7 dm: SDDM Distro: MX-23.5_KDE_x64 Libretto Jan
    12 2025 base: Debian GNU/Linux 12 (bookworm)
Machine:
  Type: Desktop Mobo: MEDION model: H110H4-CM2 v: 2.0 serial: <superuser required>
    UEFI: American Megatrends v: 110H4W0X.111 date: 12/14/2017
CPU:
  Info: model: Intel Core i7-6700 bits: 64 type: MT MCP arch: Skylake-S gen: core 6 level: v3
    note: check built: 2015 process: Intel 14nm family: 6 model-id: 0x5E (94) stepping: 3
    microcode: 0x23
  Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache: L1: 256 KiB
    desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB L3: 8 MiB desc: 1x8 MiB
  Speed (MHz): avg: 1685 high: 2681 min/max: 800/4000 scaling: driver: intel_pstate
    governor: powersave cores: 1: 800 2: 800 3: 2533 4: 2681 5: 2215 6: 800 7: 2555 8: 1099
    bogomips: 54398
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: gather_data_sampling status: Vulnerable: No microcode
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable
  Type: mds status: Vulnerable: Clear CPU buffers attempted, no microcode; SMT vulnerable
  Type: meltdown mitigation: PTI
  Type: mmio_stale_data status: Vulnerable: Clear CPU buffers attempted, no microcode; SMT
    vulnerable
  Type: reg_file_data_sampling status: Not affected
  Type: retbleed status: Vulnerable
  Type: spec_rstack_overflow status: Not affected
  Type: spec_store_bypass status: Vulnerable
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Retpolines; STIBP: disabled; RSB filling; PBRSB-eIBRS: Not
    affected; BHI: Not affected
  Type: srbds status: Vulnerable: No microcode
  Type: tsx_async_abort status: Vulnerable: Clear CPU buffers attempted, no microcode; SMT
    vulnerable
Graphics:
  Device-1: NVIDIA GA106 [GeForce RTX 3060 Lite Hash Rate] vendor: ASUSTeK driver: nouveau
    v: kernel non-free: 530.xx+ status: current (as of 2023-03) arch: Ampere code: GAxxx
    process: TSMC n7 (7nm) built: 2020-22 pcie: gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4
    speed: 16 GT/s ports: active: HDMI-A-1 empty: DP-1,DP-2,DP-3 bus-ID: 01:00.0 chip-ID: 10de:2504
    class-ID: 0300
  Display: x11 server: X.Org v: 1.21.1.7 with: Xwayland v: 22.1.9 compositor: kwin_x11 driver: X:
    loaded: modesetting unloaded: fbdev,vesa dri: swrast gpu: nouveau display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1680x1050 s-dpi: 96 s-size: 444x277mm (17.48x10.91") s-diag: 523mm (20.6")
  Monitor-1: HDMI-A-1 mapped: HDMI-1 model: Lenovo L2250p Wide serial: <filter> built: 2011
    res: 1680x1050 hz: 60 dpi: 90 gamma: 1.2 size: 474x296mm (18.66x11.65") diag: 559mm (22")
    ratio: 16:10 modes: max: 1680x1050 min: 720x400
  API: OpenGL v: 4.5 Mesa 24.2.2-1~mx23ahs renderer: llvmpipe (LLVM 15.0.6 256 bits)
    direct-render: Yes
Audio:
  Device-1: Intel 100 Series/C230 Series Family HD Audio vendor: Elite Systems
    driver: snd_hda_intel v: kernel bus-ID: 00:1f.3 chip-ID: 8086:a170 class-ID: 0403
  Device-2: NVIDIA GA106 High Definition Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel
    pcie: gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s bus-ID: 01:00.1
    chip-ID: 10de:228e class-ID: 0403
  API: ALSA v: k6.1.0-29-amd64 status: kernel-api tools: alsamixer,amixer
  Server-1: PipeWire v: 1.0.0 status: active with: 1: pipewire-pulse status: active
    2: wireplumber status: active 3: pipewire-alsa type: plugin 4: pw-jack type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Elite Systems
    driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: d000 bus-ID: 02:00.0
    chip-ID: 10ec:8168 class-ID: 0200
  IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Bluetooth:
  Device-1: TP-Link Bluetooth USB Adapter type: USB driver: btusb v: 0.8 bus-ID: 1-2:2
    chip-ID: 2357:0604 class-ID: e001 serial: <filter>
  Report: hciconfig ID: hci0 rfk-id: 0 state: down bt-service: N/A rfk-block: hardware: no
    software: no address: <filter>
  Info: acl-mtu: 0:0 sco-mtu: 0:0 link-mode: peripheral accept
Drives:
  Local Storage: total: 1.48 TiB used: 0 KiB (0.0%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: Samsung model: MZ7PD256HCGM-000H7 size: 238.47 GiB
    block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: 6H6Q
    scheme: GPT
  ID-2: /dev/sdb maj-min: 8:16 vendor: Kingston model: SA400S37120G size: 111.79 GiB block-size:
    physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: J1A3 scheme: GPT
  ID-3: /dev/sdc maj-min: 8:32 vendor: Crucial model: CT1000MX500SSD1 size: 931.51 GiB
    block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: 032
    scheme: MBR
  ID-4: /dev/sdd maj-min: 8:48 type: USB vendor: Kingston model: DataTraveler 3.0
    size: 230.47 GiB block-size: physical: 512 B logical: 512 B type: N/A serial: <filter>
    scheme: MBR
  SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
Partition:
  Message: No partition data found.
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: 31.0 C pch: 36.5 C mobo: N/A
  Fan Speeds (RPM): N/A
Repos:
  Packages: pm: dpkg pkgs: 2496 libs: 1338 tools: apt,apt-get,aptitude,nala pm: rpm pkgs: 0
    pm: flatpak pkgs: 0
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
    1: deb http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/debian.list
    1: deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
    2: deb http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/mx.list
    1: deb https://mxrepo.com/mx/repo/ bookworm main non-free
    2: deb https://mxrepo.com/mx/repo/ bookworm ahs
Info:
  Processes: 240 Uptime: 0m wakeups: 1 Memory: 15.57 GiB used: 1.96 GiB (12.6%) Init: SysVinit
  v: 3.06 runlevel: 5 default: graphical tool: systemctl Compilers: gcc: 12.2.0 alt: 12
  Client: shell wrapper v: 5.2.15-release inxi: 3.3.26
Boot Mode: UEFI

Re: After installing nvidia-propriaty drivers, KDE no longer boots  [Solved]

Posted: Mon Feb 24, 2025 5:50 pm
by dolphin_oracle
the issue is the 6.12 liquorix kernel. sometimes the nvidia drivers don't play well with it. assuming you have the previous kernel still installed, you can drop back to that and it should work.

otherwise, from the blinking cursor.

cntrl+alt+f1 to get to a text console login then

Code: Select all

sudo apt install nvidia-xconfig
sudo nvidia-xconfig
sudo reboot
which should generate a /etc/X11/xorg.conf file that will force nvidia driver to load when X starts up.

Re: After installing nvidia-propriaty drivers, KDE no longer boots

Posted: Mon Feb 24, 2025 5:57 pm
by Josip
Thanks, i will try it tommorow and notify if it fixed it

Re: After installing nvidia-propriaty drivers, KDE no longer boots

Posted: Tue Feb 25, 2025 3:11 am
by Josip
dolphin_oracle wrote: Mon Feb 24, 2025 5:50 pm the issue is the 6.12 liquorix kernel. sometimes the nvidia drivers don't play well with it. assuming you have the previous kernel still installed, you can drop back to that and it should work.

otherwise, from the blinking cursor.

cntrl+alt+f1 to get to a text console login then

Code: Select all

sudo apt install nvidia-xconfig
sudo nvidia-xconfig
sudo reboot
which should generate a /etc/X11/xorg.conf file that will force nvidia driver to load when X starts up.
Many thanks dolphin, it worked(nvidia-xconfig method) and KDE works well!

Re: After installing nvidia-propriaty drivers, KDE no longer boots

Posted: Tue Feb 25, 2025 7:45 am
by dolphin_oracle
we are in process of backporting new nvidia drivers from debian sid. they apparently just backported patches from the 545 series that correct the issue with X not starting up.

if you want to test the patched drivers, then enable our "ahs-staging" repository and do updates.

to enable ahs-staging

Code: Select all

echo "deb http://mxrepo.com/mx/repo/ bookworm ahs-staging" | sudo tee /etc/apt/sources.list.d/ahs-staging.list
sudo apt update
at the moment, the new nvidia driver is the only new thing in ahs-staging that isn't already in ahs, so

Code: Select all

sudo apt dist-upgrade
then disable the ahs-staging repo

Code: Select all

sudo rm /etc/apt/sources.list.d/ahs-staging.list
sudo apt update
then remove the /etc/X11/xorg.conf file that nvidia-xconfig generates, and reboot. In my tests, limited to one machine, I got to a desktop while running the nvidia drivers as one would expect.

Let us know any issues, thanks!

Re: After installing nvidia-propriaty drivers, KDE no longer boots

Posted: Tue Feb 25, 2025 9:52 am
by Josip
dolphin_oracle wrote: Tue Feb 25, 2025 7:45 am we are in process of backporting new nvidia drivers from debian sid. they apparently just backported patches from the 545 series that correct the issue with X not starting up.

if you want to test the patched drivers, then enable our "ahs-staging" repository and do updates.

to enable ahs-staging

Code: Select all

echo "deb http://mxrepo.com/mx/repo/ bookworm ahs-staging" | sudo tee /etc/apt/sources.list.d/ahs-staging.list
sudo apt update
at the moment, the new nvidia driver is the only new thing in ahs-staging that isn't already in ahs, so

Code: Select all

sudo apt dist-upgrade
then disable the ahs-staging repo

Code: Select all

sudo rm /etc/apt/sources.list.d/ahs-staging.list
sudo apt update
then remove the /etc/X11/xorg.conf file that nvidia-xconfig generates, and reboot. In my tests, limited to one machine, I got to a desktop while running the nvidia drivers as one would expect.

Let us know any issues, thanks!
👍, also another issue i noticed and is also common issue, KDE performse worse with Nvidia GPU, my UI is laggy, window resizing very terrible, didn't want to test further. While on my thinkpad yoga 370 KDE was less laggy with it having Intel HD 620.