NVIDIA Laptop

☁  ~  nvidia-inst -n 
2024-03-02 21:38:45: Info: Running: nvidia-inst v23.1-1
2024-03-02 21:38:45: Info: Command line: nvidia-inst -n
2024-03-02 21:38:45: Info: Selected mode: nouveau
nvidia-inst: no Nvidia card found.

What desktop are you using? Did you ever install any program for switching gpu?

I use KDE Plasma, i have already tried to use this: https://discovery.endeavouros.com/hardware/envy-control/2023/03/
but it’s dosen’t work

Have you tried optimus-manager?

Not in my memory, it seems complicated to use :x

Not really just install.

yay -S optimus-manager-qt

Reboot

Check status

systemctl status optimus-manager

Enable the service

sudo systemctl enable --now optimus-manager

Now switch to Nvidia GPU, right-click on the Tray and select “Switch to Nvidia“

Or use the commands.

Run from terminal:

optimus-manager --switch nvidia
to switch to the Nvidia GPU
optimus-manager --switch integrated
to switch to the integrated GPU and power the Nvidia GPU off
optimus-manager --switch hybrid
to switch to the iGPU but leave the Nvidia GPU available for on-demand offloading, similar to how Optimus works on Windows.

https://discovery.endeavouros.com/hardware/optimus-manager-for-nvidia/2021/03/

Edit: Not sure it will work but, I have gone through this with a couple of other users with HP Victus and they did get them working. It was a pain though.

@SKOUPS
I asked another user who has the HP Victus again and i was told it is working to switch with envy-control. But also he said you can use usb-c to HDMI/DP without the need to switch. Also using prime-run for blender or steam games. Here is the post.

In console:

sudo pacman -S nvidia-prime nvtop

Reboot, just in case.
Run nvtop in a separate console to look at GPU load.

nvtop

Try to run any gpu-intenssive app with it, like -

In console:

prime-run steam

Then run any game from the steam in a windowed mode to look at the nvtop info.
Or just switch to desktop from full screen on left-alt + TAB shortcut.

1 Like

Thanks for this. I’m not that familiar with nvidia-prime.

1 Like

I have installed Optimus manager now the pc is just stuck on boot


so i have unistalled and now he boot normally

When i use the command
nvidia-settings or prime-run nvidia-settings i have this issue
(process:32116): Gtk-WARNING **: 16:17:25.984: Locale not supported by C library.
Using the fallback ‘C’ locale.

ERROR: NVIDIA driver is not loaded

When i try to start minecraft for exemple with prime-run the game crash directly on load
And on crash report he dosen’t find any RTX card

16:15:54,471 [CrashManager] ---
16:15:54,471 [CrashManager] GPU#0:
16:15:54,471 [CrashManager] GraphicsCard@5bbd5f6 [name=TigerLake-H GT1 [UHD Graphics], deviceId=0x9a68, vendor=Intel Corporation (0x8086), vRam=268435456, versionInfo=[unknown]]
16:15:54,471 [CrashManager] ---
16:15:54,471 [CrashManager] Done in 361 ms
sudo lshw -C display
  *-display                 
       description: VGA compatible controller
       product: TigerLake-H GT1 [UHD Graphics]
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       logical name: /dev/fb0
       version: 01
       width: 64 bits
       clock: 33MHz
       capabilities: pciexpress msi pm vga_controller bus_master cap_list rom fb
       configuration: depth=32 driver=i915 latency=0 mode=1920x1080 resolution=1920,1080 visual=truecolor xres=1920 yres=1080
       resources: iomemory:620-61f iomemory:400-3ff irq:177 memory:6204000000-6204ffffff memory:4000000000-400fffffff ioport:5000(size=64) memory:c0000-dffff memory:4010000000-4016ffffff memory:4020000000-40ffffffff
☁  ~  xrandr --listproviders
Providers: number : 1
Provider 0: id: 0x46 cap: 0xb, Source Output, Sink Output, Sink Offload crtcs: 5 outputs: 3 associated providers: 0 name:Intel
☁  ~  uname -a              
Linux Jimmy 6.6.18.23.realtime1-1-rt-lts #1 SMP PREEMPT_RT Wed, 28 Feb 2024 10:50:04 +0000 x86_64 GNU/Linux
☁  ~  nvidia-smi            
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
☁  /  nvidia-inst 
2024-03-03 16:29:03: Info: Running: nvidia-inst v23.1-1
2024-03-03 16:29:03: Info: Command line: nvidia-inst 
2024-03-03 16:29:03: Info: Selected mode: nvidia
nvidia-inst: no Nvidia card found.
☁  /  prime-run nvidia-inst
2024-03-03 16:29:11: Info: Running: nvidia-inst v23.1-1
2024-03-03 16:29:11: Info: Command line: nvidia-inst 
2024-03-03 16:29:11: Info: Selected mode: nvidia
nvidia-inst: no Nvidia card found.
☁  ~  ls /etc/X11/xorg.conf.d/                            
00-keyboard.conf


I have nothing in this panel

All of this acrobatics will not help you, until your system detects the NVIDIA hardware. Currently it is not the case (no matter if using free or non-free driver)
Inxi output shows its not detected at all.
Can you provide your journal from the last boot

sudo journalctl -b  --no-hostname | eos-sendlog

https://0x0.st/H7qX.txt

I don’t understand these HP Victus laptops. As far as i can tell they are designed around Windows to work with switching gpu? I have helped a couple other users and they finally got them working but not sure how and why. Does the nvidia gpu show in Windows and are you able to switch in Windows?

@SKOUPS
Are you using docker?

Edit: https://askubuntu.com/questions/833862/nvidia-smi-couldnt-find-libnvidia-ml-so-library

Edit: Are you running EOS installed on bare metal?

@SKOUPS
Did you ever try blacklisting the nouveau open source drivers?

I’ll take a detailed look a bit later. but from the quick skimming of the logs, gpu is not detected at all.

Is there a hardware MUX for this machine? Any options in your BIOS to switch to dedicated/discrete graphics?