this post was submitted on 14 Aug 2023
1 points (100.0% liked)

GNU/Linux Gaming on Reddit

1 readers
0 users here now

A subreddit for discussions and news about gaming on the GNU/Linux family of operating systems (including the Steam Deck).

founded 1 year ago
MODERATORS
 
This is an automated archive.

The original was posted on /r/linux_gaming by /u/titanmaster on 2023-08-14 19:36:54+00:00.


Hello All,

I am trying to figure out the best way to show that prime offload and other command line options are actually working. Nvtop is basically showing that the other video card is not being used at all.

Ubuntu Version:

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04.3 LTS"

I have dual 3060 RTX running on Ubuntu Desktop:

  *-display                 
       description: VGA compatible controller
       product: GA106 [GeForce RTX 3060 Lite Hash Rate]
       vendor: NVIDIA Corporation
       physical id: 0
       bus info: pci@0000:0b:00.0
       version: a1
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
       configuration: driver=nvidia latency=0
       resources: irq:168 memory:fb000000-fbffffff memory:d0000000-dfffffff memory:e0000000-e1ffffff ioport:e000(size=128) memory:c0000-dffff
  *-display
       description: VGA compatible controller
       product: GA106 [GeForce RTX 3060 Lite Hash Rate]
       vendor: NVIDIA Corporation
       physical id: 0
       bus info: pci@0000:0c:00.0
       version: a1
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
       configuration: driver=nvidia latency=0
       resources: irq:169 memory:f9000000-f9ffffff memory:b0000000-bfffffff memory:c0000000-c1ffffff ioport:d000(size=128) memory:fa000000-fa07ffff
  *-graphics
       product: EFI VGA
       physical id: 1
       logical name: /dev/fb0
       capabilities: fb
       configuration: depth=32 resolution=1024,768

Command Line Args Tried:

1)
DXVK_ASYNC=1 gamemoderun %command%

2)
__NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only
__GLX_VENDOR_LIBRARY_NAME=nvidia DRI_PRIME=1 %command%

Any help would be great

Thanks

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here