[ANNOUNCE] xf86-video-intel 2.99.911

2014-03-19 Thread Chris Wilson
Snapshot 2.99.911 (2014-03-19) == Hans de Geode has been working on making the Xserver work without privileges under the supervision of systemd/logind. This necessitated a few new features for us: server fds (where we are passed which fd to use to talk to our device by

Re: [PATCH synaptics] Disable GrabEventDevice by default

2014-03-19 Thread Hans de Goede
Hi, On 03/19/2014 06:12 AM, Peter Hutterer wrote: This was required when we started supporting hotplugging to avoid duplicate events. These days the drawback of not being able to record events in the case of a bug is significant, possibly more so than whatever static configurations are still

[PATCH:libXpm] Fix abs() usage.

2014-03-19 Thread Thomas Klausner
From: Jörg Sonnenberger jo...@netbsd.org For long arguments, use labs(). Signed-off-by: Thomas Klausner w...@netbsd.org --- src/create.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/create.c b/src/create.c index 98678d8..d013da9 100644 --- a/src/create.c +++

[PATCH:libXaw] Fix abs() usage.

2014-03-19 Thread Thomas Klausner
From: Jörg Sonnenberger jo...@netbsd.org For long arguments, use labs(). Signed-off-by: Thomas Klausner w...@netbsd.org --- src/Text.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Text.c b/src/Text.c index a1ae74a..8100122 100644 --- a/src/Text.c +++ b/src/Text.c @@

Re: [PATCH:libXpm] Fix abs() usage.

2014-03-19 Thread Thomas Klausner
On Tue, Mar 18, 2014 at 06:51:28PM -0700, Matt Turner wrote: On Tue, Mar 18, 2014 at 2:57 PM, Thomas Klausner w...@netbsd.org wrote: For long arguments, use labs(). From Jörg Sonnenberger jo...@netbsd.org Signed-off-by: Thomas Klausner w...@netbsd.org --- The author of this patch is

Re: [PATCH:libXpm] Fix abs() usage.

2014-03-19 Thread Matt Turner
On Wed, Mar 19, 2014 at 12:53 AM, Thomas Klausner w...@netbsd.org wrote: On Tue, Mar 18, 2014 at 06:51:28PM -0700, Matt Turner wrote: On Tue, Mar 18, 2014 at 2:57 PM, Thomas Klausner w...@netbsd.org wrote: For long arguments, use labs(). From Jörg Sonnenberger jo...@netbsd.org

Re: [PATCH:libXpm] Fix abs() usage.

2014-03-19 Thread Thomas Klausner
On Wed, Mar 19, 2014 at 01:17:42AM -0700, Matt Turner wrote: On Wed, Mar 19, 2014 at 12:53 AM, Thomas Klausner w...@netbsd.org wrote: On Tue, Mar 18, 2014 at 06:51:28PM -0700, Matt Turner wrote: On Tue, Mar 18, 2014 at 2:57 PM, Thomas Klausner w...@netbsd.org wrote: For long arguments, use

Re: [PATCH xts] Drop use of perl's given/when construct

2014-03-19 Thread Peter Hutterer
On Tue, Mar 18, 2014 at 11:08:42AM -0400, Peter Harris wrote: The perl mongers have retroactively marked this construct experimental, five and a half years after it was marked stable. http://perldoc.perl.org/perl5180delta.html#The-smartmatch-family-of-features-are-now-experimental

Re: Suggestions for possible GSoC project proposals regarding Wayland/X11 development?

2014-03-19 Thread Peter Hutterer
On Mon, Mar 17, 2014 at 02:52:11PM -0400, Stephen Chandler Paul wrote: Hello, I'm a college student who is looking into taking part in the Google Summer of Code, specifically with X.Org and Wayland. However, I've been having a bit of a challenge finding a project proposal that I think I

Re: [PATCH 00/20] New glamor core rendering code (v2)

2014-03-19 Thread Michel Dänzer
On Die, 2014-03-18 at 22:09 -0700, Keith Packard wrote: This replaces all of the X core rendering code in glamor with shiny new stuff. This is the second time around for this code, it now passes the X test suite for Xlib chapter 9 (thanks to Eric's work making that run under piglit). And, it

Re: [PATCH 06/20] glamor: Add infrastructure for generating shaders on the fly

2014-03-19 Thread Markus Wick
Am 2014-03-19 06:09, schrieb Keith Packard: This just adds a bunch of support code to construct shaders from 'facets', which bundle attributes needed for each layer of the rendering system. At this point, that includes only the primtive and the fill stuff. Signed-off-by: Keith Packard

Re: [PATCH 07/20] glamor: Add simple upload/download functions in glamor_transfer

2014-03-19 Thread Markus Wick
Am 2014-03-19 06:09, schrieb Keith Packard: These use glTexSubimage2D for upload and glReadPixels for download. There are a variety of interfaces to the basic function as needed by the callers. Signed-off-by: Keith Packard kei...@keithp.com --- glamor/Makefile.am | 2 +

Re: [PATCH] .gitignore: Add new autotools file 'test-driver'

2014-03-19 Thread Gaetan Nadon
On 14-03-19 01:12 AM, Kristian Høgsberg wrote: Recent automake introduces a new shell script helper for the automake test framework. Add it to .gitignore. Signed-off-by: Kristian Høgsberg k...@bitplanet.net --- Gaetan, not sure what the convention is for .gitignore. You added the Do not

Re: [PATCH 09/20] glamor: Add glamor_program PolyPoint implementation

2014-03-19 Thread Markus Wick
Am 2014-03-19 06:09, schrieb Keith Packard: This accelerates poly point when possible by off-loading all geometry computation to the GPU. Signed-off-by: Keith Packard kei...@keithp.com --- glamor/glamor_polyops.c | 92 ++--- glamor/glamor_priv.h

Re: [PATCH 10/20] glamor: Add glamor_program based fill/set/get spans

2014-03-19 Thread Markus Wick
Am 2014-03-19 06:09, schrieb Keith Packard: This accelerates spans operations using GPU-based geometry computation Signed-off-by: Keith Packard kei...@keithp.com --- glamor/Makefile.am| 1 + glamor/glamor.c | 2 +- glamor/glamor_core.c | 4 +- glamor/glamor_priv.h | 18 +++

Re: [PULL v2] xkb keymap loading

2014-03-19 Thread Keith Packard
Peter Hutterer peter.hutte...@who-t.net writes: Kristian Høgsberg (3): xkb: factor out xkb loading to LoadXkm xkb: add KeymapOrDefault xkb: add XkbLoadKeymapFromString Peter Hutterer (2): xkb: constify XkbDDXOpenConfigFile xkb: add a callback to xkbcomp Rui

Re: [PATCH] .gitignore: Add new autotools file 'test-driver'

2014-03-19 Thread Gaetan Nadon
On 14-03-19 07:44 AM, Gaetan Nadon wrote: Can you specify which level of automake in the commit text? Will all modules need this? Or just those including some specific autoconf macros? It was introduced in automake 1.12 with the changes in the test suite framework. It would be best to write it

[PATCH xserver] ephyr: spurious $() in the Makefile breaks the make 'dist' target

2014-03-19 Thread Gaetan Nadon
Introduced in commit 9fe052d90cca90fdf750d3a45b151be2ac7f0ebd Signed-off-by: Gaetan Nadon mems...@videotron.ca --- hw/kdrive/ephyr/Makefile.am | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/hw/kdrive/ephyr/Makefile.am b/hw/kdrive/ephyr/Makefile.am index

[PATCH] Handle -displayfd and an explicit display number sensibly

2014-03-19 Thread Jon TURNEY
Handle -displayfd and an explicit display number sensibly, e.g. use the explicitly specified display number, and write it to the displayfd Signed-off-by: Jon TURNEY jon.tur...@dronecode.org.uk --- dix/globals.c| 3 ++- include/opaque.h | 1 + os/connection.c | 11 +-- os/utils.c

Re: [PATCH 13/20] glamor: Add glamor_program based copy acceleration

2014-03-19 Thread Markus Wick
Am 2014-03-19 06:09, schrieb Keith Packard: Uses glCopyPixels for self-copies, otherwise paints with textures. Performs CPU to GPU transfers for pixmaps in memory. Accelerates copy plane when both objects are in memory Includes copy_window acceleration too. Signed-off-by: Keith Packard

Re: [PATCH 14/20] glamor: stub out lines

2014-03-19 Thread Markus Wick
I think this functions are worth to reimplement. eg horizontal lines are used a lot and very slow on mi. How are the interpolation requirement for a line? Is it possible to achive them with an opengl quad? Am 2014-03-19 06:09, schrieb Keith Packard: Use mi line code for now Signed-off-by:

Re: [PATCH 14/20] glamor: stub out lines

2014-03-19 Thread Alex Deucher
On Wed, Mar 19, 2014 at 10:53 AM, Markus Wick mar...@selfnet.de wrote: I think this functions are worth to reimplement. eg horizontal lines are used a lot and very slow on mi. How are the interpolation requirement for a line? Is it possible to achive them with an opengl quad? Standalone

[PATCH xserver] xfree86: glamor_egl subdir must be distributed - breaks distcheck

2014-03-19 Thread Gaetan Nadon
Signed-off-by: Gaetan Nadon mems...@videotron.ca --- hw/xfree86/Makefile.am |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/xfree86/Makefile.am b/hw/xfree86/Makefile.am index 73e1b4c..c4aa177 100644 --- a/hw/xfree86/Makefile.am +++ b/hw/xfree86/Makefile.am @@ -43,7 +43,7

Re: [PATCH] .gitignore: Add new autotools file 'test-driver'

2014-03-19 Thread Guillem Jover
Hi! On Wed, 2014-03-19 at 10:10:16 -0400, Gaetan Nadon wrote: On 14-03-19 07:44 AM, Gaetan Nadon wrote: Can you specify which level of automake in the commit text? Will all modules need this? Or just those including some specific autoconf macros? It was introduced in automake 1.12 with

Re: [PATCH xserver] ephyr: spurious $() in the Makefile breaks the make 'dist' target

2014-03-19 Thread Guillem Jover
Hi! On Wed, 2014-03-19 at 10:29:58 -0400, Gaetan Nadon wrote: diff --git a/hw/kdrive/ephyr/Makefile.am b/hw/kdrive/ephyr/Makefile.am index 040993c..55320eb 100644 --- a/hw/kdrive/ephyr/Makefile.am +++ b/hw/kdrive/ephyr/Makefile.am @@ -50,8 +49,7 @@ DRI_SRCS = \

Re: [PATCH 1/2] .gitignore: Add new autotools file 'test-driver'

2014-03-19 Thread Gaetan Nadon
On 14-03-19 01:27 PM, Kristian Høgsberg wrote: Automake 1.12 introduces a new parallel test framework that uses a shell script helper and generates *.log and *.trs files. Add to .gitignore. Signed-off-by: Kristian Høgsberg k...@bitplanet.net Cc: Gaetan Nadon mems...@videotron.ca ---

[PATCH 2/2] test: Don't add TEST_LDADD to list test

2014-03-19 Thread Kristian Høgsberg
The list test case is always enabled, even if Xorg is disabled. TEST_LDADD pulls in Xorg files which breaks linking when Xorg is disabled. The list test doesn't need any libraries, so just remove list_LDADD. Signed-off-by: Kristian Høgsberg k...@bitplanet.net Cc: Peter Hutterer

Re: [PATCH] .gitignore: Add new autotools file 'test-driver'

2014-03-19 Thread Gaetan Nadon
On 14-03-19 12:42 PM, Guillem Jover wrote: Actually, why are those in the root dir, and not confined under something like AC_CONFIG_AUX_DIR([build-aux])? A handful of modules do that and is perfectly ok. A while ago I had considered doing just to all xorg modules. The vast majority of 250 xorg

[PATCH 1/2] .gitignore: Add new autotools file 'test-driver'

2014-03-19 Thread Kristian Høgsberg
Automake 1.12 introduces a new parallel test framework that uses a shell script helper and generates *.log and *.trs files. Add to .gitignore. Signed-off-by: Kristian Høgsberg k...@bitplanet.net Cc: Gaetan Nadon mems...@videotron.ca --- .gitignore | 1 + test/.gitignore | 2 ++ 2 files

Re: [PATCH xserver] ephyr: spurious $() in the Makefile breaks the make 'dist' target

2014-03-19 Thread Gaetan Nadon
On 14-03-19 12:51 PM, Guillem Jover wrote: One reason to use something (in spirit) like this is to avoid unnecessary line changes whenever a new entry is appended to the list, which might also generate less conflicts. I tend to use $(nil) as the last item in those cases. The other option is to

Re: [PATCH 00/20] New glamor core rendering code (v2)

2014-03-19 Thread Markus Wick
This patch series is a very nice cleanup. I like the new way how this functions should be implemented, but the shader generator. Plain GLSL + predefined header are less confusing and more flexible imo. We also have to figure out on which gl extension we want to rely on. eg I don't think we

[PATCH xserver] ephyr: typo where () should be $() in the Makefile - breaks make dist

2014-03-19 Thread Gaetan Nadon
make[3]: Entering directory `/home/nadon/xorg/src/xserver/hw/kdrive/ephyr' make[3]: *** No rule to make target `()', needed by `distdir'. Stop. make[3]: Leaving directory `/home/nadon/xorg/src/xserver/hw/kdrive/ephyr' make[2]: *** [distdir] Error 1 Signed-off-by: Gaetan Nadon

Re: [PATCH 1/3] os: Always compile ListenOnOpenFD() and export it

2014-03-19 Thread Daniel Stone
Hi, These three are: Reviewed-by: Daniel Stone dan...@fooishbar.org Cheers, Daniel On 19 March 2014 05:05, Kristian Høgsberg k...@bitplanet.net wrote: This function was written to allow the X server to inherit the listen socket from launchd on OS X. The code is not specific to OS X though

Re: [PATCH 07/20] glamor: Add simple upload/download functions in glamor_transfer

2014-03-19 Thread Daniel Stone
Hi, On 19 March 2014 05:09, Keith Packard kei...@keithp.com wrote: +glPixelStorei(GL_UNPACK_ROW_LENGTH, byte_stride / bytes_per_pixel); This isn't natively supported on GLES; it requires GL_EXT_unpack_subimage, which isn't available on the vast majority of shipping GLES GPUs. (Yes, I know

Re: [PATCH 02/20] mi: miPutImage with XYPixmap failed at depth 32 on 64-bit machines

2014-03-19 Thread Aaron Plattner
On 03/18/2014 10:09 PM, Keith Packard wrote: The X server still has 'unsigned long' in a few places to hold 32 bit values. One of those is in miPutImage where it's holding the temporary planemask for XYPixmap format images. It computed the highest plane in the source image with 1 (depth - 1).

[PATCH v2 2/3] os: Add a mechanism to prevent creating any listen sockets

2014-03-19 Thread Kristian Høgsberg
A socket-activated server will receive its listening sockets from the parent process and should not create its own sockets. This patch introduces a NoListen flag that can be set by a DDX to prevent the server from creating the sockets. When NoListen is enabled, we also disable the server lock

Re: [PATCH 3/2] Build fbcmap_mi.c once, rather than for each DDX

2014-03-19 Thread Gaetan Nadon
On 14-03-03 10:08 AM, Jon TURNEY wrote: Build fbcmap_mi.c once, rather than for each DDX, and make it part of libfb or libwfb convenience library. Since 84e8de1271bb11b5b4b9747ae4647f47333a8ab7 we don't have fbcmap.c This is a sort of revert of 7ecc2d526c4ea5db2589644a2fec0daf71df36da

Re: [PATCH 2/2] test: Don't add TEST_LDADD to list test

2014-03-19 Thread Peter Hutterer
On Wed, Mar 19, 2014 at 10:27:39AM -0700, Kristian Høgsberg wrote: The list test case is always enabled, even if Xorg is disabled. TEST_LDADD pulls in Xorg files which breaks linking when Xorg is disabled. The list test doesn't need any libraries, so just remove list_LDADD. Signed-off-by:

Re: [PATCH 02/20] mi: miPutImage with XYPixmap failed at depth 32 on 64-bit machines

2014-03-19 Thread Keith Packard
Aaron Plattner aplatt...@nvidia.com writes: Sorry for not noticing this when I fixed the other one. Also, since 2006 I learned that you can use 1UL instead of a cast to unsigned long, if that seems cleaner. Nah; the cast seems more visible, which (in this case) seems like a good idea.

Re: [PATCH 07/20] glamor: Add simple upload/download functions in glamor_transfer

2014-03-19 Thread Keith Packard
Daniel Stone dan...@fooishbar.org writes: Hi, On 19 March 2014 05:09, Keith Packard kei...@keithp.com wrote: +glPixelStorei(GL_UNPACK_ROW_LENGTH, byte_stride / bytes_per_pixel); This isn't natively supported on GLES; it requires GL_EXT_unpack_subimage, which isn't available on the vast

Re: [PATCH RESEND2 xserver] Default font path: remove the check for ${sysconfdir}/X11/fontpath.d

2014-03-19 Thread Gaetan Nadon
On 14-02-08 09:28 AM, Gaetan Nadon wrote: I'd like to get some review from people familiar with the distro packaging process to understand if this analysis is accurate; I haven't any way to know what the effect of this change would be otherwise. I would like to as well. The dead code is

Re: [PATCH 3/3] os: Add AddClientOnOpenFD() to create a new client for an file descriptor

2014-03-19 Thread Peter Hutterer
On Tue, Mar 18, 2014 at 10:06:00PM -0700, Kristian Høgsberg wrote: When the Xwayland server is socket-activated, we need to connect and initialize the window manager before the activating client gets to proceed with connecting. We do this by passing a socket file descriptor for the window

[PATCH RESEND xserver] test: create a link to the generated hw/xfree86/sdksyms.c at build time

2014-03-19 Thread Gaetan Nadon
Automake 1.14 gives us warning about source code specified in _SOURCES that comes from directories other than the current one. It suggests to enable the subdir-objects feature which only supports code in sub directories. The test directory needs source from hw/xfree86 which is neither under test

Re: [PATCH xf86-video-nouveau 2/2] Add support for server managed fds

2014-03-19 Thread Martin Peres
On 17/03/2014 17:37, Hans de Goede wrote: Signed-off-by: Hans de Goede hdego...@redhat.com Hi Hans, When compiling these patches, it generated some warnings because NVEntPtr pNVEnt was not defined in NVEnterVT and NVLeaveVT. I have tested the patches on top of xf86-video-nouveau-git and

Re: [PATCH xf86-input-joystick 1/3] Use jstkCloseDevice_* on error in jstkOpenDevice_* backend functions

2014-03-19 Thread Peter Hutterer
On Thu, Mar 13, 2014 at 02:49:51PM +0100, Hans de Goede wrote: This is a preparation patch for adding support for server managed fds, this also fixes a missing free() in an error handling path in the evdev back-end. Signed-off-by: Hans de Goede hdego...@redhat.com series pushed, thanks

Re: [PATCH 3/3] os: Add AddClientOnOpenFD() to create a new client for an file descriptor

2014-03-19 Thread Kristian Høgsberg
On Wed, Mar 19, 2014 at 4:29 PM, Peter Hutterer peter.hutte...@who-t.net wrote: On Tue, Mar 18, 2014 at 10:06:00PM -0700, Kristian Høgsberg wrote: When the Xwayland server is socket-activated, we need to connect and initialize the window manager before the activating client gets to proceed

[PATCH v2 3/3] os: Add AddClientOnOpenFD() to create a new client for an file descriptor

2014-03-19 Thread Kristian Høgsberg
When the Xwayland server is socket-activated, we need to connect and initialize the window manager before the activating client gets to proceed with connecting. We do this by passing a socket file descriptor for the window manager connection to the Xwayland server, which then uses this new

[Bug 76367] Corrupted second monitor 2D rendering

2014-03-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=76367 Chris Wilson ch...@chris-wilson.co.uk changed: What|Removed |Added Assignee|ch...@chris-wilson.co.uk

[Bug 76367] Corrupted second monitor 2D rendering

2014-03-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=76367 --- Comment #6 from Alex Deucher ag...@yahoo.com --- I'm inclined to say it's PRIME issues. Is it a problem if you use the radeon card directly rather than as an offload slave? -- You are receiving this mail because: You are the assignee for

[Bug 76367] Corrupted second monitor 2D rendering

2014-03-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=76367 --- Comment #7 from Arcadiy Ivanov arca...@ivanov.biz --- (In reply to comment #6) I'm inclined to say it's PRIME issues. Is it a problem if you use the radeon card directly rather than as an offload slave? $ xrandr --listproviders Providers: