From owner-freebsd-x11@FreeBSD.ORG Sun Mar 3 17:31:27 2013 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id D7E27C4C for ; Sun, 3 Mar 2013 17:31:27 +0000 (UTC) (envelope-from rpaulo@FreeBSD.org) Received: from felyko.com (felyko.com [174.136.100.2]) by mx1.freebsd.org (Postfix) with ESMTP id C6B9181 for ; Sun, 3 Mar 2013 17:31:26 +0000 (UTC) Received: from [IPv6:2601:9:4d00:85:a061:3a4e:5800:903f] (unknown [IPv6:2601:9:4d00:85:a061:3a4e:5800:903f]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by felyko.com (Postfix) with ESMTPSA id 3A3A039828 for ; Sun, 3 Mar 2013 09:31:26 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Subject: Intel GPU hang From: Rui Paulo Resent-From: Rui Paulo Date: Sat, 2 Mar 2013 10:46:00 -0800 Content-Transfer-Encoding: quoted-printable Resent-Date: Sun, 3 Mar 2013 09:31:26 -0800 Resent-To: "freebsd-x11@freebsd.org" Message-Id: <53DCD5FB-3F6F-4142-BC8A-4BF1ACF0D682@FreeBSD.org> To: freebsd-x11@freebsd.org X-Mailer: Apple Mail (2.1499) Resent-Message-Id: <20130303173127.D7E27C4C@hub.freebsd.org> X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Mar 2013 17:31:27 -0000 Hi, I have an Ivy Bridge GPU that doesn't work when I use OpenGL. Any ideas? hostb0@pci0:0:0:0: class=3D0x060000 card=3D0x84ca1043 = chip=3D0x01508086 rev=3D0x09 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D 'Ivy Bridge DRAM Controller' class =3D bridge subclass =3D HOST-PCI pcib1@pci0:0:1:0: class=3D0x060400 card=3D0x84ca1043 = chip=3D0x01518086 rev=3D0x09 hdr=3D0x01 vendor =3D 'Intel Corporation' device =3D 'Ivy Bridge PCI Express Root Port' class =3D bridge subclass =3D PCI-PCI vgapci0@pci0:0:2:0: class=3D0x030000 card=3D0x84ca1043 = chip=3D0x01528086 rev=3D0x09 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D 'Ivy Bridge Graphics Controller' class =3D display subclass =3D VGA bar [10] =3D type Memory, range 64, base 0xf7800000, size 4194304, = enabled bar [18] =3D type Prefetchable Memory, range 64, base 0xe0000000, = size 268435456, enabled bar [20] =3D type I/O Port, range 32, base 0xf000, size 64, enabled xhci0@pci0:0:20:0: class=3D0x0c0330 card=3D0x84ca1043 = chip=3D0x1e318086 rev=3D0x04 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D 'Panther Point USB xHCI Host Controller' class =3D serial bus subclass =3D USB bar [10] =3D type Memory, range 64, base 0xf7c00000, size 65536, = enabled none0@pci0:0:22:0: class=3D0x078000 card=3D0x84ca1043 = chip=3D0x1e3a8086 rev=3D0x04 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D 'Panther Point MEI Controller' class =3D simple comms bar [10] =3D type Memory, range 64, base 0xf7c1a000, size 16, = enabled ehci0@pci0:0:26:0: class=3D0x0c0320 card=3D0x84ca1043 = chip=3D0x1e2d8086 rev=3D0x04 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D 'Panther Point USB Enhanced Host Controller' class =3D serial bus subclass =3D USB bar [10] =3D type Memory, range 32, base 0xf7c18000, size 1024, = enabled hdac0@pci0:0:27:0: class=3D0x040300 card=3D0x84151043 = chip=3D0x1e208086 rev=3D0x04 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D 'Panther Point High Definition Audio Controller' class =3D multimedia subclass =3D HDA bar [10] =3D type Memory, range 64, base 0xf7c10000, size 16384, = enabled pcib2@pci0:0:28:0: class=3D0x060400 card=3D0x84ca1043 = chip=3D0x1e108086 rev=3D0xc4 hdr=3D0x01 vendor =3D 'Intel Corporation' device =3D 'Panther Point PCI Express Root Port 1' class =3D bridge subclass =3D PCI-PCI pcib3@pci0:0:28:4: class=3D0x060400 card=3D0x84ca1043 = chip=3D0x1e188086 rev=3D0xc4 hdr=3D0x01 vendor =3D 'Intel Corporation' device =3D 'Panther Point PCI Express Root Port 5' class =3D bridge subclass =3D PCI-PCI ehci1@pci0:0:29:0: class=3D0x0c0320 card=3D0x84ca1043 = chip=3D0x1e268086 rev=3D0x04 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D 'Panther Point USB Enhanced Host Controller' class =3D serial bus subclass =3D USB bar [10] =3D type Memory, range 32, base 0xf7c17000, size 1024, = enabled isab0@pci0:0:31:0: class=3D0x060100 card=3D0x84ca1043 = chip=3D0x1e4a8086 rev=3D0x04 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D 'Panther Point LPC Controller' class =3D bridge subclass =3D PCI-ISA ahci0@pci0:0:31:2: class=3D0x010601 card=3D0x84ca1043 = chip=3D0x1e028086 rev=3D0x04 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D 'Panther Point 6 port SATA AHCI Controller' class =3D mass storage subclass =3D SATA bar [10] =3D type I/O Port, range 32, base 0xf0b0, size 8, enabled bar [14] =3D type I/O Port, range 32, base 0xf0a0, size 4, enabled bar [18] =3D type I/O Port, range 32, base 0xf090, size 8, enabled bar [1c] =3D type I/O Port, range 32, base 0xf080, size 4, enabled bar [20] =3D type I/O Port, range 32, base 0xf060, size 32, enabled bar [24] =3D type Memory, range 32, base 0xf7c16000, size 2048, = enabled none1@pci0:0:31:3: class=3D0x0c0500 card=3D0x84ca1043 = chip=3D0x1e228086 rev=3D0x04 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D 'Panther Point SMBus Controller' class =3D serial bus subclass =3D SMBus bar [10] =3D type Memory, range 64, base 0xf7c15000, size 256, = enabled bar [20] =3D type I/O Port, range 32, base 0xf040, size 32, enabled re0@pci0:3:0:0: class=3D0x020000 card=3D0x85051043 chip=3D0x816810ec = rev=3D0x09 hdr=3D0x00 vendor =3D 'Realtek Semiconductor Co., Ltd.' device =3D 'RTL8111/8168B PCI Express Gigabit Ethernet controller' class =3D network subclass =3D ethernet bar [10] =3D type I/O Port, range 32, base 0xe000, size 256, enabled bar [18] =3D type Prefetchable Memory, range 64, base 0xf0004000, = size 4096, enabled bar [20] =3D type Prefetchable Memory, range 64, base 0xf0000000, = size 16384, enabled error: [drm:pid12:i915_hangcheck_elapsed] *ERROR* Hangcheck timer = elapsed... GPU hung info: [drm] capturing error event; look for more information in sysctl = hw.dri.0.info.i915_error_state http://people.freebsd.org/~rpaulo/state.txt Regards, -- Rui Paulo From owner-freebsd-x11@FreeBSD.ORG Mon Mar 4 11:06:53 2013 Return-Path: Delivered-To: freebsd-x11@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 74A72F7C for ; Mon, 4 Mar 2013 11:06:53 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 66D5AE73 for ; Mon, 4 Mar 2013 11:06:53 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r24B6r0e038986 for ; Mon, 4 Mar 2013 11:06:53 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r24B6rIB038984 for freebsd-x11@FreeBSD.org; Mon, 4 Mar 2013 11:06:53 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 4 Mar 2013 11:06:53 GMT Message-Id: <201303041106.r24B6rIB038984@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-x11@FreeBSD.org Subject: Current problem reports assigned to freebsd-x11@FreeBSD.org X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Mar 2013 11:06:53 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o ports/176111 x11 [PATCH] x11-servers/xorg-server v.1.10.6_2,1 o ports/175935 x11 x11-clocks/xclock links to iconv o ports/175876 x11 [new port] x11-drivers/xf86-input-wacom: split from in o ports/175819 x11 I have updated x11-drivers/xf86-video-vmware to 13.0.0 o ports/175629 x11 x11-drivers/xf86-video-openchrome too old o ports/175532 x11 x11/xdm: /bin/cp -n /usr/local/share/examples/xdm/Give o ports/175432 x11 [PATCH] x11-fonts/xorg-fonts-truetype: Depend on x11-f o ports/175378 x11 x11/xorg: X won't accept keyboard or mouse input if .x o ports/175299 x11 graphics/dri fails to build with clang o ports/174524 x11 [PATCH] devel/gccmakedep o ports/174446 x11 [patch] fix hang on startup in x11-drivers/xf86-video- o ports/173492 x11 x11/xorg: X --configure dies when using 2 video cards o ports/173406 x11 [PATCH] Update x11-drivers/xorg-drivers to use options o ports/173304 x11 x11/libxcb breaks other applications runtine/build o ports/172745 x11 x11/sessreg does not compile in 9.1-PRERELEASE #23 o ports/172379 x11 x11/Xorg errors: drmOpenDevice, /dev/dri/, /dev/dri/ca o ports/172102 x11 [PATCH] devel/gccmakedep build error with clang-cpp o ports/172101 x11 [PATCH] devel/imake build error with clang-cpp o ports/171422 x11 graphics/libGL build error with python3.2 o ports/171242 x11 x11-drivers/xf86-input-mouse: fail to detect moused(8) o ports/170852 x11 [PATCH] x11-fonts/encodings: encodings.dir includes bo o ports/170690 x11 x11-servers/xorg-server eats memory o ports/170232 x11 x11-drivers/xf86-video-intel package building error wi o ports/170108 x11 x11-fonts/libfontenc: library in the package searches o ports/169875 x11 x11/xorg: vesa on 9-BETA1/Xorg 7.7 with radeon 6450 ca o ports/169794 x11 x11/xdm, several /usr/local/lib/X11/xdm/ files missing o ports/169561 x11 [patch] x11-toolkits/libXmu: disable specs o ports/169560 x11 [patch] x11/libICE: disable specs o ports/169559 x11 [patch] x11-fonts/fontsproto: disable specs o ports/168901 x11 New port: textproc/xorg-sgml-doctools o ports/168645 x11 [UPDATE] x11/luit to 1.1.1 f ports/167797 x11 x11/xorg: graphics/gthumb crashes, dumps core f ports/167654 x11 x11-wm/twm - no mouse cursor o ports/167596 x11 [patch] I have rolled back x11-drivers/xf86-video-vmwa o ports/167228 x11 x11-drivers/xf86-video-intel : Missing dependency (x1 o ports/167194 x11 x11-drivers/xf86-input-synaptics 1.5.0 trackpoint(LENO o ports/166163 x11 graphics/dri: gthumb port crashes (SIGSEGV) within the o ports/165981 x11 devel/imake doesn't play nice with current xorg o ports/165599 x11 x11/xkeyboard-config: x11/xkbcomp as a RUN_DEPENDS f power/165585 x11 x11-servers/xorg-server: Both Xorg and Xorg-server por p ports/164349 x11 [PATCH] x11/libXinerama :1 LeftOf or Above :0 mouse is o ports/161480 x11 [patch] x11/luit: don't depend on pty(4), use openpty( o ports/160968 x11 [patch] ports/x11/libXi broken manpages o ports/160963 x11 [patch] x11/bigreqsproto: disable specs o ports/159792 x11 [patch] USB HID devices support for x11-drivers/xf86-i o ports/158529 x11 [patch] x11-servers/xorg-server: conditionalize --with o ports/158513 x11 Broken Xvideo in x11-drivers/xf86-video-intel drivers o ports/156949 x11 x11-drivers/xf86-video-ati 6.14.1 produce black blank f ports/156424 x11 8.2R xrandr & xf86-video-intel & xorg-server packages o ports/156405 x11 x11-drivers/xf86-video-ati driver: no hardware renderi o ports/156042 x11 x11/xorg hang in combination with KWin-Tiling o ports/155696 x11 [patch] x11-servers/xorg-server: chase AIGLX altered d o ports/155683 x11 x11/xdm [patch] Enabling IPv6 support breaks IPv4 f ports/154510 x11 [patch] x11/xorg: xorg servers have Motif-crippling bu o ports/154502 x11 x11/xdm authorization failure when used with E17 windo o ports/154423 x11 x11-drivers/xf86-video-radeonhd: radeon xorg driver ca o ports/153593 x11 graphics/dri: clutter segfault, something to do with i o ports/153495 x11 x11-drivers/xf86-video-ati wavy line problem for lenov o ports/153358 x11 x11-drivers/xf86-video-intel: Intel driver freeze with o ports/152159 x11 [hang] xorg/x11: X11 freezes with Intel Mobile 965 and o ports/151596 x11 x11/xorg: wacom bamboo button 1 no longer works o ports/150633 x11 x11-servers/xorg-server: KVM switching causing X serve o ports/150155 x11 x11/xorg hangs after xrandr(1) usage o ports/149743 x11 x11/xorg: garbled window since Xorg-7.5 o ports/149636 x11 x11/xorg: buffer overflow in pci_device_freebsd_read_r o ports/148591 x11 information note for x11-drivers/xf86-input-synaptics o ports/148444 x11 [hang] x11-drivers/xf86-video-intel: intel driver free f ports/148340 x11 x11-drivers/xf86-video-neomagic: unresolved symbol xf8 o ports/145649 x11 x11/xorg: X server crashes when starting opengl compos o ports/142069 x11 x11/xorg: After adding on a laptop Toshiba Sattelite L o ports/141660 x11 x11/xorg: X can't determine amount of video memory on o ports/139011 x11 [patch] Add options to support GLX TLS in x11-servers o ports/135276 x11 x11/xorg: GUI running first time only while using Free o ports/134132 x11 x11-servers/xorg-server: Intel i845 - xorg.conf with U o ports/131726 x11 x11-servers/xorg-server: xorg server messes with my eh o ports/122830 x11 x11/xorg: Error in I830WaitLpRing() o ports/120947 x11 x11/xsm ignores system.xsm and .xsmstartup 77 problems total. From owner-freebsd-x11@FreeBSD.ORG Tue Mar 5 12:24:04 2013 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 81A71E47; Tue, 5 Mar 2013 12:24:04 +0000 (UTC) (envelope-from makc@freebsd.org) Received: from mail.issp.ac.ru (mail.issp.ac.ru [77.236.34.3]) by mx1.freebsd.org (Postfix) with ESMTP id E9212ABE; Tue, 5 Mar 2013 12:24:02 +0000 (UTC) Received: from mercury.ph.man.ac.uk [130.88.75.175:60926] (HELO/EHLO mercury.ph.man.ac.uk, authenticated with LOGIN) by mail.issp.ac.ru with ESMTP/inet id r25CO09D017642 (using TLSv1/SSLv3, with cipher DHE-RSA-AES256-SHA (256 bits), verified NO) Tue, 5 Mar 2013 16:24:01 +0400 (MSK) From: Max Brazhnikov To: freebsd-x11@freebsd.org Subject: high system load when using i915kms Date: Tue, 05 Mar 2013 12:24:51 +0000 Message-ID: <2460779.xZBtdeG4eu@mercury.ph.man.ac.uk> User-Agent: KMail/4.9.5 (FreeBSD/9.1-STABLE; KDE/4.9.5; amd64; ; ) MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: freebsd-usb@freebsd.org X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Mar 2013 12:24:04 -0000 Hi, I've switched recently to new xorg and kms driver. Sometimes after booting my system (9.1-STABLE #0 r245741 amd64) shows high load: interrupt total rate irq1: atkbd0 612 0 irq9: acpi0 3693 1 irq12: psm0 7512 2 irq16: uhci0 uhci3 377172955 144069 irq20: hpet0 2923357 1116 irq23: uhci1 ehci1 47432 18 irq256: hdac0 80799 30 irq257: alc0 78474 29 irq258: iwn0 19994 7 irq259: ahci0 100016 38 irq260: vgapci0 31250 11 Total 380466094 145327 I've never seen this with old xorg. The problem is not always reproducible, but it's enough just to load i915kms module without staring X to trigger it. Any idea? Thanks, Max From owner-freebsd-x11@FreeBSD.ORG Wed Mar 6 06:15:46 2013 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 595863DA; Wed, 6 Mar 2013 06:15:46 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id B7AA1308; Wed, 6 Mar 2013 06:15:45 +0000 (UTC) Received: from tom.home (kostik@localhost [127.0.0.1]) by kib.kiev.ua (8.14.6/8.14.6) with ESMTP id r266FbwA063724; Wed, 6 Mar 2013 08:15:37 +0200 (EET) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.8.0 kib.kiev.ua r266FbwA063724 Received: (from kostik@localhost) by tom.home (8.14.6/8.14.6/Submit) id r266Fb5N063723; Wed, 6 Mar 2013 08:15:37 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Wed, 6 Mar 2013 08:15:37 +0200 From: Konstantin Belousov To: Max Brazhnikov Subject: Re: high system load when using i915kms Message-ID: <20130306061537.GM3794@kib.kiev.ua> References: <2460779.xZBtdeG4eu@mercury.ph.man.ac.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="TxukmIqg3MmZ0Kmh" Content-Disposition: inline In-Reply-To: <2460779.xZBtdeG4eu@mercury.ph.man.ac.uk> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Status: No, score=-2.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on tom.home Cc: freebsd-x11@freebsd.org, freebsd-usb@freebsd.org X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Mar 2013 06:15:46 -0000 --TxukmIqg3MmZ0Kmh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Mar 05, 2013 at 12:24:51PM +0000, Max Brazhnikov wrote: > Hi, >=20 > I've switched recently to new xorg and kms driver. Sometimes after bootin= g my > system (9.1-STABLE #0 r245741 amd64) shows high load: >=20 > interrupt total rate > irq1: atkbd0 612 0 > irq9: acpi0 3693 1 > irq12: psm0 7512 2 > irq16: uhci0 uhci3 377172955 144069 > irq20: hpet0 2923357 1116 > irq23: uhci1 ehci1 47432 18 > irq256: hdac0 80799 30 > irq257: alc0 78474 29 > irq258: iwn0 19994 7 > irq259: ahci0 100016 38 > irq260: vgapci0 31250 11 > Total 380466094 145327 >=20 > I've never seen this with old xorg. The problem is not always reproducibl= e,=20 > but it's enough just to load i915kms module without staring X to trigger = it. >=20 > Any idea? So what is the complain ? Do you meaning that loading i915kms causes the spike in the interrupt rate on the irq16 line ? What is the graphics part and the south bridge you are using ? Show the pciconf -lvc output. --TxukmIqg3MmZ0Kmh Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQIcBAEBAgAGBQJRNt8IAAoJEJDCuSvBvK1B9/4QAJAiUTv1r3VvUT6Tlogg1mhJ FbOlvTkIun9cDfuMXJXTCSXRN8jpqzRZug2G6oINzepIWuaIQeJbEfRUXTjjd5GN Dsj2A50WnKkFNAyaGRHCuzVT/quLCRe9kc4oOF/khQdnd3CG7uYs9eD06zhxQXJF BQIBEuRaIer4vUKQ8J1NtVleQdYD2X4E3NOLr5KY/gRQPE7zuuM4G6QCE74lXFbc jDPLvLKTJV7dw8T0ty0DvIfE0QC2RXwDrcKSEJ6/jwROEB44k9PBoLSFtiI2MUAN sRpiBlb4408GzMdzvOOGOqWD+OtmrCJZSIEx5Ev4dQ2FgnUR5V7NyB0irnCYCAdM nMo/8Tk/Cy2qNH9r+L66Oco+OVWpoPu+pqPQeD29ayt6sbU85zFwPXaePJamIUf7 +dkuUsMgPNUVaSPVppyjBiWU05pbGk6WvsszzZtHEkVNU4ZOfWrdEU7n0aDZxIk0 T6inkZu5OG4l8pfQVnYUpNiegIhLql2Ck32BU3PB6VbOVllRMHnGHo+cT20rvWas C+Q4fOAhTezpdlsXtDiEFKAMaE9lBI2/VYWfJQMnj5cmXA0+A6tJ/W/wmjJOPBvs cNJd8gks0tCJcjZiVBEMgZMsc+e9NXdiEnWXOdiv23rZonGruaQmjFwV3KrmFjEo iSrR/nfvey+iqnJ1tFWr =egto -----END PGP SIGNATURE----- --TxukmIqg3MmZ0Kmh-- From owner-freebsd-x11@FreeBSD.ORG Wed Mar 6 10:56:00 2013 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 8F4A680; Wed, 6 Mar 2013 10:56:00 +0000 (UTC) (envelope-from makc@freebsd.org) Received: from mail.issp.ac.ru (mail.issp.ac.ru [77.236.34.3]) by mx1.freebsd.org (Postfix) with ESMTP id 116BE162; Wed, 6 Mar 2013 10:55:59 +0000 (UTC) Received: from mercury.ph.man.ac.uk [130.88.75.175:39464] (HELO/EHLO mercury.ph.man.ac.uk, authenticated with LOGIN) by mail.issp.ac.ru with ESMTP/inet id r26AtvAt097086 (using TLSv1/SSLv3, with cipher DHE-RSA-AES256-SHA (256 bits), verified NO) Wed, 6 Mar 2013 14:55:58 +0400 (MSK) From: Max Brazhnikov To: Konstantin Belousov Subject: Re: Re: high system load when using i915kms Date: Wed, 06 Mar 2013 10:56:52 +0000 Message-ID: <2268582.B3fxbEy5KG@mercury.ph.man.ac.uk> User-Agent: KMail/4.9.5 (FreeBSD/9.1-STABLE; KDE/4.9.5; amd64; ; ) In-Reply-To: <20130306061537.GM3794@kib.kiev.ua> References: <2460779.xZBtdeG4eu@mercury.ph.man.ac.uk> <20130306061537.GM3794@kib.kiev.ua> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="ISO-8859-1" Cc: freebsd-x11@freebsd.org, freebsd-usb@freebsd.org X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Mar 2013 10:56:00 -0000 On Wed, 6 Mar 2013 08:15:37 +0200 Konstantin Belousov wrote: > On Tue, Mar 05, 2013 at 12:24:51PM +0000, Max Brazhnikov wrote: > > Hi, > > > > I've switched recently to new xorg and kms driver. Sometimes after booting my > > system (9.1-STABLE #0 r245741 amd64) shows high load: > > > > interrupt total rate > > irq1: atkbd0 612 0 > > irq9: acpi0 3693 1 > > irq12: psm0 7512 2 > > irq16: uhci0 uhci3 377172955 144069 > > irq20: hpet0 2923357 1116 > > irq23: uhci1 ehci1 47432 18 > > irq256: hdac0 80799 30 > > irq257: alc0 78474 29 > > irq258: iwn0 19994 7 > > irq259: ahci0 100016 38 > > irq260: vgapci0 31250 11 > > Total 380466094 145327 > > > > I've never seen this with old xorg. The problem is not always reproducible, > > but it's enough just to load i915kms module without staring X to trigger it. > > > > Any idea? > > So what is the complain ? Do you meaning that loading i915kms causes > the spike in the interrupt rate on the irq16 line ? I suspect it since the only change was update to newer xorg. > What is the graphics part and the south bridge you are using ? Show > the pciconf -lvc output. http://people.freebsd.org/~makc/pciconf.output Max From owner-freebsd-x11@FreeBSD.ORG Wed Mar 6 21:00:14 2013 Return-Path: Delivered-To: freebsd-x11@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 6DC22739; Wed, 6 Mar 2013 21:00:14 +0000 (UTC) (envelope-from edwin@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 49210806; Wed, 6 Mar 2013 21:00:14 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r26L0Eme074598; Wed, 6 Mar 2013 21:00:14 GMT (envelope-from edwin@freefall.freebsd.org) Received: (from edwin@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r26L0ETS074597; Wed, 6 Mar 2013 21:00:14 GMT (envelope-from edwin) Date: Wed, 6 Mar 2013 21:00:14 GMT Message-Id: <201303062100.r26L0ETS074597@freefall.freebsd.org> To: edwin@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, freebsd-x11@FreeBSD.org From: edwin@FreeBSD.org Subject: Re: ports/176703: graphics/dri : Fix complitation (not useability) on ARM X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Mar 2013 21:00:14 -0000 Synopsis: graphics/dri : Fix complitation (not useability) on ARM Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-x11 Responsible-Changed-By: edwin Responsible-Changed-When: Wed Mar 6 21:00:14 UTC 2013 Responsible-Changed-Why: Over to maintainer (via the GNATS Auto Assign Tool) http://www.freebsd.org/cgi/query-pr.cgi?pr=176703 From owner-freebsd-x11@FreeBSD.ORG Wed Mar 6 21:00:25 2013 Return-Path: Delivered-To: freebsd-x11@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 0ED4E79D; Wed, 6 Mar 2013 21:00:25 +0000 (UTC) (envelope-from edwin@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id DE37A80D; Wed, 6 Mar 2013 21:00:24 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r26L0Omf074761; Wed, 6 Mar 2013 21:00:24 GMT (envelope-from edwin@freefall.freebsd.org) Received: (from edwin@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r26L0OLj074760; Wed, 6 Mar 2013 21:00:24 GMT (envelope-from edwin) Date: Wed, 6 Mar 2013 21:00:24 GMT Message-Id: <201303062100.r26L0OLj074760@freefall.freebsd.org> To: edwin@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, freebsd-x11@FreeBSD.org From: edwin@FreeBSD.org Subject: Re: ports/176705: graphics/libGL : Fix complitation (not useability) on ARM X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Mar 2013 21:00:25 -0000 Synopsis: graphics/libGL : Fix complitation (not useability) on ARM Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-x11 Responsible-Changed-By: edwin Responsible-Changed-When: Wed Mar 6 21:00:24 UTC 2013 Responsible-Changed-Why: Over to maintainer (via the GNATS Auto Assign Tool) http://www.freebsd.org/cgi/query-pr.cgi?pr=176705 From owner-freebsd-x11@FreeBSD.ORG Thu Mar 7 13:51:04 2013 Return-Path: Delivered-To: x11@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 9ED898C7 for ; Thu, 7 Mar 2013 13:51:04 +0000 (UTC) (envelope-from portscout@portscout.freebsd.org) Received: from null.zi0r.com (null.zi0r.com [71.245.171.204]) by mx1.freebsd.org (Postfix) with ESMTP id 5C437AEF for ; Thu, 7 Mar 2013 13:51:04 +0000 (UTC) Received: from null.zi0r.com (localhost [127.0.0.1]) by null.zi0r.com (8.14.5/8.14.5) with ESMTP id r27Dow5Z083704 for ; Thu, 7 Mar 2013 08:50:58 -0500 (EST) (envelope-from portscout@null.zi0r.com) Received: (from portscout@localhost) by null.zi0r.com (8.14.5/8.14.5/Submit) id r27DowR6083688; Thu, 7 Mar 2013 08:50:58 -0500 (EST) (envelope-from portscout) Message-Id: <201303071350.r27DowR6083688@null.zi0r.com> MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain Date: Thu, 7 Mar 2013 08:50:58 -0500 From: portscout@portscout.freebsd.org To: x11@freebsd.org Subject: FreeBSD ports you maintain which are out of date X-Mailer: portscout/0.8.1 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Mar 2013 13:51:04 -0000 Dear port maintainer, The portscout new distfile checker has detected that one or more of your ports appears to be out of date. Please take the opportunity to check each of the ports listed below, and if possible and appropriate, submit/commit an update. If any ports have already been updated, you can safely ignore the entry. You will not be e-mailed again for any of the port/version combinations below. Full details can be found at the following URL: http://portscout.freebsd.org/x11@freebsd.org.html Port | Current version | New version ------------------------------------------------+-----------------+------------ x11-servers/xephyr | 1.7.7 | 1.14.0 ------------------------------------------------+-----------------+------------ x11-servers/xorg-dmx | 1.7.7 | 1.14.0 ------------------------------------------------+-----------------+------------ x11-servers/xorg-nestserver | 1.7.7 | 1.14.0 ------------------------------------------------+-----------------+------------ x11-servers/xorg-server | 1.7.7 | 1.14.0 ------------------------------------------------+-----------------+------------ x11-servers/xorg-vfbserver | 1.7.7 | 1.14.0 ------------------------------------------------+-----------------+------------ If any of the above results are invalid, please check the following page for details on how to improve portscout's detection and selection of distfiles on a per-port basis: http://portscout.freebsd.org/info/portscout-portconfig.txt If wish to stop receiving portscout reminders, please contact portscout@portscout.freebsd.org Thanks. From owner-freebsd-x11@FreeBSD.ORG Thu Mar 7 14:47:28 2013 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 23D14EEB; Thu, 7 Mar 2013 14:47:28 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 8F711EF8; Thu, 7 Mar 2013 14:47:27 +0000 (UTC) Received: from tom.home (kostik@localhost [127.0.0.1]) by kib.kiev.ua (8.14.6/8.14.6) with ESMTP id r27ElNFA005835; Thu, 7 Mar 2013 16:47:23 +0200 (EET) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.8.0 kib.kiev.ua r27ElNFA005835 Received: (from kostik@localhost) by tom.home (8.14.6/8.14.6/Submit) id r27ElN7N005834; Thu, 7 Mar 2013 16:47:23 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Thu, 7 Mar 2013 16:47:23 +0200 From: Konstantin Belousov To: Max Brazhnikov Subject: Re: Re: high system load when using i915kms Message-ID: <20130307144723.GZ3794@kib.kiev.ua> References: <2460779.xZBtdeG4eu@mercury.ph.man.ac.uk> <20130306061537.GM3794@kib.kiev.ua> <2268582.B3fxbEy5KG@mercury.ph.man.ac.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ggC1wwkyYWqEab//" Content-Disposition: inline In-Reply-To: <2268582.B3fxbEy5KG@mercury.ph.man.ac.uk> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Status: No, score=-2.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on tom.home Cc: freebsd-x11@freebsd.org, freebsd-usb@freebsd.org X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Mar 2013 14:47:28 -0000 --ggC1wwkyYWqEab// Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 06, 2013 at 10:56:52AM +0000, Max Brazhnikov wrote: > On Wed, 6 Mar 2013 08:15:37 +0200 Konstantin Belousov wrote: > > On Tue, Mar 05, 2013 at 12:24:51PM +0000, Max Brazhnikov wrote: > > > Hi, > > >=20 > > > I've switched recently to new xorg and kms driver. Sometimes after bo= oting=20 > my > > > system (9.1-STABLE #0 r245741 amd64) shows high load: > > >=20 > > > interrupt total rate > > > irq1: atkbd0 612 0 > > > irq9: acpi0 3693 1 > > > irq12: psm0 7512 2 > > > irq16: uhci0 uhci3 377172955 144069 > > > irq20: hpet0 2923357 1116 > > > irq23: uhci1 ehci1 47432 18 > > > irq256: hdac0 80799 30 > > > irq257: alc0 78474 29 > > > irq258: iwn0 19994 7 > > > irq259: ahci0 100016 38 > > > irq260: vgapci0 31250 11 > > > Total 380466094 145327 > > >=20 > > > I've never seen this with old xorg. The problem is not always=20 > reproducible,=20 > > > but it's enough just to load i915kms module without staring X to trig= ger=20 > it. > > >=20 > > > Any idea? > >=20 > > So what is the complain ? Do you meaning that loading i915kms causes > > the spike in the interrupt rate on the irq16 line ? >=20 > I suspect it since the only change was update to newer xorg. Do you mean that the same kernel was kept, and only usermode components upgraded ? This is plain impossible to cause the effect you described. >=20 > > What is the graphics part and the south bridge you are using ? Show > > the pciconf -lvc output. >=20 > http://people.freebsd.org/~makc/pciconf.output I have exactly the same GM45 chipset in my laptop. BTW, is the vmstat output you demonstrated in the first message, was for the system with running X ? I am asking about the presence of the rendering activity on the display, which would explain the significant count of the interrupts from GPU. --ggC1wwkyYWqEab// Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQIcBAEBAgAGBQJROKh7AAoJEJDCuSvBvK1Bw5wP/Rhf6ECWJIcXMtwmQRX05MEK E8NIQJUs9YOZV7WXSqU6JIGFLeqxMSbpR034fR3CR3lhnhNznB2IhZqnMx//io3M htWCslWWBJgr0s8VYUqMvPuKNvkHr4TOp8FmFgsYSEJ7UlGR5IgeWFnAu4T8PmYs mH3Ow4lUBF5ReIg2tZILUzK15hQYmLk0x7FAHocjCHA2YCJ0WS9+Qq+kKDHNKeer vrFuW8lWFBSgsw/xqcRyaG/+EFK1Mhyl5zeKzZ6bAPP570FwXVVDkJfGkCgzMmRU cO1CujAHAtZhT0U25rKBkjCEJLIT/v/rT8LgKs0emUToZ/8ybOIEvwK6QuXv8rTT NcZh6g5gu/jv+45Ok/IVd5p1xeYyWhPyYChxBBm7Qh5LPUySHapdNE3r2kAiJjIA RntyDPlFB889PrBQJ+NcWblfa0JQMHkANcWUSLirLXFKHhaBnGnuHDAp6Cfw6nwB weyUU/pvv3qmgdnAEvBEXu6iOk35RNZgPCwlWMMoEijfKq3284vYACLYQdnvYbUC XQ56HT1u8yIKxrzAy/iEzvdJCHA4pK7rBwFJI8MFC6SJipqh0cFx5noJ5jEs1cAS 3uw+vFUEMra74+fNLNlJpbLpPSlpeyEjq6NcrFlYyfOusjFrjRW+DmjwJ9zZPs/N 5bz2GcjLJ36bJDXVBWdp =Zdt2 -----END PGP SIGNATURE----- --ggC1wwkyYWqEab//-- From owner-freebsd-x11@FreeBSD.ORG Fri Mar 8 18:02:20 2013 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 339C91D9; Fri, 8 Mar 2013 18:02:20 +0000 (UTC) (envelope-from makc@freebsd.org) Received: from mail.issp.ac.ru (mail.issp.ac.ru [77.236.34.3]) by mx1.freebsd.org (Postfix) with ESMTP id 72EEBA3E; Fri, 8 Mar 2013 18:02:18 +0000 (UTC) Received: from mercury.ph.man.ac.uk [130.88.75.175:23129] (HELO/EHLO mercury.ph.man.ac.uk, authenticated with LOGIN) by mail.issp.ac.ru with ESMTP/inet id r28I2G0g050525 (using TLSv1/SSLv3, with cipher DHE-RSA-AES256-SHA (256 bits), verified NO) Fri, 8 Mar 2013 22:02:17 +0400 (MSK) From: Max Brazhnikov To: Konstantin Belousov Subject: Re: high system load when using i915kms Date: Fri, 08 Mar 2013 18:03:13 +0000 Message-ID: <1382092.A6MSmtKV3F@mercury.ph.man.ac.uk> User-Agent: KMail/4.9.5 (FreeBSD/9.1-STABLE; KDE/4.10.1; amd64; ; ) In-Reply-To: <20130307144723.GZ3794@kib.kiev.ua> References: <2460779.xZBtdeG4eu@mercury.ph.man.ac.uk> <2268582.B3fxbEy5KG@mercury.ph.man.ac.uk> <20130307144723.GZ3794@kib.kiev.ua> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="ISO-8859-1" Cc: freebsd-x11@freebsd.org, freebsd-usb@freebsd.org X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Mar 2013 18:02:20 -0000 On Thu, 07 Mar 2013 16:47:23 +0200 Konstantin Belousov wrote: > On Wed, Mar 06, 2013 at 10:56:52AM +0000, Max Brazhnikov wrote: > > On Wed, 6 Mar 2013 08:15:37 +0200 Konstantin Belousov wrote: > > > On Tue, Mar 05, 2013 at 12:24:51PM +0000, Max Brazhnikov wrote: > > > > Hi, > > > > > > > > I've switched recently to new xorg and kms driver. Sometimes after booting > > my > > > > system (9.1-STABLE #0 r245741 amd64) shows high load: > > > > > > > > interrupt total rate > > > > irq1: atkbd0 612 0 > > > > irq9: acpi0 3693 1 > > > > irq12: psm0 7512 2 > > > > irq16: uhci0 uhci3 377172955 144069 > > > > irq20: hpet0 2923357 1116 > > > > irq23: uhci1 ehci1 47432 18 > > > > irq256: hdac0 80799 30 > > > > irq257: alc0 78474 29 > > > > irq258: iwn0 19994 7 > > > > irq259: ahci0 100016 38 > > > > irq260: vgapci0 31250 11 > > > > Total 380466094 145327 > > > > > > > > I've never seen this with old xorg. The problem is not always > > reproducible, > > > > but it's enough just to load i915kms module without staring X to trigger > > it. > > > > > > > > Any idea? > > > > > > So what is the complain ? Do you meaning that loading i915kms causes > > > the spike in the interrupt rate on the irq16 line ? > > > > I suspect it since the only change was update to newer xorg. > Do you mean that the same kernel was kept, > and only usermode components upgraded ? Correct. The kernel and world were built from r245741 more than month ago. I used prebuilt Xorg packages from latest experimental ports, so the changes in the system are minimal. > This is plain impossible to cause the effect you described. > > > > > What is the graphics part and the south bridge you are using ? Show > > > the pciconf -lvc output. > > > > http://people.freebsd.org/~makc/pciconf.output > > I have exactly the same GM45 chipset in my laptop. > > BTW, is the vmstat output you demonstrated in the first message, was for > the system with running X ? I am asking about the presence of the rendering > activity on the display, which would explain the significant count of > the interrupts from GPU. Yes, it was under KDE session, however the problem can be observe with plain X and xterm or even without them: # cat test.sh #!/bin/sh vmstat -i kldload i915kms sleep 10 vmstat -i xinit & sleep 10 vmstat -i interrupt total rate irq1: atkbd0 169 3 irq9: acpi0 72 1 irq12: psm0 24 0 irq16: uhci0 uhci3 25 0 irq19: ehci0 uhci2 2 0 irq20: hpet0 20351 407 irq23: uhci1 ehci1 95 1 irq256: hdac0 71 1 irq257: alc0 347 6 irq258: iwn0 1624 32 irq259: ahci0 4095 81 Total 26875 537 interrupt total rate irq1: atkbd0 169 2 irq9: acpi0 72 1 irq12: psm0 24 0 irq16: uhci0 uhci3 1533470 24733 irq19: ehci0 uhci2 2 0 irq20: hpet0 33165 534 irq23: uhci1 ehci1 95 1 irq256: hdac0 71 1 irq257: alc0 509 8 irq258: iwn0 2090 33 irq259: ahci0 4273 68 irq260: vgapci0 1 0 Total 1573941 25386 interrupt total rate irq1: atkbd0 187 2 irq9: acpi0 94 1 irq12: psm0 24 0 irq16: uhci0 uhci3 3056916 42457 irq19: ehci0 uhci2 2 0 irq20: hpet0 44423 616 irq23: uhci1 ehci1 95 1 irq256: hdac0 71 0 irq257: alc0 634 8 irq258: iwn0 2494 34 irq259: ahci0 4772 66 irq260: vgapci0 10 0 Total 3109722 43190 PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 11 root 2 155 ki31 0K 32K RUN 1 4:16 120.35% idle 12 root 18 -84 - 0K 288K WAIT 0 0:57 76.34% intr I've got this after second boot today, although I couldn't reproduce it yesterday even after ten attempts. But sometimes it's quite nasty and I have to reboot the system several times to get rid of it. Max From owner-freebsd-x11@FreeBSD.ORG Fri Mar 8 19:38:14 2013 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B93392BA; Fri, 8 Mar 2013 19:38:14 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-ob0-x22c.google.com (mail-ob0-x22c.google.com [IPv6:2607:f8b0:4003:c01::22c]) by mx1.freebsd.org (Postfix) with ESMTP id 61701D1F; Fri, 8 Mar 2013 19:38:14 +0000 (UTC) Received: by mail-ob0-f172.google.com with SMTP id tb18so1613941obb.17 for ; Fri, 08 Mar 2013 11:38:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=EhSJ6AQJGpD0uQfg9WgeEmCNScbn86HxanCOOWIgmug=; b=HjMMVIw6EL+SV46xXwzkgEhlfjev6DUfURetXbYDiGvFMjC+I6/dw6zlBlVTA+55EZ acQc1kWdCKAT0Z6NmG27tw5duqtsmXLfVS39DfvkY2/LOYnYHCTx9hyi9I7+P/fsNase JH9tStLmmemkmZnlhVQgW26kG3E9a7AKMOIFfcKB0tSrSZE3+5hVCtykDzolXECce49C htBicWVOmGwyfHHDYu8w+6bmODmsWaABag6oP2pMvP/f1Fclg6KJF+axNT1uSqS0QIB4 BwNoeG7+ybIyDxwkJj/vF12vSG2tIOJsXCqhMX+hbSKUgJLGUIJDEy68tMP/Y4MbplDW mUEw== MIME-Version: 1.0 X-Received: by 10.60.22.69 with SMTP id b5mr2990656oef.38.1362771493888; Fri, 08 Mar 2013 11:38:13 -0800 (PST) Sender: kob6558@gmail.com Received: by 10.76.11.165 with HTTP; Fri, 8 Mar 2013 11:38:13 -0800 (PST) In-Reply-To: <1382092.A6MSmtKV3F@mercury.ph.man.ac.uk> References: <2460779.xZBtdeG4eu@mercury.ph.man.ac.uk> <2268582.B3fxbEy5KG@mercury.ph.man.ac.uk> <20130307144723.GZ3794@kib.kiev.ua> <1382092.A6MSmtKV3F@mercury.ph.man.ac.uk> Date: Fri, 8 Mar 2013 11:38:13 -0800 X-Google-Sender-Auth: XixB0NJxa-CwYtI5KyDpbZNs6tE Message-ID: Subject: Re: high system load when using i915kms From: Kevin Oberman To: Max Brazhnikov Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-x11@freebsd.org, freebsd-usb@freebsd.org X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Mar 2013 19:38:14 -0000 On Fri, Mar 8, 2013 at 10:03 AM, Max Brazhnikov wrote: > On Thu, 07 Mar 2013 16:47:23 +0200 Konstantin Belousov wrote: > > On Wed, Mar 06, 2013 at 10:56:52AM +0000, Max Brazhnikov wrote: > > > On Wed, 6 Mar 2013 08:15:37 +0200 Konstantin Belousov wrote: > > > > On Tue, Mar 05, 2013 at 12:24:51PM +0000, Max Brazhnikov wrote: > > > > > Hi, > > > > > > > > > > I've switched recently to new xorg and kms driver. Sometimes after > booting > > > my > > > > > system (9.1-STABLE #0 r245741 amd64) shows high load: > > > > > > > > > > interrupt total rate > > > > > irq1: atkbd0 612 0 > > > > > irq9: acpi0 3693 1 > > > > > irq12: psm0 7512 2 > > > > > irq16: uhci0 uhci3 377172955 144069 > > > > > irq20: hpet0 2923357 1116 > > > > > irq23: uhci1 ehci1 47432 18 > > > > > irq256: hdac0 80799 30 > > > > > irq257: alc0 78474 29 > > > > > irq258: iwn0 19994 7 > > > > > irq259: ahci0 100016 38 > > > > > irq260: vgapci0 31250 11 > > > > > Total 380466094 145327 > > > > > > > > > > I've never seen this with old xorg. The problem is not always > > > reproducible, > > > > > but it's enough just to load i915kms module without staring X to > trigger > > > it. > > > > > > > > > > Any idea? > > > > > > > > So what is the complain ? Do you meaning that loading i915kms causes > > > > the spike in the interrupt rate on the irq16 line ? > > > > > > I suspect it since the only change was update to newer xorg. > > Do you mean that the same kernel was kept, > > and only usermode components upgraded ? > > Correct. The kernel and world were built from r245741 more than month ago. > I used prebuilt Xorg packages from latest experimental ports, so the > changes > in the system are minimal. > > > This is plain impossible to cause the effect you described. > > > > > > > What is the graphics part and the south bridge you are using ? Show > > > > the pciconf -lvc output. > > > > > > http://people.freebsd.org/~makc/pciconf.output > > > > I have exactly the same GM45 chipset in my laptop. > > > > BTW, is the vmstat output you demonstrated in the first message, was for > > the system with running X ? I am asking about the presence of the > rendering > > activity on the display, which would explain the significant count of > > the interrupts from GPU. > > Yes, it was under KDE session, however the problem can be observe with > plain X > and xterm or even without them: > # cat test.sh > #!/bin/sh > vmstat -i > kldload i915kms > sleep 10 > vmstat -i > xinit & > sleep 10 > vmstat -i > > interrupt total rate > irq1: atkbd0 169 3 > irq9: acpi0 72 1 > irq12: psm0 24 0 > irq16: uhci0 uhci3 25 0 > irq19: ehci0 uhci2 2 0 > irq20: hpet0 20351 407 > irq23: uhci1 ehci1 95 1 > irq256: hdac0 71 1 > irq257: alc0 347 6 > irq258: iwn0 1624 32 > irq259: ahci0 4095 81 > Total 26875 537 > interrupt total rate > irq1: atkbd0 169 2 > irq9: acpi0 72 1 > irq12: psm0 24 0 > irq16: uhci0 uhci3 1533470 24733 > irq19: ehci0 uhci2 2 0 > irq20: hpet0 33165 534 > irq23: uhci1 ehci1 95 1 > irq256: hdac0 71 1 > irq257: alc0 509 8 > irq258: iwn0 2090 33 > irq259: ahci0 4273 68 > irq260: vgapci0 1 0 > Total 1573941 25386 > interrupt total rate > irq1: atkbd0 187 2 > irq9: acpi0 94 1 > irq12: psm0 24 0 > irq16: uhci0 uhci3 3056916 42457 > irq19: ehci0 uhci2 2 0 > irq20: hpet0 44423 616 > irq23: uhci1 ehci1 95 1 > irq256: hdac0 71 0 > irq257: alc0 634 8 > irq258: iwn0 2494 34 > irq259: ahci0 4772 66 > irq260: vgapci0 10 0 > Total 3109722 43190 > > PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU > COMMAND > 11 root 2 155 ki31 0K 32K RUN 1 4:16 120.35% idle > 12 root 18 -84 - 0K 288K WAIT 0 0:57 76.34% intr > > I've got this after second boot today, although I couldn't reproduce it > yesterday even after ten attempts. But sometimes it's quite nasty and I > have > to reboot the system several times to get rid of it. > > Max > So the issue is that that the interrupts from one or another of the USB devices has exploded from near zero to around 40K when the kernel module is loaded? A couple of possibly irrelevant questions. Do you normally manually load the module? I did not research the issue, but when I manually load the module I was seeing things just grind to a halt. If I started Gnome, the module was loaded automatically by X, and things worked. Why loading the Intel KMS module would cause a massive increase in interrupts on a USB interface completely baffles me, but I suspect some sort of race is going on when the module is pre-loaded. -- R. Kevin Oberman, Network Engineer E-mail: rkoberman@gmail.com From owner-freebsd-x11@FreeBSD.ORG Sat Mar 9 14:09:49 2013 Return-Path: Delivered-To: x11@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 2E909285 for ; Sat, 9 Mar 2013 14:09:49 +0000 (UTC) (envelope-from portscout@portscout.freebsd.org) Received: from null.zi0r.com (null.zi0r.com [71.245.171.204]) by mx1.freebsd.org (Postfix) with ESMTP id E455F32B for ; Sat, 9 Mar 2013 14:09:48 +0000 (UTC) Received: from null.zi0r.com (localhost [127.0.0.1]) by null.zi0r.com (8.14.5/8.14.5) with ESMTP id r29E9f2p056071 for ; Sat, 9 Mar 2013 09:09:42 -0500 (EST) (envelope-from portscout@null.zi0r.com) Received: (from portscout@localhost) by null.zi0r.com (8.14.5/8.14.5/Submit) id r29E9fx0055924; Sat, 9 Mar 2013 09:09:41 -0500 (EST) (envelope-from portscout) Message-Id: <201303091409.r29E9fx0055924@null.zi0r.com> MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain Date: Sat, 9 Mar 2013 09:09:41 -0500 From: portscout@portscout.freebsd.org To: x11@freebsd.org Subject: FreeBSD ports you maintain which are out of date X-Mailer: portscout/0.8.1 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Mar 2013 14:09:49 -0000 Dear port maintainer, The portscout new distfile checker has detected that one or more of your ports appears to be out of date. Please take the opportunity to check each of the ports listed below, and if possible and appropriate, submit/commit an update. If any ports have already been updated, you can safely ignore the entry. You will not be e-mailed again for any of the port/version combinations below. Full details can be found at the following URL: http://portscout.freebsd.org/x11@freebsd.org.html Port | Current version | New version ------------------------------------------------+-----------------+------------ x11/inputproto | 2.0.2 | 2.3 ------------------------------------------------+-----------------+------------ x11/libXi | 1.4.5 | 1.7 ------------------------------------------------+-----------------+------------ If any of the above results are invalid, please check the following page for details on how to improve portscout's detection and selection of distfiles on a per-port basis: http://portscout.freebsd.org/info/portscout-portconfig.txt If wish to stop receiving portscout reminders, please contact portscout@portscout.freebsd.org Thanks.