[PATCH] autoconfig: select nouveau by default for NVIDIA GPUs

2010-11-14 Thread Thierry Vignaud
Hi This patch selects nouveau by default for NVIDIA GPUs Also, don't treat DRI setup failure as an error for nouveau. This patch is shipped by Fedora & Debian and so is widely used in the wild See you PS: please keep me in CC: if you reply since I'm not subscribed to that list From 9edb8ba5f821

Re: [PATCH] xfree86: rename allowEmptyInput to forceInputDevices.

2010-11-14 Thread Peter Hutterer
On Mon, Nov 15, 2010 at 04:57:14PM +1030, Benjamin Close wrote: > On 11/11/10 20:05, Julien Cristau wrote: > >On Thu, Nov 11, 2010 at 10:08:20 +0100, Matthieu Herrb wrote: > > > >>I don't see a diff hunk to actually rename the option in xorg.conf > >>and provide backward compatibility with the pre

Re: [PATCH modular 2/3 (v2)] jhbuildrc: Support skipping packages on a per-architecture basis.

2010-11-14 Thread Jesse Adkins
> +             'xf86-video-impact', # not on non-MIPS (#26342) Not exactly. #26342 resulted from impact always trying to pull a file that doesn't exist after driver video abi version 6 (or something similar to that). On a side note : Are you actually able to build this driver from the current git

Re: [PATCH] xfree86: rename allowEmptyInput to forceInputDevices.

2010-11-14 Thread Benjamin Close
On 11/11/10 20:05, Julien Cristau wrote: On Thu, Nov 11, 2010 at 10:08:20 +0100, Matthieu Herrb wrote: I don't see a diff hunk to actually rename the option in xorg.conf and provide backward compatibility with the previous name, nor any associated documentation update. Am I missing something

Re: [PATCH] Build libxf86config with -fPIC.

2010-11-14 Thread Dan Nicholson
On Sun, Nov 14, 2010 at 5:25 PM, Peter Hutterer wrote: > From: Adam Jackson > > Signed-off-by: Peter Hutterer > --- >  hw/xfree86/parser/Makefile.am |    2 +- >  1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/hw/xfree86/parser/Makefile.am b/hw/xfree86/parser/Makefile.am > inde

[PULL XTS] Misc fixes

2010-11-14 Thread Peter Hutterer
Just found out that I had a whole bunch of fixes to XTS lying around on my branch. Any review would be appreciated. The second-to-last commit is definitely debatable, should be refactured nicely instead of this way. But ETIME and whatnot. Cheers, Peter The following changes since commit 00155f

Re: [PATCH] Build libxf86config with -fPIC.

2010-11-14 Thread Cyril Brulebois
Peter Hutterer (15/11/2010): > AFAIK, Debian doesn't package it at all. (I'm still quite new in its X packaging team, but that still) sounds about right. Mraw, KiBi. signature.asc Description: Digital signature ___ xorg-devel@lists.x.org: X.Org devel

Re: [PATCH] Build libxf86config with -fPIC.

2010-11-14 Thread Peter Hutterer
On Mon, Nov 15, 2010 at 10:29:30AM +0800, Keith Packard wrote: > On Mon, 15 Nov 2010 11:25:11 +1000, Peter Hutterer > wrote: > > From: Adam Jackson > > > > Signed-off-by: Peter Hutterer > > --- > > hw/xfree86/parser/Makefile.am |2 +- > > 1 files changed, 1 insertions(+), 1 deletions(-) >

Re: [PATCH] xfree86: apply gamma settings on EnterVT.

2010-11-14 Thread Keith Packard
On Mon, 15 Nov 2010 11:25:12 +1000, Peter Hutterer wrote: > From: Adam Jackson > > When entering the VT, re-apply the saved gamma settings for each > screen. This should probably be done in xf86SetDesiredModes. -- keith.pack...@intel.com pgpsJiQRsPgQU.pgp Description: PGP signature ___

Re: [PATCH] Build libxf86config with -fPIC.

2010-11-14 Thread Keith Packard
On Mon, 15 Nov 2010 11:25:11 +1000, Peter Hutterer wrote: > From: Adam Jackson > > Signed-off-by: Peter Hutterer > --- > hw/xfree86/parser/Makefile.am |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/hw/xfree86/parser/Makefile.am b/hw/xfree86/parser/Makefile.am

[PATCH] xfree86: store the screen's gamma information on init.

2010-11-14 Thread Peter Hutterer
From: Bill Nottingham This fixes a gamma issue on vt switch observed with KDM. VT switching away and back would result in a black screen. Avoid this by storing the current gamma information on init. https://bugzilla.redhat.com/show_bug.cgi?id=533217 Signed-off-by: Peter Hutterer --- hw/xfree8

[PATCH] xfree86: Bump classic driver default to 1024x768

2010-11-14 Thread Peter Hutterer
From: Adam Jackson Signed-off-by: Adam Jackson Signed-off-by: Peter Hutterer --- hw/xfree86/common/xf86Mode.c | 21 - 1 files changed, 16 insertions(+), 5 deletions(-) diff --git a/hw/xfree86/common/xf86Mode.c b/hw/xfree86/common/xf86Mode.c index d03310e..54fe021 100644

[PATCH] xfree86: apply gamma settings on EnterVT.

2010-11-14 Thread Peter Hutterer
From: Adam Jackson When entering the VT, re-apply the saved gamma settings for each screen. Signed-off-by: Peter Hutterer --- hw/xfree86/modes/xf86RandR12.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/hw/xfree86/modes/xf86RandR12.c b/hw/xfree86/modes/xf86RandR

[PATCH] Build libxf86config with -fPIC.

2010-11-14 Thread Peter Hutterer
From: Adam Jackson Signed-off-by: Peter Hutterer --- hw/xfree86/parser/Makefile.am |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/xfree86/parser/Makefile.am b/hw/xfree86/parser/Makefile.am index caf7079..3bda51e 100644 --- a/hw/xfree86/parser/Makefile.am +++ b/hw/x

[PATCH 0/4] Fedora patch upstream.

2010-11-14 Thread Peter Hutterer
Attempting to upstream a few patches, some of them from ages ago (the libxf86config one, for example). Nothing heavily controversial, I think. Cheers, Peter ___ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel

Re: [PULL] XWin build fix

2010-11-14 Thread Keith Packard
On Mon, 15 Nov 2010 09:00:08 +1000, Peter Hutterer wrote: > Cyril Brulebois (1): > xfree86: Initialize Pointer and Keyboard. > > Jon TURNEY (1): > Fix compilation after input API change Merged. 3051dd5..38c46cc master -> master -- keith.pack...@intel.com pgp8G6PcExQL4.pgp D

Re: [PULL] distcheck fixes

2010-11-14 Thread Keith Packard
On Sun, 14 Nov 2010 10:26:57 -0800, Jeremy Huddleston wrote: > Jeremy Huddleston (2): > dix: Fix make distcheck > XQuartz: Fix make distcheck Merged. ed547a9..3051dd5 master -> master -- keith.pack...@intel.com pgpbKJ0J3k31e.pgp Description: PGP signature ___

Re: [PULL] #5436 and a misc fix.

2010-11-14 Thread Keith Packard
On Wed, 10 Nov 2010 21:48:20 -0800, Jesse Adkins wrote: > > Jesse Adkins(2): > xfree86: parser: Remove 'CUSTOM' flag option in Monitor section. > fb: Remove fbcmap.c (bug 5436) Merged. 78f94f1..ed547a9 master -> master -- keith.pack...@intel.com pgpvrN9XhAJtw.pgp Description: PGP signa

Re: xserver: commit 80b5d3a3264d2c5167e5ac85a3b04af0f89cece1 seems to have a copy/paste error

2010-11-14 Thread Keith Packard
On Sun, 17 Oct 2010 12:47:57 -0700, Linus Arver wrote: > This fixes a typo introduced in commit > 80b5d3a3264d2c5167e5ac85a3b04af0f89cece1. The pointer pDst was changed > unintentionally to pWin from a copy/paste error. This resulted in all > QT-based apps and some tcl/tk ones (like fontforge) to

Re: [PATCH] XF86CONFIGDIR is undefined when built with --disable-xorg

2010-11-14 Thread Peter Hutterer
On Tue, Jun 22, 2010 at 11:46:45PM +0100, Julien Cristau wrote: > On Tue, Jun 22, 2010 at 19:45:26 +0200, Dan Horák wrote: > > > > > Signed-off-by: Dan Horák > > --- > > config/Makefile.am |2 ++ > > 1 files changed, 2 insertions(+), 0 deletions(-) > > > > diff --git a/config/Makefile.am b

[PULL] XWin build fix

2010-11-14 Thread Peter Hutterer
Subject says it all. I snuck in a compiler warning fix too to make the xwin patch not feel lonely. The following changes since commit 965e709f2b0b17f1e59e5aeb5e7717fede51ef97: XQuartz: Build-fixes for XQuartz for recent input API changes (2010-11-12 11:49:49 +1000) are available in the git re

[PATCH modular 1/3 (v2)] jhbuild: Pass --enable-nouveau-experimental-api to libdrm.

2010-11-14 Thread Cyril Brulebois
This option is needed to build xf86-video-nouveau, but is disabled by default in libdrm. Let's make jhbuild able to build xf86-video-nouveau by default. Signed-off-by: Cyril Brulebois --- jhbuildrc |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/jhbuildrc b/jhbuildrc i

[PATCH modular 2/3 (v2)] jhbuildrc: Support skipping packages on a per-architecture basis.

2010-11-14 Thread Cyril Brulebois
Thanks to an execfile() in jhbuildrc, allow managing packages to be skipped on this or that architecture to be listed in an external file. Signed-off-by: Cyril Brulebois --- arch.skip | 28 jhbuildrc | 11 ++- 2 files changed, 38 insertions(+), 1 deletion

[PATCH modular] jhbuild: Mark xf86-video-sunbw2 as unmaintained.

2010-11-14 Thread Cyril Brulebois
See X.Org Bug 26343 Signed-off-by: Cyril Brulebois --- xorg.modules |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/xorg.modules b/xorg.modules index 227371f..3eb3cbd 100644 --- a/xorg.modules +++ b/xorg.modules @@ -14

Re: [PATCH modular 2/3] jhbuildrc: Support skipping packages on a per-architecture basis.

2010-11-14 Thread Cyril Brulebois
Jon TURNEY (14/11/2010): > I think sunbw2 can just be moved to xorg-unmaintained-broken-drivers > in the xorg.modules file. It's been taken out of build.sh some time > ago (see [1]) > > [1] https://bugs.freedesktop.org/show_bug.cgi?id=26343 Yeah, I saw that, but I didn't notice the unmaintained

Re: [PATCH modular 1/3] jhbuildrc: Pass --enable-nouveau-experimental-api to libdrm.

2010-11-14 Thread Cyril Brulebois
Jon TURNEY (14/11/2010): > Might I suggest the alternate syntax to be consistent with the style > of the reset of the file, and I believe we need to take steps to > appply any setting of autogenargs (e.g. setting --cache-file), e.g. > > module_autogenargs['libdrm'] = autogenargs + ' > --enable-n

Re: [PATCH modular 2/3] jhbuildrc: Support skipping packages on a per-architecture basis.

2010-11-14 Thread Cyril Brulebois
Dan Nicholson (14/11/2010): > Why not just have it set skip since you already have the comment to > use append() to add more packages? Then you don't have to worry > about arch_skip being deleted. Right, not sure why I didn't do that in the end. I guess I planned to check it was possible to refin

Re: Smooth scrolling again

2010-11-14 Thread Peter Hutterer
On Sun, Nov 14, 2010 at 06:51:43PM +0100, Max Schwarz wrote: > Hi Simon, > > > > The clients depend on XIDeviceChangedEvents anyway to acquire the new > > > resolution when the user switches input devices (see pscrolltest.c). > > > > Though that sounds fine, I think the event is intended for mast

Re: [PATCH] xfree86: Initialize Pointer and Keyboard.

2010-11-14 Thread Peter Hutterer
On Sat, Nov 13, 2010 at 02:05:16AM +0100, Cyril Brulebois wrote: > That helps us get rid of: > | CC xf86Config.lo > | xf86Config.c: In function ‘T.174’: > | xf86Config.c:1228: warning: ‘Pointer$module’ may be used uninitialized in > this function > | xf86Config.c:1097: note: ‘Pointer$module’

Re: [PATCH] XQuartz: Build-fixes for XQuartz for recent input API changes

2010-11-14 Thread Peter Hutterer
On Fri, Nov 12, 2010 at 03:25:34PM +, Jon TURNEY wrote: > On 12/11/2010 01:45, Peter Hutterer wrote: > > On Thu, Nov 11, 2010 at 05:23:33PM -0800, Jeremy Huddleston wrote: > >> > >> Signed-off-by: Peter Hutterer > >> > >> Signed-off-by: Jeremy Huddleston > >> > > > > > > Reviewed-by: Pete

Re: Broken make check with 1.9.3 rc1

2010-11-14 Thread Peter Hutterer
On Sun, Nov 14, 2010 at 02:49:31AM -0800, Jeremy Huddleston wrote: > Thanks Cyril and Julien. > > Peter, can you ack this for my cherry-pick. > > On Nov 14, 2010, at 02:35, Julien Cristau wrote: > > > On Sun, Nov 14, 2010 at 11:23:04 +0100, Cyril Brulebois wrote: > > > >> Hi Jeremy, > >> > >>

[PULL] distcheck fixes

2010-11-14 Thread Jeremy Huddleston
The following changes since commit 965e709f2b0b17f1e59e5aeb5e7717fede51ef97: XQuartz: Build-fixes for XQuartz for recent input API changes (2010-11-12 11:49:49 +1000) are available in the git repository at: git://people.freedesktop.org/~jeremyhu/xserver master Jeremy Huddleston (2): d

Re: Smooth scrolling again

2010-11-14 Thread Max Schwarz
Hi Simon, > > The clients depend on XIDeviceChangedEvents anyway to acquire the new > > resolution when the user switches input devices (see pscrolltest.c). > > Though that sounds fine, I think the event is intended for master/slave > issues. That's deep in spec land, however. Read up and see if

Re: [PATCH modular 2/3] jhbuildrc: Support skipping packages on a per-architecture basis.

2010-11-14 Thread Jon TURNEY
On 14/11/2010 16:08, Dan Nicholson wrote: > On Sat, Nov 13, 2010 at 4:50 PM, Cyril Brulebois wrote: >> Thanks to an execfile() in jhbuildrc, allow managing packages to be >> skipped on this or that architecture to be listed in an external file >> (by default, adding '.skip' to the name of the file

Re: [PATCH modular 1/3] jhbuildrc: Pass --enable-nouveau-experimental-api to libdrm.

2010-11-14 Thread Jon TURNEY
On 14/11/2010 00:50, Cyril Brulebois wrote: > This option is needed to build xf86-video-nouveau, but is disabled by > default in libdrm. Let's make jhbuild able to build xf86-video-nouveau > by default. > > Signed-off-by: Cyril Brulebois > --- > jhbuildrc |5 + > 1 files changed, 5 inser

Re: [PATCH] Take width into account when choosing default mode

2010-11-14 Thread Cyril Brulebois
Hi, some comments about the form follow. Thierry Vignaud (14/11/2010): > int mm_height; > +int mm_width; > > mm_height = output->mm_height; > +mm_width = output->mm_width; > if (!mm_height) > mm_height = (768 * 25.4) / DEFAULT_

Re: Smooth scrolling again

2010-11-14 Thread Simon Thum
On 11/14/10 00:18, Max Schwarz wrote: > My proposal would be to make an XINotifyDeviceChanged(DeviceIntPtr dev) > function available to the drivers. It would simply copy the values from the > device to a DeviceChangedEvent and send it via XISendDeviceEvent(). > Such a function could also replace

Re: [PATCH modular 1/3] jhbuildrc: Pass --enable-nouveau-experimental-api to libdrm.

2010-11-14 Thread Dan Nicholson
On Sat, Nov 13, 2010 at 4:50 PM, Cyril Brulebois wrote: > This option is needed to build xf86-video-nouveau, but is disabled by > default in libdrm. Let's make jhbuild able to build xf86-video-nouveau > by default. > > Signed-off-by: Cyril Brulebois > --- >  jhbuildrc |    5 + >  1 files chan

Re: [PATCH modular 3/3] jhbuild: Add makedepend, needed for mesa.

2010-11-14 Thread Dan Nicholson
On Sat, Nov 13, 2010 at 4:50 PM, Cyril Brulebois wrote: > Signed-off-by: Cyril Brulebois > --- >  xorg.modules |    8 >  1 files changed, 8 insertions(+), 0 deletions(-) > > diff --git a/xorg.modules b/xorg.modules > index 616fd6e..227371f 100644 > --- a/xorg.modules > +++ b/xorg.modules

Re: [PATCH modular 2/3] jhbuildrc: Support skipping packages on a per-architecture basis.

2010-11-14 Thread Dan Nicholson
On Sat, Nov 13, 2010 at 4:50 PM, Cyril Brulebois wrote: > Thanks to an execfile() in jhbuildrc, allow managing packages to be > skipped on this or that architecture to be listed in an external file > (by default, adding '.skip' to the name of the file listing all the > modules). > > Do not forget

Re: [PATCH] linux: Fix CPU usage bug in console fd flushing

2010-11-14 Thread Mikhail Gusarov
Twas brillig at 16:59:54 14.11.2010 UTC+01 when thierry.vign...@gmail.com did gyre and gimble: TV> From 20e32420a2f75b58603eb1578c151d63e6b2e8ac Mon Sep 17 00:00:00 2001 TV> From: Adam Jackson TV> Date: Wed, 25 Aug 2010 11:06:38 -0400 TV> Subject: [PATCH] linux: Fix CPU usage bug in console

[PATCH] Take width into account when choosing default mode

2010-11-14 Thread Thierry Vignaud
Hi The following Mandriva patch makes xorg take width into account when choosing default mode It was written by Pascal "Pixel" Rigaux in September 2007 with the following changelog: - take into account screen width when looking for prefered resolution instead of only using screen height (helps

[PATCH] linux: Fix CPU usage bug in console fd flushing

2010-11-14 Thread Thierry Vignaud
Hi The following patch came from Redhat and attempt to fix eating 100% CPU while swtiching to console See you From 20e32420a2f75b58603eb1578c151d63e6b2e8ac Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Wed, 25 Aug 2010 11:06:38 -0400 Subject: [PATCH] linux: Fix CPU usage bug in console fd fl

Re: [PATCH 1/2] dix: Fix make distcheck

2010-11-14 Thread Dan Nicholson
On Sat, Nov 13, 2010 at 4:20 PM, Jeremy Huddleston wrote: > > Signed-off-by: Jeremy Huddleston > --- >  dix/Makefile.am |    1 + >  1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/dix/Makefile.am b/dix/Makefile.am > index 5e2dad7..59e512b 100644 > --- a/dix/Makefile.am > +++ b/d

Re: Broken make check with 1.9.3 rc1

2010-11-14 Thread Cyril Brulebois
Cyril Brulebois (14/11/2010): > Now I'm getting an other issue in the second series of tests, I'm > tracking it (apparently was in 1.9.2 as well, not sure why I missed > it — will mail once I figured it out). False alarm, leftovers from my testing Chase's input stuff, sorry for the noise. Once t

Re: Broken make check with 1.9.3 rc1

2010-11-14 Thread Cyril Brulebois
Julien Cristau (14/11/2010): > IIRC 290af0418f8c94355e42ad81aa7779b90e173fc9 fixed that on master. Confirmed, fixes it on server-1.9-branch as well. Now I'm getting an other issue in the second series of tests, I'm tracking it (apparently was in 1.9.2 as well, not sure why I missed it — will mai

Re: Broken make check with 1.9.3 rc1

2010-11-14 Thread Jeremy Huddleston
Thanks Cyril and Julien. Peter, can you ack this for my cherry-pick. On Nov 14, 2010, at 02:35, Julien Cristau wrote: > On Sun, Nov 14, 2010 at 11:23:04 +0100, Cyril Brulebois wrote: > >> Hi Jeremy, >> >> looks like 1.9.3 rc1 doesn't pass “make check”: >> | /dix/input/init-valuators: OK >> | /

CallCallbacks tinderbox regression (dirty object files not rebuilt)

2010-11-14 Thread Jeremy Huddleston
http://tinderbox.x.org/builds/2010-11-11-0004/logs/xserver/#build http://cgit.freedesktop.org/xorg/xserver/commit/?id=6274dca9d984ad3c553b4901edc3151e770e6c40 >From the look of it, it seems like a dependency issue. include/callback.h was >updated, but xace.o resource.o and selection.o were not

Re: Broken make check with 1.9.3 rc1

2010-11-14 Thread Julien Cristau
On Sun, Nov 14, 2010 at 11:23:04 +0100, Cyril Brulebois wrote: > Hi Jeremy, > > looks like 1.9.3 rc1 doesn't pass “make check”: > | /dix/input/init-valuators: OK > | /dix/input/event-core-conversion: [dix] EventToCore: Not implemented yet > | [dix] EventToCore: Not implemented yet > | [dix] Event

Broken make check with 1.9.3 rc1

2010-11-14 Thread Cyril Brulebois
Hi Jeremy, looks like 1.9.3 rc1 doesn't pass “make check”: | /dix/input/init-valuators: OK | /dix/input/event-core-conversion: [dix] EventToCore: Not implemented yet | [dix] EventToCore: Not implemented yet | [dix] EventToCore: Not implemented yet | ** | ERROR:../../test/input.c:192:dix_event_to_c