Skip to content

Instantly share code, notes, and snippets.

@nm17
Created May 23, 2022 12:19
Show Gist options
  • Save nm17/423ea129b4a9a0fa02b9fedee7a89898 to your computer and use it in GitHub Desktop.
Save nm17/423ea129b4a9a0fa02b9fedee7a89898 to your computer and use it in GitHub Desktop.
#!/bin/bash
export DRI_PRIME=1
export __NV_PRIME_RENDER_OFFLOAD=1
export __GLX_VENDOR_LIBRARY_NAME=nvidia
echo "Nvidia Startup WORKING!!!"
exec $@
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment