Skip to content

[Documentation] Mention prime-run; raw variables are unwieldly #243

@MilesBHuff

Description

@MilesBHuff

Request to mention the existence of prime-run, which is a script that comes with nvidia-prime.

Currently, the documentation says this:

Vulkan applications must be launched with __NV_PRIME_RENDER_OFFLOAD=1 to render on the dGPU. GLX applications must be launched with __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia to render on the dGPU.

While true, this is highly unwieldly for commandline users. Adding the following line to the above would help usability significantly:

The prime-run script included with nvidia-prime sets these variables for you; meaning you can simply run prime-run $APP to start an application with the dGPU.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions