How to remove nvidia - drivers are cooking my laptop when each kernel is build

Hi All, sorry to be a bit of a pain. I had attempted to install nvidia drivers for my ideapad gaming 3 but was unsuccessful. https://howto.lintel.in/install-nvidia-arch-linux/?amp=1 and https://www.youtube.com/watch?v=AOjOd3wIPu8 in another topic.

Now when I do a reinstall of apps my fans scream and I can smell the heat each time a kernel is rebuilt.

I did a 'pacman -Rd nvidia' but the problem still remains when I do a reinstall.

Is a roll back the recommended/best/only solution ?

System:
  Kernel: 5.17.3-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 11.2.0
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=6799a941-fc7b-4856-a51c-925cb2adbbbd rw rootflags=subvol=@
    quiet quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
    loglevel=3
  Desktop: Xfce v: 4.16.0 tk: Gtk v: 3.24.29 info: xfce4-panel wm: xfwm
    v: 4.16.1 vt: 7 dm: LightDM v: 1.30.0 Distro: Garuda Linux base: Arch Linux
Machine:
  Type: Laptop System: LENOVO product: 82K1 v: IdeaPad Gaming 3 15IHU6
    serial: <superuser required> Chassis: type: 10 v: IdeaPad Gaming 3 15IHU6
    serial: <superuser required>
  Mobo: LENOVO model: LNVNB161216 v: SDK0J40700 WIN
    serial: <superuser required> UEFI: LENOVO v: H4CN16WW(V1.01)
    date: 03/24/2021
Battery:
  ID-1: BAT1 charge: 45.1 Wh (100.0%) condition: 45.1/45.0 Wh (100.2%)
    volts: 13.1 min: 11.5 model: Sunwoda L20D3PC2 type: Li-ion serial: <filter>
    status: full
CPU:
  Info: model: 11th Gen Intel Core i5-11300H bits: 64 type: MT MCP
    arch: Tiger Lake family: 6 model-id: 0x8C (140) stepping: 1 microcode: 0x9A
  Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
    L1: 320 KiB desc: d-4x48 KiB; i-4x32 KiB L2: 5 MiB desc: 4x1.2 MiB
    L3: 8 MiB desc: 1x8 MiB
  Speed (MHz): avg: 730 high: 1452 min/max: 400/4400 scaling:
    driver: intel_pstate governor: powersave cores: 1: 1452 2: 559 3: 673
    4: 427 5: 754 6: 851 7: 572 8: 555 bogomips: 49766
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown 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 IBRS, IBPB: conditional, RSB filling
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel TigerLake-LP GT2 [Iris Xe Graphics] vendor: Lenovo
    driver: i915 v: kernel ports: active: eDP-1
    empty: DP-1, DP-2, DP-3, HDMI-A-1 bus-ID: 0000:00:02.0 chip-ID: 8086:9a49
    class-ID: 0300
  Device-2: Chicony Integrated Camera type: USB driver: uvcvideo
    bus-ID: 1-6:2 chip-ID: 04f2:b6c2 class-ID: 0e02 serial: <filter>
  Display: x11 server: X.Org v: 21.1.3 compositor: xfwm v: 4.16.1 driver:
    X: loaded: modesetting unloaded: intel alternate: fbdev,vesa gpu: i915
    display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
    s-diag: 582mm (22.93")
  Monitor-1: eDP-1 model: BOE Display 0x09d2 built: 2020 res: 1920x1080
    hz: 60 dpi: 142 gamma: 1.2 size: 344x194mm (13.54x7.64")
    diag: 395mm (15.5") ratio: 16:9 modes: 1920x1080
  OpenGL: renderer: Mesa Intel Xe Graphics (TGL GT2) v: 4.6 Mesa 22.0.1
    direct render: Yes
Audio:
  Device-1: Intel Tiger Lake-LP Smart Sound Audio vendor: Lenovo
    driver: sof-audio-pci-intel-tgl
    alternate: snd_hda_intel,snd_sof_pci_intel_tgl bus-ID: 0000:00:1f.3
    chip-ID: 8086:a0c8 class-ID: 0401
  Sound Server-1: ALSA v: k5.17.3-zen1-1-zen running: yes
  Sound Server-2: PulseAudio v: 15.0 running: no
  Sound Server-3: PipeWire v: 0.3.50 running: yes
Network:
  Device-1: Intel Wi-Fi 6 AX201 driver: iwlwifi v: kernel
    bus-ID: 0000:00:14.3 chip-ID: 8086:a0f0 class-ID: 0280
  IF: wlp0s20f3 state: up mac: <filter>
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Lenovo driver: r8169 v: kernel port: 3000 bus-ID: 0000:01:00.0
    chip-ID: 10ec:8168 class-ID: 0200
  IF: enp1s0 state: down mac: <filter>
Bluetooth:
  Device-1: Intel AX201 Bluetooth type: USB driver: btusb v: 0.8
    bus-ID: 1-10:4 chip-ID: 8087:0026 class-ID: e001
  Report: bt-adapter ID: hci0 rfk-id: 2 state: down
    bt-service: enabled,running rfk-block: hardware: no software: yes
    address: <filter>
RAID:
  Hardware-1: Intel Volume Management Device NVMe RAID Controller driver: vmd
    v: 0.6 port: N/A bus-ID: 0000:00:0e.0 chip-ID: 8086:9a0b rev:
    class-ID: 0104
Drives:
  Local Storage: total: 471.36 GiB used: 36.88 GiB (7.8%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Western Digital
    model: PC SN530 SDBPMPZ-256G-1101 size: 238.47 GiB block-size:
    physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD
    serial: <filter> rev: 21160001 temp: 40.9 C scheme: GPT
  ID-2: /dev/nvme1n1 maj-min: 259:3 vendor: Samsung model: SSD 980 250GB
    size: 232.89 GiB block-size: physical: 512 B logical: 512 B
    speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter> rev: 1B4QFXO7
    temp: 31.9 C scheme: GPT
Partition:
  ID-1: / raw-size: 232.59 GiB size: 232.59 GiB (100.00%)
    used: 36.86 GiB (15.8%) fs: btrfs dev: /dev/nvme1n1p2 maj-min: 259:5
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 14.6 MiB (4.9%) fs: vfat dev: /dev/nvme1n1p1 maj-min: 259:4
  ID-3: /home raw-size: 232.59 GiB size: 232.59 GiB (100.00%)
    used: 36.86 GiB (15.8%) fs: btrfs dev: /dev/nvme1n1p2 maj-min: 259:5
  ID-4: /var/log raw-size: 232.59 GiB size: 232.59 GiB (100.00%)
    used: 36.86 GiB (15.8%) fs: btrfs dev: /dev/nvme1n1p2 maj-min: 259:5
  ID-5: /var/tmp raw-size: 232.59 GiB size: 232.59 GiB (100.00%)
    used: 36.86 GiB (15.8%) fs: btrfs dev: /dev/nvme1n1p2 maj-min: 259:5
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: zram size: 7.55 GiB used: 908.8 MiB (11.8%)
    priority: 100 dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 49.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 301 Uptime: 1h 40m wakeups: 1 Memory: 7.55 GiB
  used: 2.71 GiB (35.9%) Init: systemd v: 250 tool: systemctl Compilers:
  gcc: 11.2.0 Packages: pacman: 1433 lib: 368 Shell: Bash v: 5.1.16
  running-in: xfce4-terminal inxi: 3.3.15
Garuda (2.6.1-3):
  System install date:     2022-04-18
  Last full system update: 2022-04-19 ↻
  Is partially upgraded:   No
  Relevant software:       NetworkManager
  Windows dual boot:       Probably (Run as root to verify)
  Snapshots:               Snapper
  Failed units: 

I’m not sure why you did that - your laptop doesn’t appear to have an NVIDIA GPU.

It’s not good to ignore package dependencies. Use -R unless you have a reason to take a crowbar to the package database.

It would be one way, assuming you can restore to a point prior to installing the NVIDIA drivers.

This is the DKMS module being built for the kernel. This is the best way to ensure a working driver module for all kernels.

If you are happy with the linux and linux-lts kernels then there’s a pre-compiled driver module available for each (nvidia and nvidia-lts respectively).

However, given you don’t ave an NVIDIA GPU you can just remove the DKMS driver packages, e.g. pacman -R nvidia-dkms .

6 Likes

Hi @jonathon , thank you very much for the rapid response.

The hardware does not show I think because I set the bios to UMA graphics from switched. In switched mode I cannot install any Garuda spin if I choose Nvidia drivers over open source alternatives. My attempt to install Nvidia drivers to fix the problem resulted in a lightdm hang. I do not really need the nv hardware as the intel graphics performs ok for what I use this lt for.

This budget ideapad gaming 3 has a Core i5-10300H processor and a GeForce GTX 1650 graphics core.

As you can tell I am new to Arch and have never used pacman before. I used -Rd because I searched the web for how to remove Nvidia.

It looks like I will have to reinstall Garuda xfce because the 17 snapshots that I have do not go back far enough.

As for the kernels I am trying to fix a really critical issue for me (because of my sight impediment) which is the keyboard backlight does not work. This is the reason for buying a gaming laptop and not to play games so I can happily do without the nvidia problem.

I will try a restore of the oldest snapshot and reinstall some kernels otherwise its back to the start again.

Before I do this do you have any suggestions other than trying different kernels in order to get the keyboard backlight working ?

Best regards,
Oz

1 Like

Can you select discrete graphics (i.e. have only the NVIDIA GPU active)?

3 Likes

Sorry, sad to here the news
I just made a research but can’t find best information for u at this post

I didn’t think drivers go this horrible

Login with usb if driver is not working properly [Easy rescue mode, save your and hardware]
Like when u install Garuda there u can change configs installed packages and all at your Garuda partition

No unfortunately not.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.