Re: redraw, who (xlib/cairo), when...

2013-05-28 Thread Glynn Clements
First Last wrote: after some reads and looking at the event.c from jwm, my clock works! I'm using a structure like this :     while(XPending(dpy)==0){     usleep(100);     updateClock(myClock); Ugh. This causes the process to be

Re: Triple monitor, one card; xrandr = xorg.conf

2013-05-28 Thread Nick Urbanik
Dear Folks, On 26/05/13 08:52 +1000, Nick Urbanik wrote: Sorry, perhaps I have been insufficiently clear on what my aim is. 1. If you look at the xrandr command (which, as I said, works like a charm), you will see that I want to put the DisplayPort-0 in the middle, the DVI-0 on the left,

Re: redraw, who (xlib/cairo), when...

2013-05-28 Thread First Last
Hi Glynn and other guys,     while(XPending(dpy)==0){     usleep(100);     updateClock(myClock); Ugh. This causes the process to be scheduled up to 10,000 times per second, which is almost a busy wait. I would expect this process to consume

Re: Triple monitor, one card; xrandr = xorg.conf

2013-05-28 Thread Alex Deucher
On Sat, May 25, 2013 at 9:00 AM, Nick Urbanik ni...@nicku.org wrote: Dear Folks, It is trivially easy to set up three monitors with an ATI 5450 video card. One is plugged into the VGA, the other into the DVI, and the last into the DisplayPort connector. Now I want the display port monitor

Re: Triple monitor, one card; xrandr = xorg.conf

2013-05-28 Thread Nick Urbanik
Dear Alex, Thank you so much for taking the time to make a thoughtful reply. On 29/05/13 00:21 -0400, Alex Deucher wrote: On Sat, May 25, 2013 at 9:00 AM, Nick Urbanik ni...@nicku.org wrote: You can skip the above lines if you just change the monitor identifiers to match your output names.

[ANNOUNCE] libXfixes 5.0.1

2013-05-28 Thread Alan Coopersmith
libXfixes is the Xlib-based client API for the X-FIXES extension. This bug fix release includes the fix for the recently announced CVE-2013-1983, along with some other cleanups warning fixes. Adam Jackson (1): configure: Remove AM_MAINTAINER_MODE Alan Coopersmith (7): Strip

Re: [RFC][PATCH] Make GetXIDRange O(1) instead of O(N^2)

2013-05-28 Thread Roberto Ragusa
On 05/28/2013 06:35 AM, Jamey Sharp wrote: I can't give this a full review, but off-hand it seems like a good idea to me! [...] You'll want to be careful about the indentation in your patch when you put the final version together for review. This version has several different indentation

Re: [PATCH libXi 1/3] Fix potential corruption in mask_len handling

2013-05-28 Thread walter harms
Am 28.05.2013 07:52, schrieb Peter Hutterer: First: check for allocation failure on the mask. XI2 requires that the mask is zeroed, so we can't just Data() the mask provided by the client (it will pad) - we need a tmp buffer. Make sure that doesn't fail. Second: req-mask_len is a

Re: [PATCH 2/6] gpu: host1x: Fix syncpoint wait return value

2013-05-28 Thread Thierry Reding
On Mon, May 27, 2013 at 09:55:46AM +0300, Arto Merilainen wrote: On 05/26/2013 01:12 PM, Thierry Reding wrote: * PGP Signed by an unknown key On Fri, May 17, 2013 at 02:49:44PM +0300, Arto Merilainen wrote: [...] Thinking about it, maybe it would be good to have two separate error codes.

Re: [PATCH libXi 1/3] Fix potential corruption in mask_len handling

2013-05-28 Thread Alan Coopersmith
On 05/28/13 12:22 AM, walter harms wrote: Is the INT_MAX needed here ? running X on 16bit machines seems very odd (is that possible ?) 16-bits would be SHORT_MAX. INT_MAX is 32-bits on all platforms X currently supports. -- -Alan Coopersmith- alan.coopersm...@oracle.com

Re: [RFC][PATCH] Make GetXIDRange O(1) instead of O(N^2)

2013-05-28 Thread Peter Harris
On 2013-05-28 03:15, Roberto Ragusa wrote: I hope someone can explain the ID reuse stuff. I'm not able to say what applications rely on this, but I can say that in my first implementation I assumed one add and one free for each ID and the KDE desktop was not able to start (and fluxbox too,

Re: [PATCH libXi 1/3] Fix potential corruption in mask_len handling

2013-05-28 Thread walter harms
Am 28.05.2013 17:55, schrieb Alan Coopersmith: On 05/28/13 12:22 AM, walter harms wrote: Is the INT_MAX needed here ? running X on 16bit machines seems very odd (is that possible ?) 16-bits would be SHORT_MAX. INT_MAX is 32-bits on all platforms X currently supports. This was not my

Re: [PATCH libXi 1/3] Fix potential corruption in mask_len handling

2013-05-28 Thread Alan Coopersmith
On 05/28/13 10:16 AM, walter harms wrote: Am 28.05.2013 17:55, schrieb Alan Coopersmith: On 05/28/13 12:22 AM, walter harms wrote: Is the INT_MAX needed here ? running X on 16bit machines seems very odd (is that possible ?) 16-bits would be SHORT_MAX. INT_MAX is 32-bits on all platforms X

X Protocol: Match Error does not identify what failed.

2013-05-28 Thread Ralph Corderoy
Hi, Some errors, e.g. Window, contain the bad resource ID but the common Match error doesn't use any of the many spare bytes it has to give the caller a clue what was disliked in the specified request. I realise it would vary per request, but some indication, e.g. the third in a LISTofVALUE, or

Re: [PATCH] dix: Include selection.h directly.

2013-05-28 Thread Keith Packard
Maarten Lankhorst maarten.lankho...@canonical.com writes: Fixes the implicit declaration of DeleteWindowFromAnySelections during debian's udeb build. Signed-off-by: Maarten Lankhorst maarten.lankho...@canonical.com Reviewed-by: Keith Packard kei...@keithp.com -- keith.pack...@intel.com

Re: [RFC][PATCH] Make GetXIDRange O(1) instead of O(N^2)

2013-05-28 Thread Keith Packard
Roberto Ragusa m...@robertoragusa.it writes: The basic problem is that when a client (xcb?) asks for free ids, the code makes a lot of inefficient guesses and spends an awful amount of time in identifying range of elements NOT present in its data structures (hashes). The core protocol has no

Re: [PATCH 2/6] gpu: host1x: Fix syncpoint wait return value

2013-05-28 Thread Keith Packard
Thierry Reding thierry.red...@gmail.com writes: That doesn't sound right. Maybe drmIoctl() needs fixing instead. Looking at the history, drmIoctl() was introduced to automatically loop if a signal was received (commit 8b9ab108ec1f2ba2b503f713769c4946849b3cb2). However the ioctl(3p) manpage

[ANNOUNCE] libFS 1.0.5

2013-05-28 Thread Alan Coopersmith
libFS is the protocol binding library used by clients of X Font Servers (xfs), such as xfsinfo, fslsfonts, and the X servers themselves. This minor bugfix release includes the fix for the security issue recently reported as CVE-2013-1996, as well as a number of other cleanups of the memory

How to easily swap the connector order?

2013-05-28 Thread Ing. Daniel Rozsnyó
Hi, I am using a configuration for two heads, :0.0 and :0.1: /Section Device// //Identifier devDn// //Driver radeon// //BusID PCI:0:1:0// //Option monitor-VGA-0 monDn// //Screen 0// //EndSection// // //Section Device// //

Re: How to easily swap the connector order?

2013-05-28 Thread Michel Dänzer
On Die, 2013-05-28 at 18:07 +0200, Ing. Daniel Rozsnyó wrote: Hi, I am using a configuration for two heads, :0.0 and :0.1: Section Device Identifier devDn Driver radeon BusID PCI:0:1:0 Option monitor-VGA-0 monDn Screen 0

Re: How to easily swap the connector order?

2013-05-28 Thread Ing. Daniel Rozsnyó
On 05/28/2013 06:47 PM, Michel Dänzer wrote: On Die, 2013-05-28 at 18:07 +0200, Ing. Daniel Rozsnyó wrote: Hi, I am using a configuration for two heads, :0.0 and :0.1: Section Device Identifier devDn Driver radeon BusID PCI:0:1:0 Option

[Bug 50327] CPU power consumption and temperature way to high when using radeon drivers.

2013-05-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=50327 --- Comment #13 from Bastian Triller bastian.tril...@gmail.com --- Applying the changes against 3.8.13 as stated in https://bugs.freedesktop.org/show_bug.cgi?id=49981#c30 lets the low power profile change the frequencies. The temperatures drop

Re: How to easily swap the connector order?

2013-05-28 Thread Alex Deucher
From: Ing. Daniel Rozsnyó dan...@rozsnyo.com To: Michel Dänzer mic...@daenzer.net Cc: xorg-driver-ati@lists.x.org Sent: Tuesday, May 28, 2013 1:03 PM Subject: Re: How to easily swap the connector order? On 05/28/2013 06:47 PM, Michel Dänzer wrote: On Die,

[Bug 50327] CPU power consumption and temperature way to high when using radeon drivers.

2013-05-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=50327 --- Comment #14 from tobi...@yahoo.de --- I would like to test that, but have no clue how to apply those changes. Would be nice if someone can give me instructions on that. -- You are receiving this mail because: You are the assignee for the