Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Mar 2011 21:59:06 +0100
From:      Roland Smith <rsmith@xs4all.nl>
To:        Warren Block <wblock@wonkity.com>
Cc:        freebsd-x11@freebsd.org
Subject:   Re: xf86-video-ati with patch-src-radeon_driver.c freeze the system
Message-ID:  <20110301205906.GA35491@slackbox.erewhon.net>
In-Reply-To: <alpine.BSF.2.00.1103011305240.55961@wonkity.com>
References:  <20110228221844.GA2957@compaq.yuetime> <ikim95$2gnn$1@lorvorc.mips.inka.de> <20110301191536.GA28125@slackbox.erewhon.net> <alpine.BSF.2.00.1103011305240.55961@wonkity.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Tue, Mar 01, 2011 at 01:23:29PM -0700, Warren Block wrote:
> On Tue, 1 Mar 2011, Roland Smith wrote:
> 
> > On Tue, Mar 01, 2011 at 11:45:41AM +0000, Christian Weisgerber wrote:
> >> Zhihao Yuan <lichray@gmail.com> wrote:
> >>
> >>> Someone who submitted this patch gave me an horrible afternoon struggling
> >>> with the system that reboots again and again (the X and the system just
> >>> freeze actually, with no Xorg.log generated,
> >>
> >>> My card is ATI Mobile Radeon X1600. My working Xorg.0.log is also attached.
> >>
> >> Indeed, removing that patch fixes xf86-video-ati 6.14 for my
> >> ATI Radeon RV370 X300 SE.
> >
> > Same here for "ATI Radeon X1650" (ChipID = 0x71c1). This patch hangs my
> > machine, and removing it fixed it. I'm on FreeBSD 8.2-RELEASE amd64.
> 
> I think that's exactly the card I tried here, but worked on i386. 
> Unfortunately, I don't have a 64-bit system to try it on, but maybe this 
> is just a type comparison problem...
> 
> Except mem_size and aper_size are both uint64_t.
> 
> The attached (untested) patch disables the original patch code and adds 
> an ErrorF to display the actual values.  Delete the original 
> patch-src-radeon_driver.c and copy this one 
> (patch-src-radeon_driver.c-WB) to the port's files/ directory.  Rebuild 
> the port, and see what it shows in the log.
> 
> How much memory is really on the card might be important.  The X1650 
> here has 512M.

It says in Xorg.0.log:

WB: mem_size 10000000, aper_size 8000000
(II) RADEON(0): RADEONInitMemoryMap() : 
(II) RADEON(0):   mem_size         : 0x10000000
(II) RADEON(0):   MC_FB_LOCATION   : 0xefffe000
(II) RADEON(0):   MC_AGP_LOCATION  : 0x003f0000
(II) RADEON(0): Depth moves disabled by default
(II) RADEON(0): Allocating from a screen of 262112 kb
(II) RADEON(0): Will use 32 kb for hardware cursor 0 at offset 0x00640000
(II) RADEON(0): Will use 32 kb for hardware cursor 1 at offset 0x00644000
(II) RADEON(0): Will use 6400 kb for front buffer at offset 0x00000000
(II) RADEON(0): Will use 32 kb for PCI GART at offset 0x0fff8000
(II) RADEON(0): Will use 6400 kb for back buffer at offset 0x00648000
(II) RADEON(0): Will use 6400 kb for depth buffer at offset 0x00c88000
(II) RADEON(0): Will use 120832 kb for textures at offset 0x012c8000
(II) RADEON(0): Will use 122048 kb for X Server offscreen at offset 0x088c8000

Other maybe relevant stuff from Xorg.0.log:

(--) PCI:*(0:1:0:0) 1002:71c1:174b:0880 ATI Technologies Inc Radeon X1650 Pro rev 158, Mem @ 0xe0000000/268435456, 0xfe9e0000/65536, I/O @ 0x0000d000/256, BIOS @ 0x????????/65536

(II) RADEON(0): ATOM BIOS detected
(II) RADEON(0): ATOM BIOS Rom: 
        SubsystemVendorID: 0x174b SubsystemID: 0x0880
        IOBaseAddress: 0xd000
        Filename: 8C88GCSA.003
        BIOS Bootup Message: 
A67120 RV535XT VO BIOS GDDR3 600E/700M                                      

(II) RADEON(0): Detected total video RAM=262144K, accessible=262144K (PCI BAR=262144K)
(--) RADEON(0): Mapped VideoRAM: 262144 kByte (128 bit DDR SDRAM)

Hope this helps.

Roland
-- 
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)

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (FreeBSD)

iEYEARECAAYFAk1tXhoACgkQEnfvsMMhpyWpkgCfQTSeidl3qBbgfyLwIe7DhkOi
lBAAnR6SDOoVt2MekRj/qWRe5sQ9LYm1
=H2qH
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110301205906.GA35491>