diff options
author | 2013-03-19 10:50:14 +0100 | |
---|---|---|
committer | 2013-03-19 10:50:14 +0100 | |
commit | ec1c9e8288407fcfa7253e0adebf3429e70a9623 (patch) | |
tree | e12e92e8305ae01bfd29be000805c17c878e4475 | |
parent | x11-drivers/xf86-video-ati: warn if radeon kms is disabled or radeonfb is ena... (diff) | |
download | x11-ec1c9e8288407fcfa7253e0adebf3429e70a9623.tar.gz x11-ec1c9e8288407fcfa7253e0adebf3429e70a9623.tar.bz2 x11-ec1c9e8288407fcfa7253e0adebf3429e70a9623.zip |
x11-drivers/ati-drivers: improve check and warning message against hybrid graphics crash bug
-rw-r--r-- | x11-drivers/ati-drivers/ati-drivers-13.1.ebuild | 7 | ||||
-rw-r--r-- | x11-drivers/ati-drivers/ati-drivers-13.1_pre897.ebuild | 7 | ||||
-rw-r--r-- | x11-drivers/ati-drivers/ati-drivers-13.3_beta2.ebuild | 4 |
3 files changed, 10 insertions, 8 deletions
diff --git a/x11-drivers/ati-drivers/ati-drivers-13.1.ebuild b/x11-drivers/ati-drivers/ati-drivers-13.1.ebuild index d8fdf9d4..32afa1f6 100644 --- a/x11-drivers/ati-drivers/ati-drivers-13.1.ebuild +++ b/x11-drivers/ati-drivers/ati-drivers-13.1.ebuild @@ -571,10 +571,11 @@ pkg_postinst() { "${ROOT}"/usr/bin/eselect opengl set --use-old ati "${ROOT}"/usr/bin/eselect opencl set --use-old amd - if has_version ">=x11-drivers/xf86-video-intel-2.20.3"; then - ewarn "It is reported that xf86-video-intel-2.20.3 and later cause the X server" + if has_version "x11-drivers/xf86-video-intel[sna]"; then + ewarn "It is reported that xf86-video-intel built with USE=\"sna\" causes the X server" ewarn "to crash on systems that use hybrid AMD/Intel graphics. If you experience" - ewarn "this crash, downgrade to xf86-video-intel-2.20.2 or earlier." + ewarn "this crash, downgrade to xf86-video-intel-2.20.2 or earlier or" + ewarn "try disabling sna for xf86-video-intel." ewarn "For details, see https://bugs.gentoo.org/show_bug.cgi?id=430000" fi } diff --git a/x11-drivers/ati-drivers/ati-drivers-13.1_pre897.ebuild b/x11-drivers/ati-drivers/ati-drivers-13.1_pre897.ebuild index ed12e219..e8fff14a 100644 --- a/x11-drivers/ati-drivers/ati-drivers-13.1_pre897.ebuild +++ b/x11-drivers/ati-drivers/ati-drivers-13.1_pre897.ebuild @@ -574,10 +574,11 @@ pkg_postinst() { "${ROOT}"/usr/bin/eselect opengl set --use-old ati "${ROOT}"/usr/bin/eselect opencl set --use-old amd - if has_version ">=x11-drivers/xf86-video-intel-2.20.3"; then - ewarn "It is reported that xf86-video-intel-2.20.3 and later cause the X server" + if has_version "x11-drivers/xf86-video-intel[sna]"; then + ewarn "It is reported that xf86-video-intel built with USE=\"sna\" causes the X server" ewarn "to crash on systems that use hybrid AMD/Intel graphics. If you experience" - ewarn "this crash, downgrade to xf86-video-intel-2.20.2 or earlier." + ewarn "this crash, downgrade to xf86-video-intel-2.20.2 or earlier or" + ewarn "try disabling sna for xf86-video-intel." ewarn "For details, see https://bugs.gentoo.org/show_bug.cgi?id=430000" fi } diff --git a/x11-drivers/ati-drivers/ati-drivers-13.3_beta2.ebuild b/x11-drivers/ati-drivers/ati-drivers-13.3_beta2.ebuild index 5024fb8e..4783e59e 100644 --- a/x11-drivers/ati-drivers/ati-drivers-13.3_beta2.ebuild +++ b/x11-drivers/ati-drivers/ati-drivers-13.3_beta2.ebuild @@ -572,8 +572,8 @@ pkg_postinst() { "${ROOT}"/usr/bin/eselect opengl set --use-old ati "${ROOT}"/usr/bin/eselect opencl set --use-old amd - if has_version ">=x11-drivers/xf86-video-intel-2.20.3"; then - ewarn "It is reported that xf86-video-intel-2.20.3 and later cause the X server" + if has_version "x11-drivers/xf86-video-intel[sna]"; then + ewarn "It is reported that xf86-video-intel built with USE=\"sna\" causes the X server" ewarn "to crash on systems that use hybrid AMD/Intel graphics. If you experience" ewarn "this crash, downgrade to xf86-video-intel-2.20.2 or earlier or" ewarn "try disabling sna for xf86-video-intel." |