Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to run with prime-run ? #60

Closed
aniketfuryrocks opened this issue Jan 17, 2021 · 2 comments
Closed

How to run with prime-run ? #60

aniketfuryrocks opened this issue Jan 17, 2021 · 2 comments

Comments

@aniketfuryrocks
Copy link

I am using nvidia-intel hybrid on manajaro. How do I launch the games using prime-run

@flavioislima
Copy link
Member

I'm not 100% sure but I guess you can add these options here on the settings screen > other > environment variables:
DRI_PRIME=1 _NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia __VK_LAYER_NV_optimus=NVIDIA_only

@aniketfuryrocks
Copy link
Author

I got it to work by setting GAMEMODERUNEXEC=prime-run in the /etc/environment file. This asks GameMode to use prime-run to launch the game. Enable settings > Use GameMode (Feral Game Mode needs to be installed) in heroic. Restart your system to allow the variables to take effect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants