Skip to content

"nvx on" seems to not enable NVIDIA GPU #37

@D3vil0p3r

Description

@D3vil0p3r

I have an hybrid scenario with iGPU Intel and NVIDIA GPU. My environment is Arch Linux with Cinnamon (x11). GPUs are both recognized by the system:

lspci | grep VGA

00:02.0 VGA compatible controller: Intel Corporation CoffeeLake-H GT2 [UHD Graphics 630]
01:00.0 VGA compatible controller: NVIDIA Corporation TU106M [GeForce RTX 2060 Mobile] (rev a1)

and my system starts always by iGPU, indeed:

glxinfo | grep "OpenGL render"

OpenGL renderer string: Mesa Intel(R) UHD Graphics 630 (CFL GT2)

If I run nvx on I get:

# turn on gpu
-- pci rescan
-- pci "PCI bridge - 6th-10th Gen Core Processor PCIe Controller (x16)" -> 0000:00:01.0
   -- pci power control on
   -- device enable "VGA compatible controller - TU106M [GeForce RTX 2060 Mobile]" -> 0000:01:00.0
# load modules
   -- module nvidia
   -- module nvidia_uvm
   -- module nvidia_modeset
   -- module nvidia_drm

but when I reboot and I run glxinfo | grep "OpenGL render", I still get:

OpenGL renderer string: Mesa Intel(R) UHD Graphics 630 (CFL GT2)

instead of NVIDIA.

Then, I also noted that, when I run **nvx start ", during the off part it freezes, and if I close the current terminal and open a new one and run nvx off-kill, I get:

# kill processes
-- no processes found
# unload modules
-- module nvidia_drm
-- module nvidia_modeset
-- module nvidia_uvm
-- module nvidia
# turn off
-- pci "PCI bridge - 6th-10th Gen Core Processor PCIe Controller (x16)" -> 0000:00:01.0
   -- device remove "VGA compatible controller - TU106M [GeForce RTX 2060 Mobile]" -> 0000:01:00.0
tee: '/sys/bus/pci/devices/0000:01:00.0/remove': Permission denied
   -- power control auto

but nvx status returns:

on

I already followed the guidebin README about this but with no luck.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions