Permalink
Browse files

Add NVIDIA Prime notes

  • Loading branch information...
1 parent 80cb89b commit 81f02b8396ae4fe93388d6b650abce28e2879e76 @plfiorini plfiorini committed Aug 20, 2015
Showing with 13 additions and 0 deletions.
  1. +13 −0 README.md
View
@@ -64,3 +64,16 @@ which will give it access to drm devices.
Distributions without pam and systemd will need to put the "sddm" user
into the "video" group, otherwise errors regarding GL and drm devices
might be experienced.
+
+## TROUBLESHOOTING
+
+### NVIDIA Prime
+
+Add this at the bottom of the Xsetup script:
+
+```sh
+if [ -e /sbin/prime-offload ]; then
+ echo running NVIDIA Prime setup /sbin/prime-offload, you will need to manually run /sbin/prime-switch to shut down
+ /sbin/prime-offload
+fi
+```

1 comment on commit 81f02b8

AnAkkk commented on 81f02b8 Aug 26, 2015

That's Ubuntu specific. The nvidia-prime package does this https://wiki.archlinux.org/index.php/NVIDIA_Optimus#Using_nvidia which needs to be done manually on most other distributions.

Please sign in to comment.