saving uncommitted changes in /etc prior to emerge run

This commit is contained in:
hasufell 2015-09-24 16:12:14 +02:00 committed by Hans Wurst
parent b7fc0b671e
commit ecb41ff2d1
4 changed files with 118 additions and 2 deletions

View File

@ -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.11/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

View File

@ -0,0 +1,102 @@
# Application profiles for the NVIDIA Linux graphics driver, version 355.11
# Last modified: Wed Aug 26 16:06:07 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"
}
]
}

View File

@ -35,7 +35,7 @@ setenv CG_INC_PATH '/opt/nvidia-cg-toolkit/include'
setenv CG_LIB_PATH '/opt/nvidia-cg-toolkit/lib32:/opt/nvidia-cg-toolkit/lib64'
setenv HG '/usr/bin/hg'
setenv CAVE_RESUME_FILE_OPT '--resume-file ~/cave_resume'
setenv CAVE_SEARCH_INDEX '/root/cave-search-index'
setenv CAVE_SEARCH_INDEX '/var/tmp/paludis/x11-drivers-nvidia-drivers-352.30-uninstall/temp//cave-search-index'
setenv 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'
setenv VBOX_APP_HOME '/usr/lib64/virtualbox'
setenv XDG_CONFIG_DIRS '/etc/xdg'

View File

@ -35,7 +35,7 @@ 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 CAVE_RESUME_FILE_OPT='--resume-file ~/cave_resume'
export CAVE_SEARCH_INDEX='/root/cave-search-index'
export CAVE_SEARCH_INDEX='/var/tmp/paludis/x11-drivers-nvidia-drivers-352.30-uninstall/temp//cave-search-index'
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'