[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#170690: marked as done (xlibmesa-gl: DRI drivers try to run 3DNow! instructions on Pentium 4)

Your message dated Fri, 21 May 2004 12:11:34 -0500
with message-id <20040521171134.GB11654@deadbeast.net>
and subject line Bug#170690: xlibmesa3: DRI drivers may run 3dnow instructions on Pentium 4
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

Received: (at submit) by bugs.debian.org; 25 Nov 2002 16:30:52 +0000
>From olaf@infovore.xs4all.nl Mon Nov 25 10:30:51 2002
Return-path: <olaf@infovore.xs4all.nl>
Received: from smtpzilla5.xs4all.nl [] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 18GM8I-0006H5-00; Mon, 25 Nov 2002 10:30:50 -0600
Received: from infovore.xs4all.nl (213-84-180-111.adsl.xs4all.nl [])
	by smtpzilla5.xs4all.nl (8.12.0/8.12.0) with ESMTP id gAPGUmpX023058
	for <submit@bugs.debian.org>; Mon, 25 Nov 2002 17:30:49 +0100 (CET)
Received: from olaf by infovore.xs4all.nl with local (Exim 3.36 #1 (Debian))
	id 18GEnk-0000Dv-00; Mon, 25 Nov 2002 09:41:08 +0100
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Olaf Weber <olaf@infovore.xs4all.nl>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: xlibmesa3: DRI drivers may run 3dnow instructions on Pentium 4
X-Mailer: reportbug 2.9
Date: Mon, 25 Nov 2002 09:41:08 +0100
Message-Id: <E18GEnk-0000Dv-00@infovore.xs4all.nl>
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=2.1 required=5.0
X-Spam-Level: **

Package: xlibmesa3
Version: 4.2.1-3
Severity: normal
Tags: upstream

My laptop has a Mobile Pentium 4 processor and Radeon 7500c gfx.  I found
that with xlibmesa3 installed and DRI enabled any program that uses OpenGL
would die with a SIGILL in the radeon_dri.so library.

Investigation revealed that the problem occurred in code containing 3dnow
instructions -- setting MESA_NO_3DNOW prevented the crashes.  This in turn
is due to the way the library obtains the capability information for cpus:
it uses CPUID to get the capability bitvectors and passes those around
unchanged.  This worked while the bits AMD uses to signal the availability
of 3DNOW were not used by intel as well.  In the pentium 4 family, this
assumption no longer holds.

The code that does the probe is found in

The obvious quick fix would be to mask the problematic bits in the intel
branch of the code before returning the bitvector.  A more complete fix
would be to not use the CPU's capability vector directly, but instead use
it to construct a cability vector for the library.

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux infovore 2.4.18 #3 Wed Nov 20 00:59:38 CET 2002 i686

Versions of packages xlibmesa3 depends on:
ii  debconf                      1.2.16      Debian configuration management sy
ii  libc6                        2.3.1-5     GNU C Library: Shared libraries an
ii  libstdc++2.10-glibc2.2       1:2.95.4-15 The GNU stdc++ library
ii  xlibs                        4.2.1-3     X Window System client libraries

-- no debconf information

Received: (at 170690-done) by bugs.debian.org; 21 May 2004 17:11:43 +0000
>From branden@deadbeast.net Fri May 21 10:11:35 2004
Return-path: <branden@deadbeast.net>
Received: from dhcp065-026-182-085.indy.rr.com (redwald.deadbeast.net) [] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BRDYU-0006qA-00; Fri, 21 May 2004 10:11:35 -0700
Received: by redwald.deadbeast.net (Postfix, from userid 1000)
	id 9CA7E64375; Fri, 21 May 2004 12:11:34 -0500 (EST)
Date: Fri, 21 May 2004 12:11:34 -0500
From: Branden Robinson <branden@debian.org>
To: 170690-done@bugs.debian.org
Subject: Re: Bug#170690: xlibmesa3: DRI drivers may run 3dnow instructions on Pentium 4
Message-ID: <20040521171134.GB11654@deadbeast.net>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="eAbsdosE1cNLO4uF"
Content-Disposition: inline
User-Agent: Mutt/1.5.6i
Delivered-To: 170690-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25

Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

This bug was also reported as #215831, and was fixed months ago.

xfree86 (4.3.0-1) experimental; urgency=3Dlow
  * Grab (from upstream Mesa 5.1) a patch which re-implements the x86 CPU
    detection code, which should rectify problems with spurious detection a=
    attempted usage of 3Dnow! extensions on Pentium 4 processors (thanks, P=
    Sebor).  (Closes: #215831)
    - debian/patches/000_stolen_from_Mesa_5.1.diff
 -- Branden Robinson <branden@debian.org>  Tue, 17 Feb 2004 12:58:28 -0500

Closing this report.

G. Branden Robinson                |    Lowery's Law:
Debian GNU/Linux                   |    If it jams -- force it.  If it
branden@debian.org                 |    breaks, it needed replacing anyway.
http://people.debian.org/~branden/ |

Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

Version: GnuPG v1.2.4 (GNU/Linux)



Reply to: