Problem using an Mesa based App with recent xorg/mesa/xf86-video-intel (loop?)

Simon Thum simon.thum at
Wed Mar 3 04:31:48 PST 2010

Florian Mickler wrote:
> On Tue, 2 Mar 2010 11:50:05 -0800
> Jesse Barnes <jbarnes at> wrote:
>> So the server is hanging when the client tries to get buffers?  Can you
>> see what it's doing at the time?
> i'll try tomorrow...
> meanwhile, i watched a film and did some other things and now glxgears
> doesn't start anymore:
> dmk at schatten ~ $glxgears 
> Mesa: Mesa 7.8-devel DEBUG build Mar  2 2010 19:57:41
> Mesa warning: couldn't open, software DXTn compression/decompression unavailable
> Mesa: Initializing x86-64 optimizations
> Running synchronized to the vertical refresh.  The framerate should be
> approximately 1/8504368 the monitor refresh rate.
> X Error of failed request:  BadDrawable (invalid Pixmap or Window parameter)
>   Major opcode of failed request:  133 (DRI2)
>   Minor opcode of failed request:  8 (DRI2SwapBuffers           )
>   Resource id in failed request:  0x1c00002
>   Serial number of failed request:  32
>   Current serial number in output stream:  32
> does this 1/[bignumber] look alright? maybe that is the culprit...
> waiting some 10^6 time ... i think the monitor refresh rate is
> something about 60 hz? not over some khz?  which means that 1khz/8504368
> is something about 1/8500 hz  which amounts to about 140 secs? (it is
> late and i may have switched nominater and denominator a bit too
> often... but if i don't have crossed anything, than that could
> cause some hang... don't it?) 
FWIW, my glxgears says:
The framerate should beapproximately 1/1835103081 the monitor refresh rate.

It then runs fine. I'm on radeon r200, but since my update yesterday
(git master stack using gentoo overlay) I also have OpenGL problems,
most notably, KWin 4.4's compositing doesn't work any more. Probably,
this isn't just intel then.

My old X did work fine, dating from when the DRI2 Swapbuffers lifetime
bugfix hit master (711e26466ae04ae93ff4c48d377d83d68a6320e9).

If it helps, I can provide anything that doesn't take me a whole day to

> cheers,
> Flo
> p.s.: my software stack is git master of libdrm, mesa
> and xf86-video-intel as well as xserver-master + krh's pull request, so
> that it looks light that:
> 90b6ab4c5f057737b5396f987fdea7dd5716b086 glx/dri2: Notify the driver when its buffers become invalid.
> 68b1e4e23b008f8fbb74e1cffe200234a3840d91 dri2: Support the DRI2InvalidateBuffers event.
> 2b44f8ce85ab1d64335c9181864fb4f376783982 dri2: No need to blit from front on DRI2GetBuffers if they're just being reused.
> 543e3a2adcf63bd7728baf29353a65925d112205 Import linked list helpers from the intel DDX.
> 31ca49a38c9dbd700c7283e7fd2f8cb6daf1a0cf Add a ConfigNotify hook.
> de86a3a3448f0a55c1cd99aee9ea80070a589877 Allow for missing or disabled compat_output
> fbbadca7e88391e81ab0f470290f5eec36aa9ce7 Share enum definition for det_monrec_parameter sync_source
> 4b55b2cf8a52c39b53bae11cd1bc7314481d4c86 DRI2: initialize event->drawable in DRI2SwapEvent
> 780c95caf9888fa4548dfe4c1c78a7e7ce99a9ed Merge remote branch 'whot/for-keith'
> _______________________________________________
> xorg-devel mailing list
> xorg-devel at

More information about the xorg-devel mailing list