From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id AF2EF198005 for ; Tue, 19 Mar 2013 09:50:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4EAF1E0632; Tue, 19 Mar 2013 09:50:18 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C30F7E0632 for ; Tue, 19 Mar 2013 09:50:17 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5FEDB33DB27 for ; Tue, 19 Mar 2013 09:50:16 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id E6C85E4073 for ; Tue, 19 Mar 2013 09:50:14 +0000 (UTC) From: "Chi-Thanh Christopher Nguyen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Chi-Thanh Christopher Nguyen" Message-ID: <1363686614.ec1c9e8288407fcfa7253e0adebf3429e70a9623.chithead@gentoo> Subject: [gentoo-commits] proj/x11:master commit in: x11-drivers/ati-drivers/ X-VCS-Repository: proj/x11 X-VCS-Files: x11-drivers/ati-drivers/ati-drivers-13.1.ebuild x11-drivers/ati-drivers/ati-drivers-13.1_pre897.ebuild x11-drivers/ati-drivers/ati-drivers-13.3_beta2.ebuild X-VCS-Directories: x11-drivers/ati-drivers/ X-VCS-Committer: chithead X-VCS-Committer-Name: Chi-Thanh Christopher Nguyen X-VCS-Revision: ec1c9e8288407fcfa7253e0adebf3429e70a9623 X-VCS-Branch: master Date: Tue, 19 Mar 2013 09:50:14 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 09392ff4-a85f-41ad-bd26-fa68ce4f533a X-Archives-Hash: 96428260bfd894b80e5193e1e3dfd423 commit: ec1c9e8288407fcfa7253e0adebf3429e70a9623 Author: Chi-Thanh Christopher Nguyen gentoo org> AuthorDate: Tue Mar 19 09:50:14 2013 +0000 Commit: Chi-Thanh Christopher Nguyen cs tu-berlin de> CommitDate: Tue Mar 19 09:50:14 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/x11.git;a=commit;h=ec1c9e82 x11-drivers/ati-drivers: improve check and warning message against hybrid graphics crash bug --- x11-drivers/ati-drivers/ati-drivers-13.1.ebuild | 7 ++++--- .../ati-drivers/ati-drivers-13.1_pre897.ebuild | 7 ++++--- .../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 d8fdf9d..32afa1f 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 ed12e21..e8fff14 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 5024fb8..4783e59 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."