Re: [PATCH] dri2: Fix authentication for v8 clients.

2012-06-27 Thread Knut Petersen
xserver master, glxgears with normal user privileges: i915 and swrast fail to load. Nevertheless: glxgears runs, tells that DRI is unavailable and something about 60 FPS. In reality only a few frames are really drawn every second. xserver master, glxgears with root privileges: glxgears runs

[PATCH xrandr] add EOL on XA_INTEGER properties of length % 16 != 15

2012-06-27 Thread Alon Levy
Signed-off-by: Alon Levy al...@redhat.com --- xrandr.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/xrandr.c b/xrandr.c index 6683ceb..7bc5eee 100644 --- a/xrandr.c +++ b/xrandr.c @@ -3143,6 +3143,8 @@ main (int argc, char **argv) if (k % 16 == 15)

Re: [PATCH] dri2: Fix authentication for v8 clients.

2012-06-27 Thread Knut Petersen
This works for me, Tested-by: Chris Wilson ch...@chris-wilson.co.uk -Chris Tested-by: Knut Petersen knut_peter...@t-online.de It works, but thinking about EINVAL or -EINVAL or -1 seems to take some time ;-) Knut ___ xorg-devel@lists.x.org: X.Org

Re: [PATCH] dix/render: consolidate window format matching code.

2012-06-27 Thread Alex Deucher
On Wed, Jun 27, 2012 at 9:36 AM, Dave Airlie airl...@gmail.com wrote: From: Dave Airlie airl...@redhat.com This code existed in 3 different forms, perhaps it should be consolidated. Reviewed-by: Keith Packard kei...@keithp.com Signed-off-by: Dave Airlie airl...@redhat.com Reviewed-by: Alex

FOSS.in Call for Participation

2012-06-27 Thread Alan Coopersmith
FOSS.in, India's biggest open source conference, has their CFP out for this year's conference (Nov. 29 - Dec.1 in Bangalore): http://foss.in/participate/call-for-participation Like FOSDEM, it's all open source projects, not any particular area. If someone in the region wanted to present

Re: [PATCH synaptics 1/2] eventcomm: simplify conditions

2012-06-27 Thread Chase Douglas
On 06/25/2012 08:43 PM, Peter Hutterer wrote: As of 3f9794a8a0f019a4b153941c9ec1927c7797ce6f, slot_index is always = 0 when we get to either of these conditions. Signed-off-by: Peter Hutterer peter.hutte...@who-t.net Yep, left over code. Reviewed-by: Chase Douglas chase.doug...@canonical.com

Re: [PATCH synaptics 2/2] eventcomm: proto_data is not null, don't check

2012-06-27 Thread Chase Douglas
On 06/25/2012 08:43 PM, Peter Hutterer wrote: We allocate it just a few lines north of here, and already dereferenced it. Signed-off-by: Peter Hutterer peter.hutte...@who-t.net Reviewed-by: Chase Douglas chase.doug...@canonical.com ___

Re: [PATCH 2/2] randr: add provider object (v3.1)

2012-06-27 Thread Aaron Plattner
Thanks for writing this up. Comments below. On 06/25/2012 04:19 AM, Dave Airlie wrote: From: Dave Airlie airl...@redhat.com A provider object represents a GPU or virtual device that provides rendering or output services to the X server. This is the first rev of a protocol to enumerate

[PATCH 0/1] Look for ModuleData only in appropriate library

2012-06-27 Thread Michal Srb
Hi, proposing this for consideration. The module loader now looks for modulenameModuleData symbol using dlsym(RTLD_DEFAULT, name) function. That searches using the default library search order. Appart from being hypothetically slower, it increases the reference counter for the module library when

[PATCH 1/1] Look for ModuleData only in appropriate library

2012-06-27 Thread Michal Srb
Calling dlsym with handle of the module library instead of RTLD_DEFAULT prevents increasing reference counter of the library and so allows it to be really unloaded if UnloadModule is called on it later. --- hw/xfree86/loader/loader.c |8 +++- hw/xfree86/loader/loader.h |1 +

Re: FOSS.in Call for Participation

2012-06-27 Thread Alan Coopersmith
On 06/27/12 07:44 AM, Alan Coopersmith wrote: If someone in the region wanted to present on a topic related to the free graphics stack (X.Org, Mesa, DRI, Wayland, etc.) and the only thing stopping them was travel expenses, the X.Org Board may be willing to sponsor a reasonable travel budget

Re: [PATCH 1/1] Look for ModuleData only in appropriate library

2012-06-27 Thread Adam Jackson
On Wed, 2012-06-27 at 18:04 +0200, Michal Srb wrote: Calling dlsym with handle of the module library instead of RTLD_DEFAULT prevents increasing reference counter of the library and so allows it to be really unloaded if UnloadModule is called on it later. That's not how I would have expected

Re: FOSS.in Call for Participation

2012-06-27 Thread Daniel Stone
Hi, On 27 June 2012 17:25, Alan Coopersmith alan.coopersm...@oracle.com wrote: On 06/27/12 07:44 AM, Alan Coopersmith wrote: If someone in the region wanted to present on a topic related to the free graphics stack (X.Org, Mesa, DRI, Wayland, etc.) and the only thing stopping them was travel

Re: [PATCH 1/1] Look for ModuleData only in appropriate library

2012-06-27 Thread Daniel Stone
Hi, On 27 June 2012 17:04, Michal Srb m...@suse.com wrote: +void * +LoaderSymbolFromModule(const char *name, void *handle) +{ +    return dlsym(handle, name); +} As a nitpick, I'd expect this to be LoaderSymbolFromModule(handle, name) - and had wrote this even before I noticed that dlsym

Re: [PATCH 1/1] Look for ModuleData only in appropriate library

2012-06-27 Thread Michal Srb
On Wednesday 27 of June 2012 12:52:38 Adam Jackson wrote: On Wed, 2012-06-27 at 18:04 +0200, Michal Srb wrote: Calling dlsym with handle of the module library instead of RTLD_DEFAULT prevents increasing reference counter of the library and so allows it to be really unloaded if

[PATCH] dri2: Fix authentication for v8 clients (v2).

2012-06-27 Thread Christopher James Halse Rogers
The legacy logic was embarassingly wrong; AuthMagic should return errno, so returning FALSE only when AuthMagic returns nonzero is exactly wrong. v2: Match drmAuthMagic by returning -EINVAL rather than EINVAL Fix trailing whitespace https://bugs.freedesktop.org/show_bug.cgi?id=51400