#NVIDIA is using iGPU instead of dedicated GPU on my laptop
23 messages · Page 1 of 1 (latest)
Please post the output of
mokutil --sb-state ; inxi -SGxxx
from the terminal
SecureBoot enabled
System:
Host: user Kernel: 6.14.0-32-generic arch: x86_64 bits: 64 compiler: gcc
v: 13.3.0 clocksource: tsc
Desktop: Cinnamon v: 6.4.8 tk: GTK v: 3.24.41 wm: Muffin v: 6.4.1 vt: 7
dm: LightDM v: 1.30.0 Distro: Linux Mint 22.2 Zara base: Ubuntu 24.04 noble
Graphics:
Device-1: Intel Alder Lake-S [UHD Graphics] vendor: Lenovo driver: i915
v: kernel arch: Gen-12.2 ports: active: eDP-1 empty: DP-1, DP-2, HDMI-A-1,
HDMI-A-2, HDMI-A-3, HDMI-A-4 bus-ID: 00:02.0 chip-ID: 8086:468b
class-ID: 0300
Device-2: NVIDIA GN20-P0-R-K2 [GeForce RTX 3050 6GB Laptop GPU]
vendor: Lenovo driver: N/A arch: Ampere pcie: speed: 16 GT/s lanes: 8
bus-ID: 01:00.0 chip-ID: 10de:25ec class-ID: 0300
Device-3: IMC Networks Integrated Camera driver: uvcvideo type: USB
rev: 2.0 speed: 480 Mb/s lanes: 1 bus-ID: 1-6:3 chip-ID: 13d3:54b6
class-ID: 0e02 serial: SN0001
Display: x11 server: X.Org v: 21.1.11 with: Xwayland v: 23.2.6 driver: X:
loaded: modesetting unloaded: fbdev,vesa dri: iris gpu: i915 display-ID: :0
screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 98 s-size: 499x280mm (19.65x11.02")
s-diag: 572mm (22.53")
Monitor-1: eDP-1 model: BOE Display 0x0c29 serial: 103 res: 1920x1080
hz: 144 dpi: 142 size: 344x194mm (13.54x7.64") diag: 395mm (15.5")
modes: 1920x1080
API: EGL v: 1.5 hw: drv: intel iris platforms: device: 0 drv: iris
device: 1 drv: swrast gbm: drv: iris surfaceless: drv: iris x11: drv: iris
inactive: wayland
API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa
v: 25.0.7-0ubuntu0.24.04.2 glx-v: 1.4 direct-render: yes renderer: Mesa
Intel UHD Graphics (ADL-S GT0.5) device-ID: 8086:468b
Disable secureboot and try the command again
its not possible to keep it enabled?
For what reason?
security
Unless you need it for windows 11 or anti-cheat systems on some games (on windows), on linux it mostly just gets in the way
i have it on as it protects against rootkits in the boot level, so i guess the nvidia drivers cant load because they are not signed?
They are, you just need to add the key as trusted. So if you insist on keeping secureboot on, you can type this in the terminal.
mokutil -i /var/lib/shim-signed/mok/MOK.der
you'll be asked to create a temporary password, I suggest simple one like 123456789
Then you restart and on the blue MOK screen you enroll the key using the created password
mokutil -i /var/lib/shim-signed/mok/MOK.der
Failed to accesss kernel trusted keyring: Required key not available
input password:
input password again:
Failed to enroll new keys
do i need to run it with sudo
Ah, yes missed that
done, what now?
Restart and enroll the key on the blue screen
everything seems to work now
Great then, can you post
inxi -Gxxx
again?
Graphics:
Device-1: Intel Alder Lake-S [UHD Graphics] vendor: Lenovo driver: i915
v: kernel arch: Gen-12.2 ports: active: eDP-1 empty: DP-1, DP-2, HDMI-A-1,
HDMI-A-2, HDMI-A-3, HDMI-A-4 bus-ID: 00:02.0 chip-ID: 8086:468b
class-ID: 0300
Device-2: NVIDIA GN20-P0-R-K2 [GeForce RTX 3050 6GB Laptop GPU]
vendor: Lenovo driver: nvidia v: 580.65.06 arch: Ampere pcie: speed: 16 GT/s
lanes: 8 ports: active: none empty: DP-3,HDMI-A-5,eDP-2 bus-ID: 01:00.0
chip-ID: 10de:25ec class-ID: 0300
Device-3: IMC Networks Integrated Camera driver: uvcvideo type: USB
rev: 2.0 speed: 480 Mb/s lanes: 1 bus-ID: 1-6:3 chip-ID: 13d3:54b6
class-ID: 0e02 serial: SN0001
Display: x11 server: X.Org v: 21.1.11 with: Xwayland v: 23.2.6 driver: X:
loaded: modesetting,nvidia unloaded: fbdev,nouveau,vesa dri: iris gpu: i915
display-ID: :0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 98 s-size: 499x280mm (19.65x11.02")
s-diag: 572mm (22.53")
Monitor-1: eDP-1 model: BOE Display 0x0c29 serial: 103 res: 1920x1080
hz: 144 dpi: 142 size: 344x194mm (13.54x7.64") diag: 395mm (15.5")
modes: 1920x1080
API: EGL v: 1.5 hw: drv: intel iris drv: nvidia nouveau drv: nvidia
platforms: device: 0 drv: nvidia device: 1 drv: nouveau device: 2 drv: iris
device: 3 drv: swrast gbm: drv: nvidia surfaceless: drv: nvidia x11:
drv: iris inactive: wayland
API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: intel mesa
v: 25.0.7-0ubuntu0.24.04.2 glx-v: 1.4 direct-render: yes renderer: Mesa
Intel UHD Graphics (ADL-S GT0.5) device-ID: 8086:468b
Opengl is still going to intel igpu. Go to nvidia settings - prime profile and set it to performance
i have it on on-demand mode, because i would like to use the intel igpu for browsing
Oh, ok. Then it is set-up correctly