Nvidia Driver Issues

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
utilitarix
Level 1
Level 1
Posts: 7
Joined: Sun Nov 28, 2021 12:20 pm

Nvidia Driver Issues

Post by utilitarix »

Hello every one. I've been trying to install linux mint on my Asus ROG Zephyrus G14 GA401IV_GA401IV laptop for a couple days now. And I having, like many people have had in the past, problems with the proprietary graphics driver from Nvidia itself. I have seen previous posts with the same issue, but unfortunately their suggestions did not seem to help. I hope to rectify that with this post.

Here is what I've done so far:
I booted mint from a usb driver, and was able to do the initial browsing of the os before opting for a real install. I then opted for a boot loader option so that I can still have my instance of windows. This completed successfully.

I got a notification from the driver manager showing me that could change my graphics driver. I chose the latest version of the nvidia graphics driver, then I had to restart to complete the installation. However every time since then, I get a black screen when selecting linux at the boot loader. It is only by entering recovery mode and purging the nvidia driver that I am able to get the normal start-up screen and interface of linux mint. With the default driver (non propriertary) I can get a normal boot (but still only when entering recovery mode).

When attempting to boot with the nvidia driver, I got the following error messages:
nvidia-gpu 0000:01:00.3: i2c timeout error
ucsi_ccg 1-0008: i2c_transfer failed -110
ucsi_ccg 1-0008: ucsi_cg_init failed - -110

I would really appreciate it if someone could point me into the right direction of what I am doing wrong. And If I need to elaborate on anything if you need more info, just let me know!
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
SMG
Level 25
Level 25
Posts: 31907
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Nvidia Driver Issues

Post by SMG »

utilitarix wrote: Fri Dec 03, 2021 3:36 pmAnd If I need to elaborate on anything if you need more info, just let me know!
Welcome to the forum, utilitarix.

Please give us information about your install by entering this command in a terminal: inxi -Fxxxrz
Click </> from the mini toolbar above the textbox where you type your reply and then place your cursor between the code markers and paste the results of the command between the code markers [code]Results[/code]. This will let us know how Mint sees your hardware.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
utilitarix
Level 1
Level 1
Posts: 7
Joined: Sun Nov 28, 2021 12:20 pm

Re: Nvidia Driver Issues

Post by utilitarix »

Thanks for the reply.
Here is the log after executing that command:

Code: Select all

 
  System:    Kernel: 5.4.0-74-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 Desktop: Cinnamon 5.0.4 wm: muffin 5.0.1 
           dm: LightDM 1.30.0 Distro: Linux Mint 20.2 Uma base: Ubuntu 20.04 focal 
Machine:   Type: Laptop System: ASUSTeK product: ROG Zephyrus G14 GA401IV_GA401IV v: 1.0 serial: <filter> 
           Mobo: ASUSTeK model: GA401IV v: 1.0 serial: <filter> UEFI: American Megatrends v: GA401IV.219 date: 12/30/2020 
Battery:   ID-1: BAT0 charge: 24.7 Wh condition: 69.1/76.0 Wh (91%) volts: 15.8/15.8 model: ASUSTeK ASUS Battery type: Li-ion 
           serial: <filter> status: Discharging 
CPU:       Topology: 8-Core model: AMD Ryzen 9 4900HS with Radeon Graphics bits: 64 type: MT MCP arch: Zen rev: 1 
           L2 cache: 4096 KiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 95820 
           Speed: 1397 MHz min/max: 1400/3000 MHz boost: enabled Core speeds (MHz): 1: 1397 2: 1392 3: 1394 4: 1390 5: 1400 
           6: 1393 7: 1395 8: 1393 9: 1397 10: 1397 11: 1397 12: 1396 13: 1397 14: 1397 15: 1402 16: 1400 
Graphics:  Device-1: NVIDIA TU106 [GeForce RTX 2060] vendor: ASUSTeK driver: N/A bus ID: 01:00.0 chip ID: 10de:1f12 
           Device-2: Advanced Micro Devices [AMD/ATI] Renoir vendor: ASUSTeK driver: N/A bus ID: 04:00.0 chip ID: 1002:1636 
           Display: x11 server: X.Org 1.20.9 driver: ati,fbdev unloaded: modesetting,radeon,vesa resolution: 1920x1080~77Hz 
           OpenGL: renderer: llvmpipe (LLVM 12.0.0 256 bits) v: 4.5 Mesa 21.0.3 compat-v: 3.1 direct render: Yes 
Audio:     Device-1: NVIDIA TU106 High Definition Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel bus ID: 01:00.1 
           chip ID: 10de:10f9 
           Device-2: Advanced Micro Devices [AMD/ATI] driver: snd_hda_intel v: kernel bus ID: 04:00.1 chip ID: 1002:1637 
           Device-3: Advanced Micro Devices [AMD] Raven/Raven2/FireFlight/Renoir Audio Processor vendor: ASUSTeK driver: N/A 
           bus ID: 04:00.5 chip ID: 1022:15e2 
           Device-4: Advanced Micro Devices [AMD] Family 17h HD Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel 
           bus ID: 04:00.6 chip ID: 1022:15e3 
           Sound Server: ALSA v: k5.4.0-74-generic 
Network:   Device-1: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel port: f000 bus ID: 02:00.0 chip ID: 8086:2723 
           IF: wlp2s0 state: up mac: <filter> 
Drives:    Local Storage: total: 953.87 GiB used: 9.27 GiB (1.0%) 
           ID-1: /dev/nvme0n1 vendor: Western Digital model: PC SN530 SDBPNPZ-1T00-1002 size: 953.87 GiB speed: 31.6 Gb/s 
           lanes: 4 serial: <filter> rev: 21106000 scheme: GPT 
Partition: ID-1: / size: 459.29 GiB used: 9.23 GiB (2.0%) fs: ext4 dev: /dev/nvme0n1p6 
Sensors:   System Temperatures: cpu: 42.8 C mobo: N/A 
           Fan Speeds (RPM): cpu: 2500 
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 uma 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
Info:      Processes: 327 Uptime: N/A Memory: 15.13 GiB used: 927.0 MiB (6.0%) 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 
 
User avatar
SMG
Level 25
Level 25
Posts: 31907
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Nvidia Driver Issues

Post by SMG »

utilitarix wrote: Wed Dec 08, 2021 5:42 amHere is the log after executing that command:
Your CPU came out after the kernel you are using so the kernel does not have the drivers needed for your hardware. Please upgrade to a newer kernel.

Graphics:
Device-1: NVIDIA TU106 [GeForce RTX 2060] vendor: ASUSTeK driver: N/A bus ID: 01:00.0 chip ID: 10de:1f12
Device-2: Advanced Micro Devices [AMD/ATI] Renoir vendor: ASUSTeK driver: N/A bus ID: 04:00.0 chip ID: 1002:1636
Display: x11 server: X.Org 1.20.9 driver: ati,fbdev unloaded: modesetting,radeon,vesa resolution: 1920x1080~77Hz
OpenGL: renderer: llvmpipe (LLVM 12.0.0 256 bits) v: 4.5 Mesa 21.0.3 compat-v: 3.1 direct render: Yes

Instructions for upgrading to the 5.13 kernel:
  • Open Update Manager.
  • Select View > Linux Kernels and click Continue.
  • Make sure 5.13 is selected on the left panel and then click the top-most option on the right panel. An "Install" button will appear.
  • Install the kernel and then reboot for it to become active.
In addition, please also update the rest of your system. I expect Update Manager is showing a lot of updates available including Cinnamon, muffin, Xorg, etc. The ISO was frozen in time at the time it was made so you do not have the latest packages installed.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
utilitarix
Level 1
Level 1
Posts: 7
Joined: Sun Nov 28, 2021 12:20 pm

Re: Nvidia Driver Issues

Post by utilitarix »

Hi, thanks for your reply.
I did everything you said, and changed the kernel, and updated the system. However when rebooting I was greeted to a screen of white noise and graphical https://imgur.com/a/rg5hf9s chaos. This time I got the linux mint splash screen so I guess the silver lining is we got one step closer lol!

In case this could help you again, I reran the info command:

Code: Select all

System:
  Kernel: 5.13.0-22-generic x86_64 bits: 64 compiler: N/A 
  Desktop: Cinnamon 5.0.7 wm: muffin 5.0.2 dm: LightDM 1.30.0 
  Distro: Linux Mint 20.2 Uma base: Ubuntu 20.04 focal 
Machine:
  Type: Laptop System: ASUSTeK product: ROG Zephyrus G14 GA401IV_GA401IV 
  v: 1.0 serial: <filter> 
  Mobo: ASUSTeK model: GA401IV v: 1.0 serial: <filter> 
  UEFI: American Megatrends v: GA401IV.219 date: 12/30/2020 
Battery:
  ID-1: BAT0 charge: 69.2 Wh condition: 69.2/76.0 Wh (91%) volts: 15.8/15.8 
  model: ASUSTeK ASUS Battery type: Li-ion serial: <filter> 
  status: Not charging 
CPU:
  Topology: 8-Core model: AMD Ryzen 9 4900HS with Radeon Graphics bits: 64 
  type: MT MCP arch: Zen rev: 1 L2 cache: 4096 KiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm 
  bogomips: 95820 
  Speed: 1441 MHz min/max: 1400/3000 MHz boost: enabled Core speeds (MHz): 
  1: 1659 2: 1655 3: 1894 4: 1400 5: 1356 6: 1364 7: 1315 8: 1402 9: 1586 
  10: 1398 11: 1397 12: 1397 13: 1367 14: 1251 15: 1729 16: 1396 
Graphics:
  Device-1: NVIDIA TU106 [GeForce RTX 2060] vendor: ASUSTeK driver: N/A 
  bus ID: 01:00.0 chip ID: 10de:1f12 
  Device-2: AMD Renoir vendor: ASUSTeK driver: N/A bus ID: 04:00.0 
  chip ID: 1002:1636 
  Display: x11 server: X.Org 1.20.11 driver: ati,fbdev 
  unloaded: modesetting,radeon,vesa resolution: 1920x1080~77Hz 
  OpenGL: renderer: llvmpipe (LLVM 12.0.0 256 bits) v: 4.5 Mesa 21.0.3 
  compat-v: 3.1 direct render: Yes 
Audio:
  Device-1: NVIDIA TU106 High Definition Audio vendor: ASUSTeK 
  driver: snd_hda_intel v: kernel bus ID: 01:00.1 chip ID: 10de:10f9 
  Device-2: AMD driver: snd_hda_intel v: kernel bus ID: 04:00.1 
  chip ID: 1002:1637 
  Device-3: AMD Raven/Raven2/FireFlight/Renoir Audio Processor 
  vendor: ASUSTeK driver: N/A bus ID: 04:00.5 chip ID: 1022:15e2 
  Device-4: AMD Family 17h HD Audio vendor: ASUSTeK driver: snd_hda_intel 
  v: kernel bus ID: 04:00.6 chip ID: 1022:15e3 
  Sound Server: ALSA v: k5.13.0-22-generic 
Network:
  Device-1: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel port: f000 
  bus ID: 02:00.0 chip ID: 8086:2723 
  IF: wlp2s0 state: up mac: <filter> 
Drives:
  Local Storage: total: 953.87 GiB used: 11.25 GiB (1.2%) 
  ID-1: /dev/nvme0n1 vendor: Western Digital 
  model: PC SN530 SDBPNPZ-1T00-1002 size: 953.87 GiB speed: 31.6 Gb/s 
  lanes: 4 serial: <filter> rev: 21106000 scheme: GPT 
Partition:
  ID-1: / size: 459.29 GiB used: 11.22 GiB (2.4%) fs: ext4 
  dev: /dev/nvme0n1p6 
Sensors:
  System Temperatures: cpu: 66.4 C mobo: N/A 
  Fan Speeds (RPM): cpu: 2500 
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 uma 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
Info:
  Processes: 380 Uptime: 1m Memory: 15.05 GiB used: 1.03 GiB (6.9%) 
  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 

User avatar
SMG
Level 25
Level 25
Posts: 31907
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Nvidia Driver Issues

Post by SMG »

utilitarix wrote: Wed Dec 08, 2021 1:01 pmI did everything you said, and changed the kernel, and updated the system. However when rebooting I was greeted to a screen of white noise and graphical https://imgur.com/a/rg5hf9s chaos.
:shock:

Because you had to boot in Recovery Mode to get graphics (and the inxi into), I do not know which mode the graphics of your dual-graphics computer might be.

Please boot normally to a live session of Mint with the Linux Mint 20.2 "Uma" - Cinnamon (Edge, 64-bit) ISO which has the 5.11 kernel (and a different ISO than the one you used originally) and see if you are able to get inxi output showing the graphics drivers are installed.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
User avatar
SMG
Level 25
Level 25
Posts: 31907
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Nvidia Driver Issues

Post by SMG »

I knew I had seen the Ryzen 9 4900HS before and I found the topic. Here is someone with the same ROG Zephyrus G14 GA401IV_GA401IV you have and the drivers are installed with the 5.11 kernel. See the inxi output in the first post of <SOLVED>WiFi not working after Nvidia Driver Installation and Kernel Update with Dual Boot Windows 10.

The 5.13 kernel was not yet available at the time of that topic, but I have not seen any Ryzens having issues with the 5.13 kernel so far.

The 5.11 is supported through February so if it works you can stay with it, but my current concern is the way you installed the Nvidia driver might be interfering with the graphics working properly.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
utilitarix
Level 1
Level 1
Posts: 7
Joined: Sun Nov 28, 2021 12:20 pm

Re: Nvidia Driver Issues

Post by utilitarix »

Okay I did a fresh install. Got the 5.11 kernel running and it works great. However, when switching to 5.13 or 5.4, I get the same thing I showed in that picture. So come February what Kernel should I switch to?
User avatar
SMG
Level 25
Level 25
Posts: 31907
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Nvidia Driver Issues

Post by SMG »

utilitarix wrote: Thu Dec 09, 2021 9:41 pm Okay I did a fresh install. Got the 5.11 kernel running and it works great. However, when switching to 5.13 or 5.4, I get the same thing I showed in that picture.
There is zero reason to switch to the 5.4 kernel which does not support your computer's CPU.

What is the output of SMCGx? It's odd there are issues with the 5.13 kernel so perhaps there is still something else which needs adjusted.

As far as February, the 5.13 kernel will continue to receive bug fixes and patches so the 5.13 available in February would not be the exact same kernel which is available today. Additionally, there is a 5.14-oem kernel available as a possible solution.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
utilitarix
Level 1
Level 1
Posts: 7
Joined: Sun Nov 28, 2021 12:20 pm

Re: Nvidia Driver Issues

Post by utilitarix »

Code: Select all

System:
  Host: lukas-ROG-Zephyrus-G14-GA401IV-GA401IV 
  Kernel: 5.11.0-41-generic x86_64 bits: 64 compiler: N/A 
  Desktop: Cinnamon 5.0.7 Distro: Linux Mint 20.2 Uma 
  base: Ubuntu 20.04 focal 
Machine:
  Type: Laptop System: ASUSTeK product: ROG Zephyrus G14 GA401IV_GA401IV 
  v: 1.0 serial: <superuser/root required> 
  Mobo: ASUSTeK model: GA401IV v: 1.0 serial: <superuser/root required> 
  UEFI: American Megatrends v: GA401IV.219 date: 12/30/2020 
CPU:
  Topology: 8-Core model: AMD Ryzen 9 4900HS with Radeon Graphics bits: 64 
  type: MT MCP arch: Zen rev: 1 L2 cache: 4096 KiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm 
  bogomips: 95816 
  Speed: 1533 MHz min/max: 1400/3000 MHz Core speeds (MHz): 1: 1694 2: 1397 
  3: 1397 4: 1397 5: 1397 6: 1397 7: 1396 8: 1397 9: 1259 10: 1397 11: 1397 
  12: 1360 13: 1380 14: 1396 15: 1397 16: 1427 
Graphics:
  Device-1: NVIDIA TU106 [GeForce RTX 2060] vendor: ASUSTeK driver: nvidia 
  v: 470.86 bus ID: 01:00.0 
  Device-2: AMD Renoir vendor: ASUSTeK driver: amdgpu v: kernel 
  bus ID: 04:00.0 
  Display: x11 server: X.Org 1.20.11 driver: amdgpu,ati,nvidia 
  unloaded: fbdev,modesetting,nouveau,vesa 
  resolution: 1920x1080~120Hz, 1280x1024~60Hz 
  OpenGL: renderer: NVIDIA GeForce RTX 2060 with Max-Q Design/PCIe/SSE2 
  v: 4.6.0 NVIDIA 470.86 direct render: Yes 

User avatar
SMG
Level 25
Level 25
Posts: 31907
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Nvidia Driver Issues

Post by SMG »

All the drivers are loaded. What mode does the nvidia-prime-applet (in the lower right of your panel) indicate your system is currently using? Is it showing as On-Demand or Nvidia-Performance?

Graphics:
Device-1: NVIDIA TU106 [GeForce RTX 2060] vendor: ASUSTeK driver: nvidia
v: 470.86 bus ID: 01:00.0
Device-2: AMD Renoir vendor: ASUSTeK driver: amdgpu v: kernel
bus ID: 04:00.0
Display: x11 server: X.Org 1.20.11 driver: amdgpu,ati,nvidia
unloaded: fbdev,modesetting,nouveau,vesa
resolution: 1920x1080~120Hz, 1280x1024~60Hz
OpenGL: renderer: NVIDIA GeForce RTX 2060 with Max-Q Design/PCIe/SSE2
v: 4.6.0 NVIDIA 470.86 direct render: Yes
Image
A woman typing on a laptop with LM20.3 Cinnamon.
utilitarix
Level 1
Level 1
Posts: 7
Joined: Sun Nov 28, 2021 12:20 pm

Re: Nvidia Driver Issues

Post by utilitarix »

Nvidia Performance is the active mode
User avatar
SMG
Level 25
Level 25
Posts: 31907
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Nvidia Driver Issues

Post by SMG »

Were both screens snowy when using the 5.13 or just the laptop screen?

One way to test if the issue is the Nvidia driver or the AMD graphics would be to switch modes to AMD and see if that makes a difference when switching to the newer kernel, if you want to try that.

I do not recall others having issues with the Nvidia driver on the 5.13 kernel, but I think the output I've seen so far has been with a slightly older version of the Nvidia-470. I do not have any ideas off the top of my head as to why the snowy screen would be coming up.

It's fine to stay with the 5.11 kernel which still has several months of support.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
utilitarix
Level 1
Level 1
Posts: 7
Joined: Sun Nov 28, 2021 12:20 pm

Re: Nvidia Driver Issues

Post by utilitarix »

The snowy noise appears only on my laptop screen when connected to an external monitor. Switching to the amd power saving mode does not help.
User avatar
SMG
Level 25
Level 25
Posts: 31907
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Nvidia Driver Issues

Post by SMG »

utilitarix wrote: Fri Dec 10, 2021 9:36 am The snowy noise appears only on my laptop screen when connected to an external monitor. Switching to the amd power saving mode does not help.
I did some web searches and I am not sure what the issue might be. Because your original issue seems to have been resolved with the 5.11 kernel, I think the original issue has been resolved. Please go to your first post in this topic, click the pencil icon, and add [SOLVED] to the title so others know you are no longer seeking help on this issue.

If the 5.13 issue is still there when the 5.11 goes end of life, we can see what options are available at that time. There is a 5.14-oem kernel available now which you can install with sudo apt install linux-oem-20.04d and a reboot. However, I'm not sure why the 5.13 is not working so I do not know if the 5.14-oem will work.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
Locked

Return to “Graphics Cards & Monitors”