When I execute prime-run brave
for example, it dosn’t use the dGpu (I check it using nvtop)
I’m using an asus laptop with hybrid intel-nvidia(940m) gpu
prime-run glxinfo | grep "OpenGL"
prime-run glxinfo | grep "OpenGL"
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: NVIDIA GeForce 940M/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 470.129.06
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.6.0 NVIDIA 470.129.06
OpenGL shading language version string: 4.60 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 470.129.06
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:
mhwd -li
Installed PCI configs:
--------------------------------------------------------------------------------
NAME VERSION FREEDRIVER TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-470xx-prime 2021.12.18 false PCI
video-modesetting 2020.01.13 true PCI
Warning: No installed USB configs!
lsmod | grep nvidia
nvidia_uvm 2576384 0
nvidia_drm 73728 2
nvidia_modeset 1204224 2 nvidia_drm
nvidia 35401728 76 nvidia_uvm,nvidia_modeset
nvidia-smi
Fri Jul 29 21:23:55 2022
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 470.129.06 Driver Version: 470.129.06 CUDA Version: 11.4 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 NVIDIA GeForce ... Off | 00000000:01:00.0 Off | N/A |
| N/A 45C P8 N/A / N/A | 3MiB / 2004MiB | 0% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 874 G /usr/lib/Xorg 2MiB |
+-----------------------------------------------------------------------------+
Thanks for advance