HD4550 DRI issues
Robert Noland
rnoland at FreeBSD.org
Sat Sep 26 22:21:07 UTC 2009
On Sat, 2009-09-26 at 14:48 -0500, Richard Kolkovich wrote:
> On Sat, Sep 26, 2009 at 02:36:41PM -0500, Robert Noland wrote:
> > > 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.
> >
> > Since nothing that we are doing here is actually device specific, I
> > loaded this up on the VIA VX800 board, which is an i386 build.
> > Everything works fine. Sample *good* output:
> >
> > gopher% gcc -O2 -pipe -I/usr/local/include -I/usr/local/include/drm
> > -L/usr/local/lib -ldrm -o drm-test drm-test.c
> > gopher% sudo ./drm-test
> > Allocated 32MB with handle=0x00000000e82b8000
> > Added 1024KB map for ring buffer with handle=0x00000000e82b8000
> > ring=0x00000028300000, contents=0x0000000000000000
> >
>
> Here's my output:
>
> +% sudo ./drm-test
> Allocated 32MB with handle=0x00000000dc595000
> Added 1024KB map for ring buffer with handle=0x00000000dc595000
> ring=0x00000028300000, contents=0x000000003c66c369
>
> I guess those are the expected results of the test given what we've seen previously...
>
> I'm running on an Intel x58 board, i7 processor. This is on the UP i386 -CURRENT kernel I built.
Could you make sure that you have all IOMMU, VTD and virtualization
stuff disabled in your BIOS?
robert.
--
Robert Noland <rnoland at FreeBSD.org>
FreeBSD
More information about the freebsd-x11
mailing list