Re: Advice to lose (or minimize) computer freezes with intel card

2010-07-23 Thread Ben Gamari
On Fri, 23 Jul 2010 03:19:29 +0200, David david.mailli...@gmail.com wrote: Hello, I suppose you are familiar with the topic, there are lots of bug reports ( https://bugs.freedesktop.org/buglist.cgi?quicksearch=intel+freeze, https://bbs.archlinux.org/viewtopic.php?pid=629896) and forum

Re: Advice to lose (or minimize) computer freezes with intel card

2010-07-22 Thread Ben Gamari
Hello, I suppose you are familiar with the topic, there are lots of bug reports ( [ 2 more citation lines. Click/Enter to toggle visibility. ] https://bugs.freedesktop.org/buglist.cgi?quicksearch=intel+freeze, https://bbs.archlinux.org/viewtopic.php?pid=629896) and forum threads. I

Re: 915GM partially freeze after being idle or resume

2009-11-17 Thread Ben Gamari
Excerpts from JM-CM-)rM-CM-4me Poulin's message of Tue Nov 17 15:55:30 - Is there something I can do to debug this problem, I also reported a bug about Google Earth freezing when looking at a specific location on the Intel Linux Graphics bug tracker which is the same kind of freeze and it

Re: SIGQUIT from tty layer

2009-07-11 Thread Ben Gamari
On Fri, Jul 10, 2009 at 08:33:46PM +0200, Samuel Thibault wrote: Not writing to the tty, but producing input for the tty. Are you using evdev or the legacy kbd driver? evdev. 0x1c is the keycode of the enter key, maybe your workload happens to restart the keyboard driver, which temporarily

Re: SIGQUIT from tty layer

2009-07-11 Thread Ben Gamari
On Sat, Jul 11, 2009 at 02:16:59PM +0300, Marius Gedminas wrote: This sounds familiar: a set of 'stty' calls in the init scripts, that (amazingly) reset the isig flag on the current vt (which in our case is the X vt). For anyone ignorant of the vile mess of consequences that means

SIGQUIT from tty layer

2009-07-09 Thread Ben Gamari
Hey all, Last night I started chipping away at a (presumable xserver) bug[1] that's been bothering me for some time now. With recent xservers, running compiz will sporatically cause the xserver to crash, being send SIGQUIT by some unknown process. Looking further into the matter with systemtap,

Re: SIGQUIT from tty layer

2009-07-09 Thread Ben Gamari
On Thu, Jul 09, 2009 at 05:00:47PM +0200, Samuel Thibault wrote: SIGQUIT is sent to the X server if the controling tty of the X server (probably its VT) receives the QUIT character (usually control-\, i.e. 0x1c) This, however, would imply that something is sending the character and this

Re: WM stops the X process

2009-07-09 Thread Ben Gamari
On Thu, Jul 09, 2009 at 11:07:10AM -0700, Sebastian Glita wrote: Hello, After some updates since last commits to libX11, X resets after a very short period of lo. Do your symptoms resemble those of Bug #22679? It seems like your problem is more severe, but I have been seeing that bug for

[PATCH] Xi: Remove redundant and incorrect butmap range check

2009-06-22 Thread Ben Gamari
Maps are CARD8s, therefore checking for values above 255 is completely unnecessary. Moreover, 0 is a valid value for maps, so the check wasn't even correct to begin with. This fixes bug #22392, which was uncovered by commit 280b7f92d729ec910ffa3d18dce7bbc215be7a3c. Signed-off-by: Ben Gamari

[PATCH] Remove redundant check, attempt #2

2009-06-22 Thread Ben Gamari
François-Denis Gonthier made the very valid point that the errval_out parameter is now unnecessary without the check. This patch removes it as well. Build-tested but not run yet. - Ben ___ xorg mailing list xorg@lists.freedesktop.org

[PATCH] Xi: Remove redundant and incorrect butmap range check

2009-06-22 Thread Ben Gamari
Maps are CARD8s, therefore checking for values above 255 is completely unnecessary. Moreover, 0 is a valid value for maps, so the check wasn't even correct to begin with. This fixes bug #22392, which was uncovered by commit 280b7f92d729ec910ffa3d18dce7bbc215be7a3c. Signed-off-by: Ben Gamari

Re: [PATCH] Update synaptics to XInput 7 ABI

2009-06-21 Thread Ben Gamari
On Fri, Jun 19, 2009 at 04:34:33PM +1000, Peter Hutterer wrote: On Fri, Jun 19, 2009 at 02:01:30AM -0400, Ben Gamari wrote: How about this one (obviously on top of fd939)? Looks good (once someone figures out the button label situation). So getting the labels right is mostly candy now

Re: [PATCH] Update synaptics to XInput 7 ABI

2009-06-21 Thread Ben Gamari
On Fri, Jun 19, 2009 at 04:34:33PM +1000, Peter Hutterer wrote: On Fri, Jun 19, 2009 at 02:01:30AM -0400, Ben Gamari wrote: How about this one (obviously on top of fd939)? Looks good (once someone figures out the button label situation). So getting the labels right is mostly candy now

Re: [PATCH] Update synaptics to XInput 7 ABI

2009-06-19 Thread Ben Gamari
On Thu, Jun 18, 2009 at 7:49 PM, Peter Huttererpeter.hutte...@who-t.net wrote: Thanks for the patch. A few comments though: On Thu, Jun 18, 2009 at 01:56:49AM -0400, Ben Gamari wrote: diff --git a/src/synaptics.c b/src/synaptics.c index ff66517..f917d8b 100644 --- a/src/synaptics.c +++ b

[PATCH] Update synaptics to XInput 7 ABI

2009-06-17 Thread Ben Gamari
--- src/synaptics.c | 51 ++- 1 files changed, 46 insertions(+), 5 deletions(-) diff --git a/src/synaptics.c b/src/synaptics.c index ff66517..f917d8b 100644 --- a/src/synaptics.c +++ b/src/synaptics.c @@ -69,6 +69,11 @@ #include xf86Xinput.h

[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

Confused

2009-03-11 Thread Ben Gamari
Hey all, Recently I've been finding that despite Xorg.log reporting several devices being added to my server, `xinput list` only reports two: $ xinput list Virtual core pointerid=0[XPointer] ... unknown class Virtual core keyboard id=1[XKeyboard] ... unknown class

Re: Confused

2009-03-11 Thread Ben Gamari
On 03/11/2009 11:28 AM, Simon Thum wrote: lshal | grep -10 x11_driver might be valuable. Your wish is my command: info.callouts.add = {'hal-acl-tool --add-device'} (string list) info.callouts.remove = {'hal-acl-tool --remove-device'} (string list) info.capabilities = {'input',

Re: Confused

2009-03-11 Thread Ben Gamari
On 03/11/2009 04:39 PM, Thomas Jäger wrote: My guess is that your version of xinput isn't compiled with XInput 2 support, so that it calls XGetExtensionVersion instead of XQueryInputVersion. In that case, the X Server reports only the two core devices for compatibility reasons. Ahhh, it

Synaptics acceleration support

2009-03-11 Thread Ben Gamari
Hey all, Is there any reason besides supporting older servers for the synaptics driver to have its own acceleration model? Is there a schedule for removing this functionality. It seems quite out of place to implement such a thing in a driver and if I'm not mistaken, the server's new

Re: Confused

2009-03-11 Thread Ben Gamari
On 03/11/2009 06:22 PM, Peter Hutterer wrote: This is an XI1 vs. XI2 compatibility issue. The ListInputDevices request processing has changed that if you query the list of input devices, only the VCP and the VCK and all floating slave devices are returned. Attached slave devices (the default

Recent XCB Breakage

2009-03-09 Thread Ben Gamari
Hey all, Looks like someone broke xcb/util/image recently. Doesn't look like it's anything too obvious. I still see the ImageOrder enum in libxcb/src/xproto.xml so I'm stumped. Just figured I'd let people know. Thanks, - Ben /bin/sh ../libtool --tag=CC --mode=compile gcc

Re: How to build entirety of Xorg 7.4 from source

2009-03-05 Thread Ben Gamari
On Thu, 2009-03-05 at 12:04 -0500, John Lumby wrote: I recently tried to do this. I wish I had read your posts on this first!. But now I have a build that nearly works and would greatly appreciate if you can offer any hints on how to make it work completely, or if the advice should be to

Re: [ANNOUNCE] xf86-input-evdev 2.1.99.1

2009-03-02 Thread Ben Gamari
On Mon, 2009-03-02 at 16:42 +1000, Peter Hutterer wrote: First snapshot for evdev 2.2. Lots of cleanup, and - most notably - general axis/button support. For those running an X server from master, evdev will label axes and buttons for you. Theoretically. ;) It seems that the

Re: [EDIT] Why do I need mouse acceleration to move windows and click buttons?

2009-02-26 Thread Ben Gamari
On Thu, Feb 26, 2009 at 12:58 PM, Dirk noi...@gmx.net wrote: Well... the thing I tried to explain is that I (and other people) don't want to /have/ to give a f***... 1) I plug in 2000 dpi mouse 2) I move mouse 1 inch horizontally and/or vertically 3) pointer moves 2000 pixels horizontally

Re: 3D slowness after suspend/resume cycle

2009-02-26 Thread Ben Gamari
There was actually a bug that was filed quite recently about a similar issue: http://bugzilla.kernel.org/show_bug.cgi?id=12769. Unfortunately, there hasn't been any progress yet. Good luck, - Ben On Tue, Feb 24, 2009 at 8:54 AM, Kalman KHIRALY khiraly...@gmx.net wrote: Dear list, I have a

Synaptics version bump

2009-02-05 Thread Ben Gamari
Peter, It looks like you missed a comma when bumping xf86-input-synaptics (commit d8679123d921bafdac53e84a2e0337708d7c094e). Just figured you might want to know. Below is a diff to fix the issue. Thanks, - Ben diff --git a/configure.ac b/configure.ac index 71ab4c7..d20aba6 100644 ---

Re: Recent input changes

2009-02-01 Thread Ben Gamari
On Sun, Jan 25, 2009 at 2:48 PM, Ben Gamari bgam...@gmail.com wrote: Strangely enough, before I login (in gdm) things seem to behave as they should. Directly after I login though (even before my own minimal ~/.Xmodmap has been loaded), the behavior I described earlier begins. - Ben It's well

Re: Recent input changes

2009-01-29 Thread Ben Gamari
On Sun, Jan 25, 2009 at 6:35 PM, Peter Hutterer peter.hutte...@who-t.net wrote: FWIW, I had problems with my Alt key not working after updating. Creating a test user worked fine though, and after removing the .gnome2 and .gnome2_private directories in my home directory everything was ok again.

Re: Recent input changes

2009-01-25 Thread Ben Gamari
Strangely enough, before I login (in gdm) things seem to behave as they should. Directly after I login though (even before my own minimal ~/.Xmodmap has been loaded), the behavior I described earlier begins. - Ben On Sun, Jan 25, 2009 at 11:13 AM, Ben Gamari bgam...@gmail.com wrote

Re: Recent input changes

2009-01-25 Thread Ben Gamari
why this might fail? - Ben On Sun, Jan 25, 2009 at 2:48 PM, Ben Gamari bgam...@gmail.com wrote: Strangely enough, before I login (in gdm) things seem to behave as they should. Directly after I login though (even before my own minimal ~/.Xmodmap has been loaded), the behavior I described earlier

Re: Recent input changes

2009-01-24 Thread Ben Gamari
as a little strange. I can submit a bug or bisect if this will help. Thanks, - Ben On Sat, Jan 24, 2009 at 4:15 PM, Dan Nicholson dbn.li...@gmail.com wrote: On Sat, Jan 24, 2009 at 12:47 PM, Ben Gamari bgam...@gmail.com wrote: Hey all, Recent xserver master has been failing to build. In particular

Re: intel 2.6.0: EXA choppy, UXA has artifacts

2009-01-17 Thread Ben Gamari
On Sat, 2009-01-17 at 18:48 +0100, Khashayar Naderehvandi wrote: Hi! I'm trying out the newly released intel driver on a X4500 chipset. The stack is composed of: * kernel 2.6.28 with the patches from http://intellinuxgraphics.org/2008Q4.html applied * libdrm 2.4.4 * mesa 7.3rc1 *

Re: Intel card with uxa enabled causes garbled screen

2008-10-13 Thread Ben Gamari (FOSS)
Even worse, UXA has locked up my machine when starting gdm every time I have tried using it. I'm using xf86-video-intel from git. - Ben Hanno Böck wrote: Hi, My card is: 00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c)