way to detect to xserver-xorg version

2010-08-14 Thread Tias
Hey, In my program, I want to check that the xserver-xorg version is >= 1.8.0. What way to do this is advised: At runtime using XVendorRelease(), or do there exist different releases with inconsistent numbering ? And should this be combined with a literal match on XServerVendor() ? At conf

Re: Concerning "X freezing occasionally", I can confirm, somewhat

2010-08-14 Thread Marty Jack
I found the, or at least one cause of the, problem. It is an unhandled select on the DRM FD, causing a loop around the select. It is stuck because the RegisterBlockAndWakeupHandler that was established in drmmode_pre_init of the Intel driver was lost. Under normal circumstances this will hand

Xvideo Performance Regression

2010-08-14 Thread Ken Mandelberg
Recently I went from Ubuntu 9.10 (Karmic) to 10.04 (Lucid) on a Pentium M / Intel 855GME laptop, and the Xvideo performance significantly got worse, Both can handle 720P, but karmic can handle 1080 and Lucid can't. On the 1080 video on Karmic I see Xorg at 12% of the cpu with 20% idle headro

Manipulate x windows

2010-08-14 Thread Yan Seiner
OK, I know this is more of a WM question... I'm looking for a CLI utility that would let me manipulate (resize and relocate) windows based on WM_NAME or WM_CLASS. Is anyone aware of any such thing? I need to open a window and position it - but the app does not fully support the -geometry op

Re: Concerning "X freezing occasionally", I can confirm, somewhat

2010-08-14 Thread Keith Packard
On Sat, 14 Aug 2010 15:41:02 -0400, Marty Jack wrote: > It's really up to the server architects to decide how to fix this > "properly". I might suggest that the Init stay outside the loop, and > then Register be changed so that if the handler is already registered, > it is a no-op. That seems l

Re: Manipulate x windows

2010-08-14 Thread Antoine Martin
Have a look at wmctl and devilspie A. Yan Seiner wrote: >OK, I know this is more of a WM question... > >I'm looking for a CLI utility that would let me manipulate (resize and >relocate) windows based on WM_NAME or WM_CLASS. Is anyone aware of any >such thing? > >I need to open a window and p

Re: X regression

2010-08-14 Thread Joel Feiner
On Wed, Aug 11, 2010 at 2:56 PM, Frans de Boer wrote: > On 08/11/2010 05:28 PM, Joel Feiner wrote: > > KDE has a pretty spiffy screen configuration utility that can do per-screen > resolution, layout configuration, etc. It uses randr behind the scenes, of > course. > > On Wed, Aug 11, 2010 at 4