Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Sep 2009 19:41:29 -0500
From:      Robert Noland <rnoland@FreeBSD.org>
To:        Richard Kolkovich <sarumont@sigil.org>
Cc:        freebsd-x11@freebsd.org
Subject:   Re: HD4550 DRI issues
Message-ID:  <1253925689.2065.81.camel@balrog.2hip.net>
In-Reply-To: <20090926001158.GA42914@divination.portal.sigil.org>
References:  <20090923210626.GC46493@magus.portal.sigil.org> <1253741283.2031.334.camel@balrog.2hip.net> <20090924145417.GA2539@magus.portal.sigil.org> <1253812603.2031.1528.camel@balrog.2hip.net> <1253814434.2031.1561.camel@balrog.2hip.net> <20090924181427.GD2539@magus.portal.sigil.org> <20090925143910.GD61689@divination.portal.sigil.org> <1253897144.2065.150.camel@balrog.2hip.net> <20090925173416.GF61689@divination.portal.sigil.org> <1253915723.2145.53.camel@balrog.2hip.net> <20090926001158.GA42914@divination.portal.sigil.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 2009-09-25 at 19:11 -0500, Richard Kolkovich wrote:
> On Fri, Sep 25, 2009 at 04:55:23PM -0500, Robert Noland wrote:
> > So, things are all correct at this point... and not much happens between
> > here and the userland print that show corrupted values.  Basically all
> > that happens is an mmap to userspace and print the values from the
> > userspace perspective...  You're not the first report that I have had of
> > this. (It doesn't appear to be r600 related at all, IIRC prior reports
> > were on like 9200's)  I think it is restricted to PCI/PCI-E radeons,
> > though given where it appears to be happening I don't see any reason
> > that it couldn't effect other cards as well.  I'm really not certain how
> > to move forward debugging really, without being able to reproduce it and
> > break out into gdb to try and inspect memory.  There is something
> > "special" about your setup, since this seems to be a relatively rare
> > issue.  The only other thing that I can think of to do, is to start
> > adding a bunch of debugging into the mmap routines, but that is going to
> > get really noisy.
> > 
> > robert.
> > 
> 
> Awesome.  :-\
> 
> If you want to hook up gdb, I can create a shell account for you to do so.  
> 
> Aside from that, I'm not sure how to proceed.  If it's happened on cards as old as 9200s, I 
> probably won't have much luck with any other radeon card with my current setup.  

We might go down that path... But, I've had an idea.  I'll try and whip
up a test client that bypasses all of X and just exercises drm.  We can
see if it still seems to corrupt things.  The evidence so far suggests
that it should, but it should rule out any races.  One thing you might
try as a test is to disable SMP just to see if that helps.

robert.

-- 
Robert Noland <rnoland@FreeBSD.org>
FreeBSD




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