Hybrid Nvidia laptop won't boot when I switch to Nvidia GPU

You shouldn’t need the kernel parameter ibt=off But if you wanted to try it you could add it to /etc/kernel/cmdline and then run sudo reinstall-kernels If it doesn’t have any effect showing the nvidia is loaded with inxi -Ga then you would just remove it and run the command again.

The information is here under how to modify kernel options.

https://discovery.endeavouros.com/installation/systemd-boot/2022/12/

Other than this you could try adding the BusID in a custom xorg file or added to /etc/X11/xorg.conf.d/20-nvidia.conf

  Device-2: NVIDIA GA107M [GeForce RTX 3050 Mobile] vendor: Hewlett-Packard
    driver: N/A alternate: nouveau non-free: 530.xx+
    status: current (as of 2023-05) arch: Ampere code: GAxxx
    process: TSMC n7 (7nm) built: 2020-22 bus-ID: 0000:01:00.0
    chip-ID: 10de:25a2 class-ID: 0300

Also have you checked the UEFI bios for any settings to set the graphics to integrated, dedicated or hybrid.

Other than this have you tried prime?

Adding ibt=off didn’t work, adding BusID to 20-nvidia.conf neither.
We didn’t find any settings in UEFi bios related to our problem.
By prime, do you mean the prime-run command?
I read some pages about prime and it looks very complicated to me. Can you please point me to where should I start? Thank you.

Have you tried envy control?

Edit: I would uninstall optimus-manager and try with envycontrol.

I will try it again, but it seems like the problem is that driver is not loaded as @mrvictory said.

If this doesn’t work i have a suggestion. Maybe i would remove everything. If you have envycontrol installed or optimus manager remove them. Then convert the system to nouveau open source drivers by running nvidia-inst -n

reboot and check inxi -Ga

Then try installing nvidia the manual way.

sudo pacman -S nvidia nvidia-utils lib32-nvidia-libgl nvidia-settings

Then check inxi -Ga again

If nvidia gets loaded properly you shouldn’t have any issue with using optimus-manager since it showed everything in the log correct except not finding nvidia as loaded.

I’m sorry this is such a pain to go through all this but i only have some ideas based on previous experiences. I did get this working on another HP victus before and i kind of went through the same process reverting to nouveau etc as i posted earlier. It was a 12th gen Intel though and required ibt=off as well.

is there an option in BIOS you can choose propietary or intergrated intel ?

Same laptop but with ryzen 5600h and 3050ti.
Most of the software and vulkan-based games/emulator are by default able to select dGPU, for most of the steam games I just prefer to run it as a whole with prime-run argument, so it’s child processes will also use dGPU.
For external monitores, instead of the HDMI I’m using type-c to HDMI cable, so I don’t need to switch to the dGPU mode with EnvyControl or OptimusManager.

1 Like

What happens if you try to load the driver yourself?

sudo modprobe nvidia
nvidia-smi

Also is secure boot enabled?

bootctl status

Tank you. We did that and now it works. Optimus Manager broke again, but repeating it without Optimus Manager fixed it and i can use prime-run. Tysm, @stepanzak and @frankieee

So reverting to nouveau open source drivers and installing the Nvidia proprietary drivers manually made them load properly. Then optimus-manager didn’t work so you switched to prime? I think this is exactly the same process i went through on the other hp victus i helped get working.

1 Like

Exactly

1 Like

If you like you could mark the post that solved your issue.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.