Quantcast
Channel: MX Linux Forum
Viewing all articles
Browse latest Browse all 5176

Software / Configuration • Nvidia Cuda 11.8 / 12.2 conflict?

$
0
0
Hello, I was using an AI art program last week just fine, however part of it has stopped working and speaking to the developer, Cuda 12.2 is a little beyond my GPU card and I should downgrade to Cuda 11.8
Doing an apt search I HAVE 11.8 installed:

Code:

nvidia-cuda-toolkit/stable,now 11.8.89~11.8.0-5~deb12u1 amd64 [installed]
however, if I type nvidia-smi it reports that Cuda version 12.2 is being used.
I've asked an AI bot how to fix this and they suggest adding environment variables to point to CUDA 11.8 but I can't find where it is located, there are plenty of /usr/lib/nvidia-cuda-toolkit and such folders, but no specific mention of 11.8 or 12.2

So how do I remove Cuda 12.2 and force MX-linux to use 11.8 forever and never upgrade...ever.

Many thanks!

Code:

[CODE]System:    Kernel: 6.1.0-18-amd64 [6.1.76-1] x86_64 bits: 64 compiler: gcc v: 12.2.0            parameters: BOOT_IMAGE=/boot/vmlinuz-6.1.0-18-amd64 root=UUID=<filter> ro            init=/lib/systemd/systemd splash            Desktop: Xfce 4.18.1 tk: Gtk 3.24.36 info: xfce4-panel wm: xfwm 4.18.0 vt: 7            dm: LightDM 1.26.0 Distro: MX-23.3_x64 Libretto January 15  2023            base: Debian GNU/Linux 12 (bookworm) Machine:   Type: Desktop System: Hewlett-Packard product: HP Z220 CMT Workstation v: N/A            serial: <filter> Chassis: type: 6 serial: <filter>            Mobo: Hewlett-Packard model: 1790 serial: <filter> UEFI: Hewlett-Packard v: K51 v01.64            date: 07/24/2013 CPU:       Info: Quad Core model: Intel Core i7-3770 bits: 64 type: MT MCP arch: Ivy Bridge            family: 6 model-id: 3A (58) stepping: 9 microcode: 21 cache: L2: 8 MiB            flags: avx lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 54271            Speed: 1878 MHz min/max: 1600/3900 MHz Core speeds (MHz): 1: 1696 2: 1697 3: 1775            4: 1696 5: 1664 6: 1723 7: 2400 8: 1700            Vulnerabilities: Type: gather_data_sampling status: Not affected            Type: itlb_multihit status: KVM: VMX disabled            Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable            Type: mds mitigation: Clear CPU buffers; SMT vulnerable            Type: meltdown mitigation: PTI            Type: mmio_stale_data status: Unknown: No mitigations            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: Retpolines, IBPB: conditional, IBRS_FW, STIBP:            conditional, RSB filling, PBRSB-eIBRS: Not affected            Type: srbds status: Vulnerable: No microcode            Type: tsx_async_abort status: Not affected Graphics:  Device-1: NVIDIA GM107GL [Quadro K2200] driver: nvidia v: 535.183.01 bus-ID: 01:00.0            chip-ID: 10de:13ba class-ID: 0300            Device-2: Conexant Systems (Rockwell) Geniatech T230 DVB-T2 TV Stick type: USB            driver: dvb_usb_dvbsky bus-ID: 2-4.3:6 chip-ID: 0572:c688 class-ID: 0000            serial: <filter>            Display: x11 server: X.Org 1.21.1.7 compositor: xfwm4 v: 4.18.0 driver: loaded: nvidia            display-ID: :0.0 screens: 1            Screen-1: 0 s-res: 1360x768 s-dpi: 96 s-size: 360x203mm (14.2x8.0")            s-diag: 413mm (16.3")            Monitor-1: DVI-I-0 res: 1360x768 hz: 60 dpi: 49 size: 700x390mm (27.6x15.4")            diag: 801mm (31.5")            OpenGL: renderer: Quadro K2200/PCIe/SSE2 v: 4.6.0 NVIDIA 535.183.01 direct render: Yes Audio:     Device-1: Intel 7 Series/C216 Family High Definition Audio vendor: Hewlett-Packard            driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:1e20 class-ID: 0403            Device-2: NVIDIA GM107 High Definition Audio [GeForce 940MX] driver: snd_hda_intel            v: kernel bus-ID: 01:00.1 chip-ID: 10de:0fbc class-ID: 0403            Sound Server-1: ALSA v: k6.1.0-18-amd64 running: yes            Sound Server-2: JACK v: 1.9.21 running: yes            Sound Server-3: PulseAudio v: 16.1 running: yes            Sound Server-4: PipeWire v: 1.0.0 running: yes Network:   Device-1: Intel 82579LM Gigabit Network vendor: Hewlett-Packard driver: e1000e            v: kernel port: f040 bus-ID: 00:19.0 chip-ID: 8086:1502 class-ID: 0200            IF: eth0 state: up speed: 100 Mbps duplex: full mac: <filter>            Device-2: Realtek 802.11ac NIC type: USB driver: rtl8821cu bus-ID: 2-3:3            chip-ID: 0bda:c811 class-ID: 0000 serial: <filter>            IF: wlan0 state: up mac: <filter>            IF-ID-1: lxcbr0 state: down mac: <filter> RAID:      Hardware-1: Intel SATA Controller [RAID mode] driver: ahci v: 3.0 port: f020            bus-ID: 00:1f.2 chip-ID: 8086.2822 rev: 04 class-ID: 0104 Drives:    Local Storage: total: 4.77 TiB used: 2.35 TiB (49.2%)            SMART Message: Unable to run smartctl. Root privileges required.            ID-1: /dev/sda maj-min: 8:0 vendor: Hitachi model: HUS724020ALA640 size: 1.82 TiB            block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 7200            serial: <filter> rev: NS00 temp: 44 C scheme: MBR            ID-2: /dev/sdb maj-min: 8:16 vendor: Western Digital model: WD10EZEX-60ZF5A0            size: 931.51 GiB block-size: physical: 4096 B logical: 512 B speed: 3.0 Gb/s type: HDD            rpm: 7200 serial: <filter> rev: 0A80 scheme: MBR            ID-3: /dev/sdc maj-min: 8:32 vendor: Hitachi model: HUA722020ALA331 size: 1.82 TiB            block-size: physical: 512 B logical: 512 B speed: 3.0 Gb/s type: HDD rpm: 7200            serial: <filter> rev: A3NH temp: 48 C scheme: MBR            ID-4: /dev/sdd maj-min: 8:48 vendor: Seagate model: ST240FP0021 size: 228.23 GiB            block-size: physical: 4096 B logical: 512 B speed: 3.0 Gb/s type: SSD serial: <filter>            rev: B710 temp: 34 C scheme: GPT Partition: ID-1: / raw-size: 223.28 GiB size: 218.71 GiB (97.96%) used: 66.08 GiB (30.2%) fs: ext4            dev: /dev/sdd2 maj-min: 8:50            ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%) used: 296 KiB (0.1%)            fs: vfat dev: /dev/sdd1 maj-min: 8:49            ID-3: /home raw-size: 1.82 TiB size: 1.79 TiB (98.41%) used: 991.07 GiB (54.1%)            fs: ext4 dev: /dev/sda2 maj-min: 8:2 Swap:      Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default)            ID-1: swap-1 type: file size: 24 GiB used: 0 KiB (0.0%) priority: -2 file: /swapfile Sensors:   System Temperatures: cpu: 29.8 C mobo: 27.8 C gpu: nvidia temp: 41 C            Fan Speeds (RPM): N/A gpu: nvidia fan: 42% Repos:     Packages: 4379 note: see --pkg apt: 4375 lib: 2287 flatpak: 4            No active apt repos in: /etc/apt/sources.list            Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list            1: deb http://deb.debian.org/debian bookworm-updates main contrib non-free           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/google-chrome.list            1: deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main           Active apt repos in: /etc/apt/sources.list.d/kxstudio-debian-ppas-2.list            1: deb http://ppa.launchpad.net/kxstudio-debian/libs/ubuntu focal main           2: deb http://ppa.launchpad.net/kxstudio-debian/plugins/ubuntu focal main           3: deb http://ppa.launchpad.net/kxstudio-debian/apps/ubuntu focal main           4: deb http://ppa.launchpad.net/kxstudio-debian/kxstudio/ubuntu focal main           Active apt repos in: /etc/apt/sources.list.d/kxstudio-debian-ppas.list            1: deb http://ppa.launchpad.net/kxstudio-debian/libs/ubuntu bionic main           2: deb http://ppa.launchpad.net/kxstudio-debian/music/ubuntu bionic main           3: deb http://ppa.launchpad.net/kxstudio-debian/plugins/ubuntu bionic main           4: deb http://ppa.launchpad.net/kxstudio-debian/apps/ubuntu bionic main           5: deb http://ppa.launchpad.net/kxstudio-debian/kxstudio/ubuntu bionic main           Active apt repos in: /etc/apt/sources.list.d/mongodb-org-6.0.list            1: deb [ arch=amd64 signed-by=/usr/share/keyrings/mongodb-server-6.0.gpg] http://repo.mongodb.org/apt/debian bullseye/mongodb-org/6.0 main           Active apt repos in: /etc/apt/sources.list.d/mx.list            1: deb https://mirrors.aliyun.com/mxlinux/mx/repo/ bookworm main non-free           Active apt repos in: /etc/apt/sources.list.d/qownnotes.list            1: deb [arch=amd64 signed-by=/etc/apt/keyrings/qownnotes.gpg] http://download.opensuse.org/repositories/home:/pbek:/QOwnNotes/Debian_12/ /           Active apt repos in: /etc/apt/sources.list.d/winehq-bookworm.sources            1: deb [arch=amd64 i386] https://dl.winehq.org/wine-builds/debian bookworm mainInfo:      Processes: 311 Uptime: 3h 15m wakeups: 0 Memory: 23.41 GiB used: 4.63 GiB (19.8%)            Init: systemd v: 252 runlevel: 5 default: 5 tool: systemctl Compilers: gcc: 12.2.0            alt: 10/12 clang: 14.0.6 Client: shell wrapper v: 5.2.15-release inxi: 3.3.06 Boot Mode: UEFI
[/code]

Statistics: Posted by Satscape — Sun Sep 15, 2024 12:44 pm



Viewing all articles
Browse latest Browse all 5176

Trending Articles