Nvidia GeForce 3060 RTX Mobile not working

Hi there!

I recently installed EndeavourOS on my 2021 HP Omen laptop and it runs pretty nice, but I just can’t make my graphics card work. I’ve currently investigated a lot and read a lot of guides (which helped me understand a lot about how Nvidia drivers work), which I’ll post in this Topic, but none of them managed me to make the GPU work.

These are some of the Topics I’ve checked before:

So, now I’ll show you how I configured my system:

  • First of all, I am using KDE Plasma with X11 (I know Nvidia works poorly with Wayland)
  • I’ve got an AMD ATI Radeon Vega Series / Radeon Vega Mobile Series integrated GPU (which is the actual in use), but I can’t plug external monitors with this one
  • I installed nvidia-inst, which gives me the following output:
[gitblanc@watermelon]$ nvidia-inst
2024-08-28 22:19:22: Info: Running: nvidia-inst v24-1
2024-08-28 22:19:22: Info: Command line: nvidia-inst 
2024-08-28 22:19:22: Info: Selected mode: nvidia
NVIDIA card id: 2520
Fetching driver data from nvidia.com ...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
COMMANDS TO RUN:
    ==> Looks like all requested packages and settings are already OK!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  • I also installed optimus-manager-qt-git (due to recommendation) and when I switch to Nvidia I get a black screen when trying to login again

I hope all the info is clear enough for you all and you could help me :slight_smile: .

Looks like you must have installed using the nvidia option? Could you post the output from inxi -Ga

Sure!

[gitblanc@watermelon c1b3rn0t3s]$ inxi -Ga
Graphics:
  Device-1: NVIDIA GA106M [GeForce RTX 3060 Mobile / Max-Q]
    vendor: Hewlett-Packard driver: N/A alternate: nouveau, nvidia_drm, nvidia
    non-free: 550.xx+ status: current (as of 2024-06; EOL~2026-12-xx)
    arch: Ampere code: GAxxx process: TSMC n7 (7nm) built: 2020-2023 pcie:
    gen: 3 speed: 8 GT/s lanes: 8 link-max: gen: 4 speed: 16 GT/s lanes: 16
    bus-ID: 01:00.0 chip-ID: 10de:2520 class-ID: 0300
  Device-2: AMD Cezanne [Radeon Vega Series / Radeon Mobile Series]
    vendor: Hewlett-Packard driver: amdgpu v: kernel arch: GCN-5 code: Vega
    process: GF 14nm built: 2017-20 pcie: gen: 3 speed: 8 GT/s lanes: 16
    link-max: gen: 4 speed: 16 GT/s ports: active: eDP-1 empty: none
    bus-ID: 06:00.0 chip-ID: 1002:1638 class-ID: 0300 temp: 56.0 C
  Device-3: Quanta HP Wide Vision HD Camera driver: uvcvideo type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-3:3 chip-ID: 0408:5425
    class-ID: fe01 serial: 0001
  Display: x11 server: X.Org v: 21.1.13 with: Xwayland v: 24.1.2
    compositor: kwin_x11 driver: X: loaded: modesetting dri: radeonsi
    gpu: amdgpu display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
    s-diag: 582mm (22.93")
  Monitor-1: eDP-1 model: LG Display 0x05fe built: 2018 res: 1920x1080
    hz: 144 dpi: 142 gamma: 1.2 size: 344x194mm (13.54x7.64")
    diag: 395mm (15.5") ratio: 16:9 modes: max: 1920x1080 min: 640x480
  API: EGL v: 1.5 hw: drv: nvidia drv: amd radeonsi platforms: device: 0
    drv: nvidia device: 1 drv: radeonsi device: 2 drv: swrast gbm:
    drv: kms_swrast surfaceless: drv: nvidia x11: drv: radeonsi
    inactive: wayland
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: amd mesa v: 24.1.6-arch1.1
    glx-v: 1.4 direct-render: yes renderer: AMD Radeon Graphics (radeonsi
    renoir LLVM 18.1.8 DRM 3.54 6.6.47-1-lts) device-ID: 1002:1638
    memory: 500 MiB unified: no
  API: Vulkan v: 1.3.279 layers: 1 device: 0 type: discrete-gpu name: NVIDIA
    GeForce RTX 3060 Laptop GPU driver: nvidia v: 560.35.03
    device-ID: 10de:2520 surfaces: xcb,xlib

Looks like the nvidia latest drivers are installed. This is another Max-Q hybrid laptop. I think i would uninstall optimus-manager and try another method to switch to the nvidia gpu.

Maybe try envy-control and see if you have any luck with it. If not there are other methods also.

https://discovery.endeavouros.com/hardware/envy-control/2023/03/

Also nvidia-inst can install with prime if that method would work.

https://discovery.endeavouros.com/nvidia/new-nvidia-driver-installer-nvidia-inst/2022/03/

Ok this worked for me at the point that the Nvidia GPU is working fine. I’ll post how I fixed it for the community in a latter comment, but I still have an issue which is that I can’t manage to connect both my laptop’s screen and a external monitor. It seems that only one screen can be in use. Any idea of what can be happening?

[gitblanc@watermelon ~]$ glxinfo | grep "OpenGL renderer"
OpenGL renderer string: NVIDIA GeForce RTX 3060 Laptop GPU/PCIe/SSE2

I fixed it myself pluggin the monitor through thunderbolt instead of traditional HDMI.

Here is how I fixed it:

  • First I removed optimus-manager-qt-git and optimus-manager-git
sudo pacman -Rs optimus-manager-git optimus-manager-qt-git
  • Then I installed envy-control:
cd /your/path
git clone https://github.com/bayasdev/envycontrol.git
cd envycontrol
sudo pacman -S python-pipx # this is to create an isolated environment
pipx install .
  • Now get the path to execute the script:
pipx list # search for the envycontrol
# in my case it was: sudo /home/gitblanc/.local/bin/envycontrol --switch nvidia
sudo /path/to/envycontrol --switch nvidia
  • It is imperative to reboot for the changes to take effect: sudo reboot now

Thanks for the help given @ricklinux , hope more people finds this Topic helpful :slight_smile: .

1 Like

It probably is set up to automatically output using the thunderbolt port. :thinking:

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