diff --git a/modprobe.d/._cfg0000_nvidia.conf b/modprobe.d/._cfg0000_nvidia.conf new file mode 100644 index 0000000..f56bca1 --- /dev/null +++ b/modprobe.d/._cfg0000_nvidia.conf @@ -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/nvidia-drivers-355.06-r1/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=27 NVreg_ModifyDeviceFiles=1 diff --git a/nvidia/._cfg0001_nvidia-application-profiles-rc b/nvidia/._cfg0001_nvidia-application-profiles-rc new file mode 100644 index 0000000..ad4355e --- /dev/null +++ b/nvidia/._cfg0001_nvidia-application-profiles-rc @@ -0,0 +1,102 @@ +# Application profiles for the NVIDIA Linux graphics driver, version 355.06 +# Last modified: Tue Jul 28 20:55:54 PDT 2015 +# These profiles were provided by NVIDIA and should not be modified. If you +# wish to change the defaults provided here, you can override them by creating +# custom rules in /etc/nvidia/nvidia-application-profiles-rc (which will apply +# system-wide) or, for a given user, $HOME/.nv/nvidia-application-profiles-rc +# (which will apply to that particular user). See the "APPLICATION PROFILE +# SEARCH PATH" section of the NVIDIA Linux Graphics Driver README for more +# information. +{ + "profiles" : [ + { + "name" : "NonConformantBlitFramebufferScissor", + "settings" : [ "GLConformantBlitFramebufferScissor", false ] + }, + { + "name" : "CL1C", + "settings" : [ "0x528ab3", 1 ] + }, + { + "name" : "FA0", + "settings" : [ "10572898", 0 ] + }, + { + "name" : "ExactGLESVersion", + "settings" : [ "ForceRequestedESVersion", 1 ] + }, + { + "name" : "IgnoreGLSLExtensionRequirements", + "settings" : [ "GLIgnoreGLSLExtReqs", true ] + }, + { + "name" : "No GSYNC", + "settings" : [ "GLGSYNCAllowed", false ] + }, + { + "name" : "UseThreadedOptimizations", + "settings" : [ "GLThreadedOptimizations", true ] + } + ], + "rules" : [ + { + "pattern" : { + "feature" : "dso", + "matches" : "libcogl.so" + }, + "profile" : "NonConformantBlitFramebufferScissor" + }, + { + "pattern" : { + "feature" : "dso", + "matches" : "libMaya.so" + }, + "profile" : "CL1C" + }, + { "pattern" : "xsi", "profile" : "CL1C" }, + { "pattern" : "HoudiniFX", "profile" : "CL1C" }, + { "pattern" : "katana", "profile" : "CL1C" }, + { "pattern" : "Autodesk Mudbox 2014 64-bit", "profile" : "CL1C" }, + { "pattern" : "octane", "profile" : "CL1C" }, + { "pattern" : "Fusion64_6.4", "profile" : "CL1C" }, + { "pattern" : "Nuke7.0", "profile" : "CL1C" }, + { "pattern" : "vray.exe", "profile" : "CL1C" }, + { "pattern" : "vray.bin", "profile" : "CL1C" }, + { "pattern" : "kwin_gles", "profile" : "FA0" }, + { "pattern" : "kwin_gles", "profile" : "ExactGLESVersion" }, + { + "pattern" : [ + { "feature" : "procname", "matches" : "heaven_x86"}, + { "op" : "not", "sub" : { "feature" : "findfile", "matches" : "browser_x86" } } + ], + "profile" : "IgnoreGLSLExtensionRequirements" + }, + { + "pattern" : [ + { "feature" : "procname", "matches" : "heaven_x64"}, + { "op" : "not", "sub" : { "feature" : "findfile", "matches" : "browser_x64" } } + ], + "profile" : "IgnoreGLSLExtensionRequirements" + }, + { "pattern" : { "feature" : "procname", "matches" : "cinnamon" }, "profile" : "No GSYNC" }, + { "pattern" : { "feature" : "procname", "matches" : "compiz" }, "profile" : "No GSYNC" }, + { "pattern" : { "feature" : "procname", "matches" : "compton" }, "profile" : "No GSYNC" }, + { "pattern" : { "feature" : "procname", "matches" : "enlightenment" }, "profile" : "No GSYNC" }, + { "pattern" : { "feature" : "procname", "matches" : "gnome-shell" }, "profile" : "No GSYNC" }, + { "pattern" : { "feature" : "procname", "matches" : "kscreenlocker_greet" }, "profile" : "No GSYNC" }, + { "pattern" : { "feature" : "procname", "matches" : "kwin" }, "profile" : "No GSYNC" }, + { "pattern" : { "feature" : "procname", "matches" : "kwin_x11" }, "profile" : "No GSYNC" }, + { "pattern" : { "feature" : "procname", "matches" : "muffin" }, "profile" : "No GSYNC" }, + { "pattern" : { "feature" : "dso", "matches" : "libmutter.so" }, "profile" : "No GSYNC" }, + { "pattern" : { "feature" : "procname", "matches" : "steam" }, "profile" : "No GSYNC" }, + { "pattern" : { "feature" : "procname", "matches" : "steamcompmgr" }, "profile" : "No GSYNC" }, + { + "pattern" : "Borderlands2", + "profile" : "UseThreadedOptimizations" + }, + { + "pattern" : "BorderlandsPreSequel", + "profile" : "UseThreadedOptimizations" + } + ] +} diff --git a/profile.env b/profile.env index b78e306..6d4e106 100644 --- a/profile.env +++ b/profile.env @@ -1,44 +1,43 @@ -# THIS FILE IS AUTOMATICALLY GENERATED BY env-update. -# DO NOT EDIT THIS FILE. CHANGES TO STARTUP PROFILES -# GO INTO /etc/profile NOT /etc/profile.env - -export ADA_INCLUDE_PATH='/usr/lib64/gnat-gcc/x86_64-pc-linux-gnu/4.3/adainclude' -export ADA_OBJECTS_PATH='/usr/lib64/gnat-gcc/x86_64-pc-linux-gnu/4.3/adalib' -export CG_COMPILER_EXE='/opt/bin/cgc' -export CG_INC_PATH='/opt/nvidia-cg-toolkit/include' -export CG_LIB_PATH='/opt/nvidia-cg-toolkit/lib32:/opt/nvidia-cg-toolkit/lib64' -export CONFIG_PROTECT='/usr/share/gnupg/qualified.txt /usr/share/config' +# Configuration file for eselect +# This file has been automatically generated. +export PATH='/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.9.3:/usr/x86_64-pc-linux-gnu/gnat-gcc-bin/4.3:/usr/libexec/gnat-gcc/x86_64-pc-linux-gnu/4.3:/opt/nvidia-cg-toolkit/bin:/usr/games/bin' +export ROOTPATH='/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.9.3:/usr/x86_64-pc-linux-gnu/gnat-gcc-bin/4.3:/usr/libexec/gnat-gcc/x86_64-pc-linux-gnu/4.3:/opt/nvidia-cg-toolkit/bin' +export MANPATH='/usr/local/share/man:/usr/share/man:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.9.3/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.24/man:/usr/share/gnat-gcc-data/x86_64-pc-linux-gnu/4.3/man' +export INFOPATH='/usr/share/info:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.9.3/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.24/info:/usr/share/gnat-gcc-data/x86_64-pc-linux-gnu/4.3/info' export CONFIG_PROTECT_MASK='/etc/gentoo-release /etc/sandbox.d /etc/fonts/fonts.conf /etc/gconf /etc/terminfo /etc/dconf /etc/ca-certificates.conf /etc/texmf/web2c /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/revdep-rebuild' export CVS_RSH='ssh' -export DCCC_PATH='/usr/lib64/distcc/bin' export DISTCC_LOG='' +export DCCC_PATH='/usr/lib64/distcc/bin' export DISTCC_VERBOSE='0' -export GCC_SPECS='' -export GSETTINGS_BACKEND='dconf' -export GUILE_LOAD_PATH='/usr/share/guile/1.8' -export HG='/usr/bin/hg' -export INFOPATH='/usr/share/info:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.9.3/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.24/info:/usr/share/gnat-gcc-data/x86_64-pc-linux-gnu/4.3/info' export LANG='de_DE.utf8' export LC_COLLATE='C' export LC_MESSAGES='en_US.utf8' -export LESS='-R -M --shift 5' -export LESSOPEN='|lesspipe %s' -export MANPATH='/usr/local/share/man:/usr/share/man:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.9.3/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.24/man:/usr/share/gnat-gcc-data/x86_64-pc-linux-gnu/4.3/man' -export MULTIOSDIRS='../lib64:../lib32' export OPENCL_PROFILE='nvidia' export OPENGL_PROFILE='nvidia' -export PACKAGE_MANAGER='paludis' -export PAGER='/usr/bin/most' -export PATH='/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.9.3:/usr/x86_64-pc-linux-gnu/gnat-gcc-bin/4.3:/usr/libexec/gnat-gcc/x86_64-pc-linux-gnu/4.3:/opt/nvidia-cg-toolkit/bin:/usr/games/bin' -export PRELINK_PATH_MASK='/usr/lib64/libfreebl3.so:/usr/lib64/libnssdbm3.so:/usr/lib64/libsoftokn3.so:/usr/lib32/libfreebl3.so:/usr/lib32/libnssdbm3.so:/usr/lib32/libsoftokn3.so' -export PYTHONDOCS_2_7='/usr/share/doc/python-docs-2.7.8/html/library' -export QT_GRAPHICSSYSTEM='raster' -export QT_PLUGIN_PATH='/usr/lib64/kde4/plugins' -export ROOTPATH='/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.9.3:/usr/x86_64-pc-linux-gnu/gnat-gcc-bin/4.3:/usr/libexec/gnat-gcc/x86_64-pc-linux-gnu/4.3:/opt/nvidia-cg-toolkit/bin' +export GCC_SPECS='' +export MULTIOSDIRS='../lib64:../lib32' export RUBYOPT='-rauto_gem' +export CONFIG_PROTECT='/usr/share/gnupg/qualified.txt /usr/share/config' +export XDG_DATA_DIRS='/usr/local/share:/usr/share' +export COLON_SEPARATED='QT_PLUGIN_PATH' +export QT_GRAPHICSSYSTEM='raster' +export GSETTINGS_BACKEND='dconf' +export GUILE_LOAD_PATH='/usr/share/guile/1.8' +export PACKAGE_MANAGER='paludis' export SBCL_HOME='/usr/lib64/sbcl' export SBCL_SOURCE_ROOT='/usr/lib64/sbcl/src' -export SGML_CATALOG_FILES='/etc/sgml/openjade-1.3.2.cat:/etc/sgml/sgml-ent.cat:/etc/sgml/xml-docbook-4.1.2.cat:/etc/sgml/dsssl-docbook-stylesheets.cat:/etc/sgml/sgml-lite.cat:/etc/sgml/xml-docbook-4.5.cat:/etc/sgml/xml-docbook-4.4.cat:/etc/sgml/sgml-docbook-3.1.cat:/etc/sgml/xml-docbook-4.3.cat:/etc/sgml/sgml-docbook.cat:/etc/sgml/xml-docbook-4.2.cat' +export ADA_INCLUDE_PATH='/usr/lib64/gnat-gcc/x86_64-pc-linux-gnu/4.3/adainclude' +export ADA_OBJECTS_PATH='/usr/lib64/gnat-gcc/x86_64-pc-linux-gnu/4.3/adalib' +export PYTHONDOCS_2_7='/usr/share/doc/python-docs-2.7.8/html/library' +export LESSOPEN='|lesspipe %s' +export LESS='-R -M --shift 5' +export QT_PLUGIN_PATH='/usr/lib64/kde4/plugins' +export CG_COMPILER_EXE='/opt/bin/cgc' +export CG_INC_PATH='/opt/nvidia-cg-toolkit/include' +export CG_LIB_PATH='/opt/nvidia-cg-toolkit/lib32:/opt/nvidia-cg-toolkit/lib64' +export HG='/usr/bin/hg' +export PRELINK_PATH_MASK='/usr/lib64/libfreebl3.so:/usr/lib64/libnssdbm3.so:/usr/lib64/libsoftokn3.so:/usr/lib32/libfreebl3.so:/usr/lib32/libnssdbm3.so:/usr/lib32/libsoftokn3.so' export VBOX_APP_HOME='/usr/lib64/virtualbox' export XDG_CONFIG_DIRS='/etc/xdg' -export XDG_DATA_DIRS='/usr/local/share:/usr/share' +export SGML_CATALOG_FILES='/etc/sgml/openjade-1.3.2.cat:/etc/sgml/sgml-ent.cat:/etc/sgml/xml-docbook-4.1.2.cat:/etc/sgml/dsssl-docbook-stylesheets.cat:/etc/sgml/sgml-lite.cat:/etc/sgml/xml-docbook-4.5.cat:/etc/sgml/xml-docbook-4.4.cat:/etc/sgml/sgml-docbook-3.1.cat:/etc/sgml/xml-docbook-4.3.cat:/etc/sgml/sgml-docbook.cat:/etc/sgml/xml-docbook-4.2.cat' +export PAGER='/usr/bin/most'