[PATCH 1/3] Add missing file io header includes

2009-06-14 Thread Ben Gamari
Include unistd.h, sys/stat.h, and fcntl.h for open(), et al. --- modules/im/ximcp/imLcIm.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/modules/im/ximcp/imLcIm.c b/modules/im/ximcp/imLcIm.c index 5af08c0..17121b5 100644 --- a/modules/im/ximcp/imLcIm.c +++

[PATCH 2/3] Fix printf() format

2009-06-14 Thread Ben Gamari
Fix compiler warning: imLcIm.c:364: warning: format ‘%03x’ expects type ‘unsigned int’, but argument 6 has type ‘long unsigned int’ imLcIm.c:367: warning: format ‘%03x’ expects type ‘unsigned int’, but argument 6 has type ‘long unsigned int’ --- modules/im/ximcp/imLcIm.c |8 1

[PATCH 3/3] Add missing time.h include

2009-06-14 Thread Ben Gamari
Fix compiler warning, imLcIm.c:383: warning: implicit declaration of function ‘time’ imLcIm.c:383: warning: nested extern declaration of ‘time’ --- modules/im/ximcp/imLcIm.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/modules/im/ximcp/imLcIm.c

Xorg missing includes

2009-06-14 Thread Ben Gamari
It seems like gcc 4.4 (in Karmic) must have become a little stricter recently. My xorg builds tonight have been having tons of issues with missing includes that were strangely skipped right over in the past. Anyways, I've added the necessary includes. xserver builds fine with these patches.

[PATCH 1/9] Add missing unistd.h include

2009-06-14 Thread Ben Gamari
Fix compiler error, xf86Init.c: In function ‘ddxProcessArgument’: xf86Init.c:1518: warning: implicit declaration of function ‘geteuid’ xf86Init.c:1518: warning: nested extern declaration of ‘geteuid’ xf86Init.c:1518: warning: implicit declaration of function ‘getuid’ xf86Init.c:1518: warning:

[PATCH 3/9] Add missing unistd.h, fcntl.h includes

2009-06-14 Thread Ben Gamari
--- hw/xfree86/os-support/linux/lnx_init.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/hw/xfree86/os-support/linux/lnx_init.c b/hw/xfree86/os-support/linux/lnx_init.c index a49086b..ea92543 100644 --- a/hw/xfree86/os-support/linux/lnx_init.c +++

[PATCH 9/9] Add missing unistd.h, sys/stat.h, fcntl.h includes

2009-06-14 Thread Ben Gamari
Fix compiler errors, InitOutput.c: In function ‘ddxGiveUp’: InitOutput.c:178: warning: implicit declaration of function ‘unlink’ InitOutput.c:178: warning: nested extern declaration of ‘unlink’ InitOutput.c: In function ‘vfbAllocateMmappedFramebuffer’: InitOutput.c:601: warning: implicit

[PATCH 8/9] Replace X_GETTIMEOFDAY with gettimeofday()

2009-06-14 Thread Ben Gamari
Fix linker error, ./.libs/libxorg.a(xf86i2c.o): In function `I2CUDelay': /opt/exp/xorg/xserver/hw/xfree86/i2c/xf86i2c.c:54: undefined reference to `X_GETTIMEOFDAY' /opt/exp/xorg/xserver/hw/xfree86/i2c/xf86i2c.c:59: undefined reference to `X_GETTIMEOFDAY' --- hw/xfree86/i2c/xf86i2c.c |4

[PATCH 5/9] add missing unistd.h, sys/stat.h, fcntl.h includes

2009-06-14 Thread Ben Gamari
--- hw/xfree86/os-support/linux/lnx_video.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/hw/xfree86/os-support/linux/lnx_video.c b/hw/xfree86/os-support/linux/lnx_video.c index 73409df..9f6496a 100644 --- a/hw/xfree86/os-support/linux/lnx_video.c +++

[PATCH 2/9] Add missing file i/o headers

2009-06-14 Thread Ben Gamari
To fix compiler errors for open(), close(), flags, etc. --- hw/xfree86/os-support/bus/linuxPci.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/hw/xfree86/os-support/bus/linuxPci.c b/hw/xfree86/os-support/bus/linuxPci.c index e210fa1..8f1c85e 100644 ---

[PATCH 6/9] Add missing unistd.h include

2009-06-14 Thread Ben Gamari
Fix compiler warning, Delay.c: In function ‘xf86UDelay’: Delay.c:21: warning: implicit declaration of function ‘usleep’ Delay.c:21: warning: nested extern declaration of ‘usleep’ --- hw/xfree86/os-support/misc/Delay.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git

Re: [PATCH 2/3] Fix printf() format

2009-06-14 Thread David Sharp
On Sun, Jun 14, 2009 at 12:06 AM, Ben Gamaribgamari.f...@gmail.com wrote: Fix compiler warning: imLcIm.c:364: warning: format ‘%03x’ expects type ‘unsigned int’, but argument 6 has type ‘long unsigned int’ imLcIm.c:367: warning: format ‘%03x’ expects type ‘unsigned int’, but argument 6 has

redirecting X11 output to a file

2009-06-14 Thread Werner LEMBERG
I want to compare the graphical output of different versions of a program pixel by pixel. To do that, I would like to divert the contents of the program's (single) X11 frame directly to a file -- a kind of automatic capturing without manual selection of the window. Can anyone give me hints

Re: redirecting X11 output to a file

2009-06-14 Thread Rémi Cardona
Le 14/06/2009 12:05, Werner LEMBERG a écrit : I want to compare the graphical output of different versions of a program pixel by pixel. To do that, I would like to divert the contents of the program's (single) X11 frame directly to a file -- a kind of automatic capturing without manual

Re: intel g45 - outputs detected wrong with KMS

2009-06-14 Thread Christoph Schied
Hi! This message from Keith on the intel-gfx list probably explains it: I already tried that patch, but it doesn't fix the issues. ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg

Re: Xorg missing includes

2009-06-14 Thread Pierre Willenbrock
Ben Gamari schrieb: It seems like gcc 4.4 (in Karmic) must have become a little stricter recently. My xorg builds tonight have been having tons of issues with missing includes that were strangely skipped right over in the past. Anyways, I've added the necessary includes. xserver builds fine

Re: redirecting X11 output to a file

2009-06-14 Thread Werner LEMBERG
I want to compare the graphical output of different versions of a program pixel by pixel. To do that, I would like to divert the contents of the program's (single) X11 frame directly to a file -- a kind of automatic capturing without manual selection of the window. xwd is probably what

Re: Xorg missing includes

2009-06-14 Thread Alan Coopersmith
Ben Gamari wrote: It seems like gcc 4.4 (in Karmic) must have become a little stricter recently. No, Xorg git got a lot more broken. The includes are in X11/Xos.h, they just fell into an else clause that isn't traversed in ajax's commits on Friday. My xorg builds tonight have been having

Re: How to run the X xserver in a chroot environment

2009-06-14 Thread Dan Nicholson
On Thu, Jun 11, 2009 at 1:54 PM, Tino Keiteltino.keitel+x...@tikei.de wrote: Hi, as the Intel driver is very fragile recently, I want to test it in a chroot environment, and keep the stable 2.4 driver in the normal system. This implies that I also keep an old version of the X server in the

Pegasos II + Radeon 9000: No DRI and wrong colours for OpenGL

2009-06-14 Thread Johannes Geiss
Hi Xorg-folks, I want to report a bug. I'm using Gentoo Linux (CPU: PowerPC G4) and updated my xorg-server to the version 1.5.3-r6 and now my X11 performance for OpenGL (Mesa 7.3-r1) is bad and has wrong colours (eg. glxgears). I did a little investigation of this problem and saw this:

Re: How to run the X xserver in a chroot environment

2009-06-14 Thread Peter Hutterer
On Sat, Jun 13, 2009 at 01:35:19PM +0200, Maarten Maathuis wrote: They can never be replaced by evdev, because evdev is linux-only. But yes, evdev is often used on linux platforms, but it does need a working hal. HAL and evdev are independent. HAL is a replacement for xorg.conf and most

Re: Keystroke flow in X.org

2009-06-14 Thread Peter Hutterer
On Sat, Jun 13, 2009 at 10:52:05AM +1000, Timothy S. Nelson wrote: On Fri, 12 Jun 2009, Peter Hutterer wrote: if the physical keyboard changes, the server sends out a keymap notify event and the cycle starts at 2 again. Hopefully, anyway, otherwise the amount of Is this if the keyboard

Re: Keystroke flow in X.org

2009-06-14 Thread Peter Hutterer
On Mon, Jun 15, 2009 at 09:05:57AM +1000, Peter Hutterer wrote: Here's the link again: http://computerstuff.jdarx.info/content/keystroke-flow-xorg I still think it's confusing at best. The diagram makes it appear as if the files were actually used on each keystroke, which certainly

Re: radeon and separated heads

2009-06-14 Thread Dave Airlie
On Mon, Jun 15, 2009 at 3:14 AM, Alejandro Meryam...@opensde.org wrote: Hello, I'm using Xubuntu 9.04 on a notebook + VGA LCD monitor and the radeon (1:6.12.1-0ubuntu2) driver. It works smoothly in merged mode (half of the workspace in one display and half on the other) but I wish to run