Date: Thu, 5 May 2011 19:36:02 +0300 From: Kostik Belousov <kostikbel@gmail.com> To: Guido Falsi <mad@madpilot.net> Cc: x11@freebsd.org Subject: Re: Xorg lockup in drmwtq state Message-ID: <20110505163602.GY48734@deviant.kiev.zoral.com.ua> In-Reply-To: <20110505131736.GE29667@megatron.madpilot.net> References: <20110505131736.GE29667@megatron.madpilot.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--GYFUIf6OKvquWRcX Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable [Redirected to x11@] On Thu, May 05, 2011 at 03:17:36PM +0200, Guido Falsi wrote: > Hi! >=20 > In the last week I have started to see the situation described in the > subject several times. >=20 > I'd really appreciate some help about this issue, since I don't know > where to look at to better diagnose it. >=20 > The screen locks up, but the mouse cursor still moves. >=20 > I can log in via ssh and from top I see this line for Xorg: >=20 > 1563 root 1 44 0 388M 326M drmwtq 1 5:05 0.00% Xorg >=20 > the last line from Xorg.0.log reads: >=20 > [mi] EQ overflowing. The server is probably stuck in an infinite loop. >=20 > I updated the system on Apr 28 just after cvsupping the latest > 8-stable. > I also upgraded to Firefox 4 on that day. >=20 > I mention Firefox 4 because these lockups are always happening while > using FF4. It also looks like thay are happening when I use FF4 while I > have at least one VirtualBox machine running. >=20 > I know this sounds crazy, but this is what I'm seeing. I'm trying to do > some more testing but I can't reproduce this with just FF4 or just > VirtualBox running. >=20 > This machine has intel graphics: >=20 > vgapci0: <VGA-compatible display> port 0x1210-0x1217 mem > 0xf0100000-0xf017ffff,0xe0000000-0xefffffff,0xf0000000-0xf00fffff irq 16 > at device 2.0 on pci0 > agp0: <Intel Q35 SVGA controller> on vgapci0 > agp0: aperture size is 256M, detected 6140k stolen memory > drm0: <Intel Q35> on vgapci0 >=20 > Up to March 10 this was not happening.(I have not used this machine in > the days between March 10 and Apr 28, I'm sorry I can't really > narrow it down any better) >=20 > Putting blame on VirtualBox I disabled 3D acceleration in all virtual > machines, but this did not solve nor mitigate the problem. >=20 > Thank in advance for any help! I assume that you use the latest version of the X from ports. Do not expect a quick resolution of the issue, at least from me. Nonetheless, I would like to see some additional data: 1. vmstat -i for some time before, and after the hang 2. procstat -k for Xorg server and firefox, possibly virtualbox. Look around to see is there any other processes in unusual sleep state, and provide procstat -k for them too. 3. [Only if you have much time] Set hw.dri.0.debug to 1 and post the kernel log somewhere. As a workaround, you might try to set LIBGL_ALWAYS_INDIRECT to 1 in environment for Firefox, or to recompile graphics/cairo without OpenGL support. --GYFUIf6OKvquWRcX Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iEYEARECAAYFAk3C0fIACgkQC3+MBN1Mb4h+TACg5MASLuU2Gz0InhcITU4Nk79G jqEAnjJzHZM2UKvuMHedxUoP0yNe56+n =cMSn -----END PGP SIGNATURE----- --GYFUIf6OKvquWRcX--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110505163602.GY48734>