[Solved] LM 20 Cinnamon Broken Nvidia Driver

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
deebs
Level 1
Level 1
Posts: 2
Joined: Sun Jun 27, 2021 8:26 pm

[Solved] LM 20 Cinnamon Broken Nvidia Driver

Post by deebs »

Hi, I am having a very similar issue and the fixes recommended in the other thread are not working for me.
I was previously using nvidia driver 460, but after updating my kernel a week or so ago, I would boot to a black screen.
By using grub to boot with a different kernel, I got the "no hardware acceleration issue", but was able to switch my driver to nvidia driver 390.
Now, when I boot it usually works fine, but occasionally the screen freezes right after I enter my password. When this happens I cannot use ctr-alt-backspace to restart the x server, and my computer appears to not receive any input. When I try to switch to any driver i get the exact same pk-client-error quark with the same unmet dependencies as klrcommute. Below are my results from

Code: Select all

inxi -Fxxxrz

Code: Select all

System:
  Kernel: 5.4.0-77-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 
  Desktop: Cinnamon 4.6.7 wm: muffin 4.6.3 dm: LightDM 1.30.0 
  Distro: Linux Mint 20 Ulyana base: Ubuntu 20.04 focal 
Machine:
  Type: Desktop System: Gigabyte product: B450M DS3H v: N/A serial: <filter> 
  Mobo: Gigabyte model: B450M DS3H-CF v: x.x serial: <filter> 
  UEFI [Legacy]: American Megatrends v: F32 date: 05/06/2019 
CPU:
  Topology: 6-Core model: AMD Ryzen 5 2600 bits: 64 type: MT MCP arch: Zen+ 
  rev: 2 L2 cache: 3072 KiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm 
  bogomips: 81437 
  Speed: 1381 MHz min/max: 1550/3400 MHz boost: enabled Core speeds (MHz): 
  1: 1431 2: 1378 3: 1547 4: 1547 5: 1378 6: 1547 7: 1546 8: 1547 9: 1545 
  10: 1473 11: 1473 12: 1547 
Graphics:
  Device-1: NVIDIA GP104 [GeForce GTX 1070] vendor: Micro-Star MSI 
  driver: nvidia v: 390.143 bus ID: 06:00.0 chip ID: 10de:1b81 
  Display: x11 server: X.Org 1.20.9 driver: nvidia 
  unloaded: fbdev,modesetting,nouveau,vesa 
  resolution: 1920x1080~60Hz, 1920x1080~60Hz, 1920x1080~60Hz 
  OpenGL: renderer: GeForce GTX 1070/PCIe/SSE2 v: 4.6.0 NVIDIA 390.143 
  direct render: Yes 
Audio:
  Device-1: NVIDIA GP104 High Definition Audio vendor: Micro-Star MSI 
  driver: snd_hda_intel v: kernel bus ID: 06:00.1 chip ID: 10de:10f0 
  Device-2: AMD Family 17h HD Audio vendor: Gigabyte driver: snd_hda_intel 
  v: kernel bus ID: 08:00.3 chip ID: 1022:1457 
  Device-3: Corsair Corsair Gaming H2100 Headset type: USB 
  driver: hid-generic,snd-usb-audio,usbhid bus ID: 3-4:4 chip ID: 1b1c:1b1b 
  Sound Server: ALSA v: k5.4.0-77-generic 
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: Gigabyte driver: r8169 v: kernel port: f000 bus ID: 04:00.0 
  chip ID: 10ec:8168 
  IF: enp4s0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
Drives:
  Local Storage: total: 476.94 GiB used: 280.51 GiB (58.8%) 
  ID-1: /dev/sda vendor: A-Data model: SU800 size: 476.94 GiB 
  speed: 6.0 Gb/s serial: <filter> rev: 2FS scheme: MBR 
Partition:
  ID-1: / size: 467.96 GiB used: 280.51 GiB (59.9%) fs: ext4 dev: /dev/sda5 
Sensors:
  System Temperatures: cpu: 52.4 C mobo: N/A gpu: nvidia temp: 49 C 
  Fan Speeds (RPM): N/A gpu: nvidia fan: 0% 
Repos:
  No active apt repos in: /etc/apt/sources.list 
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 
  1: deb http://packages.linuxmint.com ulyana main upstream import backport #id:linuxmint_main
  2: deb http://archive.ubuntu.com/ubuntu focal main restricted universe multiverse
  3: deb http://archive.ubuntu.com/ubuntu focal-updates main restricted universe multiverse
  4: deb http://archive.ubuntu.com/ubuntu focal-backports main restricted universe multiverse
  5: deb http://security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
  6: deb http://archive.canonical.com/ubuntu/ focal partner
  Active apt repos in: /etc/apt/sources.list.d/slack.list 
  1: deb https://packagecloud.io/slacktechnologies/slack/debian/ jessie main
  Active apt repos in: /etc/apt/sources.list.d/steam.list 
  1: deb [arch=amd64,i386] https://repo.steampowered.com/steam/ stable steam
  2: deb-src [arch=amd64,i386] https://repo.steampowered.com/steam/ stable steam
  Active apt repos in: /etc/apt/sources.list.d/vscode.list 
  1: deb [arch=amd64,arm64,armhf] http://packages.microsoft.com/repos/code stable main
Info:
  Processes: 284 Uptime: 12m Memory: 15.65 GiB used: 1.47 GiB (9.4%) 
  Init: systemd v: 245 runlevel: 5 Compilers: gcc: 9.3.0 alt: 9 Shell: bash 
  v: 5.0.17 running in: gnome-terminal inxi: 3.0.38 
Any and all help is appreciated!
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 3 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
SMG
Level 25
Level 25
Posts: 31922
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: LM 20 Cinnamon Broken Nvidia Driver

Post by SMG »

deebs wrote: Sun Jun 27, 2021 8:37 pmI was previously using nvidia driver 460, but after updating my kernel a week or so ago, I would boot to a black screen.
Welcome to the forum, deebs.

Have you always used Driver Manager to install the Nvidia driver?

If all you did was update your kernel and the kernel was the problem, then booting into grub and selecting the prior kernel version (the option without recovery mode after it) should have resolved the issue. The fact it did not seems to indicate there is some other issue.

I did find this thread on the nvidia forum Problem with apt and nvidia 450 on ubuntu 20.04 which has some fixes listed, but I do not know how people on the thread were installing the driver. They may not have been using Driver Manager.

Have you tried any of these Fix system freezing trouble with AMD Ryzen CPU's?
Image
A woman typing on a laptop with LM20.3 Cinnamon.
deebs
Level 1
Level 1
Posts: 2
Joined: Sun Jun 27, 2021 8:26 pm

Re: LM 20 Cinnamon Broken Nvidia Driver

Post by deebs »

I tried these fixes but was still having issues. I ended up doing a fresh install of 20.2. I tried switching the driver on that to Nvidia 460, but ran into similar issues. I'm just going to stick with the open source driver for now, it works perfectly fine for what I'm doing. Thanks you for the help, I took the steps recommended for AMD CPUs on my new install.
Locked

Return to “Graphics Cards & Monitors”