how to fix the brightness issue on my legion 5: 
Linux Mint Forums

Welcome to the Linux Mint forums!

Skip to content

    Quick links
    FAQ
    Login
    Register

    Board index Main Edition Support Hardware Support Graphics Cards & Monitors

[SOLVED] Nvidia - RTX 3060 on Lenovo Legion 5pro install ?
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
23 posts

    1 

kris777	
    Level 1
    Level 1	
    Posts: 18	
    Joined: Sat Feb 10, 2018 7:16 am	

[SOLVED] Nvidia - RTX 3060 on Lenovo Legion 5pro install ?

Post by kris777 » Thu Sep 28, 2023 4:32 pm
My laptop is Lenovo Legion 5 pro and I have a problem with installing Nvidia closed-source drivers for the RTX 3060 graphics card... the system works OK with nouveau open-source drivers and it's great! because almost everything works, i.e. suspension and resuming / adjusting the monitor brightness also OK.
However, I wanted to use a more efficient graphics card and this is the problem. By installing the latest drivers from the driver management menu: 535.113..01, everything is OK until the system is restarted. After reboot, the system no longer starts and you need to remove the drivers from the recovery options menu using the purge option. I can't diagnose what could be the cause of this error - drivers or something else? Maybe someone knows a solution how to install Nvidia drivers correctly?
Here's my laptop configuration:

Code: Select all

Battery:
  ID-1: BAT0 charge: 69.6 Wh (80.9%) condition: 86.0/80.0 Wh (107.5%)
    volts: 16.5 min: 15.4 model: SMP L20M4PC1 status: Discharging
CPU:
  Info: 8-core model: 11th Gen Intel Core i7-11800H bits: 64 type: MT MCP
    arch: Tiger Lake rev: 1 cache: L1: 640 KiB L2: 10 MiB L3: 24 MiB
  Speed (MHz): avg: 914 high: 1092 min/max: 800/4600 cores: 1: 902 2: 887
    3: 926 4: 942 5: 960 6: 1069 7: 910 8: 938 9: 1092 10: 845 11: 812 12: 801
    13: 1076 14: 801 15: 776 16: 898 bogomips: 73728
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel TigerLake-H GT1 [UHD Graphics] vendor: Lenovo driver: i915
    v: kernel bus-ID: 00:02.0
  Device-2: NVIDIA GA106M [GeForce RTX 3060 Mobile / Max-Q] vendor: Lenovo
    driver: nouveau v: kernel bus-ID: 01:00.0
  Device-3: IMC Networks Integrated Camera type: USB driver: uvcvideo
    bus-ID: 3-6:2
  Display: x11 server: X.Org v: 1.21.1.4 driver: X: loaded: modesetting
    unloaded: fbdev,vesa gpu: i915 resolution: 2560x1600~165Hz
  OpenGL: renderer: Mesa Intel UHD Graphics (TGL GT1)
    v: 4.6 Mesa 23.0.4-0ubuntu1~22.04.1 direct render: Yes
Audio:
  Device-1: Intel Tiger Lake-H HD Audio vendor: Lenovo driver: snd_hda_intel
    v: kernel bus-ID: 00:1f.3
  Device-2: NVIDIA vendor: Lenovo driver: snd_hda_intel v: kernel
    bus-ID: 01:00.1
  Sound Server-1: ALSA v: k5.15.0-84-generic running: yes
  Sound Server-2: PulseAudio v: 15.99.1 running: yes
  Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Intel Tiger Lake PCH CNVi WiFi driver: iwlwifi v: kernel
    bus-ID: 00:14.3
  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: 5c:00.0
  IF: enp92s0 state: down mac: <filter>
Bluetooth:
  Device-1: Intel AX201 Bluetooth type: USB driver: btusb v: 0.8
    bus-ID: 3-14:5
  Report: hciconfig ID: hci0 rfk-id: 5 state: down
    bt-service: enabled,running rfk-block: hardware: no software: yes
    address: <filter>
Drives:
  Local Storage: total: 476.94 GiB used: 14.64 GiB (3.1%)
  ID-1: /dev/nvme0n1 vendor: Samsung model: MZALQ512HBLU-00BL2
    size: 476.94 GiB temp: 28.9 C
Partition:
  ID-1: / size: 95.66 GiB used: 14.59 GiB (15.3%) fs: ext4
    dev: /dev/nvme0n1p4
  ID-2: /boot/efi size: 256 MiB used: 51.7 MiB (20.2%) fs: vfat
    dev: /dev/nvme0n1p1
Swap:
  ID-1: swap-1 type: file size: 2 GiB used: 0 KiB (0.0%) file: /swapfile
Sensors:
  System Temperatures: cpu: 33.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 400 Uptime: 1h 45m Memory: 31.13 GiB used: 2.84 GiB (9.1%)
  Init: systemd runlevel: 53 Compilers: gcc: 11.4.0 Packages: 2205
  Shell: Bash v: 5.1.16 inxi: 3.3.13

my system
Linux Mint 21.2 Cinnamon
Last edited by LockBot on Thu Mar 28, 2024 10:00 pm, edited 6 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.	
Top

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

Re: Nvidia RTX 3060 install ?

Post by SMG » Thu Sep 28, 2023 8:57 pm

    kris777 wrote: ⤴Thu Sep 28, 2023 4:32 pm
    My laptop is Lenovo Legion 5 pro

Please open the System Reports app and click the System Information tab on the left. Your computer's information should come up in the right pane. Then click the Copy button in the lower right and paste the results into a reply window here so we can see how Linux Mint views your hardware. We need to see the missing sections and see more detail on the sections you did provide.

Is secure boot enabled? You can check by running the following in a terminal

Code: Select all

mokutil --sb-state

    kris777 wrote: ⤴Thu Sep 28, 2023 4:32 pm
    However, I wanted to use a more efficient graphics card and this is the problem.

You have a dual-GPU laptop (Intel and Nvidia) so you have to manage that as well as what drivers are used.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
Top

kris777	
    Level 1
    Level 1	
    Posts: 18	
    Joined: Sat Feb 10, 2018 7:16 am	

Re: Nvidia RTX 3060 install ?

Post by kris777 » Fri Sep 29, 2023 12:23 pm
I don't know if I did it right, but I installed Nvidia drivers
nvidia-driver-535-open and the system has slight difficulties at startup, sometimes it starts correctly and sometimes not?
Now I have the following data from the system:

Code: Select all

mokutil --sb-state
SecureBoot disabled

https://termbin.com/1et5

Code: Select all

System:
  Kernel: 5.15.0-84-generic x86_64 bits: 64 compiler: gcc v: 11.4.0 Desktop: Cinnamon 5.8.4
    tk: GTK 3.24.33 wm: muffin dm: LightDM Distro: Linux Mint 21.2 Victoria base: Ubuntu 22.04 jammy
Machine:
  Type: Laptop System: LENOVO product: 82JD v: Legion 5 Pro 16ITH6H serial: <superuser required>
    Chassis: type: 10 v: Legion 5 Pro 16ITH6H serial: <superuser required>
  Mobo: LENOVO model: LNVNB161216 v: SDK0T76461 WIN serial: <superuser required> UEFI: LENOVO
    v: H1CN51WW date: 10/08/2022
Battery:
  ID-1: BAT0 charge: 86.7 Wh (100.0%) condition: 86.7/80.0 Wh (108.4%) volts: 17.5 min: 15.4
    model: SMP L20M4PC1 serial: <filter> status: Full
CPU:
  Info: 8-core model: 11th Gen Intel Core i7-11800H bits: 64 type: MT MCP arch: Tiger Lake rev: 1
    cache: L1: 640 KiB L2: 10 MiB L3: 24 MiB
  Speed (MHz): avg: 2934 high: 4575 min/max: 800/4600 cores: 1: 1726 2: 4508 3: 801 4: 3244
    5: 4167 6: 901 7: 3842 8: 4506 9: 1832 10: 1616 11: 776 12: 4506 13: 1565 14: 4259 15: 4121
    16: 4575 bogomips: 73728
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel TigerLake-H GT1 [UHD Graphics] vendor: Lenovo driver: i915 v: kernel ports:
    active: eDP-1 empty: DP-1, DP-2, DP-3, DP-4, DP-5, HDMI-A-1 bus-ID: 00:02.0 chip-ID: 8086:9a60
  Device-2: NVIDIA GA106M [GeForce RTX 3060 Mobile / Max-Q] vendor: Lenovo driver: nvidia
    v: 535.113.01 pcie: speed: 2.5 GT/s lanes: 16 bus-ID: 01:00.0 chip-ID: 10de:2560
  Display: x11 server: X.Org v: 1.21.1.4 driver: X: loaded: modesetting unloaded: fbdev,vesa
    gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 2560x1600 s-dpi: 98
  Monitor-1: eDP-1 res: 2560x1600 dpi: 188 diag: 407mm (16")
  OpenGL: renderer: Mesa Intel UHD Graphics (TGL GT1) v: 4.6 Mesa 23.0.4-0ubuntu1~22.04.1
    direct render: Yes
Audio:
  Device-1: Intel Tiger Lake-H HD Audio vendor: Lenovo driver: snd_hda_intel v: kernel
    bus-ID: 00:1f.3 chip-ID: 8086:43c8
  Device-2: NVIDIA vendor: Lenovo driver: snd_hda_intel v: kernel pcie: speed: 2.5 GT/s
    lanes: 16 bus-ID: 01:00.1 chip-ID: 10de:228e
  Sound Server-1: ALSA v: k5.15.0-84-generic running: yes
  Sound Server-2: PulseAudio v: 15.99.1 running: yes
  Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Intel Tiger Lake PCH CNVi WiFi driver: iwlwifi v: kernel bus-ID: 00:14.3
    chip-ID: 8086:43f0
  IF: wlp0s20f3 state: up mac: <filter>
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Lenovo driver: r8169
    v: kernel pcie: speed: 2.5 GT/s lanes: 1 port: 3000 bus-ID: 5c:00.0 chip-ID: 10ec:8168
  IF: enp92s0 state: down mac: <filter>
Bluetooth:
  Device-1: Intel AX201 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 3-14:4 chip-ID: 8087:0026
  Report: hciconfig ID: hci0 rfk-id: 2 state: down bt-service: enabled,running rfk-block:
    hardware: no software: yes address: <filter>
Drives:
  Local Storage: total: 476.94 GiB used: 15.38 GiB (3.2%)
  ID-1: /dev/nvme0n1 vendor: Samsung model: MZALQ512HBLU-00BL2 size: 476.94 GiB speed: 31.6 Gb/s
    lanes: 4 serial: <filter> temp: 30.9 C
Partition:
  ID-1: / size: 95.66 GiB used: 15.33 GiB (16.0%) fs: ext4 dev: /dev/nvme0n1p4
  ID-2: /boot/efi size: 256 MiB used: 51.7 MiB (20.2%) fs: vfat dev: /dev/nvme0n1p1
Swap:
  ID-1: swap-1 type: file size: 2 GiB used: 0 KiB (0.0%) priority: -2 file: /swapfile
USB:
  Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 1 rev: 2.0 speed: 480 Mb/s
    chip-ID: 1d6b:0002
  Hub-2: 2-0:1 info: Super-speed hub ports: 4 rev: 3.1 speed: 10 Gb/s chip-ID: 1d6b:0003
  Hub-3: 3-0:1 info: Hi-speed hub with single TT ports: 16 rev: 2.0 speed: 480 Mb/s
    chip-ID: 1d6b:0002
  Device-1: 3-4:5 info: Logitech M105 Optical Mouse type: Mouse driver: hid-generic,usbhid
    rev: 2.0 speed: 1.5 Mb/s chip-ID: 046d:c077
  Device-2: 3-9:3 info: Integrated Express ITE Device(8910) type: Keyboard
    driver: hid-generic,usbhid rev: 2.0 speed: 12 Mb/s chip-ID: 048d:c101
  Device-3: 3-14:4 info: Intel AX201 Bluetooth type: Bluetooth driver: btusb rev: 2.0
    speed: 12 Mb/s chip-ID: 8087:0026
  Hub-4: 4-0:1 info: Super-speed hub ports: 8 rev: 3.1 speed: 20 Gb/s chip-ID: 1d6b:0003
Sensors:
  System Temperatures: cpu: 49.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Repos:
  Packages: apt: 2268
  No active apt repos in: /etc/apt/sources.list
  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/google.list
    1: deb [arch=amd64] http: //dl.google.com/linux/chrome/deb/ stable main
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
    1: deb http: //mirroronet.pl/pub/mirrors/linuxmint/packages victoria main upstream import backport
    2: deb http: //ftp.agh.edu.pl/ubuntu jammy main restricted universe multiverse
    3: deb http: //ftp.agh.edu.pl/ubuntu jammy-updates main restricted universe multiverse
    4: deb http: //ftp.agh.edu.pl/ubuntu jammy-backports main restricted universe multiverse
    5: deb http: //security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
Info:
  Processes: 361 Uptime: 46m Memory: 31.13 GiB used: 2.99 GiB (9.6%) Init: systemd v: 249
  runlevel: 5 Compilers: gcc: 11.4.0 alt: 11/12 Client: Unknown python3.10 client inxi: 3.3.13

The system works but is a bit unstable.... google-chrome browser stopped working :shock:
dmesg

http://dpaste.com//3CG4DD8D8

Code: Select all

nvidia-smi
No devices were found

???? :shock: :D

Code: Select all

cat /sys/module/nvidia/version
535.113.01

Code: Select all

dkms status nvidia
nvidia/535.113.01, 5.15.0-84-generic, x86_64: installed

important errors from the log:

Code: Select all

17∶36∶26 pulseaudio: Error opening PCM device front:0: Nie ma takiego pliku ani katalogu
17∶36∶25 lightdm: gkr-pam: unable to locate daemon control file
17∶36∶05 kernel: ACPI Error: Aborting method \_SB.IETM._OSC due to previous error (AE_NOT_FOUND) (20210730/psparse-529)
17∶36∶02 bluetoothd: Failed to set mode: Blocked through rfkill (0x12)
17∶35∶59 kernel: [drm:nv_drm_probe_devices [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to register device
17∶35∶59 kernel: [drm:nv_drm_load [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to allocate NvKmsKapiDevice
17∶35∶59 kernel: 
17∶35∶59 kernel: integrity: Problem loading X.509 certificate -65
17∶35∶59 kernel: pci 0000:00:07.2: DPC: RP PIO log size 0 is invalid
17∶35∶59 kernel: ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20210730/psobject-220)

Since after installing the nvidia-driver-535-open drivers, the system started working unstable, I decided to try installing the oldest available version of the driver from the driver manager menu, i.e.: 470 .... (525 and 535 did not work and the system did not start). ...after restart the system, everything seems to work OK??? so maybe it's the fault of the Nvidia driver and not e.g. laptop components / BIOS, etc.?

Code: Select all

nvidia-smi
Fri Sep 29 19:52:57 2023       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 470.199.02   Driver Version: 470.199.02   CUDA Version: 11.4     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  NVIDIA GeForce ...  Off  | 00000000:01:00.0 Off |                  N/A |
| N/A   45C    P8    13W /  N/A |    428MiB /  5946MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    0   N/A  N/A      1096      G   /usr/lib/xorg/Xorg                185MiB |
|    0   N/A  N/A      1708      G   cinnamon                           51MiB |
|    0   N/A  N/A      6687      G   ...453371011663525351,262144      189MiB |
+-----------------------------------------------------------------------------+

Image
Has anyone managed to install the latest drivers for the nvidia rtx3060 card?
I don't know if it's the fault of the nvidia drivers or my Lenovo legion 5pro laptop?
regards
Top

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

Re: Nvidia RTX 3060 install ?

Post by SMG » Fri Sep 29, 2023 7:37 pm

    kris777 wrote: ⤴Fri Sep 29, 2023 12:23 pm
    I don't know if I did it right, but I installed Nvidia drivers
    nvidia-driver-535-open and the system has slight difficulties at startup, sometimes it starts correctly and sometimes not?

You installed the wrong driver. That is the issue. As per the top of the Tips for Troubleshooting Graphics Issues (including external monitors not working) which is a sticky at the top of the Graphics Cards & Monitors forum, "Do not use the drivers with "open" in the name. Use the same version without "open"."

Please provide the output of

Code: Select all

dpkg -l | grep -i nvidia

and wait for a response before you decide to make further changes to your system. In the past there have been problems removing the open driver.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
Top

kris777	
    Level 1
    Level 1	
    Posts: 18	
    Joined: Sat Feb 10, 2018 7:16 am	

Re: Nvidia RTX 3060 install ?

Post by kris777 » Sat Sep 30, 2023 1:41 am

Code: Select all

dpkg -l | grep -i nvidia
ii  libnvidia-cfg1-470:amd64                   470.199.02-0ubuntu0.22.04.1                amd64        NVIDIA binary OpenGL/GLX configuration library
ii  libnvidia-common-470                       470.199.02-0ubuntu0.22.04.1                all          Shared files used by the NVIDIA libraries
ii  libnvidia-compute-470:amd64                470.199.02-0ubuntu0.22.04.1                amd64        NVIDIA libcompute package
ii  libnvidia-compute-470:i386                 470.199.02-0ubuntu0.22.04.1                i386         NVIDIA libcompute package
rc  libnvidia-compute-525:amd64                525.125.06-0ubuntu0.22.04.1                amd64        NVIDIA libcompute package
rc  libnvidia-compute-535:amd64                535.113.01-0ubuntu0.22.04.1                amd64        NVIDIA libcompute package
ii  libnvidia-decode-470:amd64                 470.199.02-0ubuntu0.22.04.1                amd64        NVIDIA Video Decoding runtime libraries
ii  libnvidia-decode-470:i386                  470.199.02-0ubuntu0.22.04.1                i386         NVIDIA Video Decoding runtime libraries
ii  libnvidia-egl-wayland1:amd64               1:1.1.9-1.1                                amd64        Wayland EGL External Platform library -- shared library
ii  libnvidia-encode-470:amd64                 470.199.02-0ubuntu0.22.04.1                amd64        NVENC Video Encoding runtime library
ii  libnvidia-encode-470:i386                  470.199.02-0ubuntu0.22.04.1                i386         NVENC Video Encoding runtime library
ii  libnvidia-extra-470:amd64                  470.199.02-0ubuntu0.22.04.1                amd64        Extra libraries for the NVIDIA driver
ii  libnvidia-fbc1-470:amd64                   470.199.02-0ubuntu0.22.04.1                amd64        NVIDIA OpenGL-based Framebuffer Capture runtime library
ii  libnvidia-fbc1-470:i386                    470.199.02-0ubuntu0.22.04.1                i386         NVIDIA OpenGL-based Framebuffer Capture runtime library
ii  libnvidia-gl-470:amd64                     470.199.02-0ubuntu0.22.04.1                amd64        NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ii  libnvidia-gl-470:i386                      470.199.02-0ubuntu0.22.04.1                i386         NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ii  libnvidia-ifr1-470:amd64                   470.199.02-0ubuntu0.22.04.1                amd64        NVIDIA OpenGL-based Inband Frame Readback runtime library
ii  libnvidia-ifr1-470:i386                    470.199.02-0ubuntu0.22.04.1                i386         NVIDIA OpenGL-based Inband Frame Readback runtime library
ii  nvidia-compute-utils-470                   470.199.02-0ubuntu0.22.04.1                amd64        NVIDIA compute utilities
rc  nvidia-compute-utils-535                   535.113.01-0ubuntu0.22.04.1                amd64        NVIDIA compute utilities
ii  nvidia-dkms-470                            470.199.02-0ubuntu0.22.04.1                amd64        NVIDIA DKMS package
rc  nvidia-dkms-535-open                       535.113.01-0ubuntu0.22.04.1                amd64        NVIDIA DKMS package (open kernel module)
ii  nvidia-driver-470                          470.199.02-0ubuntu0.22.04.1                amd64        NVIDIA driver metapackage
ii  nvidia-kernel-common-470                   470.199.02-0ubuntu0.22.04.1                amd64        Shared files used with the kernel module
rc  nvidia-kernel-common-535                   535.113.01-0ubuntu0.22.04.1                amd64        Shared files used with the kernel module
ii  nvidia-kernel-source-470                   470.199.02-0ubuntu0.22.04.1                amd64        NVIDIA kernel source package
ii  nvidia-prime                               0.8.17.1                                   all          Tools to enable NVIDIA's Prime
ii  nvidia-settings                            510.47.03-0ubuntu1                         amd64        Tool for configuring the NVIDIA graphics driver
ii  nvidia-utils-470                           470.199.02-0ubuntu0.22.04.1                amd64        NVIDIA driver support binaries
ii  screen-resolution-extra                    0.18.2                                     all          Extension for the nvidia-settings control panel
ii  xserver-xorg-video-nvidia-470              470.199.02-0ubuntu0.22.04.1                amd64        NVIDIA binary Xorg driver

thanks for the help and the link to the topic, I'll have to read it
From what I've read, I don't know if my 5.15.0-84-generic kernel is too old for my processor and, in turn, for installing the latest nvidia drivers?

Code: Select all

inxi -SGx
System:
  Host: kris-Legion Kernel: 5.15.0-84-generic x86_64 bits: 64 compiler: gcc
    v: 11.4.0 Desktop: Cinnamon 5.8.4 Distro: Linux Mint 21.2 Victoria
    base: Ubuntu 22.04 jammy
Graphics:
  Device-1: Intel TigerLake-H GT1 [UHD Graphics] vendor: Lenovo driver: i915
    v: kernel bus-ID: 00:02.0
  Device-2: NVIDIA GA106M [GeForce RTX 3060 Mobile / Max-Q] vendor: Lenovo
    driver: nvidia v: 470.199.02 bus-ID: 01:00.0
  Display: x11 server: X.Org v: 1.21.1.4 driver: X:
    loaded: modesetting,nvidia unloaded: fbdev,nouveau,vesa gpu: i915
    resolution: 2560x1600~165Hz
  OpenGL: renderer: NVIDIA GeForce RTX 3060 Laptop GPU/PCIe/SSE2
    v: 4.6.0 NVIDIA 470.199.02 direct render: Yes

Top

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

Re: Nvidia RTX 3060 install ?

Post by SMG » Sat Sep 30, 2023 10:24 am

    kris777 wrote: ⤴Sat Sep 30, 2023 1:41 am
    From what I've read, I don't know if my 5.15.0-84-generic kernel is too old for my processor and, in turn, for installing the latest nvidia drivers?

I don't know where you read that, but it is not true.

Whether your system would benefit from a newer kernel is a different issue (and it is likely it will), but that does not relate to whether or not the latest Nvidia driver will install.

    kris777 wrote: ⤴Thu Sep 28, 2023 4:32 pm
    By installing the latest drivers from the driver management menu: 535.113..01, everything is OK until the system is restarted. After reboot, the system no longer starts and you need to remove the drivers from the recovery options menu using the purge option. 

One important point of which you may not be aware is your computer is a dual-GPU computer. It has both Intel and Nvidia and drivers for both must be taken into account when making changes. Linux Mint provides the nvidia-prime-applet to help you see the mode you are using and to switch modes, but you deleted it when you decided to "purge" Nvidia modules.

Please also be clear about what you are doing. It is not possible to use recovery options if the computer does not boot. I make that distinction because your computer did in fact boot, but likely had either both the Intel and Nvidia drivers blocked or something else happened.

You did not use the nomodeset kernel parameter did you? You should not be using that. You can check by running

Code: Select all

cat /proc/cmdline

Please also run

Code: Select all

cat /etc/X11/xorg.conf

and make sure it says no file or directory found.

The data you posted indicates one of the 535-open packages is still on your system. That will cause problems if you try to use the non-open Nvidia-535 driver (which is what you want to be using).

Code: Select all

rc  nvidia-dkms-535-open                       535.113.01-0ubuntu0.22.04.1                amd64        NVIDIA DKMS package (open kernel module)

Please run

Code: Select all

sudo apt-get purge *nvidia*

then post updated output for

Code: Select all

dpkg -l | grep -i nvidia

We are likely going to need to run some additional commands to clear out what packages do not remove. Sometimes that is an easy situation while other times we might have to go at the problem from several directions.

Once we get that cleared, then we can re-install the driver, re-install the nvidia-prime-applet, make sure your system is in On-demand mode and then all should work. You have secure boot disabled so enrolling keys should not be an issue.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
Top

kris777	
    Level 1
    Level 1	
    Posts: 18	
    Joined: Sat Feb 10, 2018 7:16 am	

Re: Nvidia RTX 3060 install ?

Post by kris777 » Sat Sep 30, 2023 2:25 pm

Code: Select all

cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-5.15.0-84-generic root=UUID=266640c0-4e2b-49b8-83e3-cf7d350d5641 ro quiet splash

Code: Select all

cat /etc/X11/xorg.conf
cat: /etc/X11/xorg.conf: There is no such file or directory

sudo apt-get purge *nvidia* ...... :)

Code: Select all

dpkg -l | grep -i nvidia
ii  libnvidia-compute-470:i386                 470.199.02-0ubuntu0.22.04.1                i386         NVIDIA libcompute package
ii  libnvidia-decode-470:i386                  470.199.02-0ubuntu0.22.04.1                i386         NVIDIA Video Decoding runtime libraries
ii  libnvidia-encode-470:i386                  470.199.02-0ubuntu0.22.04.1                i386         NVENC Video Encoding runtime library
ii  libnvidia-fbc1-470:i386                    470.199.02-0ubuntu0.22.04.1                i386         NVIDIA OpenGL-based Framebuffer Capture runtime library
ii  screen-resolution-extra                    0.18.2                                     all          Extension for the nvidia-settings control panel

I don't know if it will help because I installed the recommended nvidia 535 driver on a clean system with nouveau drivers installed... and the system hung up after restarting, then I removed it and tried to install the same one with the -open ending... but with a similar result with the system started up but the driver probably didn't work properly.
I also tried installing a newer kernel from the Linux Mint update manager menu
6.2.0-33 and then installing the 535 driver but with the same result. For the test, I did the same by installing the latest Liquorix kernel from the ppa repository... the same effect. Yes, it's probably not the kernel's fault... probably faulty drivers or something with the configuration of the Lenovo laptop.
Last edited by kris777 on Sat Sep 30, 2023 2:44 pm, edited 1 time in total.
Top

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

Re: Nvidia RTX 3060 install ?

Post by SMG » Sat Sep 30, 2023 2:41 pm

    kris777 wrote: ⤴Sat Sep 30, 2023 2:25 pm
    sudo apt-get purge *nvidia* ...... :)

    Code: Select all

    dpkg -l | grep -i nvidia
    ii  libnvidia-compute-470:i386                 470.199.02-0ubuntu0.22.04.1                i386         NVIDIA libcompute package
    ii  libnvidia-decode-470:i386                  470.199.02-0ubuntu0.22.04.1                i386         NVIDIA Video Decoding runtime libraries
    ii  libnvidia-encode-470:i386                  470.199.02-0ubuntu0.22.04.1                i386         NVENC Video Encoding runtime library
    ii  libnvidia-fbc1-470:i386                    470.199.02-0ubuntu0.22.04.1                i386         NVIDIA OpenGL-based Framebuffer Capture runtime library
    ii  screen-resolution-extra                    0.18.2                                     all          Extension for the nvidia-settings control panel

That looks like the 535-open package removed this time. I don't think the remaining packages will cause issues, but we'll keep an eye on them as we do the installations.

Install the nvidia-prime-applet by running

Code: Select all

sudo apt-get install nvidia-prime-applet

Then install the Nvidia-535 driver with

Code: Select all

apt install nvidia-driver-535

If you see any error messages, please post the entire output. If there are no error messages then please run

Code: Select all

prime-select query

The output of that needs to say intel or on-demand for the Intel graphics driver to load when you reboot the computer.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
Top

kris777	
    Level 1
    Level 1	
    Posts: 18	
    Joined: Sat Feb 10, 2018 7:16 am	

Re: Nvidia RTX 3060 install ?

Post by kris777 » Sat Sep 30, 2023 2:56 pm
Unfortunately, an attempt to install the 535 drivers ended with a black screen and the system hung up with only the cursor blinking. After restarting and booting normally, the system froze and there was no reaction. I did the reanimation by removing the drivers using the already described grub / recowery / remove nvidia drivers.
Now I'm probably on nouveau :-)

Code: Select all

dpkg -l | grep -i nvidia
ii  libnvidia-cfg1-535:amd64                   535.113.01-0ubuntu0.22.04.1                amd64        NVIDIA binary OpenGL/GLX configuration library
ii  libnvidia-common-535                       535.113.01-0ubuntu0.22.04.1                all          Shared files used by the NVIDIA libraries
ii  libnvidia-compute-535:amd64                535.113.01-0ubuntu0.22.04.1                amd64        NVIDIA libcompute package
ii  libnvidia-compute-535:i386                 535.113.01-0ubuntu0.22.04.1                i386         NVIDIA libcompute package
ii  libnvidia-decode-535:amd64                 535.113.01-0ubuntu0.22.04.1                amd64        NVIDIA Video Decoding runtime libraries
ii  libnvidia-decode-535:i386                  535.113.01-0ubuntu0.22.04.1                i386         NVIDIA Video Decoding runtime libraries
ii  libnvidia-encode-535:amd64                 535.113.01-0ubuntu0.22.04.1                amd64        NVENC Video Encoding runtime library
ii  libnvidia-encode-535:i386                  535.113.01-0ubuntu0.22.04.1                i386         NVENC Video Encoding runtime library
ii  libnvidia-extra-535:amd64                  535.113.01-0ubuntu0.22.04.1                amd64        Extra libraries for the NVIDIA driver
ii  libnvidia-fbc1-535:amd64                   535.113.01-0ubuntu0.22.04.1                amd64        NVIDIA OpenGL-based Framebuffer Capture runtime library
ii  libnvidia-fbc1-535:i386                    535.113.01-0ubuntu0.22.04.1                i386         NVIDIA OpenGL-based Framebuffer Capture runtime library
ii  libnvidia-gl-535:amd64                     535.113.01-0ubuntu0.22.04.1                amd64        NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ii  libnvidia-gl-535:i386                      535.113.01-0ubuntu0.22.04.1                i386         NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ii  screen-resolution-extra                    0.18.2                                     all          Extension for the nvidia-settings control panel
ii  xserver-xorg-video-nvidia-535              535.113.01-0ubuntu0.22.04.1                amd64        NVIDIA binary Xorg driver

Code: Select all

inxi -SGx
System:
  Host: kris-Legion Kernel: 5.15.0-84-generic x86_64 bits: 64 compiler: gcc
    v: 11.4.0 Desktop: Cinnamon 5.8.4 Distro: Linux Mint 21.2 Victoria
    base: Ubuntu 22.04 jammy
Graphics:
  Device-1: Intel TigerLake-H GT1 [UHD Graphics] vendor: Lenovo driver: i915
    v: kernel bus-ID: 00:02.0
  Device-2: NVIDIA GA106M [GeForce RTX 3060 Mobile / Max-Q] vendor: Lenovo
    driver: nouveau v: kernel bus-ID: 01:00.0
  Device-3: IMC Networks Integrated Camera type: USB driver: uvcvideo
    bus-ID: 3-6:3
  Display: x11 server: X.Org v: 1.21.1.4 driver: X: loaded: modesetting
    unloaded: fbdev,vesa gpu: i915 resolution: 2560x1600~165Hz
  OpenGL: renderer: Mesa Intel UHD Graphics (TGL GT1)
    v: 4.6 Mesa 23.0.4-0ubuntu1~22.04.1 direct render: Yes

I think there is something wrong with the compatibility of newer Nvidia drivers with Lenovo Legio 5 pro components... maybe BIOS?
Maybe something more is installed along with the installation of the graphics driver, e.g. audio drivers, and maybe these additional updates spoil something in this particular case?
I will try to clean the system of these drivers 535 that are faulty for my laptop and then reinstall the working version 470. :P

Code: Select all

sudo apt-get purge *nvidia*
apt autoremove
dpkg -l | grep -i nvidia
nothing showed

I installed 470 from the manager menu and after a double system restart everything went back to normal. I had to switch in the settings: Prime profiles / Nvidia = on-demand to: Nvidia = performance mode

Code: Select all

prime-select query
nvidia

Attachments

    log-hardware.txt
        (6.11 KiB) Downloaded 24 times

Last edited by kris777 on Sat Sep 30, 2023 3:36 pm, edited 1 time in total.
Top

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

Re: Nvidia RTX 3060 install ?

Post by SMG » Sat Sep 30, 2023 3:34 pm

    kris777 wrote: ⤴Sat Sep 30, 2023 2:56 pm
    Unfortunately, an attempt to install the 535 drivers ended with a black screen and the system hung up with only the cursor blinking. 

How many minutes did you wait at the black screen? At least 3-5 minutes? If not, you probably interrupted the installation and instead of removing the drivers you should have run dpkg to fix the install.

    kris777 wrote: ⤴Sat Sep 30, 2023 2:56 pm
    After restarting and booting normally, the system froze and there was no reaction. I did the reanimation by removing the drivers using the already described grub / recowery / remove nvidia drivers.

No, the output you posted indicates you did not remove the drivers so I'm not sure what you did, but we will try again doing something a little different.

    kris777 wrote: ⤴Sat Sep 30, 2023 2:56 pm
    I think there is something wrong with the compatibility of newer Nvidia drivers with Lenovo Legio 5 pro components... maybe BIOS?

I think you are not understanding me because others are using the newer drivers and they are not having compatibility problems.

EVERYONE is getting the black screen when installing the Nvidia-535 drivers. EVERYONE. You have to wait and let the drivers install and possible fix packages after that. This is not something special for your laptop.

We will try this again especially because I do not understand what you are doing when you go to recovery mode.

Remove the nvidia packages

Code: Select all

sudo apt-get purge *nvidia*

Then re-install the nvidia-prime-applet with

Code: Select all

sudo apt-get install nvidia-prime-applet

Then I want you to upgrade to the 6.5-oem kernel. You can install the latest 6.5-oem kernel with

Code: Select all

sudo apt-get install linux-oem-22.04d

and reboot.

After you reboot, post the output of

Code: Select all

dpkg -l | grep -i nvidia

Image
A woman typing on a laptop with LM20.3 Cinnamon.
Top

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

Re: Nvidia RTX 3060 install ?

Post by SMG » Sat Sep 30, 2023 3:38 pm

    kris777 wrote: ⤴Sat Sep 30, 2023 2:56 pm
    I installed 470 from the manager menu and after a double system restart everything went back to normal. I had to switch in the settings: Prime profiles / Nvidia = on-demand to: Nvidia = performance mode

    Code: Select all

    prime-select query
    nvidia

No you did not have to switch the settings.

It seems you prefer to ignore what I am saying so I will stop spending time on this.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
Top

kris777	
    Level 1
    Level 1	
    Posts: 18	
    Joined: Sat Feb 10, 2018 7:16 am	

Re: Nvidia RTX 3060 install ?

Post by kris777 » Sat Sep 30, 2023 3:44 pm

Code: Select all

dpkg -l | grep -i nvidia
ii  libnvidia-compute-470:i386                 470.199.02-0ubuntu0.22.04.1                i386         NVIDIA libcompute package
ii  libnvidia-decode-470:i386                  470.199.02-0ubuntu0.22.04.1                i386         NVIDIA Video Decoding runtime libraries
ii  libnvidia-encode-470:i386                  470.199.02-0ubuntu0.22.04.1                i386         NVENC Video Encoding runtime library
ii  libnvidia-fbc1-470:i386                    470.199.02-0ubuntu0.22.04.1                i386         NVIDIA OpenGL-based Framebuffer Capture runtime library
ii  nvidia-prime-applet                        1.3.7                                      all          An applet for NVIDIA Prime
ii  screen-resolution-extra                    0.18.2                                     all          Extension for the nvidia-settings control panel

Code: Select all

uname -a
Linux kris-Legion 6.5.0-1003-oem #3-Ubuntu SMP PREEMPT_DYNAMIC Mon Aug 28 15:04:22 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Code: Select all

inxi -SGx
System:
  Host: kris-Legion Kernel: 6.5.0-1003-oem x86_64 bits: 64 compiler: N/A
    Desktop: Cinnamon 5.8.4 Distro: Linux Mint 21.2 Victoria
    base: Ubuntu 22.04 jammy

Graphics:
  Device-1: Intel TigerLake-H GT1 [UHD Graphics] vendor: Lenovo driver: i915
    v: kernel bus-ID: 00:02.0
  Device-2: NVIDIA GA106M [GeForce RTX 3060 Mobile / Max-Q] vendor: Lenovo
    driver: nouveau v: kernel bus-ID: 01:00.0
  Device-3: IMC Networks Integrated Camera type: USB driver: uvcvideo
    bus-ID: 3-6:3
  Display: x11 server: X.Org v: 1.21.1.4 driver: X: loaded: modesetting
    unloaded: fbdev,vesa gpu: i915 resolution: 2560x1600~165Hz
  OpenGL: renderer: Mesa Intel UHD Graphics (TGL GT1)
    v: 4.6 Mesa 23.0.4-0ubuntu1~22.04.1 direct render: Yes

    No you did not have to switch the settings.

    It seems you prefer to ignore what I am saying so I will stop spending time on this.

when installing 535 and the black screen, I thought the system had crashed... I never had a black screen effect when installing nvidi drivers! .... then I had to log in to the system somehow, so I had to remove the 353 drivers! ???
powm I restored 470.
I can repeat the procedure and wait with a black screen for at least 10 minutes :-)
I'm in a similar situation, I'm reinstalling 535, but now there's a newer kernel
Now there was no black screen after installing prime-select query
..info says:

Code: Select all

prime-select query
on-demand

Last edited by kris777 on Sat Sep 30, 2023 4:03 pm, edited 1 time in total.
Top

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

Re: Nvidia RTX 3060 install ?

Post by SMG » Sat Sep 30, 2023 4:02 pm

    kris777 wrote: ⤴Sat Sep 30, 2023 3:44 pm

    Code: Select all

    dpkg -l | grep -i nvidia
    ii  libnvidia-compute-470:i386                 470.199.02-0ubuntu0.22.04.1                i386         NVIDIA libcompute package
    ii  libnvidia-decode-470:i386                  470.199.02-0ubuntu0.22.04.1                i386         NVIDIA Video Decoding runtime libraries
    ii  libnvidia-encode-470:i386                  470.199.02-0ubuntu0.22.04.1                i386         NVENC Video Encoding runtime library
    ii  libnvidia-fbc1-470:i386                    470.199.02-0ubuntu0.22.04.1                i386         NVIDIA OpenGL-based Framebuffer Capture runtime library
    ii  nvidia-prime-applet                        1.3.7                                      all          An applet for NVIDIA Prime
    ii  screen-resolution-extra                    0.18.2                                     all          Extension for the nvidia-settings control panel

See if running

Code: Select all

sudo apt-get purge libnvidia*

removes those remaining Nvidia-470 driver files. If not, we will continue leaving them there.

I don't know if leaving the system in nvidia mode will cause a problem, but that mode can be switched when in recovery mode.

There is more than one type of recovery mode. There is what I call the blue-screen recovery mode (because the background is blue) and there is recovery mode that you can select from the grub menu>Advanced Options. They are two different modes and I don't know which one you are using.

Install the Nvidia-535 driver from Driver Manager. If you get the black screen, wait at least 5 minutes before powering off the computer to shut it down

If you end up in the blue screen recovery mode when you restart, you will want to use the dpkg (repair broken packages) option. Then shutdown the computer and then restart the computer. (Do not reboot; do a shutdown then a restart.)

If you need to use the grub menu>Advanced Options recovery mode, then go to Synaptic Package Manager and check for broken packages.

If you have questions about anything I have posted, please let me know.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
Top

kris777	
    Level 1
    Level 1	
    Posts: 18	
    Joined: Sat Feb 10, 2018 7:16 am	

Re: Nvidia RTX 3060 install ?

Post by kris777 » Sat Sep 30, 2023 4:28 pm
I wrote earlier in the post that I was installing the 535 driver again because I had similar settings
but this time there was no black screen, maybe the new kernel helped? ...I did everything as in the post earlier

Code: Select all

sudo apt-get install nvidia-prime-applet
apt install nvidia-driver-535
prime-select query
on-demand

after reboot, the system started correctly, except in the settings: nvidia setting
I have 535 drivers on: on-demand, I don't know if I should change it?
on nvidia performance-mode? Is that necessary ?
Image Image
Top

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

Re: Nvidia RTX 3060 install ?

Post by SMG » Sat Sep 30, 2023 4:33 pm

    kris777 wrote: ⤴Sat Sep 30, 2023 4:28 pm
    I wrote earlier in the post that I was installing the 535 driver again because I had similar settings
    but this time there was no black screen, maybe the new kernel helped? ...I did everything as in the post earlier

Some people if they removed the Nvidia packages and then used Driver Manager to install were not having a black screen. I have not been able to determine why it sometimes happens and sometimes not.

    kris777 wrote: ⤴Sat Sep 30, 2023 4:28 pm
    after reboot, the system started correctly, except in the settings: nvidia setting
    I have 535 drivers on: on-demand, I don't know if I should change it?
    on nvidia performance-mode? Is that necessary ? 

I'm not understanding your question. Please post the output of inxi -Gx because on-demand mode can mean different things on different computers with regards to which GPU is primary. It really depends on how the laptop was physically wired/designed. They are not all made the same.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
Top

kris777	
    Level 1
    Level 1	
    Posts: 18	
    Joined: Sat Feb 10, 2018 7:16 am	

Re: Nvidia RTX 3060 install ?

Post by kris777 » Sat Sep 30, 2023 4:37 pm

Code: Select all

inxi -Gx
Graphics:
  Device-1: Intel TigerLake-H GT1 [UHD Graphics] vendor: Lenovo driver: i915
    v: kernel bus-ID: 00:02.0
  Device-2: NVIDIA GA106M [GeForce RTX 3060 Mobile / Max-Q] vendor: Lenovo
    driver: nvidia v: 535.113.01 bus-ID: 01:00.0
  Device-3: IMC Networks Integrated Camera type: USB driver: uvcvideo
    bus-ID: 3-6:3
  Display: x11 server: X.Org v: 1.21.1.4 driver: X:
    loaded: modesetting,nvidia unloaded: fbdev,nouveau,vesa gpu: i915
    resolution: 2560x1600~165Hz
  OpenGL: renderer: Mesa Intel UHD Graphics (TGL GT1)
    v: 4.6 Mesa 23.0.4-0ubuntu1~22.04.1 direct render: Yes

Code: Select all

nvidia-smi
Sat Sep 30 22:38:55 2023       
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 535.113.01             Driver Version: 535.113.01   CUDA Version: 12.2     |
|-----------------------------------------+----------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |         Memory-Usage | GPU-Util  Compute M. |
|                                         |                      |               MIG M. |
|=========================================+======================+======================|
|   0  NVIDIA GeForce RTX 3060 ...    Off | 00000000:01:00.0 Off |                  N/A |
| N/A   34C    P3              N/A /  55W |      9MiB /  6144MiB |      0%      Default |
|                                         |                      |                  N/A |
+-----------------------------------------+----------------------+----------------------+
                                                                                         
+---------------------------------------------------------------------------------------+
| Processes:                                                                            |
|  GPU   GI   CI        PID   Type   Process name                            GPU Memory |
|        ID   ID                                                             Usage      |
|=======================================================================================|
|    0   N/A  N/A      1038      G   /usr/lib/xorg/Xorg                            4MiB |
+---------------------------------------------------------------------------------------+

Well, I think everything is OK... thank you very much for your help.
I'm 80% sure that the new kernel was helpful, but I won't check it... at least for now.
Regards

https://linux-hardware.org/?probe=61a08e5e89
Last edited by kris777 on Sun Oct 01, 2023 6:32 am, edited 1 time in total.
Top

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

Re: Nvidia RTX 3060 install ?

Post by SMG » Sat Sep 30, 2023 4:50 pm

    kris777 wrote: ⤴Sat Sep 30, 2023 4:37 pm
    Graphics:
    Device-1: Intel TigerLake-H GT1 [UHD Graphics] vendor: Lenovo driver: i915
    v: kernel bus-ID: 00:02.0
    Device-2: NVIDIA GA106M [GeForce RTX 3060 Mobile / Max-Q] vendor: Lenovo
    driver: nvidia v: 535.113.01 bus-ID: 01:00.0
    Device-3: IMC Networks Integrated Camera type: USB driver: uvcvideo
    bus-ID: 3-6:3
    Display: x11 server: X.Org v: 1.21.1.4 driver: X:
    loaded: modesetting,nvidia unloaded: fbdev,nouveau,vesa gpu: i915
    resolution: 2560x1600~165Hz
    OpenGL: renderer: Mesa Intel UHD Graphics (TGL GT1)
    v: 4.6 Mesa 23.0.4-0ubuntu1~22.04.1 direct render: Yes

On-demand mode means the drivers and renderers for both GPUs are loaded and available. Intel is the primary one used unless you tell the program to use Nvidia (there are several ways to do that). Intel runs cooler and needs less power (so your battery life will last longer).

If you switch to nvidia performance mode, only Nvidia will be used. The battery life will be shorter and the laptop will run hotter. If you need the performance of Nvidia, it is okay to switch modes.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
Top

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

Re: Nvidia RTX 3060 install ?

Post by SMG » Sat Sep 30, 2023 4:52 pm

    kris777 wrote: ⤴Sat Sep 30, 2023 4:37 pm
    Well, I think everything is OK... thank you very much for your help.
    I'm 80% sure that the new kernel was helpful, but I won't check it... at least for now.
    Regards 

You're welcome. A lot of the newer Lenovos have been running better with the 6.5-oem kernel. Yours is a few generations older so I would not expect that to have been the issue, but that is a supported kernel so it is okay to run it.

If your issue is resolved, please go to your first post in this topic, click the pencil icon, and add [SOLVED] to the beginning of the title so others know you are no longer seeking help on this issue.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
Top

kris777	
    Level 1
    Level 1	
    Posts: 18	
    Joined: Sat Feb 10, 2018 7:16 am	

RTX 3060 install ?

Post by kris777 » Wed Oct 04, 2023 11:39 am
Unfortunately, after updating to the new kernel, the situation repeated itself: oem kernel: v6.5.0.1004

What's more, it seems to be the fault of the Lenovo laptop. Why do I think so... these are just guesses, but I was forced to reinstall the system from a previously made backup with CloneZilla and a partition image file with a properly working Mint system and 535 drivers + OEM kernel, and the restored system also had a similar problem with freezing and freezing at startup (black screen) and I made a backup to see how well it worked :-)
But I diagnosed that after a long wait, sometimes 5 minutes, the system finally loaded and worked correctly... but it is quite troublesome because it takes a long time, especially on different kernels, but the linux-oem-22.04d kernel version works the best, i.e. it has the fewest stops during booting with the 535 nvidia driver ... (there are no problems with the 470 driver at all).
But I found something, i.e. ... if in the Lenovo BIOS I change the graphics card startup option from:
Dynamic graphics on Discrete graphics ... the Linux Mint system starts correctly every time (regardless of the kernel version and nvidia driver version) , but with Nvidia drivers ... so then I probably turn off the Intel graphics card in Bios. I don't know where to look for the problem? Lenovo BIOS / Intel graphics card settings in the system / Nvidia drivers / kernel? :D :D :D
It turns out that there are problems with the proper functioning of Nvidia drivers together with integrated Intel drivers in Linux Mint / Ubuntu or the Lenovo laptop itself.
Top

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

Re: RTX 3060 install ?

Post by SMG » Wed Oct 04, 2023 8:06 pm

    kris777 wrote: ⤴Wed Oct 04, 2023 11:39 am
    Unfortunately, after updating to the new kernel, the situation repeated itself: oem kernel: v6.5.0.1004 

Did you go back and boot with the prior version to make sure it was a kernel issue? That is usually how one would check to see if it was a kernel-related issue.

    kris777 wrote: ⤴Wed Oct 04, 2023 11:39 am
    But I found something, i.e. ... if in the Lenovo BIOS I change the graphics card startup option from:
    Dynamic graphics on Discrete graphics ... the Linux Mint system starts correctly every time (regardless of the kernel version and nvidia driver version) , but with Nvidia drivers ... so then I probably turn off the Intel graphics card in Bios. I don't know where to look for the problem? Lenovo BIOS / Intel graphics card settings in the system / Nvidia drivers / kernel? :D :D :D
    It turns out that there are problems with the proper functioning of Nvidia drivers together with integrated Intel drivers in Linux Mint / Ubuntu or the Lenovo laptop itself. 

It seems to be happening with a lot of people with Lenovos. I don't recall such issues in the past so I don't have any guesses of what might have changed. :?

What is the output of inxi -Gxxx when you are running using the Discrete setting in BIOS/UEFI?
Image
A woman typing on a laptop with LM20.3 Cinnamon.
Top
23 posts

    1 

Return to “Graphics Cards & Monitors”

    Board index	
    All times are UTC-04:00
    Delete cookies
    Contact us

Powered by phpBB® Forum Software © phpBB Limited

Privacy | Terms