From owner-freebsd-current@FreeBSD.ORG Sun Mar 1 18:06:59 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BCF611065708 for ; Sun, 1 Mar 2009 18:06:59 +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 5EA648FC23 for ; Sun, 1 Mar 2009 18:06:59 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from [192.168.1.2] (adsl-1-207-68.bna.bellsouth.net [65.1.207.68]) (authenticated bits=0) by gizmo.2hip.net (8.14.3/8.14.3) with ESMTP id n21I5bWk042860 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 1 Mar 2009 13:05:38 -0500 (EST) (envelope-from rnoland@FreeBSD.org) From: Robert Noland To: Jakub Lach In-Reply-To: <22271062.post@talk.nabble.com> References: <200902271730.07660.snasonov@bcc.ru> <200902271208.48212.jhb@freebsd.org> <1235760629.1289.51.camel@widget.2hip.net> <200902271403.46828.jhb@freebsd.org> <597436B54F5FF74FA8EA7F3224FE251F12C69213@mail.bcc> <1235778229.1289.60.camel@widget.2hip.net> <597436B54F5FF74FA8EA7F3224FE251F12C69214@mail.bcc> <1235839108.1289.72.camel@widget.2hip.net> <597436B54F5FF74FA8EA7F3224FE251F12C69215@mail.bcc> <1235843413.1289.92.camel@widget.2hip.net> <20090228215536.GA1625@wep4035.physik.uni-wuerzburg.de> <22271062.post@talk.nabble.com> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-SnAAr2oul7koIhUurSUY" Organization: FreeBSD Date: Sun, 01 Mar 2009 12:06:50 -0600 Message-Id: <1235930810.1236.5.camel@widget.2hip.net> Mime-Version: 1.0 X-Mailer: Evolution 2.24.4 FreeBSD GNOME Team Port X-Spam-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_PBL, RCVD_IN_SORBS_DUL,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-current@freebsd.org Subject: Re: Interrupt stom on cardbus device X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Mar 2009 18:07:00 -0000 --=-SnAAr2oul7koIhUurSUY Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable On Sun, 2009-03-01 at 01:15 -0800, Jakub Lach wrote: > Hello. >=20 > I also had such problems with interrupt storm @ IRQ 16. Hardware is Lenov= o > T400 (X4500,GM45) Patch greatly helped, although it introduces other > problem. As long as output from glxgears is at ttyv0, it is working fine.= I > output is @ xterm window, it stutters while writing the FPS count. If out= put > is at ttyv0 and I switch terminal from X11 to ttyv0 while glxgears is > working glxgears stutters too.=20 Ok, I can try to look into this at some point, but right now it is not high priority. When you VT switch, the irq handler gets uninstalled, and the vblank counters get reset in hardware. We attempt to deal with that case, but it's not optimal. As for stutter when printing while in X, it could be text rendering performance ( which kinda sucks right now, at least on intel ), it could also be that the G45 handles vblank counters differently. But I'm glad that the patch resolved the interrupt storm. It's likely that it will help other devices than graphics cards as well... robert. > dmesg >=20 > drm0: on vgapci0 > info: [drm] MSI enabled 1 message(s) > vgapci0: child drm0 requested pci_enable_busmaster > info: [drm] AGP at 0xd0000000 256MB > info: [drm] Initialized i915 1.6.0 20080730 > drm0: [ITHREAD] > error: [drm:pid26643:gm45_get_vblank_counter] *ERROR* trying to get vblan= k > count for disabled pipe 0 > drm0: [ITHREAD] > drm0: [ITHREAD] > drm0: [ITHREAD] >=20 > best regards,=20 > Jakub Lach --=20 Robert Noland FreeBSD --=-SnAAr2oul7koIhUurSUY Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (FreeBSD) iEYEABECAAYFAkmqzroACgkQM4TrQ4qfRONRzACeObEU3hb34n0rWcLucCZ5RVu6 6tQAn2IAA7StFBvXuyCKFgxkDaJwgJIt =oFI9 -----END PGP SIGNATURE----- --=-SnAAr2oul7koIhUurSUY--