Permalink
Browse files

Added =x11-drivers/nvidia-drivers-302.06.03 (developper preview), bas…

…ed on /usr/portage/x11-drivers/nvidia-drivers/nvidia-drivers-295.53.ebuild
  • Loading branch information...
nbigaouette committed Jun 6, 2012
1 parent 3f85557 commit e012fbb3120aec0dd950f6f14e94f743c37713b3
@@ -0,0 +1,6 @@
+AUX nvidia-169.07 639 RMD160 8baddb6fd1bf7f0e2688870a78e8ace051d62e3f SHA1 b30487ba2a24a6b1359d1fd831eeb1705060953c SHA256 a8c4860f008d53776fda7a17b59524f271236559af688e9a2c9845cbbcba1577
+AUX nvidia-udev.sh 185 RMD160 26d8e7e1447daa7d4fd09993f855b58ae1754a72 SHA1 d607b57662e0542b335cbc86ed3c946bb522891f SHA256 120c0af2b64fbcbd7032217a78eec8b104874c1ca68726367bce22c57944e07e
+AUX nvidia.udev-rule 462 RMD160 a7bc1d61d75a7fd7847903064ae5974e4079db5a SHA1 ac04cf8838bab05d5c092446d34c0154b9f6220e SHA256 37b152a5055a16d1947171567178e2841679ddf03dba9d48e7d30f1e3b469ac6
+DIST devdriver_5.0_linux_32_302.06.03.run 34939665 RMD160 136d11b1426f1e5597f0e4643ee874791e87af2b SHA1 74a2854ab85cc52a6a499034d989cf03fa6d40e6 SHA256 79745a7401c38ab0b616a19a970e8c6963a7d4317dafad2e9fe522ce9e6e7a56
+DIST devdriver_5.0_linux_64_302.06.03.run 59293636 RMD160 acdd987c59dbc5c3224bb33d0cc4badd7bc50b33 SHA1 98ea30e375a86001a97a3a306f9c4ef37fb99bda SHA256 4cbaffdd930977dd93ba6c49f1255eeee1262b55c1dc0ff0151e278551f6f782
+EBUILD nvidia-drivers-302.06.03.ebuild 18822 RMD160 8b9543429039840424e7af2dee31341761e9bd14 SHA1 14cd8ab62b0b805023bea02c3c8f5710244f7abe SHA256 ab0a373dbc9b81b4584dc2adc478e075b3ddbba247205a2b5c3a19e73948bf87
@@ -0,0 +1,14 @@
+# Nvidia drivers support
+alias char-major-195 nvidia
+alias /dev/nvidiactl char-major-195
+
+# To tweak the driver the following options can be used, note that
+# you should be careful, as it could cause instability!! For more
+# options see /usr/share/doc/PACKAGE/README
+#
+# !!! SECURITY WARNING !!!
+# DO NOT MODIFY OR REMOVE THE DEVICE FILE RELATED OPTIONS UNLESS YOU KNOW
+# WHAT YOU ARE DOING.
+# ONLY ADD TRUSTED USERS TO THE VIDEO GROUP, THESE USERS MAY BE ABLE TO CRASH,
+# COMPROMISE, OR IRREPARABLY DAMAGE THE MACHINE.
+options nvidia NVreg_DeviceFileMode=432 NVreg_DeviceFileUID=0 NVreg_DeviceFileGID=VIDEOGID NVreg_ModifyDeviceFiles=1
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+if [ $# -ne 1 ]; then
+ echo "Invalid args" >&2
+ exit 1
+fi
+
+case $1 in
+ add|ADD)
+ /opt/bin/nvidia-smi > /dev/null
+ ;;
+ remove|REMOVE)
+ rm -f /dev/nvidia*
+ ;;
+esac
+
+exit 0
@@ -0,0 +1,6 @@
+ACTION=="add", DEVPATH=="/module/nvidia", SUBSYSTEM=="module", RUN+="nvidia-udev.sh $env{ACTION}"
+# Previously the ACTION was "add|remove" but one user on bug #376527 had a
+# problem until he recompiled udev-171-r5, which is one of the versions I
+# tested with and it was fine. I'm breaking the rules out just to be safe
+# so someone else doesn't have an issue
+ACTION=="remove", DEVPATH=="/module/nvidia", SUBSYSTEM=="module", RUN+="nvidia-udev.sh $env{ACTION}"
Oops, something went wrong.

0 comments on commit e012fbb

Please sign in to comment.