Re: DRI on Radeon 9500 Mobile

Fabian Keil <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <20060525145951.173f1a2b@localhost>
Tobias Roth <[email protected]> wrote:

> I tried agp_cvs.patch, which I think is the jhb@ patch you mentioned,
> but it didn't appy cleanly (no wonder, it's dated and huge).

If you're adventuresome you might give:
http://www.fabiankeil.de/sourcecode/freebsd/agp_patch_6.1.patch
a try. It's against RELENG_6 as of today.

> Without acpi_video (and no jhb patch), dri seems to work a little
> better, but not quite completely. From my xorg log:
> 
> (II) RADEON(0): Render acceleration unsupported on Radeon 9500/9700
> and newer. (II) RADEON(0): Render acceleration disabled
> ...
> (II) RADEON(0): [drm] installed DRM signal handler
> (II) RADEON(0): [DRI] installation complete
> (II) RADEON(0): [drm] removed 1 reserved context for kernel
> (II) RADEON(0): [drm] unmapping 8192 bytes of SAREA 0xc4ee2000 at
> 0x28954000 (II) RADEON(0): Render acceleration disabled
> (WW) RADEON(0): Direct rendering disabled

With the patch applied, and acpi_video.ko, radeon.ko and drm.ko loaded
my dmesg shows:

vgapci0: <VGA-compatible display> port 0x3000-0x30ff mem 0xe0000000-0xe7ffffff,\
         0xc0100000-0xc010ffff irq 11 at device 0.0 on pci1
acpi_video0: <ACPI video extension> on vgapci0
drm0: <ATI Radeon LW RV200 Mobility 7500 M7> on vgapci0
info: [drm] AGP at 0xd0000000 256MB
info: [drm] Initialized radeon 1.24.0 20060225

Xorg's log:

(II) RADEON(0): Detected Radeon Mobility M7, disabling multimedia i2c
(II) Loading sub module "theatre_detect"
(II) LoadModule: "theatre_detect"
(II) Loading /usr/X11R6/lib/modules/multimedia/theatre_detect_drv.so
(II) Module theatre_detect: vendor="X.Org Foundation"
        compiled for 4.3.99.902, module version = 1.0.0
        ABI class: X.Org Video Driver, version 0.8
(II) RADEON(0): no multimedia table present, disabling Rage Theatre.
(II) RADEON(0): X context handle = 0x1
(II) RADEON(0): [drm] installed DRM signal handler
(II) RADEON(0): [DRI] installation complete
(II) RADEON(0): [drm] Added 32 65536 byte vertex/indirect buffers
(II) RADEON(0): [drm] Mapped 32 vertex/indirect buffers
(II) RADEON(0): [drm] dma control initialized, using IRQ 11
(II) RADEON(0): [drm] Initialized kernel GART heap manager, 5111808
(II) RADEON(0): Direct rendering enabled

Resuming is still unsuccessful though.

Fabian
-- 
http://www.fabiankeil.de/
signature.asc (application/pgp-signature, 187 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (FreeBSD)

iD8DBQFEdapQjV8GA4rMKUQRAtqpAKDm8lWF41rIw5xbthlb4lrHFvBOuQCgpkGM
f2BAD7LG6Zd0+VYNP5lp9fk=
=miBD
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.