fireforger
(Omar Eldahan)
August 16, 2024, 5:30pm
1
Hi everyone! I just got a new laptop, but the Nvidia dedicated GPU doesn’t seem to be working. I installed all of the proprietary drivers but it doesn’t seem to use or recognize it or utilize it in any way. When I do fastfetch, this is the output:
user@fedora:~$ fastfetch
.',;::::;,'. user@fedora
.';:cccccccccccc:;,. ---------------
.;cccccccccccccccccccccc;. OS: Fedora Linux 40 (KDE Plasma) x86_64
.:cccccccccccccccccccccccccc:. Host: 82YA (Legion Slim 5 16IRH8)
.;ccccccccccccc;.:dddl:.;ccccccc;. Kernel: Linux 6.10.4-200.fc40.x86_64
.:ccccccccccccc;OWMKOOXMWd;ccccccc:. Uptime: 7 mins
.:ccccccccccccc;KMMc;cc;xMMc;ccccccc:. Packages: 2901 (rpm), 18 (flatpak)
,cccccccccccccc;MMM.;cc;;WW:;cccccccc, Shell: bash 5.2.26
:cccccccccccccc;MMM.;cccccccccccccccc: Display (CSO161D): 2560x1600 @ 60 Hz (as 1462x914) in 16″ [Built-in]
:ccccccc;oxOOOo;MMM000k.;cccccccccccc: DE: KDE Plasma 6.1.4
cccccc;0MMKxdd:;MMMkddc.;cccccccccccc; WM: KWin (Wayland)
ccccc;XMO';cccc;MMM.;cccccccccccccccc' WM Theme: Breeze
ccccc;MMo;ccccc;MMW.;ccccccccccccccc; Theme: Breeze (Dark) [Qt], Breeze [GTK3]
ccccc;0MNc.ccc.xMMd;ccccccccccccccc; Icons: breeze-dark [Qt], breeze-dark [GTK3/4]
cccccc;dNMWXXXWM0:;cccccccccccccc:, Font: Noto Sans (10pt) [Qt], Noto Sans (10pt) [GTK3/4]
cccccccc;.:odl:.;cccccccccccccc:,. Cursor: breeze (24px)
ccccccccccccccccccccccccccccc:'. Terminal: cosmic-term
:ccccccccccccccccccccccc:;,.. CPU: 13th Gen Intel(R) Core(TM) i7-13700H (20) @ 5.00 GHz
':cccccccccccccccc::;,. GPU 1: Intel Iris Xe Graphics @ 1.50 GHz [Integrated]
GPU 2: NVIDIA GeForce RTX 4050 Max-Q / Mobile [Discrete]
Memory: 5.79 GiB / 31.06 GiB (19%)
Swap: 0 B / 8.00 GiB (0%)
Disk (/): 70.77 GiB / 475.34 GiB (15%) - btrfs
Local IP (wlp0s20f3): 192.168.68.121/24
Battery: 49% [Charging]
Locale: en_US.UTF-8
I tried finding some solutions here and tried a bunch of stuff. Here is some more info in case it is helpful in finding out what’s wrong or how to fix it:
user@fedora:~$ dnf list installed \*nvidia\*
Installed Packages
akmod-nvidia.x86_64 3:555.58.02-1.fc40 @System
kmod-nvidia-6.10.4-200.fc40.x86_64.x86_64 3:555.58.02-1.fc40 @@commandline
nvidia-gpu-firmware.noarch 20240709-1.fc40 @updates
nvidia-modprobe.x86_64 3:555.58.02-1.fc40 @System
nvidia-persistenced.x86_64 3:555.58.02-1.fc40 @System
nvidia-settings.x86_64 3:555.58.02-1.fc40 @System
xorg-x11-drv-nvidia.x86_64 3:555.58.02-1.fc40 @System
xorg-x11-drv-nvidia-cuda.x86_64 3:555.58.02-1.fc40 @System
xorg-x11-drv-nvidia-cuda-libs.x86_64 3:555.58.02-1.fc40 @System
xorg-x11-drv-nvidia-kmodsrc.x86_64 3:555.58.02-1.fc40 @System
xorg-x11-drv-nvidia-libs.x86_64 3:555.58.02-1.fc40 @System
xorg-x11-drv-nvidia-power.x86_64 3:555.58.02-1.fc40 @System
and
user@fedora:~$ sudo inxi -G |grep nvidia
[sudo] password for user:
Device-2: NVIDIA AD107M [GeForce RTX 4050 Max-Q / Mobile] driver: nvidia
API: EGL v: 1.5 drivers: iris,nvidia,swrast
Could someone please help with this? It would be highly appreciated.
It would be appreciated if you would post the full output of inxi -Fzxx
so we can get the big picture.
Also the linux harware db may have info about your laptop
fireforger
(Omar Eldahan)
August 17, 2024, 8:07am
3
Hi, Jeff.
Here is the full output:
System:
Kernel: 6.10.4-200.fc40.x86_64 arch: x86_64 bits: 64 compiler: gcc
v: 2.41-37.fc40
Desktop: KDE Plasma v: 6.1.4 tk: Qt v: N/A wm: kwin_wayland dm: SDDM
Distro: Fedora Linux 40 (KDE Plasma)
Machine:
Type: Laptop System: LENOVO product: 82YA v: Legion Slim 5 16IRH8
serial: <superuser required> Chassis: type: 10 v: Legion Slim 5 16IRH8
serial: <superuser required>
Mobo: LENOVO model: LNVNB161216 v: No DPK serial: <superuser required>
part-nu: LENOVO_MT_82YA_BU_idea_FM_Legion Slim 5 16IRH8 UEFI: LENOVO
v: M2CN25WW date: 05/16/2023
Battery:
ID-1: BAT1 charge: 63.6 Wh (79.5%) condition: 80.0/80.0 Wh (100.0%)
volts: 16.9 min: 15.4 model: BYD L22B4PC2 serial: <filter>
status: not charging
CPU:
Info: 14-core (6-mt/8-st) model: 13th Gen Intel Core i7-13700H bits: 64
type: MST AMCP arch: Raptor Lake rev: 2 cache: L1: 1.2 MiB L2: 11.5 MiB
L3: 24 MiB
Speed (MHz): avg: 500 high: 1012 min/max: 400/4800:5000:3700 cores:
1: 1012 2: 400 3: 400 4: 400 5: 400 6: 692 7: 400 8: 400 9: 400 10: 400
11: 400 12: 400 13: 400 14: 894 15: 400 16: 400 17: 400 18: 1012 19: 400
20: 400 bogomips: 116736
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
Device-1: Intel Raptor Lake-P [Iris Xe Graphics] vendor: Lenovo driver: i915
v: kernel arch: Gen-13 ports: active: eDP-1 empty: DP-1, DP-2, DP-3, DP-4
bus-ID: 00:02.0 chip-ID: 8086:a7a0
Device-2: NVIDIA AD107M [GeForce RTX 4050 Max-Q / Mobile] vendor: Lenovo
driver: nvidia v: 555.58.02 arch: Lovelace pcie: speed: 16 GT/s lanes: 8
ports: active: none empty: DP-5,HDMI-A-1,eDP-2 bus-ID: 01:00.0
chip-ID: 10de:28e1
Device-3: Chicony Integrated Camera driver: uvcvideo type: USB rev: 2.0
speed: 480 Mb/s lanes: 1 bus-ID: 3-7:4 chip-ID: 04f2:b7b6
Display: wayland server: X.org v: 1.20.14 with: Xwayland v: 24.1.2
compositor: kwin_wayland driver: N/A display-ID: 0
Monitor-1: eDP-1 res: 1463x914 size: N/A
API: EGL v: 1.5 platforms: device: 0 drv: nvidia device: 1 drv: iris
device: 3 drv: swrast gbm: drv: iris surfaceless: drv: nvidia wayland:
drv: iris x11: drv: iris inactive: device-2
API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: intel mesa v: 24.1.5 glx-v: 1.4
direct-render: yes renderer: Mesa Intel Graphics (RPL-P)
device-ID: 8086:a7a0 display-ID: :0.0
API: Vulkan v: 1.3.283 surfaces: xcb,xlib,wayland device: 0
type: integrated-gpu driver: N/A device-ID: 8086:a7a0 device: 1
type: discrete-gpu driver: N/A device-ID: 10de:28e1 device: 2 type: cpu
driver: N/A device-ID: 10005:0000
Audio:
Device-1: Intel Raptor Lake-P/U/H cAVS vendor: Lenovo driver: snd_hda_intel
v: kernel bus-ID: 00:1f.3 chip-ID: 8086:51ca
Device-2: NVIDIA vendor: Lenovo driver: snd_hda_intel v: kernel pcie:
speed: 16 GT/s lanes: 8 bus-ID: 01:00.1 chip-ID: 10de:22be
Device-3: Apple EarPods driver: hid-generic,snd-usb-audio,usbhid type: USB
rev: 2.0 speed: 12 Mb/s lanes: 1 bus-ID: 3-6:3 chip-ID: 05ac:110b
API: ALSA v: k6.10.4-200.fc40.x86_64 status: kernel-api
Server-1: PipeWire v: 1.0.7 status: active with: 1: pipewire-pulse
status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
4: pw-jack type: plugin
Network:
Device-1: Intel Raptor Lake PCH CNVi WiFi driver: iwlwifi v: kernel
bus-ID: 00:14.3 chip-ID: 8086:51f1
IF: wlp0s20f3 state: up mac: <filter>
Device-2: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
vendor: Lenovo driver: r8169 v: kernel pcie: speed: 2.5 GT/s lanes: 1
port: 3000 bus-ID: 08:00.0 chip-ID: 10ec:8168
IF: enp8s0 state: down mac: <filter>
Bluetooth:
Device-1: Intel AX211 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0
speed: 12 Mb/s lanes: 1 bus-ID: 3-10:6 chip-ID: 8087:0033
Report: btmgmt ID: hci0 rfk-id: 2 state: up address: <filter> bt-v: 5.3
lmp-v: 12
Drives:
Local Storage: total: 1.38 TiB used: 71.5 GiB (5.1%)
ID-1: /dev/nvme0n1 vendor: SK Hynix model: HFS512GEJ9X115N
size: 476.94 GiB speed: 63.2 Gb/s lanes: 4 serial: <filter> temp: 40.9 C
ID-2: /dev/nvme1n1 vendor: Kingston model: SNVS1000G size: 931.51 GiB
speed: 31.6 Gb/s lanes: 4 serial: <filter> temp: 30.9 C
Partition:
ID-1: / size: 475.34 GiB used: 71.01 GiB (14.9%) fs: btrfs dev: /dev/dm-0
mapped: luks-6f4c951c-dc95-41c3-84b7-454289e6d7e4
ID-2: /boot size: 973.4 MiB used: 475.3 MiB (48.8%) fs: ext4
dev: /dev/nvme0n1p2
ID-3: /boot/efi size: 598.8 MiB used: 27 MiB (4.5%) fs: vfat
dev: /dev/nvme0n1p1
ID-4: /home size: 475.34 GiB used: 71.01 GiB (14.9%) fs: btrfs
dev: /dev/dm-0 mapped: luks-6f4c951c-dc95-41c3-84b7-454289e6d7e4
Swap:
ID-1: swap-1 type: zram size: 8 GiB used: 0 KiB (0.0%) priority: 100
dev: /dev/zram0
Sensors:
Src: /sys System Temperatures: cpu: 44.0 C mobo: N/A
Fan Speeds (rpm): N/A
Power: 12v: N/A 5v: 5 3.3v: N/A vbat: N/A
Info:
Memory: total: 32 GiB note: est. available: 31.06 GiB
used: 10.56 GiB (34.0%)
Processes: 481 Power: uptime: 14h 54m wakeups: 2 Init: systemd v: 255
target: graphical (5) default: graphical
Packages: pm: flatpak pkgs: 46 Compilers: clang: 18.1.6 gcc: 14.2.1
Shell: Bash v: 5.2.26 running-in: cosmic-term inxi: 3.3.34
Thanks!
Omar Eldahan:
Device-2: NVIDIA AD107M [GeForce RTX 4050 Max-Q / Mobile] vendor: Lenovo
driver: nvidia v: 555.58.02 arch: Lovelace pcie: speed: 16 GT/s lanes: 8
ports: active: none empty: DP-5,HDMI-A-1,eDP-2 bus-ID: 01:00.0
chip-ID: 10de:28e1
It appears the nvidia driver is loaded.
Please explain in detail what is not happening and how you determined the dGPU is not functioning.