Xorg lockup in drmwtq state

Guido Falsi mad at madpilot.net
Fri May 6 09:31:02 UTC 2011


On Thu, May 05, 2011 at 07:36:02PM +0300, Kostik Belousov wrote:
> > 
> > Thank in advance for any help!

First of all a big thank you for your interesti in this issue!

> 
> I assume that you use the latest version of the X from ports.

Sure, forgot to mention.

> 
> Do not expect a quick resolution of the issue, at least from me.

I'm not in an hurry to solve this. Sorry if my first email sounded
demanding. I just wanted to report the problem so it could be solved,
eventually.

Unluckily I'm unable to dig any further by myself :(

Also, if the workarounds you suggest below do stop the lockup or
mitigate it to an acceptable level, I can live with this problem.

> 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.

I was able to reproduce the problem in just a few minutes and I've
collected the above information.

I'm attaching an archieve with what you asked for and also my
kernel config(just in case).

The vmstat file has vmstat -i output every 10 seconds with timestamps.
I wrote down in there when the lockup happened.

I also added top output showing all processes, so you can check if I
missed any unusual sleep states you could be interested in.

I'm available for any further info, debugging and clearifications
which you could need

> 3. [Only if you have much time] Set hw.dri.0.debug to 1 and post
>    the kernel log somewhere.

I'll try to find time for this. Perhaps this afternoon. As soon as I
have something I'll get it to you.

> 
> 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.

I'll test these too, this information is also very useful! :)

-- 
Guido Falsi <mad at madpilot.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: debug.tbz
Type: application/octet-stream
Size: 6842 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-x11/attachments/20110506/2f5acd70/debug-0001.obj


More information about the freebsd-x11 mailing list