Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Sep 2009 10:02:17 -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:  <1253977337.2048.17.camel@balrog.2hip.net>
In-Reply-To: <20090926045706.GB42914@divination.portal.sigil.org>
References:  <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> <1253925689.2065.81.camel@balrog.2hip.net> <20090926045706.GB42914@divination.portal.sigil.org>

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

--=-iuQD1r1McNreZk7d9da1
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

On Fri, 2009-09-25 at 23:57 -0500, Richard Kolkovich wrote:
> On Fri, Sep 25, 2009 at 07:41:29PM -0500, Robert Noland wrote:
> > 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.
> > 
> 
> Disabling SMP did not help.  I'll await the test client...

Ok, attached is a really simple client that will allocate 32MB of
scatter-gather memory and map a 1MB ring buffer out of that.  The
"contents" values should always be 0.  Build the client with:

gcc -O2 -pipe -I/usr/local/include -I/usr/local/include/drm
-L/usr/local/lib -ldrm -o drm-test drm-test.c

To perform the test, you will need to boot up in console. (No X)
Manually kldload the radeon driver and then as root execute drm-test.

robert.

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

--=-iuQD1r1McNreZk7d9da1--




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