summaryrefslogtreecommitdiff
path: root/app-emulation/steam
diff options
context:
space:
mode:
authorV3n3RiX <venerix@rogentos.ro>2016-09-20 20:56:11 +0100
committerV3n3RiX <venerix@rogentos.ro>2016-09-20 20:56:11 +0100
commit8da4bc73f657301e358b8008006723fbf4cde4fe (patch)
tree8ec0b79f4e16b93a1f7c19a5512355fc4befe160 /app-emulation/steam
parent4b1d147c4e4c523ca411a81e662ae3961c49a6db (diff)
actually, we only need bbswitch loaded to detect optimus, because nvidia may not be loaded yet, or someone may use nouveau
Diffstat (limited to 'app-emulation/steam')
-rwxr-xr-xapp-emulation/steam/files/kogaion-steam2
-rw-r--r--app-emulation/steam/steam-1.0.0.45-r7.ebuild (renamed from app-emulation/steam/steam-1.0.0.45-r6.ebuild)0
2 files changed, 1 insertions, 1 deletions
diff --git a/app-emulation/steam/files/kogaion-steam b/app-emulation/steam/files/kogaion-steam
index 02e5f2a9..f83f5115 100755
--- a/app-emulation/steam/files/kogaion-steam
+++ b/app-emulation/steam/files/kogaion-steam
@@ -21,7 +21,7 @@ preload_some_system_libs () {
# steam must be told where nvidia opengl libs live on gentoo systems
# but this will break optimus, so check if we detect bbswitch in here
# if we do, we do not preload nvidia opengl, as it will break steam
- if [[ "$(lsmod|grep nvidia)" && "$(lsmod|grep bbswitch)" ]] ; then
+ if [[ "$(lsmod|grep bbswitch)" ]] ; then
echo ""
echo "nvidia optimus detected, we will not preload nvidia libs"
echo ""
diff --git a/app-emulation/steam/steam-1.0.0.45-r6.ebuild b/app-emulation/steam/steam-1.0.0.45-r7.ebuild
index 5d2ebc9d..5d2ebc9d 100644
--- a/app-emulation/steam/steam-1.0.0.45-r6.ebuild
+++ b/app-emulation/steam/steam-1.0.0.45-r7.ebuild