Page 1 of 1

Downgrade nvidia drivers to specific version

Posted: Tue Jun 24, 2025 3:56 pm
by square
Since installing the 535 upgrade end of last year there's several issues with my system, all relating to video. (MX-21 at the time; I've upgraded to MX-23 since)
I'm meaning to downgrade to 525, which I think was installed before and had no issues.

I tried some variations of `ddm-mx -i nvidia -f nvidia-driver@525.116.04-1~mx23ahs` but it seems like specifying a version with the -f switch is not supported. It always says driver not found like this.

Looking inside the ddm-mx code I see that there should be a version selection of sorts but It never prompts for it. The bash code is too hard to read for me to make sense of it.
I can't figure it out. What am I to do?

Code: Select all

$ apt-cache madison nvidia-driver
nvidia-driver | 535.247.01-1~deb12u1 | http://deb.debian.org/debian bookworm/non-free amd64 Packages
nvidia-driver | 535.216.03-3~mx23ahs | http://mirror.plusserver.com/mxlinux/mxlinux/mx/repo bookworm/ahs amd64 Packages
nvidia-driver | 525.116.04-1~mx23ahs | http://mxrepo.com/mx/repo bookworm/non-free amd64 Packages
nvidia-driver | 525.116.04-1~mx23ahs | http://mirror.plusserver.com/mxlinux/mxlinux/mx/repo bookworm/non-free amd64 Packages

Code: Select all

$ pkexec /usr/bin/ddm-mx -i nvidia
Distribution:   MX

INSTALL IS nvidia
Sperrung wird hergestellt.....
===================================
ddm-mx: 25.06.01
kernel release: 6.14.8-1-liquorix-amd64
kernel version: #1 ZEN SMP PREEMPT_DYNAMIC liquorix 6.14-10~mx23ahs (2025-05-23)
command parameters: -i nvidia
===================================
===================================
Installiere Treiber für: nvidia
Start am (m/t/j): 06/24/2025 21:32:10
===================================

========================================
========================================

Um die Open-Source-Treiber wiederherzustellen, verwenden Sie: 
sudo ddm-mx -p nvidia

========================================
========================================


Aktualisiere Quellen mit apt-get update

Weiter
  1) yes (default)
  2) no
Drücke <Enter> für den Vorgabewert Eintrag
Verwende 'q' für Beenden
2

Distribution:   MX

Neueste  = 535.247.01
Detected NVIDIA GPUs:
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA104 [Geforce RTX 3070 Ti Laptop GPU] [10de:24a0] (rev a1)

Checking card:  NVIDIA Corporation GA104 [Geforce RTX 3070 Ti Laptop GPU] (rev a1)
Ihre Karte wird unterstützt durch die nvidia tesla 470 drivers series. nvidia-tesla-470-driver
Ihre Karte wird unterstützt durch die nvidia 535.247.01 drivers series. nvidia-driver

Es wird empfohlen, das Folgende zu installieren:
INSTALL:  nvidia-driver

Um alternative Treiberpakete zu installieren, verwenden Sie sudo ddm-mx -i nvidia -f [driver package name]

========================================
Possible previous install detected.
========================================

Kandidat ist: nvidia-driver 535.247.01-1~deb12u1
Installiert ist: nvidia-driver 535.247.01-1~deb12u1



Kandidat ist: nvidia-driver 535.247.01-1~deb12u1
Installiert ist: nvidia-driver 535.247.01-1~deb12u1


Ist dies ein NVIDIA/INTEL Optimus System?
  1) yes (default)
  2) no
Drücke <Enter> für den Vorgabewert Eintrag
Verwende 'q' für Beenden

Re: Downgrade nvidia drivers to specific version

Posted: Tue Jun 24, 2025 3:59 pm
by Eadwine Rose
@square Your topic is here. Please don't tack onto other people's topics.


According to the forum rules (please read): Please provide full Quick System Info from the menu, use copy for forum button, no edits.

LiveUSB version is OK if needed.

Re: Downgrade nvidia drivers to specific version

Posted: Tue Jun 24, 2025 4:05 pm
by square
Apologies. I couldn't make out any solution for the other thread and thought it's perfectly on topic.

QSI for completeness:

Code: Select all

System:    Kernel: 6.14.8-1-liquorix-amd64 [6.14-10~mx23ahs] x86_64 bits: 64 compiler: gcc v: 12.2.0 
           parameters: audit=0 intel_pstate=disable amd_pstate=disable 
           BOOT_IMAGE=/vmlinuz-6.14.8-1-liquorix-amd64 root=UUID=<filter> ro quiet splash 
           i915.force_probe=46a6 ibt=off 
           Desktop: Xfce 4.20.0 tk: Gtk 3.24.38 info: xfce4-panel wm: xfwm 4.20.0 vt: 7 
           dm: LightDM 1.32.0 Distro: MX-23.6_x64 Libretto November 22  2021 
           base: Debian GNU/Linux 12 (bookworm) 
Machine:   Type: Laptop System: Micro-Star product: Raider GE76 12UGS v: REV:1.0 serial: <filter> 
           Chassis: type: 10 serial: <filter> 
           Mobo: Micro-Star model: MS-17K4 v: REV:1.0 serial: <filter> 
           UEFI: American Megatrends LLC. v: E17K4IMS.201 date: 12/08/2021 
Battery:   ID-1: BAT1 charge: 65.6 Wh (90.4%) condition: 72.6/95.0 Wh (76.4%) volts: 16.0 
           min: 15.2 model: MSI BIF0_9 type: Li-ion serial: N/A status: Not charging 
CPU:       Info: 10-Core model: 12th Gen Intel Core i7-12700H bits: 64 type: MT MCP 
           arch: Alder Lake family: 6 model-id: 9A (154) stepping: 3 microcode: 437 cache: 
           L2: 24 MiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 107520 
           Speed: 900 MHz min/max: 400/2701 MHz boost: enabled Core speeds (MHz): 1: 900 2: 899 
           3: 854 4: 600 5: 766 6: 800 7: 400 8: 400 9: 473 10: 400 11: 400 12: 400 13: 646 
           14: 922 15: 900 16: 500 17: 608 18: 650 19: 484 20: 408 
           Vulnerabilities: Type: gather_data_sampling status: Not affected 
           Type: ghostwrite status: Not affected 
           Type: indirect_target_selection status: Not affected 
           Type: itlb_multihit status: Not affected 
           Type: l1tf status: Not affected 
           Type: mds status: Not affected 
           Type: meltdown status: Not affected 
           Type: mmio_stale_data status: Not affected 
           Type: old_microcode status: Not affected 
           Type: reg_file_data_sampling mitigation: Clear Register File 
           Type: retbleed status: Not affected 
           Type: spec_rstack_overflow status: Not affected 
           Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 mitigation: Enhanced / Automatic IBRS; IBPB: conditional; PBRSB-eIBRS: 
           SW sequence; BHI: BHI_DIS_S 
           Type: srbds status: Not affected 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: Intel Alder Lake-P GT2 [Iris Xe Graphics] vendor: Micro-Star MSI driver: i915 
           v: kernel alternate: xe bus-ID: 00:02.0 chip-ID: 8086:46a6 class-ID: 0300 
           Device-2: NVIDIA GA104 [Geforce RTX 3070 Ti Laptop GPU] vendor: Micro-Star MSI 
           driver: nvidia v: 535.247.01 bus-ID: 01:00.0 chip-ID: 10de:24a0 class-ID: 0300 
           Device-3: Bison Integrated Camera type: USB driver: N/A bus-ID: 3-7:4 
           chip-ID: 5986:1160 class-ID: 0e02 serial: <filter> 
           Display: x11 server: X.Org 1.21.1.7 compositor: xfwm4 v: 4.20.0 driver: 
           loaded: modesetting,nvidia unloaded: fbdev,nouveau,vesa alternate: nv display-ID: :0.0 
           screens: 1 
           Screen-1: 0 s-res: 2560x1440 s-dpi: 96 s-size: 678x382mm (26.7x15.0") 
           s-diag: 778mm (30.6") 
           Monitor-1: eDP-1 res: 2560x1440 hz: 240 dpi: 171 size: 381x214mm (15.0x8.4") 
           diag: 437mm (17.2") 
           OpenGL: renderer: Mesa Intel Graphics (ADL GT2) v: 4.6 Mesa 24.2.8-1mx23ahs 
           direct render: Yes 
Audio:     Device-1: Intel Alder Lake PCH-P High Definition Audio vendor: Micro-Star MSI 
           driver: sof-audio-pci-intel-tgl 
           alternate: snd_hda_intel,snd_soc_avs,snd_sof_pci_intel_tgl bus-ID: 00:1f.3 
           chip-ID: 8086:51c8 class-ID: 0401 
           Device-2: NVIDIA GA104 High Definition Audio vendor: Micro-Star MSI 
           driver: snd_hda_intel v: kernel bus-ID: 01:00.1 chip-ID: 10de:228b class-ID: 0403 
           Sound Server-1: ALSA v: k6.14.8-1-liquorix-amd64 running: yes 
           Sound Server-2: PulseAudio v: 16.1 running: yes 
Network:   Device-1: Intel Alder Lake-P PCH CNVi WiFi 
           vendor: Rivet Networks Dual Band Wi-Fi 6E AX1675i 160MHz 2x2 driver: iwlwifi v: kernel 
           modules: wl port: 6000 bus-ID: 00:14.3 chip-ID: 8086:51f0 class-ID: 0280 
           IF: wlan0 state: down mac: <filter> 
           Device-2: Realtek Killer E3000 2.5GbE vendor: Micro-Star MSI driver: r8169 v: kernel 
           port: 3000 bus-ID: 2f:00.0 chip-ID: 10ec:3000 class-ID: 0200 
           IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
           IF-ID-1: lxcbr0 state: down mac: <filter> 
Bluetooth: Device-1: Intel type: USB driver: btusb v: 0.8 bus-ID: 3-10:7 chip-ID: 8087:0033 
           class-ID: e001 
           Report: hciconfig ID: hci0 rfk-id: 1 state: down bt-service: N/A rfk-block: 
           hardware: no software: no address: <filter> 
           Info: acl-mtu: 1021:4 sco-mtu: 96:6 link-policy: rswitch sniff 
           link-mode: peripheral accept 
Drives:    Local Storage: total: 953.87 GiB used: 799.92 GiB (83.9%) 
           SMART Message: Unable to run smartctl. Root privileges required. 
           ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Micron model: 3400 MTFDKBA1T0TFH 
           size: 953.87 GiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s lanes: 4 
           type: SSD serial: <filter> rev: P7MA000 temp: 60.9 C scheme: GPT 
Partition: ID-1: / raw-size: 645.22 GiB size: 634.02 GiB (98.26%) used: 595.7 GiB (94.0%) fs: ext4 
           dev: /dev/dm-0 maj-min: 253:0 mapped: root.fsm 
           ID-2: /boot raw-size: 512 MiB size: 487.2 MiB (95.16%) used: 319.7 MiB (65.6%) fs: ext4 
           dev: /dev/nvme0n1p2 maj-min: 259:2 
           ID-3: /boot/efi raw-size: 128 MiB size: 126 MiB (98.45%) used: 274 KiB (0.2%) fs: vfat 
           dev: /dev/nvme0n1p1 maj-min: 259:1 
           ID-4: /home raw-size: 199.98 GiB size: 195.79 GiB (97.90%) used: 175.62 GiB (89.7%) 
           fs: ext4 dev: /dev/dm-1 maj-min: 253:1 mapped: 1.home.fsm 
Swap:      Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default) 
           ID-1: swap-1 type: partition size: 7.98 GiB used: 0 KiB (0.0%) priority: -2 
           dev: /dev/dm-2 maj-min: 253:2 mapped: swap 
Sensors:   System Temperatures: cpu: 87.0 C mobo: N/A 
           Fan Speeds (RPM): N/A 
Repos:     Packages: note: see --pkg apt: 3142 lib: 1703 flatpak: 0 
           Active apt repos in: /etc/apt/sources.list 
           1: deb https://ppa.launchpadcontent.net/cdemu/ppa/ubuntu jammy main
           2: deb-src https://ppa.launchpadcontent.net/cdemu/ppa/ubuntu jammy main
           3: deb http://mxrepo.com/mx/repo/ bookworm main non-free
           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
           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
           No active apt repos in: /etc/apt/sources.list.d/erlang-solutions.list 
           No active apt repos in: /etc/apt/sources.list.d/lutris.list 
           Active apt repos in: /etc/apt/sources.list.d/mariadb.list 
           1: deb [arch=amd64,arm64] https://dlm.mariadb.com/repo/mariadb-server/10.rolling/repo/debian bookworm main
           2: deb [arch=amd64,arm64] https://dlm.mariadb.com/repo/maxscale/latest/apt bookworm main
           3: deb [arch=amd64] http://downloads.mariadb.com/Tools/debian bookworm main
           Active apt repos in: /etc/apt/sources.list.d/microsoft-prod.list 
           1: deb [arch=amd64,arm64,armhf signed-by=/usr/share/keyrings/microsoft-prod.gpg] https://packages.microsoft.com/debian/12/prod bookworm main
           Active apt repos in: /etc/apt/sources.list.d/mx.list 
           1: deb http://mirror.plusserver.com/mxlinux/mxlinux/mx/repo/ bookworm main non-free
           2: deb http://mirror.plusserver.com/mxlinux/mxlinux/mx/repo/ bookworm ahs
           Active apt repos in: /etc/apt/sources.list.d/nodesource.list 
           1: deb [arch=amd64 signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main
           Active apt repos in: /etc/apt/sources.list.d/sublime-text.list 
           1: deb https://download.sublimetext.com/ apt/stable/
           Active apt repos in: /etc/apt/sources.list.d/zulip-desktop.list 
           1: deb https://download.zulip.com/desktop/apt stable main
           Active apt repos in: /etc/apt/sources.list.d/vscode.sources 
           1: deb [arch=amd64,arm64,armhf] https://packages.microsoft.com/repos/code stable main
Info:      Processes: 433 Uptime: 1d 12h 5m wakeups: 53566 Memory: 31.05 GiB 
           used: 4.94 GiB (15.9%) Init: SysVinit v: 3.06 runlevel: 5 default: 5 tool: systemctl 
           Compilers: gcc: 12.2.0 alt: 10/12/9 Client: shell wrapper v: 5.2.15-release 
           inxi: 3.3.06 
Boot Mode: UEFI

Re: Downgrade nvidia drivers to specific version

Posted: Tue Jun 24, 2025 4:15 pm
by Eadwine Rose
Your system is different from the TS. See the forum rules. :) Hopefully help will be around soon.

Re: Downgrade nvidia drivers to specific version

Posted: Tue Jun 24, 2025 5:02 pm
by CharlesV
I am not seeing anything specific on what the issues are, other than attempting to downgrade.

As with all drivers of this sort, I would make a timeshift before doing anything else. then
1) remove all nvidia drivers

Code: Select all

sudo ddm-mx -p nvidia

2) Reboot and get operational with the open source drivers.

3) Clear apt and machine cache and temp files (mx cleanup )

4) reinstall nvidia using

Code: Select all

sudo ddm-mx -i nvidia

I have several machines running your same graphics card, on intel based systems and they work well for me, as well as my graphic setup with a 2060 card.

Code: Select all

Snapshot created on: 20250301_1059
System:
  Kernel: 6.12.16-1-liquorix-amd64 [6.12-21~mx23ahs] arch: x86_64 bits: 64 compiler: gcc v: 12.2.0 parameters: audit=0
    intel_pstate=disable amd_pstate=disable BOOT_IMAGE=/boot/vmlinuz-6.12.16-1-liquorix-amd64
    root=UUID=<filter> ro quiet splash
  Desktop: Xfce v: 4.20.0 tk: Gtk v: 3.24.38 info: cairo-dock, xfce4-panel wm: xfwm v: 4.20.0
    vt: 7 dm: LightDM v: 1.32.0 Distro: MX-23.6_x64 Libretto September 15  2024 base: Debian
    GNU/Linux 12 (bookworm)
Machine:
  Type: Desktop System: Gigabyte product: Z790 AERO G v: -CF serial: <superuser required>
  Mobo: Gigabyte model: Z790 AERO G v: x.x serial: <superuser required> UEFI: American
    Megatrends LLC. v: F9 date: 09/12/2023
Battery:
  Device-1: hidpp_battery_0 model: Logitech K520 serial: <filter> charge: 70% (should be ignored)
    rechargeable: yes status: discharging
  Device-2: hidpp_battery_1 model: Logitech Wireless Mouse serial: <filter>
    charge: 55% (should be ignored) rechargeable: yes status: discharging
CPU:
  Info: model: Intel Core i7-14700K bits: 64 type: MST AMCP arch: Raptor Lake gen: core 14
    level: v3 note: check built: 2022+ process: Intel 7 (10nm) family: 6 model-id: 0xB7 (183)
    stepping: 1 microcode: 0x12F
  Topology: cpus: 1x cores: 20 mt: 8 tpc: 2 st: 12 threads: 28 smt: enabled cache: L1: 1.8 MiB
    desc: d-12x32 KiB, 8x48 KiB; i-8x32 KiB, 12x64 KiB L2: 28 MiB desc: 8x2 MiB, 3x4 MiB L3: 33 MiB
    desc: 1x33 MiB
  Speed (MHz): avg: 1061 high: 3401 min/max: 800/3401 boost: enabled scaling:
    driver: acpi-cpufreq governor: ondemand cores: 1: 1306 2: 1000 3: 1038 4: 800 5: 1277 6: 801
    7: 999 8: 900 9: 800 10: 2300 11: 900 12: 1500 13: 800 14: 800 15: 1000 16: 800 17: 800 18: 800
    19: 800 20: 800 21: 800 22: 800 23: 800 24: 3401 25: 1200 26: 900 27: 800 28: 800
    bogomips: 191385
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: reg_file_data_sampling mitigation: Clear Register File
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Enhanced / Automatic IBRS; IBPB: conditional; RSB filling;
    PBRSB-eIBRS: SW sequence; BHI: BHI_DIS_S
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: NVIDIA TU104 [GeForce RTX 2060] vendor: ASUSTeK driver: nvidia v: 535.247.01
    non-free: 530.xx+ status: current (as of 2023-03) arch: Turing code: TUxxx process: TSMC 12nm FF
    built: 2018-22 pcie: gen: 1 speed: 2.5 GT/s lanes: 16 link-max: gen: 3 speed: 8 GT/s
    bus-ID: 01:00.0 chip-ID: 10de:1e89 class-ID: 0300
  Device-2: Logitech Webcam C270 type: USB driver: snd-usb-audio,uvcvideo bus-ID: 1-8.4:6
    chip-ID: 046d:0825 class-ID: 0102 serial: <filter>
  Display: x11 server: X.Org v: 1.21.1.7 compositor: xfwm v: 4.20.0 driver: X: loaded: nvidia
    gpu: nvidia display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 5760x1091 s-dpi: 96 s-size: 1525x289mm (60.04x11.38")
    s-diag: 1552mm (61.11")
  Monitor-1: DVI-D-0 pos: primary,top-left res: 1920x1080 hz: 60 dpi: 82
    size: 598x336mm (23.54x13.23") diag: 686mm (27.01") modes: N/A
  Monitor-2: HDMI-0 pos: bottom-r res: 1920x1080 hz: 60 dpi: 82 size: 598x336mm (23.54x13.23")
    diag: 686mm (27.01") modes: N/A
  Monitor-3: HDMI-1 pos: bottom-c res: 1920x1080 hz: 60 dpi: 82 size: 598x336mm (23.54x13.23")
    diag: 686mm (27.01") modes: N/A
  API: OpenGL v: 4.6.0 NVIDIA 535.247.01 renderer: NVIDIA GeForce RTX 2060/PCIe/SSE2
    direct-render: Yes
Audio:
  Device-1: Intel Raptor Lake High Definition Audio vendor: Gigabyte driver: snd_hda_intel
    v: kernel bus-ID: 1-8.4:6 chip-ID: 046d:0825 alternate: snd_soc_avs,snd_sof_pci_intel_tgl
    class-ID: 0102 bus-ID: 00:1f.3 serial: <filter> chip-ID: 8086:7a50 class-ID: 0403
  Device-2: NVIDIA TU104 HD Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel pcie: gen: 3
    speed: 8 GT/s lanes: 16 bus-ID: 01:00.1 chip-ID: 10de:10f8 class-ID: 0403
  Device-3: Logitech Webcam C270 type: USB driver: snd-usb-audio,uvcvideo
  API: ALSA v: k6.12.16-1-liquorix-amd64 status: kernel-api tools: alsamixer,amixer
  Server-1: PipeWire v: 1.2.6 status: off with: 1: pipewire-pulse status: off 2: wireplumber
    status: off tools: pw-cat,pw-cli,wpctl
  Server-2: PulseAudio v: 16.1 status: active tools: pacat,pactl,pavucontrol
Network:
  Device-1: Intel Raptor Lake-S PCH CNVi WiFi driver: iwlwifi v: kernel modules: wl bus-ID: 00:14.3
    chip-ID: 8086:7a70 class-ID: 0280
  IF: wlan0 state: down mac: <filter>
  Device-2: Intel Ethernet I225-V vendor: Gigabyte driver: igc v: kernel pcie: gen: 2
    speed: 5 GT/s lanes: 1 port: N/A bus-ID: 06:00.0 chip-ID: 8086:15f3 class-ID: 0200
  IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Bluetooth:
  Device-1: Intel type: USB driver: btusb v: 0.8 bus-ID: 1-14:8 chip-ID: 8087:0033 class-ID: e001
  Report: hciconfig ID: hci0 rfk-id: 1 state: up address: <filter>
  Info: acl-mtu: 1021:4 sco-mtu: 96:6 link-policy: rswitch sniff link-mode: peripheral accept
    service-classes: rendering, capturing, object transfer, audio, telephony
Drives:
  Local Storage: total: 10.92 TiB used: 2.92 TiB (26.7%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Western Digital model: WD BLACK SN850X 2000GB
    size: 1.82 TiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s lanes: 4 type: SSD
    serial: <filter> rev: 620361WD temp: 50.9 C scheme: GPT
  ID-2: /dev/nvme1n1 maj-min: 259:1 vendor: Western Digital model: WD BLACK SN850X 2000GB
    size: 1.82 TiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s lanes: 4 type: SSD
    serial: <filter> rev: 620361WD temp: 52.9 C scheme: MBR
  ID-3: /dev/sda maj-min: 8:0 type: USB vendor: Western Digital model: WD80EMAZ-00WJTA0
    size: 7.28 TiB block-size: physical: 4096 B logical: 512 B type: HDD rpm: 5400 serial: <filter>
    rev: 3005 scheme: GPT
Partition:
  ID-1: / raw-size: 1.82 TiB size: 1.79 TiB (98.37%) used: 941.73 GiB (51.4%) fs: ext4
    dev: /dev/nvme0n1p2 maj-min: 259:3
  ID-2: /boot/efi raw-size: 256 MiB size: 252 MiB (98.46%) used: 274 KiB (0.1%) fs: vfat
    dev: /dev/nvme0n1p1 maj-min: 259:2
Swap:
  Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: file size: 6 GiB used: 902.1 MiB (14.7%) priority: -2 file: /swap/swap
Sensors:
  System Temperatures: cpu: 35.8 C mobo: N/A gpu: nvidia temp: 53 C
  Fan Speeds (RPM): N/A gpu: nvidia fan: 9%
Repos:
  Packages: pm: dpkg pkgs: 2841 libs: 1364 tools: apt,apt-get,aptitude,nala,synaptic 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/brave-browser-release.list
    1: deb [arch=amd64 signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg] https://brave-browser-apt-release.s3.brave.com/ stable main
  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 http://la.mxrepo.com/mx/repo/ bookworm main non-free
    2: deb http://la.mxrepo.com/mx/repo/ bookworm ahs
  Active apt repos in: /etc/apt/sources.list.d/signal-xenial.list
    1: deb [arch=amd64 signed-by=/usr/share/keyrings/signal-desktop-keyring.gpg] https://updates.signal.org/desktop/apt xenial main
Info:
  Processes: 615 Uptime: 22d 21h 17m wakeups: 801 Memory: 31.17 GiB used: 7.07 GiB (22.7%)
  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: Downgrade nvidia drivers to specific version

Posted: Tue Jun 24, 2025 7:00 pm
by square
Hi @CharlesV, thanks for chiming in.
CharlesV wrote: Tue Jun 24, 2025 5:02 pm 4) reinstall nvidia using

Code: Select all

sudo ddm-mx -i nvidia
Will this offer a version selection? I've concluded that 535 drivers are fubar on my system. Hence the need to downgrade.

Re: Downgrade nvidia drivers to specific version

Posted: Tue Jun 24, 2025 7:52 pm
by CharlesV
It will not offer a version selection, but it should clear out your current version and remnants.

There ARE some older nvidia drivers in the repo's ( enabled and test ) , but realize that your kernel also makes some assumptions and can radically change how the drivers work. I would suggest trying something like dropping back to a 6.12 liquorix kernel, installing the 535.247 or 535.171 drivers and see how that works.

Tim or Dolphin_Oracle may have some other insights here too...

What kind of symptoms are you seeing / having with the 535's?

Re: Downgrade nvidia drivers to specific version

Posted: Wed Jun 25, 2025 1:56 pm
by square
CharlesV wrote: Tue Jun 24, 2025 7:52 pm There ARE some older nvidia drivers in the repo's ( enabled and test ) , but realize that your kernel also makes some assumptions and can radically change how the drivers work. I would suggest trying something like dropping back to a 6.12 liquorix kernel, installing the 535.247 or 535.171 drivers and see how that works.
Thanks for your insight and suggestion. I'm gonna try it later this week when I get the chance. Though, how do I select which 535 minor version to install?

As mentioned in OP this issue started last year on MX-21. IIRC that was on a 5.19 kernel (before liquorix was a thing).
I had also seen the announcement about liquorix+nvidia issues and tried a bunch of different kernels without improvement.
Since the problem started I've installed 3 or 4 updates to the nvidia 535 drivers (via MX Updater), hoping for a fix – in vain.
CharlesV wrote: Tue Jun 24, 2025 7:52 pm What kind of symptoms are you seeing / having with the 535's?
When I run any d3d application (via DXVK/Vulkan/nvidia-run-mx) the system becomes very unstable (laggy/unresponsive) and eventually freezes/crashes.
If I manage to kill the graphics application before the system freezes completely (every keystroke has several seconds response time at this point) then the system has entered a faulty state it can't recover from without a full reboot.
Power-cycling from sleep at this point results in no video feed at all. Not even the Ctrl+Alt+F1 terminal renders – not sure if the display even has power.
One time in that state the OS eventually realized that something is off and shut down by itself, but I'm not usually that patient. Then the XOrg logs indicated nonsensical "permission denied" errors after a reboot.

For example, running the almost 2 decades old CoD4 game used to give me a stable 333 frames per second (capped via config at that magic number).
After installing the 535 drivers it still gives mostly stable framerates, however, it will only be 333 for at most a minute (more like 10 seconds), then drops to something like 225 fps (remaining stable at that number), then after some time drops further to something like 120, still kinda stable at that number but already not really, and will incur more and more intermediate freezes that also seem to become longer until eventually the entire system freezes.

As mentioned above, I've tested a bunch of different kernels and there's no observable change in behavior. I conducted those tests with and without irqbalance and numad.
There's rumors of current nvidia vulkan drivers having a massive (VRAM) memory leak (also on Windows), which I suspect is exactly what I am facing.

If I manage to go back to 525 I'll freeze all its packages and be done with that company.

Edit: I forgot: It's not exclusive to d3d/DXVK. Applications with a native Vulkan backend also show these symptoms.

Re: Downgrade nvidia drivers to specific version

Posted: Wed Jun 25, 2025 2:43 pm
by CharlesV
Hmm.. weird. I'm not sure I can direct you on going backwards, the only way I have ever done that is not advised ( I got drivers from nvidia, but it was NOT nice to install and I broke them shortly afterwards ;-/ )

I saw a previous 535 in the mx package installer, but I did not see 525

Re: Downgrade nvidia drivers to specific version

Posted: Sat Jun 28, 2025 2:09 pm
by square
I'm doing this now.

You suggested timeshift. I hadn't used it before. I've configured it to exclude some stuff and write to the home partition (because the root partition is almost full). It just crashes with an uncommunicated rsync error.

Code: Select all

$ sudo timeshift-gtk
E: blkid: Erhalt der Partitionsliste ist fehlgeschlagen: /dev/sr0
Anwendungskonfiguration geladen: /etc/timeshift/timeshift.json
Mounted '/dev/dm-1 (nvme0n1p4)' at '/run/timeshift/84641/backup'

Anwendungskonfiguration gespeichert: /etc/timeshift/timeshift.json

E: blkid: Erhalt der Partitionsliste ist fehlgeschlagen: /dev/sr0

------------------------------------------------------------------------------
Systemgröße wird geschätzt …
Anwendungskonfiguration gespeichert: /etc/timeshift/timeshift.json
Neuer Schnappschuss wird erstellt …(RSYNC)
wird auf Gerät gespeichert: /dev/dm-1, am Pfad eingehängt: /run/timeshift/84641/backup
Dateien werden mit rsync synchronisiert …
E: rsync lieferte einen Fehler zurück                                           
E: Erstellen eines neuen Schnappschusses ist fehlgeschlagen
Erstellen eines Schnappschusses ist fehlgeschlagen
------------------------------------------------------------------------------
Without running it from console it doesn't even blame rsync. Just shows a toast/desktop notification saying that creating the snapshot failed, without any additional information.

Perhaps this is related to using LUKS2.

So instead I'm going to copy the whole partition to an external drive.
Wish me luck.

Edit: Ok, never mind. It ran out of space even on the home partition. LOL

Re: Downgrade nvidia drivers to specific version

Posted: Sat Jun 28, 2025 2:11 pm
by CharlesV
Good Luck :-)

Re: Downgrade nvidia drivers to specific version

Posted: Sat Jun 28, 2025 2:29 pm
by dolphin_oracle
the ddm-mx tool doens't really deal with specific versions, except for nvidia developer repo.

however, it is possible to pick a version. its a little tricky, because there are about a million dependencies that also must be covered.

create a file called /etc/apt/preferences.d/nvidia-version with the following contents

Code: Select all

Package:  nvidia-persistenced*
Pin:  release *
Pin-Priority: -1

Package:  *nvidia*
Pin:  version VERSION
Pin-Priority: 999

Package:  *nvidia*:i386
Pin:  version VERSION
Pin-Priority: 999

Package: lib*nv*:i386
Pin:  version VERSION
Pin-Priority: 999

Package: lib*nv*
Pin:  version VERSION
Pin-Priority: 999

Package: libcuda*:i386
Pin:  version VERSION
Pin-Priority: 999

Package: libcuda*
Pin:  version VERSION
Pin-Priority: 999
replacing VERSION with the version number you want (presumably 525.116.04-1~mx23ahs)

you should then be able to run the ddm-mx tool then (allow it to update sources), but the version offered should be limited to the specified version.

Re: Downgrade nvidia drivers to specific version

Posted: Sat Jun 28, 2025 3:36 pm
by Stevo
LOL, ahs-staging currently has 550 nvidia-driver to make things more confused.

Re: Downgrade nvidia drivers to specific version

Posted: Sat Jun 28, 2025 5:58 pm
by oops
Stevo wrote: Sat Jun 28, 2025 3:36 pm LOL, ahs-staging currently has 550 nvidia-driver to make things more confused.
Lol ... And the useful for me : nvidia-graphics-drivers-legacy-390xx (390.157-12)

--- new one Wed, 18 Jun 2025 -, to fix kernel module build for Linux 6.15 ------------------------
https://packages.debian.org/sid/nvidia- ... 0xx-driver
nvidia-graphics-drivers-legacy-390xx (390.157-13) unstable; urgency=medium

* Backport ccflags-y and nv_timer_delete_sync changes from 570.153.02 and
drm_connector_helper_funcs_mode_valid_has_const_mode_arg changes from
550.163.01 and import tentative fix from CachyOS for avoiding calls to
GPL-only symbol __vma_start_write to fix kernel module build for
Linux 6.15. (Closes: #1107817)

-- Andreas Beckmann <anbe@debian.org> Wed, 18 Jun 2025 11:18:35 +0200

Re: Downgrade nvidia drivers to specific version

Posted: Sat Jun 28, 2025 8:38 pm
by square
Backup took a while.

Note that I had to cut some parts of the logs to post this message:
Your message contains 310782 characters.
The maximum number of allowed characters is 60000.
I marked those spots with <trimmed>. I still have the full files on disk if needed.

@dolphin_oracle I started with your approach. Thanks. This actually did something. Certainly seems like the right direction in regards to downgrading.

During the initial attempt I saw that it missed the nvidia-modprobe and nvidia-settings packages, which were still targeting 535. Other than that ddm-mx actually tried to install 525 now.
This attempt produced kernel build errors (more below) so I added a pin for nvidia settings 525.85.05-1~mx23ahs. There doesn't seem to still be a 525 of nvidia-modprobe however:

Code: Select all

$ apt-cache madison nvidia-{modprobe,settings}
nvidia-modprobe | 535.161.07-1~deb12u1 | http://deb.debian.org/debian bookworm/contrib amd64 Packages
nvidia-settings | 535.247.01-1~deb12u1 | http://deb.debian.org/debian bookworm/contrib amd64 Packages
nvidia-settings | 525.85.05-1~mx23ahs | http://mxrepo.com/mx/repo bookworm/non-free amd64 Packages
nvidia-settings | 525.85.05-1~mx23ahs | http://mirror.plusserver.com/mxlinux/mxlinux/mx/repo bookworm/non-free amd64 Packages
With the general pins at 525.116.04-1~mx23ahs and the nvidia-settings pin at 525.85.05-1~mx23ahs the install failed in a strange way:

Code: Select all

$ sudo ddm-mx -i nvidia

Distribution:   MX

INSTALL IS nvidia
Sperrung wird hergestellt.....
===================================
ddm-mx: 25.06.01
kernel release: 6.14.8-1-liquorix-amd64
kernel version: #1 ZEN SMP PREEMPT_DYNAMIC liquorix 6.14-10~mx23ahs (2025-05-23)
command parameters: -i nvidia
===================================
===================================
Installiere Treiber für: nvidia
Start am (m/t/j): 06/29/2025 00:56:07
===================================

========================================
========================================

Um die Open-Source-Treiber wiederherzustellen, verwenden Sie: 
sudo ddm-mx -p nvidia

========================================
========================================


Aktualisiere Quellen mit apt-get update

Weiter
  1) yes (default)
  2) no
Drücke <Enter> für den Vorgabewert Eintrag
Verwende 'q' für Beenden

OK:1 http://mirror.plusserver.com/mxlinux/mxlinux/mx/repo bookworm InRelease
OK:2 http://security.debian.org/debian-security bookworm-security InRelease                                                                                                                                                                                                          
OK:3 http://deb.debian.org/debian bookworm-updates InRelease                                                                                                                                                                                                                         
OK:4 http://deb.debian.org/debian bookworm InRelease                                                                                                                                                                                                                                 
OK:6 https://packages.microsoft.com/debian/12/prod bookworm InRelease                                                                                                                                                                                                                
OK:7 https://packages.microsoft.com/repos/code stable InRelease                                                                                                                                                                             
OK:8 https://ppa.launchpadcontent.net/cdemu/ppa/ubuntu jammy InRelease                                                                                                                                                                                                    
OK:9 https://deb.nodesource.com/node_20.x nodistro InRelease                                                                                                                                                                                                              
OK:5 https://downloads.mariadb.com/Tools/debian bookworm InRelease                                                                                                                                                                   
OK:11 https://download.zulip.com/desktop/apt stable InRelease                                                                                              
OK:14 https://download.sublimetext.com apt/stable/ InRelease                                                  
OK:10 https://mxrepo.com/mx/repo bookworm InRelease                                                           
OK:12 https://dlm.mariadb.com/repo/mariadb-server/10.rolling/repo/debian bookworm InRelease
OK:13 https://dlm.mariadb.com/repo/maxscale/latest/apt bookworm InRelease
Paketlisten werden gelesen… Fertig
Das aktuelles nvidia-detect Paket nstallieren

Paketlisten werden gelesen…
Abhängigkeitsbaum wird aufgebaut…
Statusinformationen werden eingelesen…
Die folgenden NEUEN Pakete werden installiert:
  nvidia-detect
0 aktualisiert, 1 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
Es müssen noch 0 B von 143 kB an Archiven heruntergeladen werden.
Nach dieser Operation werden 230 kB Plattenplatz zusätzlich benutzt.
Vormals nicht ausgewähltes Paket nvidia-detect wird gewählt.
(Lese Datenbank ... 452376 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von .../nvidia-detect_525.116.04-1~mx23ahs_amd64.deb ...
Entpacken von nvidia-detect (525.116.04-1~mx23ahs) ...
nvidia-detect (525.116.04-1~mx23ahs) wird eingerichtet ...


Distribution:   MX

Neueste  = 525.116.04
Detected NVIDIA GPUs:
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA104 [Geforce RTX 3070 Ti Laptop GPU] [10de:24a0] (rev a1)

Checking card:  NVIDIA Corporation GA104 [Geforce RTX 3070 Ti Laptop GPU] (rev a1)
Ihre Karte wird unterstützt durch die nvidia tesla 470 drivers series. nvidia-tesla-470-driver
Ihre Karte wird unterstützt durch die nvidia 525.116.04 drivers series. nvidia-driver

Es wird empfohlen, das Folgende zu installieren:
INSTALL:  nvidia-driver

Um alternative Treiberpakete zu installieren, verwenden Sie sudo ddm-mx -i nvidia -f [driver package name]


Kandidat ist: nvidia-driver 525.116.04-1~mx23ahs
Installiert ist: nvidia-driver (none)



Kandidat ist: nvidia-driver 525.116.04-1~mx23ahs
Installiert ist: nvidia-driver (none)


Ist dies ein NVIDIA/INTEL Optimus System?
  1) yes (default)
  2) no
Drücke <Enter> für den Vorgabewert Eintrag
Verwende 'q' für Beenden

   12101007
xorg version    12101007
nvidia major version 525

Sie können den neuen PRIMUS-Treiber verwenden, der in den nvidia-Treibern integriert ist.
Verwenden Sie "nvidia-run-mx", gefolgt von Ihrem Anwendungsbefehl, um die nvidia-Grafik zu nutzen

Wenn Sie die älteren bumblebee optimus Treiber erzwingen wollen,
 beenden und starten Sie neu mit sudo ddm-mx -i nvidia -f bumblebee-nvidia

Kandidat ist: nvidia-driver 525.116.04-1~mx23ahs
Installiert ist: nvidia-driver (none)


Kandidat ist: nvidia-driver 525.116.04-1~mx23ahs
Installiert ist: nvidia-driver (none)


Treiber benötigt:nvidia-driver 525.116.04-1~mx23ahs 
Folgende NVIDIA-Pakete sind zu installieren nvidia-driver nvidia-settings nvidia-kernel-dkms libnvidia-encode1

Weiter
  1) yes (default)
  2) no
Drücke <Enter> für den Vorgabewert Eintrag
Verwende 'q' für Beenden

Frontend: 
Nvidia-Befehl = apt-get install --install-recommends --reinstall -y    nvidia-driver nvidia-settings nvidia-kernel-dkms libnvidia-encode1
Paketlisten werden gelesen…
Abhängigkeitsbaum wird aufgebaut…
Statusinformationen werden eingelesen…
Erneute Installation von linux-headers-6.14.8-1-liquorix-amd64 ist nicht möglich,
es kann nicht heruntergeladen werden.
0 aktualisiert, 0 neu installiert, 1 erneut installiert, 0 zu entfernen und 0 nicht aktualisiert.
Es müssen noch 0 B von 7.704 B an Archiven heruntergeladen werden.
Nach dieser Operation werden 0 B Plattenplatz zusätzlich benutzt.
(Lese Datenbank ... 452402 Dateien und Verzeichnisse sind derzeit installiert.)bank ... 
Vorbereitung zum Entpacken von .../build-essential_12.9_amd64.deb ...
Entpacken von build-essential (12.9) über (12.9) ...
build-essential (12.9) wird eingerichtet ...
Paketlisten werden gelesen…
Abhängigkeitsbaum wird aufgebaut…
Statusinformationen werden eingelesen…
Einige Pakete konnten nicht installiert werden. Das kann bedeuten, dass
Sie eine unmögliche Situation angefordert haben oder, wenn Sie die
Unstable-Distribution verwenden, dass einige erforderliche Pakete noch
nicht erstellt wurden oder Incoming noch nicht verlassen haben.
Die folgenden Informationen helfen Ihnen vielleicht, die Situation zu lösen:

Die folgenden Pakete haben unerfüllte Abhängigkeiten:
 nvidia-settings : Hängt ab von: libxnvctrl0 (= 525.85.05-1~mx23ahs) aber 525.85.05-3~deb12u1 soll installiert werden
E: Probleme können nicht korrigiert werden, Sie haben zurückgehaltene defekte Pakete.
POSTINSTALL
symlinks
Abgeschlossen


========================================
========================================

Zum Wiederherstellen von Open-Source-Treibern bei späterer Verwendung: 
sudo ddm-mx -p nvidia

========================================
========================================


Hilfe zur Wiederherstellung siehe unter
https://mxlinux.org/wiki/hardware/nvidia-driver-install-recovery

Information wurde gespeichert in/home/default-user/ddm-mx-nvidia_removal_command.txt


Drücke <Enter> zum verlassen
Specifically these excerpts are interesting (manually translated):

Code: Select all

Reinstallation of linux-headers-6.14.8-1-liquorix-amd64 is not possible,
it cannot be downloaded.
.......
The following packages have unmet dependencies:
 nvidia-settings : depends on: libxnvctrl0 (= 525.85.05-1~mx23ahs) but 525.85.05-3~deb12u1 should be installed
E: Problems cannot be automatically corrected, you have held back defective packages.
So I will re-attempt after switching to a newer kernel that has headers available, but I have little faith it will fix anything, given that they already are installed and due to what I'll show you next.

Removing the pin for nvidia-settings, purging the failed installation (sudo ddm-mx -p nvidia && sudo apt autoremove -y), and re-running the installer, the behavior changes:

Code: Select all

$ sudo ddm-mx -i nvidia

Distribution:   MX

INSTALL IS nvidia
Sperrung wird hergestellt.....
===================================
ddm-mx: 25.06.01
kernel release: 6.14.8-1-liquorix-amd64
kernel version: #1 ZEN SMP PREEMPT_DYNAMIC liquorix 6.14-10~mx23ahs (2025-05-23)
command parameters: -i nvidia
===================================
===================================
Installiere Treiber für: nvidia
Start am (m/t/j): 06/29/2025 01:01:41
===================================

========================================
========================================

Um die Open-Source-Treiber wiederherzustellen, verwenden Sie: 
sudo ddm-mx -p nvidia

========================================
========================================


Aktualisiere Quellen mit apt-get update

Weiter
  1) yes (default)
  2) no
Drücke <Enter> für den Vorgabewert Eintrag
Verwende 'q' für Beenden

<trimmed>
Paketlisten werden gelesen… Fertig
Das aktuelles nvidia-detect Paket nstallieren

Paketlisten werden gelesen…
Abhängigkeitsbaum wird aufgebaut…
Statusinformationen werden eingelesen…
Die folgenden NEUEN Pakete werden installiert:
  nvidia-detect
0 aktualisiert, 1 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
Es müssen noch 0 B von 143 kB an Archiven heruntergeladen werden.
Nach dieser Operation werden 230 kB Plattenplatz zusätzlich benutzt.
Vormals nicht ausgewähltes Paket nvidia-detect wird gewählt.
(Lese Datenbank ... 452376 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von .../nvidia-detect_525.116.04-1~mx23ahs_amd64.deb ...
Entpacken von nvidia-detect (525.116.04-1~mx23ahs) ...
nvidia-detect (525.116.04-1~mx23ahs) wird eingerichtet ...


Distribution:   MX

Neueste  = 525.116.04
Detected NVIDIA GPUs:
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA104 [Geforce RTX 3070 Ti Laptop GPU] [10de:24a0] (rev a1)

Checking card:  NVIDIA Corporation GA104 [Geforce RTX 3070 Ti Laptop GPU] (rev a1)
Ihre Karte wird unterstützt durch die nvidia tesla 470 drivers series. nvidia-tesla-470-driver
Ihre Karte wird unterstützt durch die nvidia 525.116.04 drivers series. nvidia-driver

Es wird empfohlen, das Folgende zu installieren:
INSTALL:  nvidia-driver

Um alternative Treiberpakete zu installieren, verwenden Sie sudo ddm-mx -i nvidia -f [driver package name]


Kandidat ist: nvidia-driver 525.116.04-1~mx23ahs
Installiert ist: nvidia-driver (none)



Kandidat ist: nvidia-driver 525.116.04-1~mx23ahs
Installiert ist: nvidia-driver (none)


Ist dies ein NVIDIA/INTEL Optimus System?
  1) yes (default)
  2) no
Drücke <Enter> für den Vorgabewert Eintrag
Verwende 'q' für Beenden

   12101007
xorg version    12101007
nvidia major version 525

Sie können den neuen PRIMUS-Treiber verwenden, der in den nvidia-Treibern integriert ist.
Verwenden Sie "nvidia-run-mx", gefolgt von Ihrem Anwendungsbefehl, um die nvidia-Grafik zu nutzen

Wenn Sie die älteren bumblebee optimus Treiber erzwingen wollen,
 beenden und starten Sie neu mit sudo ddm-mx -i nvidia -f bumblebee-nvidia

Kandidat ist: nvidia-driver 525.116.04-1~mx23ahs
Installiert ist: nvidia-driver (none)


Kandidat ist: nvidia-driver 525.116.04-1~mx23ahs
Installiert ist: nvidia-driver (none)


Treiber benötigt:nvidia-driver 525.116.04-1~mx23ahs 
Folgende NVIDIA-Pakete sind zu installieren nvidia-driver nvidia-settings nvidia-kernel-dkms libnvidia-encode1

Weiter
  1) yes (default)
  2) no
Drücke <Enter> für den Vorgabewert Eintrag
Verwende 'q' für Beenden

Frontend: 
Nvidia-Befehl = apt-get install --install-recommends --reinstall -y    nvidia-driver nvidia-settings nvidia-kernel-dkms libnvidia-encode1
Paketlisten werden gelesen…
Abhängigkeitsbaum wird aufgebaut…
Statusinformationen werden eingelesen…
Erneute Installation von linux-headers-6.14.8-1-liquorix-amd64 ist nicht möglich,
es kann nicht heruntergeladen werden.
0 aktualisiert, 0 neu installiert, 1 erneut installiert, 0 zu entfernen und 0 nicht aktualisiert.
Es müssen noch 0 B von 7.704 B an Archiven heruntergeladen werden.
Nach dieser Operation werden 0 B Plattenplatz zusätzlich benutzt.
(Lese Datenbank ... 452402 Dateien und Verzeichnisse sind derzeit installiert.)bank ... 
Vorbereitung zum Entpacken von .../build-essential_12.9_amd64.deb ...
Entpacken von build-essential (12.9) über (12.9) ...
build-essential (12.9) wird eingerichtet ...
Paketlisten werden gelesen…
Abhängigkeitsbaum wird aufgebaut…
Statusinformationen werden eingelesen…
Die folgenden zusätzlichen Pakete werden installiert:
  firmware-nvidia-gsp glx-alternative-mesa glx-alternative-nvidia
  glx-diversions libcuda1 libcuda1:i386 libegl-nvidia0 libegl-nvidia0:i386
  libgl1-nvidia-glvnd-glx libgl1-nvidia-glvnd-glx:i386 libgles-nvidia1
  libgles-nvidia1:i386 libgles-nvidia2 libgles-nvidia2:i386 libglx-nvidia0
  libglx-nvidia0:i386 libnvcuvid1 libnvcuvid1:i386 libnvidia-allocator1
  libnvidia-allocator1:i386 libnvidia-cfg1 libnvidia-egl-gbm1
  libnvidia-egl-gbm1:i386 libnvidia-egl-wayland1 libnvidia-eglcore
  libnvidia-eglcore:i386 libnvidia-encode1:i386 libnvidia-glcore
  libnvidia-glcore:i386 libnvidia-glvkspirv libnvidia-glvkspirv:i386
  libnvidia-ml1 libnvidia-ptxjitcompiler1 libnvidia-ptxjitcompiler1:i386
  libnvidia-rtcore nvidia-alternative nvidia-driver-bin nvidia-driver-libs
  nvidia-driver-libs:i386 nvidia-egl-common nvidia-egl-icd nvidia-egl-icd:i386
  nvidia-installer-cleanup nvidia-kernel-common nvidia-kernel-support
  nvidia-legacy-check nvidia-modprobe nvidia-smi nvidia-support
  nvidia-vdpau-driver nvidia-vulkan-common nvidia-vulkan-icd
  nvidia-vulkan-icd:i386 update-glx xserver-xorg-video-nvidia
Vorgeschlagene Pakete:
  nvidia-cuda-mps vulkan-utils vulkan-utils:i386
Empfohlene Pakete:
  nvidia-persistenced
Die folgenden NEUEN Pakete werden installiert:
  firmware-nvidia-gsp glx-alternative-mesa glx-alternative-nvidia
  glx-diversions libcuda1 libcuda1:i386 libegl-nvidia0 libegl-nvidia0:i386
  libgl1-nvidia-glvnd-glx libgl1-nvidia-glvnd-glx:i386 libgles-nvidia1
  libgles-nvidia1:i386 libgles-nvidia2 libgles-nvidia2:i386 libglx-nvidia0
  libglx-nvidia0:i386 libnvcuvid1 libnvcuvid1:i386 libnvidia-allocator1
  libnvidia-allocator1:i386 libnvidia-cfg1 libnvidia-egl-gbm1
  libnvidia-egl-gbm1:i386 libnvidia-egl-wayland1 libnvidia-eglcore
  libnvidia-eglcore:i386 libnvidia-encode1 libnvidia-encode1:i386
  libnvidia-glcore libnvidia-glcore:i386 libnvidia-glvkspirv
  libnvidia-glvkspirv:i386 libnvidia-ml1 libnvidia-ptxjitcompiler1
  libnvidia-ptxjitcompiler1:i386 libnvidia-rtcore nvidia-alternative
  nvidia-driver nvidia-driver-bin nvidia-driver-libs nvidia-driver-libs:i386
  nvidia-egl-common nvidia-egl-icd nvidia-egl-icd:i386
  nvidia-installer-cleanup nvidia-kernel-common nvidia-kernel-dkms
  nvidia-kernel-support nvidia-legacy-check nvidia-modprobe nvidia-settings
  nvidia-smi nvidia-support nvidia-vdpau-driver nvidia-vulkan-common
  nvidia-vulkan-icd nvidia-vulkan-icd:i386 update-glx
  xserver-xorg-video-nvidia
Vorkonfiguration der Pakete ...
0 aktualisiert, 59 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
Es müssen noch 0 B von 190 MB an Archiven heruntergeladen werden.
Nach dieser Operation werden 632 MB Plattenplatz zusätzlich benutzt.
Vormals nicht ausgewähltes Paket update-glx wird gewählt.
(Lese Datenbank ... 452402 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von .../update-glx_1.2.2_amd64.deb ...
Entpacken von update-glx (1.2.2) ...
Vormals nicht ausgewähltes Paket glx-alternative-mesa wird gewählt.
Vorbereitung zum Entpacken von .../glx-alternative-mesa_1.2.2_amd64.deb ...
Entpacken von glx-alternative-mesa (1.2.2) ...
Vormals nicht ausgewähltes Paket nvidia-installer-cleanup wird gewählt.
Vorbereitung zum Entpacken von .../nvidia-installer-cleanup_20220217+3~deb12u1_amd64.deb ...
Entpacken von nvidia-installer-cleanup (20220217+3~deb12u1) ...
nvidia-installer-cleanup (20220217+3~deb12u1) wird eingerichtet ...
Vormals nicht ausgewähltes Paket glx-diversions wird gewählt.
(Lese Datenbank ... 452531 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von .../glx-diversions_1.2.2_amd64.deb ...
Entpacken von glx-diversions (1.2.2) ...
Vormals nicht ausgewähltes Paket glx-alternative-nvidia wird gewählt.
Vorbereitung zum Entpacken von .../glx-alternative-nvidia_1.2.2_amd64.deb ...
Entpacken von glx-alternative-nvidia (1.2.2) ...
Vormals nicht ausgewähltes Paket nvidia-legacy-check wird gewählt.
Vorbereitung zum Entpacken von .../nvidia-legacy-check_525.116.04-1~mx23ahs_amd64.deb ...
Entpacken von nvidia-legacy-check (525.116.04-1~mx23ahs) ...
Vormals nicht ausgewähltes Paket nvidia-support wird gewählt.
Vorbereitung zum Entpacken von .../nvidia-support_20220217+3~deb12u1_amd64.deb ...
Entpacken von nvidia-support (20220217+3~deb12u1) ...
nvidia-legacy-check (525.116.04-1~mx23ahs) wird eingerichtet ...
Vormals nicht ausgewähltes Paket nvidia-alternative wird gewählt.
(Lese Datenbank ... 452566 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von .../00-nvidia-alternative_525.116.04-1~mx23ahs_amd64.deb ...
Entpacken von nvidia-alternative (525.116.04-1~mx23ahs) ...
Vormals nicht ausgewähltes Paket libnvidia-ptxjitcompiler1:amd64 wird gewählt.
Vorbereitung zum Entpacken von .../01-libnvidia-ptxjitcompiler1_525.116.04-1~mx23ahs_amd64.deb ...
Entpacken von libnvidia-ptxjitcompiler1:amd64 (525.116.04-1~mx23ahs) ...
Vormals nicht ausgewähltes Paket libcuda1:amd64 wird gewählt.
Vorbereitung zum Entpacken von .../02-libcuda1_525.116.04-1~mx23ahs_amd64.deb ...
Entpacken von libcuda1:amd64 (525.116.04-1~mx23ahs) ...
Vormals nicht ausgewähltes Paket libnvidia-eglcore:amd64 wird gewählt.
Vorbereitung zum Entpacken von .../03-libnvidia-eglcore_525.116.04-1~mx23ahs_amd64.deb ...
Entpacken von libnvidia-eglcore:amd64 (525.116.04-1~mx23ahs) ...
Vormals nicht ausgewähltes Paket libnvidia-glcore:amd64 wird gewählt.
Vorbereitung zum Entpacken von .../04-libnvidia-glcore_525.116.04-1~mx23ahs_amd64.deb ...
Entpacken von libnvidia-glcore:amd64 (525.116.04-1~mx23ahs) ...
Vormals nicht ausgewähltes Paket libglx-nvidia0:amd64 wird gewählt.
Vorbereitung zum Entpacken von .../05-libglx-nvidia0_525.116.04-1~mx23ahs_amd64.deb ...
Entpacken von libglx-nvidia0:amd64 (525.116.04-1~mx23ahs) ...
Vormals nicht ausgewähltes Paket libgl1-nvidia-glvnd-glx:amd64 wird gewählt.
Vorbereitung zum Entpacken von .../06-libgl1-nvidia-glvnd-glx_525.116.04-1~mx23ahs_amd64.deb ...
Entpacken von libgl1-nvidia-glvnd-glx:amd64 (525.116.04-1~mx23ahs) ...
Vormals nicht ausgewähltes Paket nvidia-egl-common wird gewählt.
Vorbereitung zum Entpacken von .../07-nvidia-egl-common_525.116.04-1~mx23ahs_amd64.deb ...
Entpacken von nvidia-egl-common (525.116.04-1~mx23ahs) ...
Vormals nicht ausgewähltes Paket libnvidia-egl-wayland1:amd64 wird gewählt.
Vorbereitung zum Entpacken von .../08-libnvidia-egl-wayland1_1%3a1.1.10-1_amd64.deb ...
Entpacken von libnvidia-egl-wayland1:amd64 (1:1.1.10-1) ...
Vormals nicht ausgewähltes Paket libegl-nvidia0:amd64 wird gewählt.
Vorbereitung zum Entpacken von .../09-libegl-nvidia0_525.116.04-1~mx23ahs_amd64.deb ...
Entpacken von libegl-nvidia0:amd64 (525.116.04-1~mx23ahs) ...
Vormals nicht ausgewähltes Paket nvidia-egl-icd:amd64 wird gewählt.
Vorbereitung zum Entpacken von .../10-nvidia-egl-icd_525.116.04-1~mx23ahs_amd64.deb ...
Entpacken von nvidia-egl-icd:amd64 (525.116.04-1~mx23ahs) ...
Vormals nicht ausgewähltes Paket nvidia-driver-libs:amd64 wird gewählt.
Vorbereitung zum Entpacken von .../11-nvidia-driver-libs_525.116.04-1~mx23ahs_amd64.deb ...
Entpacken von nvidia-driver-libs:amd64 (525.116.04-1~mx23ahs) ...
Vormals nicht ausgewähltes Paket libnvidia-ml1:amd64 wird gewählt.
Vorbereitung zum Entpacken von .../12-libnvidia-ml1_525.116.04-1~mx23ahs_amd64.deb ...
Entpacken von libnvidia-ml1:amd64 (525.116.04-1~mx23ahs) ...
Vormals nicht ausgewähltes Paket nvidia-driver-bin wird gewählt.
Vorbereitung zum Entpacken von .../13-nvidia-driver-bin_525.116.04-1~mx23ahs_amd64.deb ...
Entpacken von nvidia-driver-bin (525.116.04-1~mx23ahs) ...
Vormals nicht ausgewähltes Paket xserver-xorg-video-nvidia wird gewählt.
Vorbereitung zum Entpacken von .../14-xserver-xorg-video-nvidia_525.116.04-1~mx23ahs_amd64.deb ...
Entpacken von xserver-xorg-video-nvidia (525.116.04-1~mx23ahs) ...
Vormals nicht ausgewähltes Paket nvidia-vdpau-driver:amd64 wird gewählt.
Vorbereitung zum Entpacken von .../15-nvidia-vdpau-driver_525.116.04-1~mx23ahs_amd64.deb ...
Entpacken von nvidia-vdpau-driver:amd64 (525.116.04-1~mx23ahs) ...
Vormals nicht ausgewähltes Paket firmware-nvidia-gsp wird gewählt.
Vorbereitung zum Entpacken von .../16-firmware-nvidia-gsp_525.116.04-1~mx23ahs_amd64.deb ...
Entpacken von firmware-nvidia-gsp (525.116.04-1~mx23ahs) ...
Vormals nicht ausgewähltes Paket nvidia-kernel-common wird gewählt.
Vorbereitung zum Entpacken von .../17-nvidia-kernel-common_20220217+3~deb12u1_amd64.deb ...
Entpacken von nvidia-kernel-common (20220217+3~deb12u1) ...
Vormals nicht ausgewähltes Paket nvidia-modprobe wird gewählt.
Vorbereitung zum Entpacken von .../18-nvidia-modprobe_535.161.07-1~deb12u1_amd64.deb ...
Entpacken von nvidia-modprobe (535.161.07-1~deb12u1) ...
Vormals nicht ausgewähltes Paket nvidia-kernel-support wird gewählt.
Vorbereitung zum Entpacken von .../19-nvidia-kernel-support_525.116.04-1~mx23ahs_amd64.deb ...
Entpacken von nvidia-kernel-support (525.116.04-1~mx23ahs) ...
Vormals nicht ausgewähltes Paket nvidia-kernel-dkms wird gewählt.
Vorbereitung zum Entpacken von .../20-nvidia-kernel-dkms_525.116.04-1~mx23ahs_amd64.deb ...
Entpacken von nvidia-kernel-dkms (525.116.04-1~mx23ahs) ...
Vormals nicht ausgewähltes Paket nvidia-driver wird gewählt.
Vorbereitung zum Entpacken von .../21-nvidia-driver_525.116.04-1~mx23ahs_amd64.deb ...
Entpacken von nvidia-driver (525.116.04-1~mx23ahs) ...
Vormals nicht ausgewähltes Paket nvidia-settings wird gewählt.
Vorbereitung zum Entpacken von .../22-nvidia-settings_535.247.01-1~deb12u1_amd64.deb ...
Entpacken von nvidia-settings (535.247.01-1~deb12u1) ...
Vormals nicht ausgewähltes Paket libnvidia-ptxjitcompiler1:i386 wird gewählt.
Vorbereitung zum Entpacken von .../23-libnvidia-ptxjitcompiler1_525.116.04-1~mx23ahs_i386.deb ...
Entpacken von libnvidia-ptxjitcompiler1:i386 (525.116.04-1~mx23ahs) ...
Vormals nicht ausgewähltes Paket libcuda1:i386 wird gewählt.
Vorbereitung zum Entpacken von .../24-libcuda1_525.116.04-1~mx23ahs_i386.deb ...
Entpacken von libcuda1:i386 (525.116.04-1~mx23ahs) ...
Vormals nicht ausgewähltes Paket libnvidia-eglcore:i386 wird gewählt.
Vorbereitung zum Entpacken von .../25-libnvidia-eglcore_525.116.04-1~mx23ahs_i386.deb ...
Entpacken von libnvidia-eglcore:i386 (525.116.04-1~mx23ahs) ...
Vormals nicht ausgewähltes Paket libegl-nvidia0:i386 wird gewählt.
Vorbereitung zum Entpacken von .../26-libegl-nvidia0_525.116.04-1~mx23ahs_i386.deb ...
Entpacken von libegl-nvidia0:i386 (525.116.04-1~mx23ahs) ...
Vormals nicht ausgewähltes Paket libnvidia-glcore:i386 wird gewählt.
Vorbereitung zum Entpacken von .../27-libnvidia-glcore_525.116.04-1~mx23ahs_i386.deb ...
Entpacken von libnvidia-glcore:i386 (525.116.04-1~mx23ahs) ...
Vormals nicht ausgewähltes Paket libglx-nvidia0:i386 wird gewählt.
Vorbereitung zum Entpacken von .../28-libglx-nvidia0_525.116.04-1~mx23ahs_i386.deb ...
Entpacken von libglx-nvidia0:i386 (525.116.04-1~mx23ahs) ...
Vormals nicht ausgewähltes Paket libgl1-nvidia-glvnd-glx:i386 wird gewählt.
Vorbereitung zum Entpacken von .../29-libgl1-nvidia-glvnd-glx_525.116.04-1~mx23ahs_i386.deb ...
Entpacken von libgl1-nvidia-glvnd-glx:i386 (525.116.04-1~mx23ahs) ...
Vormals nicht ausgewähltes Paket libgles-nvidia1:i386 wird gewählt.
Vorbereitung zum Entpacken von .../30-libgles-nvidia1_525.116.04-1~mx23ahs_i386.deb ...
Entpacken von libgles-nvidia1:i386 (525.116.04-1~mx23ahs) ...
Vormals nicht ausgewähltes Paket libgles-nvidia1:amd64 wird gewählt.
Vorbereitung zum Entpacken von .../31-libgles-nvidia1_525.116.04-1~mx23ahs_amd64.deb ...
Entpacken von libgles-nvidia1:amd64 (525.116.04-1~mx23ahs) ...
Vormals nicht ausgewähltes Paket libgles-nvidia2:amd64 wird gewählt.
Vorbereitung zum Entpacken von .../32-libgles-nvidia2_525.116.04-1~mx23ahs_amd64.deb ...
Entpacken von libgles-nvidia2:amd64 (525.116.04-1~mx23ahs) ...
Vormals nicht ausgewähltes Paket libgles-nvidia2:i386 wird gewählt.
Vorbereitung zum Entpacken von .../33-libgles-nvidia2_525.116.04-1~mx23ahs_i386.deb ...
Entpacken von libgles-nvidia2:i386 (525.116.04-1~mx23ahs) ...
Vormals nicht ausgewähltes Paket libnvcuvid1:amd64 wird gewählt.
Vorbereitung zum Entpacken von .../34-libnvcuvid1_525.116.04-1~mx23ahs_amd64.deb ...
Entpacken von libnvcuvid1:amd64 (525.116.04-1~mx23ahs) ...
Vormals nicht ausgewähltes Paket libnvcuvid1:i386 wird gewählt.
Vorbereitung zum Entpacken von .../35-libnvcuvid1_525.116.04-1~mx23ahs_i386.deb ...
Entpacken von libnvcuvid1:i386 (525.116.04-1~mx23ahs) ...
Vormals nicht ausgewähltes Paket libnvidia-allocator1:i386 wird gewählt.
Vorbereitung zum Entpacken von .../36-libnvidia-allocator1_525.116.04-1~mx23ahs_i386.deb ...
Entpacken von libnvidia-allocator1:i386 (525.116.04-1~mx23ahs) ...
Vormals nicht ausgewähltes Paket libnvidia-allocator1:amd64 wird gewählt.
Vorbereitung zum Entpacken von .../37-libnvidia-allocator1_525.116.04-1~mx23ahs_amd64.deb ...
Entpacken von libnvidia-allocator1:amd64 (525.116.04-1~mx23ahs) ...
Vormals nicht ausgewähltes Paket libnvidia-cfg1:amd64 wird gewählt.
Vorbereitung zum Entpacken von .../38-libnvidia-cfg1_525.116.04-1~mx23ahs_amd64.deb ...
Entpacken von libnvidia-cfg1:amd64 (525.116.04-1~mx23ahs) ...
Vormals nicht ausgewähltes Paket libnvidia-egl-gbm1:i386 wird gewählt.
Vorbereitung zum Entpacken von .../39-libnvidia-egl-gbm1_1.1.0-2_i386.deb ...
Entpacken von libnvidia-egl-gbm1:i386 (1.1.0-2) ...
Vormals nicht ausgewähltes Paket libnvidia-egl-gbm1:amd64 wird gewählt.
Vorbereitung zum Entpacken von .../40-libnvidia-egl-gbm1_1.1.0-2_amd64.deb ...
Entpacken von libnvidia-egl-gbm1:amd64 (1.1.0-2) ...
Vormals nicht ausgewähltes Paket libnvidia-encode1:amd64 wird gewählt.
Vorbereitung zum Entpacken von .../41-libnvidia-encode1_525.116.04-1~mx23ahs_amd64.deb ...
Entpacken von libnvidia-encode1:amd64 (525.116.04-1~mx23ahs) ...
Vormals nicht ausgewähltes Paket libnvidia-encode1:i386 wird gewählt.
Vorbereitung zum Entpacken von .../42-libnvidia-encode1_525.116.04-1~mx23ahs_i386.deb ...
Entpacken von libnvidia-encode1:i386 (525.116.04-1~mx23ahs) ...
Vormals nicht ausgewähltes Paket libnvidia-glvkspirv:i386 wird gewählt.
Vorbereitung zum Entpacken von .../43-libnvidia-glvkspirv_525.116.04-1~mx23ahs_i386.deb ...
Entpacken von libnvidia-glvkspirv:i386 (525.116.04-1~mx23ahs) ...
Vormals nicht ausgewähltes Paket libnvidia-glvkspirv:amd64 wird gewählt.
Vorbereitung zum Entpacken von .../44-libnvidia-glvkspirv_525.116.04-1~mx23ahs_amd64.deb ...
Entpacken von libnvidia-glvkspirv:amd64 (525.116.04-1~mx23ahs) ...
Vormals nicht ausgewähltes Paket libnvidia-rtcore:amd64 wird gewählt.
Vorbereitung zum Entpacken von .../45-libnvidia-rtcore_525.116.04-1~mx23ahs_amd64.deb ...
Entpacken von libnvidia-rtcore:amd64 (525.116.04-1~mx23ahs) ...
Vormals nicht ausgewähltes Paket nvidia-egl-icd:i386 wird gewählt.
Vorbereitung zum Entpacken von .../46-nvidia-egl-icd_525.116.04-1~mx23ahs_i386.deb ...
Entpacken von nvidia-egl-icd:i386 (525.116.04-1~mx23ahs) ...
Vormals nicht ausgewähltes Paket nvidia-driver-libs:i386 wird gewählt.
Vorbereitung zum Entpacken von .../47-nvidia-driver-libs_525.116.04-1~mx23ahs_i386.deb ...
Entpacken von nvidia-driver-libs:i386 (525.116.04-1~mx23ahs) ...
Vormals nicht ausgewähltes Paket nvidia-smi wird gewählt.
Vorbereitung zum Entpacken von .../48-nvidia-smi_525.116.04-1~mx23ahs_amd64.deb ...
Entpacken von nvidia-smi (525.116.04-1~mx23ahs) ...
Vormals nicht ausgewähltes Paket nvidia-vulkan-common wird gewählt.
Vorbereitung zum Entpacken von .../49-nvidia-vulkan-common_525.116.04-1~mx23ahs_amd64.deb ...
Entpacken von nvidia-vulkan-common (525.116.04-1~mx23ahs) ...
Vormals nicht ausgewähltes Paket nvidia-vulkan-icd:amd64 wird gewählt.
Vorbereitung zum Entpacken von .../50-nvidia-vulkan-icd_525.116.04-1~mx23ahs_amd64.deb ...
Entpacken von nvidia-vulkan-icd:amd64 (525.116.04-1~mx23ahs) ...
Vormals nicht ausgewähltes Paket nvidia-vulkan-icd:i386 wird gewählt.
Vorbereitung zum Entpacken von .../51-nvidia-vulkan-icd_525.116.04-1~mx23ahs_i386.deb ...
Entpacken von nvidia-vulkan-icd:i386 (525.116.04-1~mx23ahs) ...
nvidia-support (20220217+3~deb12u1) wird eingerichtet ...
libnvidia-glvkspirv:amd64 (525.116.04-1~mx23ahs) wird eingerichtet ...
libnvidia-glvkspirv:i386 (525.116.04-1~mx23ahs) wird eingerichtet ...
libnvidia-eglcore:amd64 (525.116.04-1~mx23ahs) wird eingerichtet ...
libnvidia-eglcore:i386 (525.116.04-1~mx23ahs) wird eingerichtet ...
nvidia-egl-common (525.116.04-1~mx23ahs) wird eingerichtet ...
nvidia-kernel-common (20220217+3~deb12u1) wird eingerichtet ...
libnvidia-allocator1:amd64 (525.116.04-1~mx23ahs) wird eingerichtet ...
libnvidia-allocator1:i386 (525.116.04-1~mx23ahs) wird eingerichtet ...
update-glx (1.2.2) wird eingerichtet ...
nvidia-modprobe (535.161.07-1~deb12u1) wird eingerichtet ...
libnvidia-egl-wayland1:amd64 (1:1.1.10-1) wird eingerichtet ...
libnvidia-glcore:amd64 (525.116.04-1~mx23ahs) wird eingerichtet ...
libnvidia-glcore:i386 (525.116.04-1~mx23ahs) wird eingerichtet ...
libnvidia-ptxjitcompiler1:amd64 (525.116.04-1~mx23ahs) wird eingerichtet ...
libnvidia-ptxjitcompiler1:i386 (525.116.04-1~mx23ahs) wird eingerichtet ...
nvidia-vulkan-common (525.116.04-1~mx23ahs) wird eingerichtet ...
firmware-nvidia-gsp (525.116.04-1~mx23ahs) wird eingerichtet ...
libnvidia-egl-gbm1:amd64 (1.1.0-2) wird eingerichtet ...
libnvidia-egl-gbm1:i386 (1.1.0-2) wird eingerichtet ...
libnvidia-rtcore:amd64 (525.116.04-1~mx23ahs) wird eingerichtet ...
glx-alternative-mesa (1.2.2) wird eingerichtet ...
glx-diversions (1.2.2) wird eingerichtet ...
Trigger für mailcap (3.70+nmu1) werden verarbeitet ...
Trigger für desktop-file-utils (0.26-1) werden verarbeitet ...
Trigger für initramfs-tools (0.142+deb12u3) werden verarbeitet ...
update-initramfs: Generating /boot/initrd.img-6.14.8-1-liquorix-amd64
Trigger für hicolor-icon-theme (0.17-2) werden verarbeitet ...
Trigger für libc-bin (2.36-9+deb12u10) werden verarbeitet ...
Trigger für man-db (2.11.2-2) werden verarbeitet ...
Trigger für glx-alternative-mesa (1.2.2) werden verarbeitet ...
update-alternatives: /usr/lib/mesa-diverted wird verwendet, um /usr/lib/glx (glx) im automatischen Modus bereitzustellen
update-alternatives: /usr/lib/mesa-diverted wird verwendet, um /usr/lib/mesa-diverted/libGL.so-master (libGL.so-master) im automatischen Modus bereitzustellen
glx-alternative-nvidia (1.2.2) wird eingerichtet ...
Trigger für glx-alternative-nvidia (1.2.2) werden verarbeitet ...
nvidia-alternative (525.116.04-1~mx23ahs) wird eingerichtet ...
Trigger für nvidia-alternative (525.116.04-1~mx23ahs) werden verarbeitet ...
update-alternatives: /usr/lib/nvidia/current wird verwendet, um /usr/lib/nvidia/nvidia (nvidia) im automatischen Modus bereitzustellen
libnvidia-ml1:amd64 (525.116.04-1~mx23ahs) wird eingerichtet ...
libcuda1:amd64 (525.116.04-1~mx23ahs) wird eingerichtet ...
libcuda1:i386 (525.116.04-1~mx23ahs) wird eingerichtet ...
libnvidia-cfg1:amd64 (525.116.04-1~mx23ahs) wird eingerichtet ...
libglx-nvidia0:amd64 (525.116.04-1~mx23ahs) wird eingerichtet ...
libglx-nvidia0:i386 (525.116.04-1~mx23ahs) wird eingerichtet ...
nvidia-kernel-support (525.116.04-1~mx23ahs) wird eingerichtet ...
xserver-xorg-video-nvidia (525.116.04-1~mx23ahs) wird eingerichtet ...
nvidia-vulkan-icd:amd64 (525.116.04-1~mx23ahs) wird eingerichtet ...
nvidia-vulkan-icd:i386 (525.116.04-1~mx23ahs) wird eingerichtet ...
nvidia-vdpau-driver:amd64 (525.116.04-1~mx23ahs) wird eingerichtet ...
libgl1-nvidia-glvnd-glx:amd64 (525.116.04-1~mx23ahs) wird eingerichtet ...
libgl1-nvidia-glvnd-glx:i386 (525.116.04-1~mx23ahs) wird eingerichtet ...
libgles-nvidia1:amd64 (525.116.04-1~mx23ahs) wird eingerichtet ...
libgles-nvidia1:i386 (525.116.04-1~mx23ahs) wird eingerichtet ...
libegl-nvidia0:amd64 (525.116.04-1~mx23ahs) wird eingerichtet ...
libegl-nvidia0:i386 (525.116.04-1~mx23ahs) wird eingerichtet ...
nvidia-settings (535.247.01-1~deb12u1) wird eingerichtet ...
nvidia-smi (525.116.04-1~mx23ahs) wird eingerichtet ...
libgles-nvidia2:amd64 (525.116.04-1~mx23ahs) wird eingerichtet ...
libgles-nvidia2:i386 (525.116.04-1~mx23ahs) wird eingerichtet ...
nvidia-driver-bin (525.116.04-1~mx23ahs) wird eingerichtet ...
libnvcuvid1:amd64 (525.116.04-1~mx23ahs) wird eingerichtet ...
libnvcuvid1:i386 (525.116.04-1~mx23ahs) wird eingerichtet ...
nvidia-egl-icd:amd64 (525.116.04-1~mx23ahs) wird eingerichtet ...
nvidia-egl-icd:i386 (525.116.04-1~mx23ahs) wird eingerichtet ...
libnvidia-encode1:amd64 (525.116.04-1~mx23ahs) wird eingerichtet ...
libnvidia-encode1:i386 (525.116.04-1~mx23ahs) wird eingerichtet ...
nvidia-driver-libs:amd64 (525.116.04-1~mx23ahs) wird eingerichtet ...
nvidia-driver-libs:i386 (525.116.04-1~mx23ahs) wird eingerichtet ...
Trigger für nvidia-alternative (525.116.04-1~mx23ahs) werden verarbeitet ...
update-alternatives: Alternative /usr/lib/nvidia/current wird aktualisiert, weil Linkgruppe nvidia geänderte Slave-Links hat
nvidia-kernel-dkms (525.116.04-1~mx23ahs) wird eingerichtet ...
Loading new nvidia-current-525.116.04 DKMS files...
/usr/sbin/dkms.mx add -m nvidia-current -v 525.116.04
Building for 6.14.8-1-liquorix-amd64
/usr/sbin/dkms.mx status -m nvidia-current -v 525.116.04 -k 6.14.8-1-liquorix-amd64
Building initial module for 6.14.8-1-liquorix-amd64
/usr/sbin/dkms.mx build -m nvidia-current -v 525.116.04 -k 6.14.8-1-liquorix-amd64 -k 6.11.10-amd64 -k 6.14.8-1-liquorix-amd64 -a x86_64
Error! Bad return status for module build on kernel: 6.14.8-1-liquorix-amd64 (x86_64)
Consult /var/lib/dkms/nvidia-current/525.116.04/build/make.log for more information.
Error! Bad return status for module build on kernel: 6.11.10-amd64 (x86_64)
Consult /var/lib/dkms/nvidia-current/525.116.04/build/make.log for more information.
Error! Bad return status for module build on kernel: 6.14.8-1-liquorix-amd64 (x86_64)
Consult /var/lib/dkms/nvidia-current/525.116.04/build/make.log for more information.
dpkg: Fehler beim Bearbeiten des Paketes nvidia-kernel-dkms (--configure):
 »installiertes post-installation-Skript des Paketes nvidia-kernel-dkms«-Unterprozess gab den Fehlerwert 10 zurück
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von nvidia-driver:
 nvidia-driver hängt ab von nvidia-kernel-dkms (= 525.116.04-1~mx23ahs) | nvidia-kernel-525.116.04 | nvidia-open-kernel-525.116.04 | nvidia-open-kernel-525.116.04; aber:
  Paket nvidia-kernel-dkms ist noch nicht konfiguriert.
  Paket nvidia-kernel-525.116.04 ist nicht installiert.
  Paket nvidia-kernel-dkms, das nvidia-kernel-525.116.04 bereitstellt, ist noch nicht konfiguriert.
  Paket nvidia-open-kernel-525.116.04 ist nicht installiert.
  Paket nvidia-open-kernel-525.116.04 ist nicht installiert.

dpkg: Fehler beim Bearbeiten des Paketes nvidia-driver (--configure):
 Abhängigkeitsprobleme - verbleibt unkonfiguriert
Trigger für libc-bin (2.36-9+deb12u10) werden verarbeitet ...
Trigger für initramfs-tools (0.142+deb12u3) werden verarbeitet ...
update-initramfs: Generating /boot/initrd.img-6.14.8-1-liquorix-amd64
Trigger für update-glx (1.2.2) werden verarbeitet ...
Trigger für glx-alternative-nvidia (1.2.2) werden verarbeitet ...
update-alternatives: /usr/lib/nvidia wird verwendet, um /usr/lib/glx (glx) im automatischen Modus bereitzustellen
Trigger für glx-alternative-mesa (1.2.2) werden verarbeitet ...
Trigger für libc-bin (2.36-9+deb12u10) werden verarbeitet ...
Trigger für initramfs-tools (0.142+deb12u3) werden verarbeitet ...
update-initramfs: Generating /boot/initrd.img-6.14.8-1-liquorix-amd64
Fehler traten auf beim Bearbeiten von:
 nvidia-kernel-dkms
 nvidia-driver
E: Sub-process /usr/bin/dpkg returned an error code (1)
POSTINSTALL
symlinks
Abgeschlossen


========================================
========================================

Zum Wiederherstellen von Open-Source-Treibern bei späterer Verwendung: 
sudo ddm-mx -p nvidia

========================================
========================================


Hilfe zur Wiederherstellung siehe unter
https://mxlinux.org/wiki/hardware/nvidia-driver-install-recovery

Information wurde gespeichert in/home/default-user/ddm-mx-nvidia_removal_command.txt


Drücke <Enter> zum verlassen
It still fails to re-download the (already installed) linux headers, but specifically installation seems to fail because of DKMS build errors. Excerpt (lower bit transalted):

Code: Select all

nvidia-kernel-dkms (525.116.04-1~mx23ahs) wird eingerichtet ...
Loading new nvidia-current-525.116.04 DKMS files...
/usr/sbin/dkms.mx add -m nvidia-current -v 525.116.04
Building for 6.14.8-1-liquorix-amd64
/usr/sbin/dkms.mx status -m nvidia-current -v 525.116.04 -k 6.14.8-1-liquorix-amd64
Building initial module for 6.14.8-1-liquorix-amd64
/usr/sbin/dkms.mx build -m nvidia-current -v 525.116.04 -k 6.14.8-1-liquorix-amd64 -k 6.11.10-amd64 -k 6.14.8-1-liquorix-amd64 -a x86_64
Error! Bad return status for module build on kernel: 6.14.8-1-liquorix-amd64 (x86_64)
Consult /var/lib/dkms/nvidia-current/525.116.04/build/make.log for more information.
.......
dpkg: Error processing package nvidia-kernel-dkms (--configure):
 »installed post-installation-script of package nvidia-kernel-dkms«-subprocess returned error value 10
The mentioned log file:

Code: Select all

DKMS make.log for nvidia-current-525.116.04 for kernel 6.14.8-1-liquorix-amd64 (x86_64)
So 29 Jun 2025 01:03:30 CEST
make V=1 -C /lib/modules/6.14.8-1-liquorix-amd64/build M=/var/lib/dkms/nvidia-current/525.116.04/build ARCH=x86_64 NV_KERNEL_SOURCES=/lib/modules/6.14.8-1-liquorix-amd64/build NV_KERNEL_OUTPUT=/lib/modules/6.14.8-1-liquorix-amd64/build NV_KERNEL_MODULES="nvidia nvidia-uvm nvidia-modeset nvidia-drm nvidia-peermem" INSTALL_MOD_DIR=kernel/drivers/video NV_SPECTRE_V2=0 modules
make[1]: Verzeichnis „/usr/src/linux-headers-6.14.8-1-liquorix-amd64“ wird betreten
make  -C /var/lib/dkms/nvidia-current/525.116.04/build \
-f /usr/src/linux-headers-6.14.8-1-liquorix-amd64/Makefile modules
make[2]: Verzeichnis „/var/lib/dkms/nvidia-current/525.116.04/build“ wird betreten
make --no-print-directory -C /var/lib/dkms/nvidia-current/525.116.04/build \
-f /usr/src/linux-headers-6.14.8-1-liquorix-amd64/Makefile modules
make -f /usr/src/linux-headers-6.14.8-1-liquorix-amd64/scripts/Makefile.build obj=. need-builtin=1 need-modorder=1 
<trimmed>
# CC [M]  nvidia/os-usermap.o
   gcc -Wp,-MMD,nvidia/.os-usermap.o.d -nostdinc -I/usr/src/linux-headers-6.14.8-1-liquorix-amd64/arch/x86/include -I/usr/src/linux-headers-6.14.8-1-liquorix-amd64/arch/x86/include/generated -I/usr/src/linux-headers-6.14.8-1-liquorix-amd64/include -I/usr/src/linux-headers-6.14.8-1-liquorix-amd64/include -I/usr/src/linux-headers-6.14.8-1-liquorix-amd64/arch/x86/include/uapi -I/usr/src/linux-headers-6.14.8-1-liquorix-amd64/arch/x86/include/generated/uapi -I/usr/src/linux-headers-6.14.8-1-liquorix-amd64/include/uapi -I/usr/src/linux-headers-6.14.8-1-liquorix-amd64/include/generated/uapi -include /usr/src/linux-headers-6.14.8-1-liquorix-amd64/include/linux/compiler-version.h -include /usr/src/linux-headers-6.14.8-1-liquorix-amd64/include/linux/kconfig.h -include /usr/src/linux-headers-6.14.8-1-liquorix-amd64/include/linux/compiler_types.h -D__KERNEL__ -std=gnu11 -fshort-wchar -funsigned-char -fno-common -fno-PIE -fno-strict-aliasing -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -mno-avx2 -fno-tree-vectorize -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fno-jump-tables -fpatchable-function-entry=16,16 -fno-delete-null-pointer-checks -O3 -fno-allow-store-data-races -fstack-protector-strong -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -falign-functions=16 -fno-strict-overflow -fno-stack-check -fno-builtin-wcslen -Wall -Wundef -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Werror=strict-prototypes -Wno-format-security -Wno-trigraphs -Wno-frame-address -Wno-address-of-packed-member -Wmissing-declarations -Wmissing-prototypes -Wframe-larger-than=2048 -Wno-main -Wno-dangling-pointer -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-overflow -Wno-array-bounds -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wenum-conversion -Wextra -Wunused -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-packed-not-aligned -Wno-format-overflow -Wno-format-truncation -Wno-stringop-truncation -Wno-override-init -Wno-missing-field-initializers -Wno-type-limits -Wno-shift-negative-value -Wno-maybe-uninitialized -Wno-sign-compare -Wno-unused-parameter -g -I././common/inc -I./. -Wall -MD -Wno-cast-qual -Wno-error -Wno-format-extra-args -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"525.116.04\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -ffreestanding -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -I././nvidia -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"os_usermap"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o nvidia/os-usermap.o nvidia/os-usermap.c   ; /usr/src/linux-headers-6.14.8-1-liquorix-amd64/tools/objtool/objtool --hacks=jump_label --hacks=noinstr --hacks=skylake --orc --retpoline --rethunk --static-call --uaccess --prefix=16   --module nvidia/os-usermap.o
In file included from /usr/src/linux-headers-6.14.8-1-liquorix-amd64/arch/x86/include/asm/nospec-branch.h:15,
                 from /usr/src/linux-headers-6.14.8-1-liquorix-amd64/arch/x86/include/asm/paravirt_types.h:12,
                 from /usr/src/linux-headers-6.14.8-1-liquorix-amd64/arch/x86/include/asm/ptrace.h:175,
                 from /usr/src/linux-headers-6.14.8-1-liquorix-amd64/arch/x86/include/asm/math_emu.h:5,
                 from /usr/src/linux-headers-6.14.8-1-liquorix-amd64/arch/x86/include/asm/processor.h:13,
                 from /usr/src/linux-headers-6.14.8-1-liquorix-amd64/arch/x86/include/asm/timex.h:5,
                 from /usr/src/linux-headers-6.14.8-1-liquorix-amd64/include/linux/timex.h:67,
                 from /usr/src/linux-headers-6.14.8-1-liquorix-amd64/include/linux/time32.h:13,
                 from /usr/src/linux-headers-6.14.8-1-liquorix-amd64/include/linux/time.h:60,
                 from /usr/src/linux-headers-6.14.8-1-liquorix-amd64/include/linux/jiffies.h:10,
                 from /usr/src/linux-headers-6.14.8-1-liquorix-amd64/include/linux/ktime.h:25,
                 from /usr/src/linux-headers-6.14.8-1-liquorix-amd64/include/linux/hrtimer_defs.h:5,
                 from /usr/src/linux-headers-6.14.8-1-liquorix-amd64/include/linux/hrtimer.h:15,
                 from nvidia/nv-nano-timer.c:27:
././common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES’:
/usr/src/linux-headers-6.14.8-1-liquorix-amd64/arch/x86/include/asm/current.h:52:17: warning: passing argument 1 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion]
   52 | #define current get_current()
      |                 ^~~~~~~~~~~~~
      |                 |
      |                 struct task_struct *
././common/inc/nv-mm.h:88:31: note: in expansion of macro ‘current’
   88 |         return get_user_pages(current, current->mm, start, nr_pages, write,
      |                               ^~~~~~~
In file included from ././common/inc/nv-pgprot.h:30,
                 from ././common/inc/nv-linux.h:33,
                 from nvidia/nv-nano-timer.c:31:
/usr/src/linux-headers-6.14.8-1-liquorix-amd64/include/linux/mm.h:2534:35: note: expected ‘long unsigned int’ but argument is of type ‘struct task_struct *’
 2534 | long get_user_pages(unsigned long start, unsigned long nr_pages,
      |                     ~~~~~~~~~~~~~~^~~~~
In file included from ././common/inc/nv-linux.h:34:
././common/inc/nv-mm.h:88:47: warning: passing argument 2 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion]
   88 |         return get_user_pages(current, current->mm, start, nr_pages, write,
/usr/src/linux-headers-6.14.8-1-liquorix-amd64/include/linux/mm.h:2534:56: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’
 2534 | long get_user_pages(unsigned long start, unsigned long nr_pages,
      |                                          ~~~~~~~~~~~~~~^~~~~~~~
././common/inc/nv-mm.h:88:60: warning: passing argument 4 of ‘get_user_pages’ makes pointer from integer without a cast [-Wint-conversion]
   88 |         return get_user_pages(current, current->mm, start, nr_pages, write,
      |                                                            ^~~~~~~~
      |                                                            |
      |                                                            long unsigned int
/usr/src/linux-headers-6.14.8-1-liquorix-amd64/include/linux/mm.h:2535:59: note: expected ‘struct page **’ but argument is of type ‘long unsigned int’
 2535 |                     unsigned int gup_flags, struct page **pages);
      |                                             ~~~~~~~~~~~~~~^~~~~
././common/inc/nv-mm.h:88:16: error: too many arguments to function ‘get_user_pages’
   88 |         return get_user_pages(current, current->mm, start, nr_pages, write,
      |                ^~~~~~~~~~~~~~
/usr/src/linux-headers-6.14.8-1-liquorix-amd64/include/linux/mm.h:2534:6: note: declared here
 2534 | long get_user_pages(unsigned long start, unsigned long nr_pages,
      |      ^~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-6.14.8-1-liquorix-amd64/include/uapi/linux/posix_types.h:5,
                 from /usr/src/linux-headers-6.14.8-1-liquorix-amd64/include/uapi/linux/types.h:14,
                 from /usr/src/linux-headers-6.14.8-1-liquorix-amd64/include/linux/types.h:6,
                 from /usr/src/linux-headers-6.14.8-1-liquorix-amd64/include/linux/kasan-checks.h:5,
                 from /usr/src/linux-headers-6.14.8-1-liquorix-amd64/include/asm-generic/rwonce.h:26,
                 from /usr/src/linux-headers-6.14.8-1-liquorix-amd64/arch/x86/include/generated/asm/rwonce.h:1,
                 from /usr/src/linux-headers-6.14.8-1-liquorix-amd64/include/linux/compiler.h:344,
                 from /usr/src/linux-headers-6.14.8-1-liquorix-amd64/include/linux/array_size.h:5,
                 from /usr/src/linux-headers-6.14.8-1-liquorix-amd64/include/linux/kernel.h:16,
                 from nvidia/nv-nano-timer.c:26:
././common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’:
/usr/src/linux-headers-6.14.8-1-liquorix-amd64/include/linux/stddef.h:8:14: warning: passing argument 1 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion]
    8 | #define NULL ((void *)0)
      |              ^~~~~~~~~~~
      |              |
      |              void *
././common/inc/nv-mm.h:182:35: note: in expansion of macro ‘NULL’
  182 |             return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas);
      |                                   ^~~~
/usr/src/linux-headers-6.14.8-1-liquorix-amd64/include/linux/mm.h:2534:35: note: expected ‘long unsigned int’ but argument is of type ‘void *’
 2534 | long get_user_pages(unsigned long start, unsigned long nr_pages,
      |                     ~~~~~~~~~~~~~~^~~~~
././common/inc/nv-mm.h:182:41: warning: passing argument 2 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion]
  182 |             return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas);
      |                                         ^~
      |                                         |
      |                                         struct mm_struct *
/usr/src/linux-headers-6.14.8-1-liquorix-amd64/include/linux/mm.h:2534:56: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’
 2534 | long get_user_pages(unsigned long start, unsigned long nr_pages,
      |                                          ~~~~~~~~~~~~~~^~~~~~~~
././common/inc/nv-mm.h:182:52: warning: passing argument 4 of ‘get_user_pages’ makes pointer from integer without a cast [-Wint-conversion]
  182 |             return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas);
      |                                                    ^~~~~~~~
      |                                                    |
      |                                                    long unsigned int
/usr/src/linux-headers-6.14.8-1-liquorix-amd64/include/linux/mm.h:2535:59: note: expected ‘struct page **’ but argument is of type ‘long unsigned int’
 2535 |                     unsigned int gup_flags, struct page **pages);
      |                                             ~~~~~~~~~~~~~~^~~~~
././common/inc/nv-mm.h:182:20: error: too many arguments to function ‘get_user_pages’
  182 |             return get_user_pages(NULL, mm, start, nr_pages, write, force, pages, vmas);
      |                    ^~~~~~~~~~~~~~
/usr/src/linux-headers-6.14.8-1-liquorix-amd64/include/linux/mm.h:2534:6: note: declared here
 2534 | long get_user_pages(unsigned long start, unsigned long nr_pages,
      |      ^~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-6.14.8-1-liquorix-amd64/arch/x86/include/asm/preempt.h:7,
                 from /usr/src/linux-headers-6.14.8-1-liquorix-amd64/include/linux/preempt.h:79,
                 from /usr/src/linux-headers-6.14.8-1-liquorix-amd64/include/linux/spinlock.h:56,
                 from ././common/inc/nv-lock.h:29,
                 from ././common/inc/nv-linux.h:32,
                 from nvidia/nv-acpi.c:27:
././common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES’:
/usr/src/linux-headers-6.14.8-1-liquorix-amd64/arch/x86/include/asm/current.h:52:17: warning: passing argument 1 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion]
   52 | #define current get_current()
      |                 ^~~~~~~~~~~~~
      |                 |
      |                 struct task_struct *
././common/inc/nv-mm.h:88:31: note: in expansion of macro ‘current’
   88 |         return get_user_pages(current, current->mm, start, nr_pages, write,
      |                               ^~~~~~~
In file included from ././common/inc/nv-pgprot.h:30,
                 from ././common/inc/nv-linux.h:33:
/usr/src/linux-headers-6.14.8-1-liquorix-amd64/include/linux/mm.h:2534:35: note: expected ‘long unsigned int’ but argument is of type ‘struct task_struct *’
 2534 | long get_user_pages(unsigned long start, unsigned long nr_pages,
      |                     ~~~~~~~~~~~~~~^~~~~
In file included from ././common/inc/nv-linux.h:34:
././common/inc/nv-mm.h:88:47: warning: passing argument 2 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion]
   88 |         return get_user_pages(current, current->mm, start, nr_pages, write,
/usr/src/linux-headers-6.14.8-1-liquorix-amd64/include/linux/mm.h:2534:56: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’
 2534 | long get_user_pages(unsigned long start, unsigned long nr_pages,
      |                                          ~~~~~~~~~~~~~~^~~~~~~~
././common/inc/nv-mm.h:88:60: warning: passing argument 4 of ‘get_user_pages’ makes pointer from integer without a cast [-Wint-conversion]
   88 |         return get_user_pages(current, current->mm, start, nr_pages, write,
      |                                                            ^~~~~~~~
      |                                                            |
      |                                                            long unsigned int
/usr/src/linux-headers-6.14.8-1-liquorix-amd64/include/linux/mm.h:2535:59: note: expected ‘struct page **’ but argument is of type ‘long unsigned int’
 2535 |                     unsigned int gup_flags, struct page **pages);
      |                                             ~~~~~~~~~~~~~~^~~~~
././common/inc/nv-mm.h:88:16: error: too many arguments to function ‘get_user_pages’
   88 |         return get_user_pages(current, current->mm, start, nr_pages, write,
      |                ^~~~~~~~~~~~~~
/usr/src/linux-headers-6.14.8-1-liquorix-amd64/include/linux/mm.h:2534:6: note: declared here
 2534 | long get_user_pages(unsigned long start, unsigned long nr_pages,
      |      ^~~~~~~~~~~~~~
<trimmed>
make[4]: *** [/usr/src/linux-headers-6.14.8-1-liquorix-amd64/scripts/Makefile.build:207: nvidia/nv-vtophys.o] Fehler 1
make[4]: *** [/usr/src/linux-headers-6.14.8-1-liquorix-amd64/scripts/Makefile.build:207: nvidia/nv-pat.o] Fehler 1
make[4]: *** [/usr/src/linux-headers-6.14.8-1-liquorix-amd64/scripts/Makefile.build:207: nvidia/nv-usermap.o] Fehler 1
make[4]: *** [/usr/src/linux-headers-6.14.8-1-liquorix-amd64/scripts/Makefile.build:207: nvidia/nv-p2p.o] Fehler 1
make[4]: *** [/usr/src/linux-headers-6.14.8-1-liquorix-amd64/scripts/Makefile.build:207: nvidia/nv-procfs.o] Fehler 1
make[4]: *** [/usr/src/linux-headers-6.14.8-1-liquorix-amd64/scripts/Makefile.build:207: nvidia/os-interface.o] Fehler 1
make[3]: *** [/usr/src/linux-headers-6.14.8-1-liquorix-amd64/Makefile:2006: .] Fehler 2
make[2]: *** [/usr/src/linux-headers-6.14.8-1-liquorix-amd64/Makefile:251: __sub-make] Fehler 2
make[2]: Verzeichnis „/var/lib/dkms/nvidia-current/525.116.04/build“ wird verlassen
make[1]: *** [Makefile:251: __sub-make] Fehler 2
make[1]: Verzeichnis „/usr/src/linux-headers-6.14.8-1-liquorix-amd64“ wird verlassen
make: *** [Makefile:82: modules] Fehler 2
This seems to indicate that there's an issue surrounding the "get_user_pages" function.
Searching the internet for the first actual error (not warning/note) leads me here: Nvidia forum, which doesn't seem super relevant seeing as that thread is about an old 4.x kernel. (Apparently in 4.x there was a source-breaking change.)
Nvidia claims they fixed this build error in their 418.30 beta drivers.
I wasn't able to find a source patch for it so I'll have to take their word for it. (Their public git history only goes back as far as 515.43.) And clearly newer versions can build the DKMS module just fine.
It seems I found someone with the same build error HERE where they later suggest installing coreutils fixed their issue. I confirmed that this package is already installed on my system. Someone else suggested the compiler to use was misconfigured. I confirmed that I don't have weird stuff assigned to $CC and $CPP, which I had messed with in the past.

Even if there was a patch I'd have no idea how to apply it during the installation.

I need a break now, then I'll try with a newer kernel. I'll also try clean reinstalling 535, which I didn't yet.

If you guys have any more input I'm all ears.
Thank you for assisting.

Re: Downgrade nvidia drivers to specific version

Posted: Sat Jun 28, 2025 9:00 pm
by Stevo
oops wrote: Sat Jun 28, 2025 5:58 pm
Stevo wrote: Sat Jun 28, 2025 3:36 pm LOL, ahs-staging currently has 550 nvidia-driver to make things more confused.
Lol ... And the useful for me : nvidia-graphics-drivers-legacy-390xx (390.157-12)

--- new one Wed, 18 Jun 2025 -, to fix kernel module build for Linux 6.15 ------------------------
https://packages.debian.org/sid/nvidia- ... 0xx-driver
nvidia-graphics-drivers-legacy-390xx (390.157-13) unstable; urgency=medium

* Backport ccflags-y and nv_timer_delete_sync changes from 570.153.02 and
drm_connector_helper_funcs_mode_valid_has_const_mode_arg changes from
550.163.01 and import tentative fix from CachyOS for avoiding calls to
GPL-only symbol __vma_start_write to fix kernel module build for
Linux 6.15. (Closes: #1107817)

-- Andreas Beckmann <anbe@debian.org> Wed, 18 Jun 2025 11:18:35 +0200
Thanks! Experimental now has 555 drivers with patches that are supposed to make it build on 6.15 kernels, so I'll do that later.
* Backport ccflags-y, nv_timer_delete_sync, __iowrite64_lo_hi, page_pgmap
and make_device_exclusive changes from 570.153.02 and nv_vma_start_write
changes from 570.169 and
drm_connector_helper_funcs_mode_valid_has_const_mode_arg changes from
550.163.01 to fix kernel module build for Linux 6.15.

Re: Downgrade nvidia drivers to specific version

Posted: Sat Jun 28, 2025 9:25 pm
by dolphin_oracle
downgrade libxnvctrl0 ahead of time. I forgot about that one.

Code: Select all

sudo apt install libxnvctrl0=525.85.05-1~mx23ahs

Re: Downgrade nvidia drivers to specific version

Posted: Sun Jun 29, 2025 4:34 am
by square
dolphin_oracle wrote: Sat Jun 28, 2025 9:25 pm downgrade libxnvctrl0 ahead of time. I forgot about that one.

Code: Select all

sudo apt install libxnvctrl0=525.85.05-1~mx23ahs
That version seems to not exist. However, 525.85.05-3~deb12u1 is installed (now anyways) and a handful of applications depend on it.

Code: Select all

$ apt-cache madison nvidia-{driver,settings,modprobe} libxnvctrl0
nvidia-driver | 535.247.01-1~deb12u1 | http://deb.debian.org/debian bookworm/non-free amd64 Packages
nvidia-driver | 535.216.03-3~mx23ahs | http://mirror.plusserver.com/mxlinux/mxlinux/mx/repo bookworm/ahs amd64 Packages
nvidia-driver | 525.116.04-1~mx23ahs | http://mxrepo.com/mx/repo bookworm/non-free amd64 Packages
nvidia-driver | 525.116.04-1~mx23ahs | http://mirror.plusserver.com/mxlinux/mxlinux/mx/repo bookworm/non-free amd64 Packages
nvidia-settings | 535.247.01-1~deb12u1 | http://deb.debian.org/debian bookworm/contrib amd64 Packages
nvidia-settings | 525.85.05-1~mx23ahs | http://mxrepo.com/mx/repo bookworm/non-free amd64 Packages
nvidia-settings | 525.85.05-1~mx23ahs | http://mirror.plusserver.com/mxlinux/mxlinux/mx/repo bookworm/non-free amd64 Packages
nvidia-modprobe | 535.161.07-1~deb12u1 | http://deb.debian.org/debian bookworm/contrib amd64 Packages
libxnvctrl0 | 525.85.05-3~deb12u1 | http://deb.debian.org/debian bookworm/main amd64 Packages
I noticed the link to your youtube channel in your forum signature and took a look. Turns out you covered this topic not long ago and even implemented -N. Very nice! :D

I've deleted all my kernels and installed 6.14.10-2-liquorix.
6.14.8 seems to have vanished from the repo. And apparently new kernels have gotten so huge (can I blame rust for this?) that the 488MB boot partition can only fit a single kernel anymore if compiling modules should also work (runs out of space if there's 2). A year ago It could hold 3 just fine.

I tested a fresh installation of 535. No improvement.
I also tried some test builds with the new -N switch.

- 550 (the one you mentioned in your videos people want) installed correctly - no improvement.
- 575 had some issue with package dependencies IIRC - I forgot to save the output.
- 570, if there is such a version, also didn't work - I no longer have access to the version list. (see below)
- 565 kernel module failed to build:

Code: Select all

# CC [M]  nvidia-drm/nv-kthread-q.o
   gcc -Wp,-MMD,nvidia-drm/.nv-kthread-q.o.d -nostdinc -I/usr/src/linux-headers-6.14.10-2-liquorix-amd64/arch/x86/include -I/usr/src/linux-headers-6.14.10-2-liquorix-amd64/arch/x86/include/generated -I/usr/src/linux-headers-6.14.10-2-liquorix-amd64/include -I/usr/src/linux-headers-6.14.10-2-liquorix-amd64/include -I/usr/src/linux-headers-6.14.10-2-liquorix-amd64/arch/x86/include/uapi -I/usr/src/linux-headers-6.14.10-2-liquorix-amd64/arch/x86/include/generated/uapi -I/usr/src/linux-headers-6.14.10-2-liquorix-amd64/include/uapi -I/usr/src/linux-headers-6.14.10-2-liquorix-amd64/include/generated/uapi -include /usr/src/linux-headers-6.14.10-2-liquorix-amd64/include/linux/compiler-version.h -include /usr/src/linux-headers-6.14.10-2-liquorix-amd64/include/linux/kconfig.h -include /usr/src/linux-headers-6.14.10-2-liquorix-amd64/include/linux/compiler_types.h -D__KERNEL__ -std=gnu11 -fshort-wchar -funsigned-char -fno-common -fno-PIE -fno-strict-aliasing -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -mno-avx2 -fno-tree-vectorize -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fno-jump-tables -fpatchable-function-entry=16,16 -fno-delete-null-pointer-checks -O3 -fno-allow-store-data-races -fstack-protector-strong -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -falign-functions=16 -fno-strict-overflow -fno-stack-check -fno-builtin-wcslen -Wall -Wextra -Wundef -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Werror=strict-prototypes -Wno-format-security -Wno-trigraphs -Wno-frame-address -Wno-address-of-packed-member -Wmissing-declarations -Wmissing-prototypes -Wframe-larger-than=2048 -Wno-main -Wno-dangling-pointer -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-array-bounds -Wno-stringop-overflow -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wenum-conversion -Wunused -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-packed-not-aligned -Wno-format-overflow -Wno-format-truncation -Wno-stringop-truncation -Wno-override-init -Wno-missing-field-initializers -Wno-type-limits -Wno-shift-negative-value -Wno-maybe-uninitialized -Wno-sign-compare -Wno-unused-parameter -g -Wno-error -I././common/inc -I./. -Wall -Wno-cast-qual -Wno-format-extra-args -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"565.57.01\" -DNV_FILESYSTEM_ACCESS_AVAILABLE=1 -Wno-unused-function -Wuninitialized -fno-strict-aliasing -ffreestanding -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -I././nvidia-drm -UDEBUG -U_DEBUG -DNDEBUG -DNV_BUILD_MODULE_INSTANCES=0  -DMODULE  -DKBUILD_BASENAME='"nv_kthread_q"' -DKBUILD_MODNAME='"nvidia_drm"' -D__KBUILD_MODNAME=kmod_nvidia_drm -c -o nvidia-drm/nv-kthread-q.o nvidia-drm/nv-kthread-q.c   ; /usr/src/linux-headers-6.14.10-2-liquorix-amd64/tools/objtool/objtool --hacks=jump_label --hacks=noinstr --hacks=skylake --orc --retpoline --rethunk --static-call --uaccess --prefix=16   --module nvidia-drm/nv-kthread-q.o
nvidia-drm/nvidia-drm-drv.c:1903:6: error: ‘struct drm_driver’ has no member named ‘date’
 1903 |     .date                   = "20160202",
      |      ^~~~
nvidia-drm/nvidia-drm-drv.c:1903:31: warning: initialization of ‘unsigned int’ from ‘char *’ makes integer from pointer without a cast [-Wint-conversion]
 1903 |     .date                   = "20160202",
      |                               ^~~~~~~~~~
nvidia-drm/nvidia-drm-drv.c:1903:31: note: (near initialization for ‘nv_drm_driver.driver_features’)
nvidia-drm/nvidia-drm-drv.c:1903:31: error: initializer element is not computable at load time
nvidia-drm/nvidia-drm-drv.c:1903:31: note: (near initialization for ‘nv_drm_driver.driver_features’)
make[4]: *** [/usr/src/linux-headers-6.14.10-2-liquorix-amd64/scripts/Makefile.build:207: nvidia-drm/nvidia-drm-drv.o] Fehler 1
For some of the test releases ddm-mx wanted to install bumblebee-nvidia alongside nvidia-driver. Adding "-f nvidia-driver" to the incantation resulted in the installer trying to install "nvidia-drivernvidia-driver". Seems to be a small bug. Perhaps this was 570 (if it exists).

At some point I wanted to try 525 again, put the file with the version pins back into apt preferences and re-ran the installer (without -N). But the installer insists on 535 as if the pins didn't exist. I've then removed the pins again and tried with -N again to test more preview versions, and it seems that nvidia's repo isn't getting installed anymore. The installer does not offer a version selection or even removal of the repo, and again insists on 535. Looks like it bricked somehow:

Code: Select all

$ sudo ddm-mx -i nvidia -N

Distribution:   MX

INSTALL IS nvidia
Sperrung wird hergestellt.....
===================================
ddm-mx: 25.06.01
kernel release: 6.14.10-2-liquorix-amd64
kernel version: #1 ZEN SMP PREEMPT_DYNAMIC liquorix 6.14-13~mx23ahs (2025-06-09)
command parameters: -i nvidia -N
===================================
===================================
Installiere Treiber für: nvidia
Start am (m/t/j): 06/29/2025 09:49:49
===================================

========================================
========================================

Um die Open-Source-Treiber wiederherzustellen, verwenden Sie: 
sudo ddm-mx -p nvidia

========================================
========================================


Aktualisiere Quellen mit apt-get update

Weiter
  1) yes (default)
  2) no
Drücke <Enter> für den Vorgabewert Eintrag
Verwende 'q' für Beenden
1
OK:1 http://security.debian.org/debian-security bookworm-security InRelease
OK:2 http://deb.debian.org/debian bookworm-updates InRelease                                                                                                                                                                                                                         
OK:3 http://deb.debian.org/debian bookworm InRelease                                                                                                                                                                                                                                 
OK:4 http://mirror.plusserver.com/mxlinux/mxlinux/mx/repo bookworm InRelease                                                                                                                                                                                                         
OK:6 https://deb.nodesource.com/node_20.x nodistro InRelease                                                                                                                                                                                                                         
OK:7 https://ppa.launchpadcontent.net/cdemu/ppa/ubuntu jammy InRelease                                                                                                                                                                                         
OK:8 https://packages.microsoft.com/debian/12/prod bookworm InRelease                                                                                                                                                                                          
OK:9 https://packages.microsoft.com/repos/code stable InRelease                                                                                                                                                                      
OK:5 https://downloads.mariadb.com/Tools/debian bookworm InRelease                                                                                                                                           
OK:10 https://download.zulip.com/desktop/apt stable InRelease                                                                                              
OK:12 https://download.sublimetext.com apt/stable/ InRelease                                                                       
OK:11 https://mxrepo.com/mx/repo bookworm InRelease                                                    
OK:13 https://dlm.mariadb.com/repo/mariadb-server/10.rolling/repo/debian bookworm InRelease
OK:14 https://dlm.mariadb.com/repo/maxscale/latest/apt bookworm InRelease
Paketlisten werden gelesen… Fertig

Kandidat ist: nvidia-driver 535.247.01-1~deb12u1
Installiert ist: nvidia-driver (none)


In den Nvidia-Entwicklerpaketquellen nach einer neueren Version suchen?
  1) yes
  2) no (default)
Drücke <Enter> für den Vorgabewert Eintrag
Verwende 'q' für Beenden
1
Ok...
Nvidia-Entwicklerpaketquellen aktivieren
Den Signaturschlüssel der Nvidia-Paketquellen erhalten
https://developer.download.nvidia.com/compute/cuda/repos/debian12/x86_64/cuda-keyring_1.1-1_all.deb
--2025-06-29 09:49:57--  https://developer.download.nvidia.com/compute/cuda/repos/debian12/x86_64/cuda-keyring_1.1-1_all.deb
Auflösen des Hostnamens developer.download.nvidia.com (developer.download.nvidia.com)… 23.73.0.155, 23.73.0.178
Verbindungsaufbau zu developer.download.nvidia.com (developer.download.nvidia.com)|23.73.0.155|:443 … verbunden.
HTTP-Anforderung gesendet, auf Antwort wird gewartet … 200 OK
Länge: 4148 (4,1K) [application/x-deb]
Wird in »/tmp/nvidia-keyring.deb« gespeichert.

/tmp/nvidia-keyring.deb                                               100%[=======================================================================================================================================================================>]   4,05K  --.-KB/s    in 0s      

2025-06-29 09:49:58 (105 MB/s) - »/tmp/nvidia-keyring.deb« gespeichert [4148/4148]

(Lese Datenbank ... 430103 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von /tmp/nvidia-keyring.deb ...
Entpacken von cuda-keyring (1.1-1) über (1.1-1) ...
cuda-keyring (1.1-1) wird eingerichtet ...
"apt-get update" läuft..

Aktualisiere Quellen mit apt-get update

Weiter
  1) yes (default)
  2) no
Drücke <Enter> für den Vorgabewert Eintrag
Verwende 'q' für Beenden
1
OK:1 http://security.debian.org/debian-security bookworm-security InRelease
OK:2 http://deb.debian.org/debian bookworm-updates InRelease                                                                                                                                                                                                                         
OK:3 http://mirror.plusserver.com/mxlinux/mxlinux/mx/repo bookworm InRelease                                                                                                                                                                                                         
OK:4 http://deb.debian.org/debian bookworm InRelease                                                                                                                                                                                                                                 
OK:7 https://deb.nodesource.com/node_20.x nodistro InRelease                                                                                                                                                                                                                         
OK:8 https://packages.microsoft.com/debian/12/prod bookworm InRelease                                                                                                                                                                                                 
OK:9 https://ppa.launchpadcontent.net/cdemu/ppa/ubuntu jammy InRelease                                                                                                                                                                                        
OK:10 https://packages.microsoft.com/repos/code stable InRelease                                                                                                                                                                                             
OK:5 https://downloads.mariadb.com/Tools/debian bookworm InRelease                                                                                                                                                                      
OK:12 https://download.zulip.com/desktop/apt stable InRelease                                                                                                                              
OK:6 https://dlm.mariadb.com/repo/mariadb-server/10.rolling/repo/debian bookworm InRelease                                         
OK:14 https://download.sublimetext.com apt/stable/ InRelease                                  
OK:11 https://dlm.mariadb.com/repo/maxscale/latest/apt bookworm InRelease                     
OK:13 https://mxrepo.com/mx/repo bookworm InRelease
Paketlisten werden gelesen… Fertig



Kandidat ist: nvidia-driver 535.247.01-1~deb12u1
Installiert ist: nvidia-driver (none)


Ist dies ein NVIDIA/INTEL Optimus System?
  1) yes (default)
  2) no
Drücke <Enter> für den Vorgabewert Eintrag
Verwende 'q' für Beenden

   12101007
xorg version    12101007
nvidia major version 535

Sie können den neuen PRIMUS-Treiber verwenden, der in den nvidia-Treibern integriert ist.
Verwenden Sie "nvidia-run-mx", gefolgt von Ihrem Anwendungsbefehl, um die nvidia-Grafik zu nutzen

Wenn Sie die älteren bumblebee optimus Treiber erzwingen wollen,
 beenden und starten Sie neu mit sudo ddm-mx -i nvidia -f bumblebee-nvidia

Kandidat ist: nvidia-driver 535.247.01-1~deb12u1
Installiert ist: nvidia-driver (none)


Kandidat ist: nvidia-driver 535.247.01-1~deb12u1
Installiert ist: nvidia-driver (none)


Treiber benötigt:nvidia-driver 535.247.01-1~deb12u1 
Folgende NVIDIA-Pakete sind zu installieren nvidia-driver nvidia-settings nvidia-kernel-dkms libnvidia-encode1

Weiter
  1) yes (default)
  2) no
Drücke <Enter> für den Vorgabewert Eintrag
Verwende 'q' für Beenden
2


Drücke <Enter> zum verlassen


Drücke <Enter> zum verlassen
I think one time I've terminated it with Ctrl+C instead of answering the prompt it was waiting for me to answer. Possibly that has something to do with it.

Edit: Just remembered: 1 more beta driver installed successfully (probably 575 or 570) but this resulted in no video upon reboot.

Re: Downgrade nvidia drivers to specific version

Posted: Sun Jun 29, 2025 11:27 am
by dolphin_oracle
I would check to make sure libxnvctrl0 was downgraded properly when the drivers were removed. that can cause some funky stuff. the pinning only defines a preference, but if the current dpkg status is not compatible, ddm-mx won't fix it.

IIRC, when you do a -p operation with ddm-mx, it will remove then replace libxnvctrl0 with whatever version is currently in the enabled repos.

Re: Downgrade nvidia drivers to specific version

Posted: Sun Jun 29, 2025 1:26 pm
by oops
Stevo wrote: Sat Jun 28, 2025 9:00 pm ...
Thanks! Experimental now has 555 drivers with patches that are supposed to make it build on 6.15 kernels, so I'll do that later....
Right, later for the next LTS Kernel is a good idea I think.

Re: Downgrade nvidia drivers to specific version

Posted: Tue Jul 01, 2025 3:46 pm
by square
dolphin_oracle wrote: Sun Jun 29, 2025 11:27 am I would check to make sure libxnvctrl0 was downgraded properly when the drivers were removed. that can cause some funky stuff. the pinning only defines a preference, but if the current dpkg status is not compatible, ddm-mx won't fix it.

IIRC, when you do a -p operation with ddm-mx, it will remove then replace libxnvctrl0 with whatever version is currently in the enabled repos.
Synaptic reports version 525.85.05-3~deb12u1 of libxnvctrl0 as being installed, and also as this being the only available version. (Synaptic seems to be more accurate than the mx package installer regarding whether or not something is installed.)

Code: Select all

$ dpkg --status libxnvctrl0
Package: libxnvctrl0
Status: install ok installed
Priority: optional
Section: libs
Installed-Size: 52
Maintainer: Debian NVIDIA Maintainers <pkg-nvidia-devel@lists.alioth.debian.org>
Architecture: amd64
Multi-Arch: same
Source: libxnvctrl
Version: 525.85.05-3~deb12u1
Depends: libc6 (>= 2.14), libx11-6 (>= 2:1.4.99.1), libxext6
Description: NV-CONTROL X extension (runtime library)
 The NV-CONTROL X extension provides a mechanism for X clients to
 query and set configuration parameters of the NVIDIA X driver.
 State set by the NV-CONTROL X extension is assumed to be persistent
 only for the current server generation.
 .
 This package contains the shared library.
Homepage: https://download.nvidia.com/XFree86/nvidia-settings/
I tried again – no change. See how after telling the installer to pull the nvidia test repo, it does not actually do it:

Code: Select all

$ sudo ddm-mx -i nvidia -N

Distribution:   MX

INSTALL IS nvidia
Sperrung wird hergestellt.....
===================================
ddm-mx: 25.06.01
kernel release: 6.14.10-2-liquorix-amd64
kernel version: #1 ZEN SMP PREEMPT_DYNAMIC liquorix 6.14-13~mx23ahs (2025-06-09)
command parameters: -i nvidia -N
===================================
===================================
Installiere Treiber für: nvidia
Start am (m/t/j): 07/01/2025 21:30:21
===================================

========================================
========================================

Um die Open-Source-Treiber wiederherzustellen, verwenden Sie: 
sudo ddm-mx -p nvidia

========================================
========================================


Aktualisiere Quellen mit apt-get update

Weiter
  1) yes (default)
  2) no
Drücke <Enter> für den Vorgabewert Eintrag
Verwende 'q' für Beenden

OK:1 http://mirror.plusserver.com/mxlinux/mxlinux/mx/repo bookworm InRelease
OK:2 http://deb.debian.org/debian bookworm-updates InRelease                                                                                                                                                                    
OK:3 http://security.debian.org/debian-security bookworm-security InRelease                                                                                                                                                     
OK:5 https://packages.microsoft.com/debian/12/prod bookworm InRelease                                                                                                                                                           
OK:6 http://deb.debian.org/debian bookworm InRelease                                                                                                                                                                            
OK:7 https://packages.microsoft.com/repos/code stable InRelease                                                                                                                                                                 
OK:8 https://deb.nodesource.com/node_20.x nodistro InRelease                                                                                                                                                                    
OK:9 https://ppa.launchpadcontent.net/cdemu/ppa/ubuntu jammy InRelease                                                                                                                                  
OK:4 https://downloads.mariadb.com/Tools/debian bookworm InRelease                                                                                                                            
OK:13 https://download.zulip.com/desktop/apt stable InRelease                                                                      
OK:10 https://dlm.mariadb.com/repo/mariadb-server/10.rolling/repo/debian bookworm InRelease                
OK:14 https://download.sublimetext.com apt/stable/ InRelease                                  
OK:11 https://dlm.mariadb.com/repo/maxscale/latest/apt bookworm InRelease                     
OK:12 https://mxrepo.com/mx/repo bookworm InRelease
Paketlisten werden gelesen… Fertig
========================================
Possible previous install detected.
========================================

Kandidat ist: nvidia-driver 535.247.01-1~deb12u1
Installiert ist: nvidia-driver 535.247.01-1~deb12u1


In den Nvidia-Entwicklerpaketquellen nach einer neueren Version suchen?
  1) yes
  2) no (default)
Drücke <Enter> für den Vorgabewert Eintrag
Verwende 'q' für Beenden
1
Ok...
Nvidia-Entwicklerpaketquellen aktivieren
Den Signaturschlüssel der Nvidia-Paketquellen erhalten
https://developer.download.nvidia.com/compute/cuda/repos/debian12/x86_64/cuda-keyring_1.1-1_all.deb
--2025-07-01 21:30:27--  https://developer.download.nvidia.com/compute/cuda/repos/debian12/x86_64/cuda-keyring_1.1-1_all.deb
Auflösen des Hostnamens developer.download.nvidia.com (developer.download.nvidia.com)… 95.101.79.81, 2.17.22.34
Verbindungsaufbau zu developer.download.nvidia.com (developer.download.nvidia.com)|95.101.79.81|:443 … verbunden.
HTTP-Anforderung gesendet, auf Antwort wird gewartet … 200 OK
Länge: 4148 (4,1K) [application/x-deb]
Wird in »/tmp/nvidia-keyring.deb« gespeichert.

/tmp/nvidia-keyring.deb                                  100%[===============================================================================================================================>]   4,05K  --.-KB/s    in 0s      

2025-07-01 21:30:27 (178 MB/s) - »/tmp/nvidia-keyring.deb« gespeichert [4148/4148]

(Lese Datenbank ... 431321 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von /tmp/nvidia-keyring.deb ...
Entpacken von cuda-keyring (1.1-1) über (1.1-1) ...
cuda-keyring (1.1-1) wird eingerichtet ...
"apt-get update" läuft..

Aktualisiere Quellen mit apt-get update

Weiter
  1) yes (default)
  2) no
Drücke <Enter> für den Vorgabewert Eintrag
Verwende 'q' für Beenden
1
OK:1 http://mirror.plusserver.com/mxlinux/mxlinux/mx/repo bookworm InRelease
OK:2 http://deb.debian.org/debian bookworm-updates InRelease                                                                                                                                                                    
OK:3 http://security.debian.org/debian-security bookworm-security InRelease                                                                                                                                                     
OK:4 http://deb.debian.org/debian bookworm InRelease                                                                                                                                                                            
OK:6 https://deb.nodesource.com/node_20.x nodistro InRelease                                                                                                                                                                    
OK:7 https://packages.microsoft.com/debian/12/prod bookworm InRelease                                                                                                                                                           
OK:9 https://packages.microsoft.com/repos/code stable InRelease                                                                                                                                                                 
OK:11 https://ppa.launchpadcontent.net/cdemu/ppa/ubuntu jammy InRelease                                                                                                                                                         
OK:5 https://downloads.mariadb.com/Tools/debian bookworm InRelease                                                                                                                                                 
OK:13 https://download.zulip.com/desktop/apt stable InRelease                                                                                              
OK:8 https://dlm.mariadb.com/repo/mariadb-server/10.rolling/repo/debian bookworm InRelease                 
OK:14 https://download.sublimetext.com apt/stable/ InRelease                                  
OK:10 https://dlm.mariadb.com/repo/maxscale/latest/apt bookworm InRelease                     
OK:12 https://mxrepo.com/mx/repo bookworm InRelease
Paketlisten werden gelesen… Fertig



Kandidat ist: nvidia-driver 535.247.01-1~deb12u1
Installiert ist: nvidia-driver 535.247.01-1~deb12u1


Ist dies ein NVIDIA/INTEL Optimus System?
  1) yes (default)
  2) no
Drücke <Enter> für den Vorgabewert Eintrag
Verwende 'q' für Beenden

   12101007
xorg version    12101007
nvidia major version 535

Sie können den neuen PRIMUS-Treiber verwenden, der in den nvidia-Treibern integriert ist.
Verwenden Sie "nvidia-run-mx", gefolgt von Ihrem Anwendungsbefehl, um die nvidia-Grafik zu nutzen

Wenn Sie die älteren bumblebee optimus Treiber erzwingen wollen,
 beenden und starten Sie neu mit sudo ddm-mx -i nvidia -f bumblebee-nvidia

Kandidat ist: nvidia-driver 535.247.01-1~deb12u1
Installiert ist: nvidia-driver 535.247.01-1~deb12u1


Kandidat ist: nvidia-driver 535.247.01-1~deb12u1
Installiert ist: nvidia-driver 535.247.01-1~deb12u1

Nvidia-Treiber sind bereits installiert

Erneut installieren oder beenden?
 packages to install are  nvidia-driver

1: Erneut installieren
2: Beenden

Auswahlnummer eintragen
2
Beende...


Drücke <Enter> zum verlassen
What follows is a QSI taken while ddm-mx stood at the "apt-get update" prompt after installing cuda-keyring. Note that there's no nvidia repo in the list.
I also notice that in above log after cuda-keyring is installed there's an automatic "apt-get update" without a prompt (or it's a mistranslation). That one finishes instantly! I suspect it shouldn't be like that.

Code: Select all

System:    Kernel: 6.14.10-2-liquorix-amd64 [6.14-13~mx23ahs] x86_64 bits: 64 compiler: gcc v: 12.2.0 
           parameters: audit=0 intel_pstate=disable amd_pstate=disable 
           BOOT_IMAGE=/vmlinuz-6.14.10-2-liquorix-amd64 root=UUID=<filter> ro quiet splash 
           i915.force_probe=46a6 ibt=off 
           Desktop: Xfce 4.20.0 tk: Gtk 3.24.38 info: xfce4-panel wm: xfwm 4.20.0 vt: 7 
           dm: LightDM 1.32.0 Distro: MX-23.6_x64 Libretto November 22  2021 
           base: Debian GNU/Linux 12 (bookworm) 
Machine:   Type: Laptop System: Micro-Star product: Raider GE76 12UGS v: REV:1.0 serial: <filter> 
           Chassis: type: 10 serial: <filter> 
           Mobo: Micro-Star model: MS-17K4 v: REV:1.0 serial: <filter> 
           UEFI: American Megatrends LLC. v: E17K4IMS.201 date: 12/08/2021 
Battery:   ID-1: BAT1 charge: 71.4 Wh (96.9%) condition: 73.7/95.0 Wh (77.6%) volts: 16.2 
           min: 15.2 model: MSI BIF0_9 type: Li-ion serial: N/A status: Not charging 
CPU:       Info: 10-Core model: 12th Gen Intel Core i7-12700H bits: 64 type: MT MCP 
           arch: Alder Lake family: 6 model-id: 9A (154) stepping: 3 microcode: 437 cache: 
           L2: 24 MiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 107520 
           Speed: 544 MHz min/max: 400/2701 MHz boost: enabled Core speeds (MHz): 1: 470 2: 553 
           3: 400 4: 500 5: 400 6: 400 7: 400 8: 400 9: 491 10: 500 11: 400 12: 400 13: 557 
           14: 400 15: 1954 16: 500 17: 763 18: 400 19: 400 20: 400 
           Vulnerabilities: Type: gather_data_sampling status: Not affected 
           Type: ghostwrite status: Not affected 
           Type: indirect_target_selection status: Not affected 
           Type: itlb_multihit status: Not affected 
           Type: l1tf status: Not affected 
           Type: mds status: Not affected 
           Type: meltdown status: Not affected 
           Type: mmio_stale_data status: Not affected 
           Type: old_microcode status: Not affected 
           Type: reg_file_data_sampling mitigation: Clear Register File 
           Type: retbleed status: Not affected 
           Type: spec_rstack_overflow status: Not affected 
           Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 mitigation: Enhanced / Automatic IBRS; IBPB: conditional; PBRSB-eIBRS: 
           SW sequence; BHI: BHI_DIS_S 
           Type: srbds status: Not affected 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: Intel Alder Lake-P GT2 [Iris Xe Graphics] vendor: Micro-Star MSI driver: i915 
           v: kernel alternate: xe bus-ID: 00:02.0 chip-ID: 8086:46a6 class-ID: 0300 
           Device-2: NVIDIA GA104 [Geforce RTX 3070 Ti Laptop GPU] vendor: Micro-Star MSI 
           driver: nvidia v: 535.247.01 bus-ID: 01:00.0 chip-ID: 10de:24a0 class-ID: 0300 
           Device-3: Bison Integrated Camera type: USB driver: N/A bus-ID: 3-7:4 
           chip-ID: 5986:1160 class-ID: 0e02 serial: <filter> 
           Display: x11 server: X.Org 1.21.1.7 compositor: xfwm4 v: 4.20.0 driver: 
           loaded: modesetting,nvidia unloaded: fbdev,nouveau,vesa alternate: nv display-ID: :0.0 
           screens: 1 
           Screen-1: 0 s-res: 2560x1440 s-dpi: 96 s-size: 678x382mm (26.7x15.0") 
           s-diag: 778mm (30.6") 
           Monitor-1: eDP-1 res: 2560x1440 hz: 240 dpi: 171 size: 381x214mm (15.0x8.4") 
           diag: 437mm (17.2") 
           OpenGL: renderer: Mesa Intel Graphics (ADL GT2) v: 4.6 Mesa 24.2.8-1mx23ahs 
           direct render: Yes 
Audio:     Device-1: Intel Alder Lake PCH-P High Definition Audio vendor: Micro-Star MSI 
           driver: sof-audio-pci-intel-tgl 
           alternate: snd_hda_intel,snd_soc_avs,snd_sof_pci_intel_tgl bus-ID: 00:1f.3 
           chip-ID: 8086:51c8 class-ID: 0401 
           Device-2: NVIDIA GA104 High Definition Audio vendor: Micro-Star MSI 
           driver: snd_hda_intel v: kernel bus-ID: 01:00.1 chip-ID: 10de:228b class-ID: 0403 
           Sound Server-1: ALSA v: k6.14.10-2-liquorix-amd64 running: yes 
           Sound Server-2: PulseAudio v: 16.1 running: yes 
Network:   Device-1: Intel Alder Lake-P PCH CNVi WiFi 
           vendor: Rivet Networks Dual Band Wi-Fi 6E AX1675i 160MHz 2x2 driver: iwlwifi v: kernel 
           port: 6000 bus-ID: 00:14.3 chip-ID: 8086:51f0 class-ID: 0280 
           IF: wlan0 state: down mac: <filter> 
           Device-2: Realtek Killer E3000 2.5GbE vendor: Micro-Star MSI driver: r8169 v: kernel 
           port: 3000 bus-ID: 2f:00.0 chip-ID: 10ec:3000 class-ID: 0200 
           IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
           IF-ID-1: lxcbr0 state: down mac: <filter> 
Bluetooth: Device-1: Intel type: USB driver: btusb v: 0.8 bus-ID: 3-10:7 chip-ID: 8087:0033 
           class-ID: e001 
           Report: hciconfig ID: hci0 rfk-id: 1 state: down bt-service: N/A rfk-block: 
           hardware: no software: no address: <filter> 
           Info: acl-mtu: 1021:4 sco-mtu: 96:6 link-policy: rswitch sniff 
           link-mode: peripheral accept 
Drives:    Local Storage: total: 953.87 GiB used: 800.89 GiB (84.0%) 
           SMART Message: Unable to run smartctl. Root privileges required. 
           ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Micron model: 3400 MTFDKBA1T0TFH 
           size: 953.87 GiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s lanes: 4 
           type: SSD serial: <filter> rev: P7MA000 temp: 45.9 C scheme: GPT 
Partition: ID-1: / raw-size: 645.22 GiB size: 634.02 GiB (98.26%) used: 596.97 GiB (94.2%) 
           fs: ext4 dev: /dev/dm-0 maj-min: 253:0 mapped: root.fsm 
           ID-2: /boot raw-size: 512 MiB size: 487.2 MiB (95.16%) used: 179.6 MiB (36.9%) fs: ext4 
           dev: /dev/nvme0n1p2 maj-min: 259:2 
           ID-3: /boot/efi raw-size: 128 MiB size: 126 MiB (98.45%) used: 274 KiB (0.2%) fs: vfat 
           dev: /dev/nvme0n1p1 maj-min: 259:1 
           ID-4: /home raw-size: 199.98 GiB size: 195.79 GiB (97.90%) used: 175.47 GiB (89.6%) 
           fs: ext4 dev: /dev/dm-1 maj-min: 253:1 mapped: 1.home.fsm 
Swap:      Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default) 
           ID-1: swap-1 type: partition size: 7.98 GiB used: 0 KiB (0.0%) priority: -2 
           dev: /dev/dm-2 maj-min: 253:2 mapped: swap 
Sensors:   System Temperatures: cpu: 72.0 C mobo: N/A 
           Fan Speeds (RPM): N/A 
Repos:     Packages: note: see --pkg apt: 3138 lib: 1703 flatpak: 0 
           Active apt repos in: /etc/apt/sources.list 
           1: deb https://ppa.launchpadcontent.net/cdemu/ppa/ubuntu jammy main
           2: deb-src https://ppa.launchpadcontent.net/cdemu/ppa/ubuntu jammy main
           3: deb http://mxrepo.com/mx/repo/ bookworm main non-free
           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
           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
           No active apt repos in: /etc/apt/sources.list.d/erlang-solutions.list 
           No active apt repos in: /etc/apt/sources.list.d/lutris.list 
           Active apt repos in: /etc/apt/sources.list.d/mariadb.list 
           1: deb [arch=amd64,arm64] https://dlm.mariadb.com/repo/mariadb-server/10.rolling/repo/debian bookworm main
           2: deb [arch=amd64,arm64] https://dlm.mariadb.com/repo/maxscale/latest/apt bookworm main
           3: deb [arch=amd64] http://downloads.mariadb.com/Tools/debian bookworm main
           Active apt repos in: /etc/apt/sources.list.d/microsoft-prod.list 
           1: deb [arch=amd64,arm64,armhf signed-by=/usr/share/keyrings/microsoft-prod.gpg] https://packages.microsoft.com/debian/12/prod bookworm main
           Active apt repos in: /etc/apt/sources.list.d/mx.list 
           1: deb http://mirror.plusserver.com/mxlinux/mxlinux/mx/repo/ bookworm main non-free
           2: deb http://mirror.plusserver.com/mxlinux/mxlinux/mx/repo/ bookworm ahs
           Active apt repos in: /etc/apt/sources.list.d/nodesource.list 
           1: deb [arch=amd64 signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main
           Active apt repos in: /etc/apt/sources.list.d/sublime-text.list 
           1: deb https://download.sublimetext.com/ apt/stable/
           Active apt repos in: /etc/apt/sources.list.d/zulip-desktop.list 
           1: deb https://download.zulip.com/desktop/apt stable main
           Active apt repos in: /etc/apt/sources.list.d/vscode.sources 
           1: deb [arch=amd64,arm64,armhf] https://packages.microsoft.com/repos/code stable main
Info:      Processes: 458 Uptime: 2d 7h 55m wakeups: 43505 Memory: 31.05 GiB 
           used: 3.97 GiB (12.8%) Init: SysVinit v: 3.06 runlevel: 5 default: 5 tool: systemctl 
           Compilers: gcc: 12.2.0 alt: 10/12/9 Client: shell wrapper v: 5.2.15-release 
           inxi: 3.3.06 
Boot Mode: UEFI

Re: Downgrade nvidia drivers to specific version

Posted: Tue Jul 01, 2025 6:54 pm
by dolphin_oracle
I’ll look at the -N code. In the past the cuda-keying package sets up the nvidia repo.

Re: Downgrade nvidia drivers to specific version

Posted: Tue Jul 01, 2025 8:34 pm
by dolphin_oracle
the ""apt-get update" läuft.." is a bogus left over string. I will remove that. the command is not actually running.

at the moment I can't duplicate the problem with the developer repo not being enabled when cuda-keyring is installed. the only thing I can figure is that maybe if cuda-keyring package was already installed, but the repo was not present, that the repo would not be re-added.

Code: Select all

sudo apt purge cuda-keyring
might help with that.

Re: Downgrade nvidia drivers to specific version

Posted: Fri Jul 04, 2025 4:42 pm
by square
dolphin_oracle wrote: Tue Jul 01, 2025 8:34 pm the only thing I can figure is that maybe if cuda-keyring package was already installed, but the repo was not present, that the repo would not be re-added.

Code: Select all

sudo apt purge cuda-keyring
might help with that.
Yep, that was it!

Code: Select all

$ dpkg --status cuda-keyring
Package: cuda-keyring
Status: install ok installed
Priority: optional
Section: multiverse/devel
Installed-Size: 16
Maintainer: cudatools <cudatools@nvidia.com>
Architecture: all
Version: 1.1-1
Conffiles:
 /etc/apt/sources.list.d/cuda-debian12-x86_64.list b56e28279cd586ebf8f9a57806ead1f3
Description: GPG keyring for the CUDA repository
  Enrolls public key: 3BF863CC (2023)
  and enables repo: debian12/x86_64
After the purge it pulls again.

So my guess is I interrupted ddm-mx (Ctrl+C at a prompt) while the package was still installed, which made it (partially?) skip uninstalling. Perhaps the script could be enhanced to force a reinstall so it can recover.

I'll continue testing driver versions when I find the time. Downgrade seems like a no-go with up-to-date kernels, unless someone does the work to make the old driver compatible – there are DKMS build errors. I don't know how to do this, though I can read and write C and handle git.

Edit: The necessary patch is probably buried somewhere in here: https://github.com/NVIDIA/open-gpu-kern ... /525...535

Re: Downgrade nvidia drivers to specific version

Posted: Sat Aug 02, 2025 4:34 pm
by square
All the drivers seem to exhibit the described issue on my system.
For the sake of sanity I wanted to downgrade to the known good configuration: 5.19 kernel with 525 drivers, but that kernel isn't in the repo anymore, so I tried with 6.1 (notably also behind LTS in the mx repo) and installed nvidia's 525 drivers (the pins were ineffective but aptitude managed).
This also repoduces the issue.

So now I suspect it was actually 515 which worked, but those aren't available in the repo anymore.
Where could I get them from?

I also tried nouveau but I couldn't get it to work at all really (for vulkan).