Skip to content
This repository has been archived by the owner on May 19, 2024. It is now read-only.

Commit

Permalink
Added missing DRI_PRIME command
Browse files Browse the repository at this point in the history
Used to select discrete GPU
  • Loading branch information
redromnon committed Feb 26, 2022
1 parent ec6251f commit 335446e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion func/checkparameters.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def ifpresent(parameter):
if ifpresent("nvidiaPrime") == True:

if game[appname]["nvidiaPrime"] == True:
nvidiaPrime = "__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia "
nvidiaPrime = "DRI_PRIME=1 __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia "

#print(nvidiaPrime)

Expand Down

0 comments on commit 335446e

Please sign in to comment.