Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Apr 2009 09:34:50 -0500
From:      Robert Noland <rnoland@FreeBSD.org>
To:        Oliver Lehmann <lehmann@ans-netz.de>
Cc:        freebsd-stable@FreeBSD.org
Subject:   Re: dri + ATI: dramatic performance slowdown
Message-ID:  <1240238090.3930.0.camel@balrog.2hip.net>
In-Reply-To: <20090420152620.8f89edd5.lehmann@ans-netz.de>
References:  <20090420152620.8f89edd5.lehmann@ans-netz.de>

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

--=-+ED4iR2uD2iG7jIaWhyX
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Mon, 2009-04-20 at 15:26 +0200, Oliver Lehmann wrote:
> Hi,
>=20
> as I found out in the meantime - the following described problem can be
> only worked around when 'Load   "dri"' is removed from the server
> section, and 'Option     "DRI"   "true"' is removed from the Device
> section. Otherwise:
>=20
> I've synced my pre-drm-changes 7-STABLE to the latest 7-STABLE. Now the
> grafic performance in xorg decreased dramatically. Moving a window or
> resizing a window makes me feel sent back 15 years ago ;). I can "see" th=
e
> window resizing. The popup of an window is fast, but moving it around or
> scrolling... jesus that is what I call slow. Firefox is nearly not usable
> for example :(
>=20
> I wonder what is causing this. I'm using a ATI Radeon HD3850 in it's AGP
> version (probably kinda uncommon).
>=20
> olivleh1@kartoffel olivleh1> dmesg | grep drm
> drm0: <ATI Radeon HD3850> on vgapci0
> vgapci0: child drm0 requested pci_enable_busmaster
> info: [drm] AGP at 0xd8000000 128MB

Can you show me the output of memcontrol list, with drm enabled.

robert.

> info: [drm] Initialized radeon 1.29.0 20080528
> info: [drm] Setting GART location based on new memory map
> info: [drm] Loading RV670 CP Microcode
> info: [drm] Loading RV670 PFP Microcode
> info: [drm] Resetting GPU
> info: [drm] writeback test succeeded in 1 usecs
> drm0: [ITHREAD]
> olivleh1@kartoffel olivleh1> pkg_info | grep radeon
> xf86-video-radeonhd-1.2.5 X.Org ati RadeonHD display driver
> olivleh1@kartoffel olivleh1>=20
>=20
> >From my xorg.conf:
>=20
> Section "Module"
>     Load        "dbe"
>     Load        "freetype"
>     Load        "glx"
>     Load        "dri"
> EndSection
> Section "Device"
>=20
>     Identifier	"ATI1"
>     BoardName	"ATI Radeon"
>     Driver      "radeonhd"
>     BusID	"PCI:1:0:0"
>     Option      "Monitor-DVI-I_1/digital"  "Syncmaster DVI1"
>     Option      "Monitor-DVI-I_2/digital"  "Syncmaster DVI2"
>     Option	"DRI"	"true"
> EndSection
>=20
> the whole xorg.conf can be found here:
>=20
> http://cvs.olli.homeip.net/index.html/configs/xorg.conf?rev=3D1.9
>=20
> Is this expected to happen with DRI enabled?

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

--=-+ED4iR2uD2iG7jIaWhyX
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (FreeBSD)

iEYEABECAAYFAknsiAoACgkQM4TrQ4qfROO8UACbBCDOeqDV8kOl+6YvKVmdR3zW
fNQAnRRvJNave0b1YkYBzeYdc8oggi3O
=j7Dm
-----END PGP SIGNATURE-----

--=-+ED4iR2uD2iG7jIaWhyX--




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