From owner-freebsd-x11@FreeBSD.ORG Tue Mar 1 20:45:02 2011 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4893B1065670 for ; Tue, 1 Mar 2011 20:45:02 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr16.xs4all.nl (smtp-vbr16.xs4all.nl [194.109.24.36]) by mx1.freebsd.org (Postfix) with ESMTP id CC2CC8FC1A for ; Tue, 1 Mar 2011 20:45:01 +0000 (UTC) Received: from slackbox.erewhon.net (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr16.xs4all.nl (8.13.8/8.13.8) with ESMTP id p21KixnG044231; Tue, 1 Mar 2011 21:44:59 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.erewhon.net (Postfix, from userid 1001) id 57F4ABA96; Tue, 1 Mar 2011 21:44:59 +0100 (CET) Date: Tue, 1 Mar 2011 21:44:59 +0100 From: Roland Smith To: Warren Block Message-ID: <20110301204459.GB29992@slackbox.erewhon.net> References: <20110228221844.GA2957@compaq.yuetime> <20110301191536.GA28125@slackbox.erewhon.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="cvVnyQ+4j833TQvp" Content-Disposition: inline In-Reply-To: X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-x11@freebsd.org Subject: Re: xf86-video-ati with patch-src-radeon_driver.c freeze the system X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Mar 2011 20:45:02 -0000 --cvVnyQ+4j833TQvp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Mar 01, 2011 at 01:23:29PM -0700, Warren Block wrote: > On Tue, 1 Mar 2011, Roland Smith wrote: >=20 > > On Tue, Mar 01, 2011 at 11:45:41AM +0000, Christian Weisgerber wrote: > >> Zhihao Yuan wrote: > >> > >>> Someone who submitted this patch gave me an horrible afternoon strugg= ling > >>> with the system that reboots again and again (the X and the system ju= st > >>> freeze actually, with no Xorg.log generated, > >> > >>> My card is ATI Mobile Radeon X1600. My working Xorg.0.log is also att= ached. > >> > >> Indeed, removing that patch fixes xf86-video-ati 6.14 for my > >> ATI Radeon RV370 X300 SE. > > > > Same here for "ATI Radeon X1650" (ChipID =3D 0x71c1). This patch hangs = my > > machine, and removing it fixed it. I'm on FreeBSD 8.2-RELEASE amd64. >=20 > I think that's exactly the card I tried here, but worked on i386.=20 > Unfortunately, I don't have a 64-bit system to try it on, but maybe this= =20 > is just a type comparison problem... >=20 > Except mem_size and aper_size are both uint64_t. >=20 > The attached (untested) patch disables the original patch code and adds= =20 > an ErrorF to display the actual values. Delete the original=20 > patch-src-radeon_driver.c and copy this one=20 > (patch-src-radeon_driver.c-WB) to the port's files/ directory. Rebuild= =20 > the port, and see what it shows in the log. > How much memory is really on the card might be important. The X1650=20 > here has 512M. Haven't tried your patch yet, but my Xorg.0.log shows this: (--) PCI:*(0:1:0:0) 1002:71c1:174b:0880 ATI Technologies Inc Radeon X1650 P= ro=20 rev 158, Mem @ 0xe0000000/268435456, 0xfe9e0000/65536, I/O @ 0x0000d000/256= ,=20 BIOS @ 0x????????/65536 And later: (--) RADEON(0): Chipset: "ATI Radeon X1650" (ChipID =3D 0x71c1) 268435456 is 256 MiB. I've still got the original box for this card (from Sapphire). It says "RADEON X1650 PRO" and "256 MB GDDR3 memory".=20 Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --cvVnyQ+4j833TQvp Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (FreeBSD) iEYEARECAAYFAk1tWssACgkQEnfvsMMhpyXolQCgi1ZalV8Rp2EczSvVKQDXktjA inMAoJjTyphE02COyMsJxkgiXS1PoO3a =vUYZ -----END PGP SIGNATURE----- --cvVnyQ+4j833TQvp--