From owner-freebsd-stable@FreeBSD.ORG Tue Apr 21 14:58:24 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1684F106564A for ; Tue, 21 Apr 2009 14:58:24 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from gizmo.2hip.net (gizmo.2hip.net [64.74.207.195]) by mx1.freebsd.org (Postfix) with ESMTP id E04B78FC19 for ; Tue, 21 Apr 2009 14:58:23 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from [192.168.1.156] (adsl-157-40-211.bna.bellsouth.net [70.157.40.211]) (authenticated bits=0) by gizmo.2hip.net (8.14.3/8.14.3) with ESMTP id n3LEwEPj065612 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 21 Apr 2009 10:58:15 -0400 (EDT) (envelope-from rnoland@FreeBSD.org) From: Robert Noland To: Ronald Klop In-Reply-To: References: <20090420152620.8f89edd5.lehmann@ans-netz.de> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-r/IFJxS6lX6/pKzH56ED" Organization: FreeBSD Date: Tue, 21 Apr 2009 09:58:05 -0500 Message-Id: <1240325885.14628.12.camel@balrog.2hip.net> Mime-Version: 1.0 X-Mailer: Evolution 2.26.0 FreeBSD GNOME Team Port X-Spam-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_PBL, RDNS_DYNAMIC autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gizmo.2hip.net Cc: freebsd-stable@freebsd.org, Oliver Lehmann Subject: Re: dri + ATI: dramatic performance slowdown X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Apr 2009 14:58:24 -0000 --=-r/IFJxS6lX6/pKzH56ED Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Tue, 2009-04-21 at 10:26 +0200, Ronald Klop wrote: > On Mon, 20 Apr 2009 15:26:20 +0200, Oliver Lehmann = =20 > wrote: >=20 > > Hi, > > > > 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: > > > > 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" = =20 > > the > > window resizing. The popup of an window is fast, but moving it around o= r > > scrolling... jesus that is what I call slow. Firefox is nearly not usab= le > > for example :( > > > > I wonder what is causing this. I'm using a ATI Radeon HD3850 in it's AG= P > > version (probably kinda uncommon). > > > > olivleh1@kartoffel olivleh1> dmesg | grep drm > > drm0: on vgapci0 > > vgapci0: child drm0 requested pci_enable_busmaster > > info: [drm] AGP at 0xd8000000 128MB > > 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> > > > >> From my xorg.conf: > > > > Section "Module" > > Load "dbe" > > Load "freetype" > > Load "glx" > > Load "dri" > > EndSection > > Section "Device" > > > > 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 > > > > the whole xorg.conf can be found here: > > > > http://cvs.olli.homeip.net/index.html/configs/xorg.conf?rev=3D1.9 > > > > Is this expected to happen with DRI enabled? > > >=20 > Hi, >=20 > X.org is quite good in autodetecting your hardware and running without a = =20 > config. It works for me out-of-the-box with my Radeon HD 2400 XT and =20 > Radeon HD 2600 XT. (But I'm not using agp.) > You can also try the xf86-video-ati driver. It works very well with 2d =20 > accell. (I'm using it also.) If you don't have a config, you won't get drm as it defaults to off on r6/7xx hardware right now. robert. > Ronald. > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" --=20 Robert Noland FreeBSD --=-r/IFJxS6lX6/pKzH56ED 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) iEYEABECAAYFAknt3v0ACgkQM4TrQ4qfROMzXgCeItmzdtAkWqAgTvnzRf0MVli5 weMAn3/8qM397VKNTO6L+Q+Wa6WexG0A =hSMf -----END PGP SIGNATURE----- --=-r/IFJxS6lX6/pKzH56ED--