Re: Xorg+logind+DM issue: inactive graphical session for seat0

2013-11-05 Thread Laércio de Sousa
I've opened a X.Org bug to keep track of this discussion. See: https://bugs.freedesktop.org/show_bug.cgi?id=71258 CANTATE DOMINO CANTICUM NOVUM QUIA MIRABILIA FECIT Laércio 2013/11/1 David Herrmann dh.herrm...@gmail.com Hi On Tue, Oct 29, 2013 at 4:44 PM, Laércio de Sousa

[PATCH] Fix off by one error in xf86Init

2013-11-05 Thread Cameron Stewart
--- hw/xfree86/common/xf86Init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/xfree86/common/xf86Init.c b/hw/xfree86/common/xf86Init.c index 6282252..663c5f1 100644 --- a/hw/xfree86/common/xf86Init.c +++ b/hw/xfree86/common/xf86Init.c @@ -560,7 +560,7 @@

Re: [PATCH] Fix off by one error in xf86Init

2013-11-05 Thread Cameron Stewart
On Mon, Nov 4, 2013 at 1:46 PM, Cameron Stewart came...@shptech.com wrote: --- hw/xfree86/common/xf86Init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/xfree86/common/xf86Init.c b/hw/xfree86/common/xf86Init.c index 6282252..663c5f1 100644 ---

xorg/shadowfb: Damage routines are done completely for shadowfb needed in virtualbox

2013-11-05 Thread Kasberger Andreas
Hello, Working with virtualbox I came to some situation were the shadowfb were not updated correctly in all cases. Simply some routines are missing in shadowfb but done in xdamage part. So I just done this for shadowfb too. With this patch I think this bug

[PATCH dri3proto 0/3] Bring packaging up to spec

2013-11-05 Thread Gaetan Nadon
Gaetan Nadon (3): Add mandatory COPYING file Add the required README file. config: replace deprecated use of AC_OUTPUT with AC_CONFIG_FILES COPYING | 19 +++ README | 31 +++ configure.ac |3 ++- 3 files changed, 52

[PATCH dri3proto 2/3] Add the required README file.

2013-11-05 Thread Gaetan Nadon
Signed-off-by: Gaetan Nadon mems...@videotron.ca --- README | 31 +++ 1 file changed, 31 insertions(+) create mode 100644 README diff --git a/README b/README new file mode 100644 index 000..1dedd46 --- /dev/null +++ b/README @@ -0,0 +1,31 @@ +

[PATCH dri3proto 1/3] Add mandatory COPYING file

2013-11-05 Thread Gaetan Nadon
Signed-off-by: Gaetan Nadon mems...@videotron.ca --- COPYING | 19 +++ 1 file changed, 19 insertions(+) create mode 100644 COPYING diff --git a/COPYING b/COPYING new file mode 100644 index 000..8dcf1d4 --- /dev/null +++ b/COPYING @@ -0,0 +1,19 @@ +Copyright ?? 2013 Keith

[PATCH presentproto 3/3] config: replace deprecated use of AC_OUTPUT with AC_CONFIG_FILES

2013-11-05 Thread Gaetan Nadon
Fix Automake warning: AC_OUTPUT should be used without arguments. www.gnu.org/software/autoconf/manual/autoconf.html#Configuration-Files Signed-off-by: Gaetan Nadon mems...@videotron.ca --- configure.ac |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac

[PATCH presentproto 1/3] Add mandatory COPYING file.

2013-11-05 Thread Gaetan Nadon
Signed-off-by: Gaetan Nadon mems...@videotron.ca --- COPYING | 19 +++ 1 file changed, 19 insertions(+) create mode 100644 COPYING diff --git a/COPYING b/COPYING new file mode 100644 index 000..8dcf1d4 --- /dev/null +++ b/COPYING @@ -0,0 +1,19 @@ +Copyright ?? 2013 Keith

[PATCH libxshmfence 0/2]] Bring packaging up to spec

2013-11-05 Thread Gaetan Nadon
Gaetan Nadon (2): Add mandatory COPYING file. Add the required README file COPYING | 19 +++ README | 25 + 2 files changed, 44 insertions(+) create mode 100644 COPYING create mode 100644 README -- 1.7.9.5

[PATCH libxshmfence 2/2] Add the required README file

2013-11-05 Thread Gaetan Nadon
Signed-off-by: Gaetan Nadon mems...@videotron.ca --- README | 25 + 1 file changed, 25 insertions(+) create mode 100644 README diff --git a/README b/README new file mode 100644 index 000..66b36f0 --- /dev/null +++ b/README @@ -0,0 +1,25 @@ +libxshmfence - Direct

[PATCH presentproto 2/3] Add the required README file.

2013-11-05 Thread Gaetan Nadon
Signed-off-by: Gaetan Nadon mems...@videotron.ca --- README | 32 1 file changed, 32 insertions(+) create mode 100644 README diff --git a/README b/README new file mode 100644 index 000..7a653f3 --- /dev/null +++ b/README @@ -0,0 +1,32 @@ +

[PATCH libxshmfence 1/2] Add mandatory COPYING file.

2013-11-05 Thread Gaetan Nadon
Signed-off-by: Gaetan Nadon mems...@videotron.ca --- COPYING | 19 +++ 1 file changed, 19 insertions(+) create mode 100644 COPYING diff --git a/COPYING b/COPYING new file mode 100644 index 000..8dcf1d4 --- /dev/null +++ b/COPYING @@ -0,0 +1,19 @@ +Copyright ?? 2013 Keith

[PATCH dri3proto 3/3] config: replace deprecated use of AC_OUTPUT with AC_CONFIG_FILES

2013-11-05 Thread Gaetan Nadon
Fix Automake warning: AC_OUTPUT should be used without arguments. www.gnu.org/software/autoconf/manual/autoconf.html#Configuration-Files Signed-off-by: Gaetan Nadon mems...@videotron.ca --- configure.ac |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac

[PATCH presentproto 0/3] Bring packaging up to spec

2013-11-05 Thread Gaetan Nadon
Gaetan Nadon (3): Add mandatory COPYING file. Add the required README file. config: replace deprecated use of AC_OUTPUT with AC_CONFIG_FILES COPYING | 19 +++ README | 32 configure.ac |3 ++- 3 files changed, 53

[PATCH] os: Actually use the computed clockid in GetTimeInMicros

2013-11-05 Thread Keith Packard
The selection of which clock to use for this function was not actually getting used when fetching the final clock value. Reported-by: Julien Cristau jcris...@debian.org Signed-off-by: Keith Packard kei...@keithp.com --- os/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 0/3] Backing store bugfixes, version 2

2013-11-05 Thread Adam Jackson
The big win from this series is that bs support is now advertised if the Composite extension is present. This had been my intent when doing that rewrite however long ago it was, oops. It would work, if you explicitly turned bs on, but it's silly to need to do that. This version incorporates

[PATCH 2/3] composite: Automatically enable backing store support on the screen

2013-11-05 Thread Adam Jackson
... unless you explicitly disabled it with -bs on the command line, or with the corresponding thing in xorg.conf. v2: Drop a bogus hunk from compChangeWindowAttributes [vsyrjala] Signed-off-by: Adam Jackson a...@redhat.com --- composite/compinit.c | 3 +++

[PATCH 3/3] composite: Don't double-redirect if someone asks for backing store twice

2013-11-05 Thread Adam Jackson
v2: Belt-and-suspenders the unredirection path [vsyrjala] Signed-off-by: Adam Jackson a...@redhat.com --- composite/compinit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composite/compinit.c b/composite/compinit.c index 6283136..80b08f4 100644 ---

Re: [PATCH] os: Actually use the computed clockid in GetTimeInMicros

2013-11-05 Thread Julien Cristau
On Tue, Nov 5, 2013 at 07:10:27 -0800, Keith Packard wrote: The selection of which clock to use for this function was not actually getting used when fetching the final clock value. Reported-by: Julien Cristau jcris...@debian.org Signed-off-by: Keith Packard kei...@keithp.com ---

[PATCH] smartsched: Tweak the default scheduler intervals

2013-11-05 Thread Adam Jackson
A default timeslice of 20ms means a pathological client can ruin up to two frames per scheduler tick. And a fifth of a second is just insane. Pick two different numbers out of the hat. A 5ms slice means you can probably keep up with two or three abusive clients, and letting it burst to 15ms

Re: [PATCH] smartsched: Tweak the default scheduler intervals

2013-11-05 Thread Mark Kettenis
From: Adam Jackson a...@redhat.com Date: Tue, 5 Nov 2013 10:41:32 -0500 A default timeslice of 20ms means a pathological client can ruin up to two frames per scheduler tick. And a fifth of a second is just insane. Pick two different numbers out of the hat. A 5ms slice means you can

Re: [git pull] 1.14 randr fixes without ABI breakage

2013-11-05 Thread Aaron Plattner
Thanks, guys! I confirmed that the server crashes during startup with our driver at commit ad2fa50 and works fine with commit cf684f0. On 11/04/2013 08:13 PM, Matt Dew wrote: Thanks Dave. merged. ad2fa50..cf684f0 server-1.14-branch - server-1.14-branch Let me know if this doesn't fix the

Re: [PATCH] smartsched: Tweak the default scheduler intervals

2013-11-05 Thread Adam Jackson
On Tue, 2013-11-05 at 13:03 -0500, Mouse wrote: But then I read BSD's setitimer man page, and was suddenly very happy I run something else. (Honestly, you're on the runqueue, you know how to set timers more finely than 100Hz and you already expect to be awake for the next 10ms, maybe do

Re: [PATCH] Trap SIGBUS to handle truncated shared memory segments

2013-11-05 Thread Julien Cristau
On Sun, Nov 3, 2013 at 14:05:05 -0800, Keith Packard wrote: +panic: +if (previous_busfault_sigaction) +(*previous_busfault_sigaction)(sig, info, param); +else +exit(1); +} + maybe change that exit() to FatalError()? Cheers, Julien

Re: [PATCH] smartsched: Tweak the default scheduler intervals

2013-11-05 Thread Mouse
But at least some of the BSDs run on hardware that simply cannot do what you suggest. Which? Genuinely curious. The BSDs? The only one I know is Net. The hardware? The one I know best is the KA630, the MicroVAX-II CPU (which I know rather well because I tried to build a simulator for it).

[PATCH 4/6] Add MIT-SHM AttachFd and CreateSegment requests

2013-11-05 Thread Keith Packard
Signed-off-by: Keith Packard kei...@keithp.com --- src/shm.xml | 19 +++ 1 file changed, 19 insertions(+) diff --git a/src/shm.xml b/src/shm.xml index adda509..0954d76 100644 --- a/src/shm.xml +++ b/src/shm.xml @@ -113,4 +113,23 @@ authorization from the authors. field

[PATCH 3/6] Add support for file descriptor request fields

2013-11-05 Thread Keith Packard
These are present in the API, but not present on the wire. Signed-off-by: Keith Packard kei...@keithp.com --- xcbgen/expr.py | 3 ++- xcbgen/xtypes.py | 58 +++- 2 files changed, 59 insertions(+), 2 deletions(-) diff --git a/xcbgen/expr.py

[PATCH 1/6] Move the INT64 types in sync.xml to the sync: namespace

2013-11-05 Thread Keith Packard
This makes sure we use the crazy sync-specific 64-bit datatype instead of the global INT64 type Signed-off-by: Keith Packard kei...@keithp.com --- src/sync.xml | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/src/sync.xml b/src/sync.xml index

[Patch 0/6] Add MIT-SHM FD passing, DRI3 and Present to xcb proto

2013-11-05 Thread Keith Packard
Add 64-bit native ints: [PATCH 1/6] Move the INT64 types in sync.xml to the sync: namespace [PATCH 2/6] Add CARD64/INT64 protocol types Add FD passing: [PATCH 3/6] Add support for file descriptor request fields Update the MIT-SHM protocol to 1.2 with FD passing: [PATCH 4/6] Add MIT-SHM

[PATCH 5/6] Add DRI3

2013-11-05 Thread Keith Packard
Signed-off-by: Keith Packard kei...@keithp.com --- src/Makefile.am | 1 + src/dri3.xml | 97 src/xproto.xml | 19 ++- xcbgen/xtypes.py | 24 ++ 4 files changed, 140 insertions(+), 1 deletion(-) create mode

[PATCH 6/6] Add Present protocol specification

2013-11-05 Thread Keith Packard
Signed-off-by: Keith Packard kei...@keithp.com --- src/Makefile.am | 1 + src/present.xml | 221 src/xproto.xml | 1 + 3 files changed, 223 insertions(+) create mode 100644 src/present.xml diff --git a/src/Makefile.am

[PATCH 2/6] Add CARD64/INT64 protocol types

2013-11-05 Thread Keith Packard
No reason to make people use two 32-bit values when every modern compiler has native 64-bit objects. Signed-off-by: Keith Packard kei...@keithp.com --- xcbgen/state.py | 2 ++ xcbgen/xtypes.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/xcbgen/state.py b/xcbgen/state.py index

[PATCH 4/7] Add support for receiving fds in replies

2013-11-05 Thread Keith Packard
Requests signal which replies will have fds, and the replies report how many fds they expect in byte 1. Signed-off-by: Keith Packard kei...@keithp.com --- src/c_client.py | 65 src/xcb_in.c| 76

[PATCH 2/7] -pendantic is too pendantic

2013-11-05 Thread Keith Packard
Many system headers have warnings when compiled with this flag. Signed-off-by: Keith Packard kei...@keithp.com --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 7364383..835f7d5 100644 --- a/configure.ac +++ b/configure.ac @@

[PATCH 1/7] Make protocol C files depend on protocol XML files

2013-11-05 Thread Keith Packard
When new XML files get installed, make sure the C files are regenerated Signed-off-by: Keith Packard kei...@keithp.com --- src/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile.am b/src/Makefile.am index 6b5a2c3..f48e14e 100644 --- a/src/Makefile.am +++

[PATCH 5/7] Add event queue splitting

2013-11-05 Thread Keith Packard
This allows apps to peel off certain XGE events into separate queues for custom handling. Designed to support the Present extension Signed-off-by: Keith Packard kei...@keithp.com --- src/xcb.h| 45 ++-- src/xcb_in.c | 167

[PATCH 3/7] Add xcb_send_fd API

2013-11-05 Thread Keith Packard
This uses sendmsg to transmit file descriptors from the application to the X server Signed-off-by: Keith Packard kei...@keithp.com --- configure.ac| 1 + src/c_client.py | 4 src/xcb_auth.c | 11 ++- src/xcb_conn.c | 39 +-- src/xcb_ext.c

[PATCH 7/7] Add Present extension

2013-11-05 Thread Keith Packard
Signed-off-by: Keith Packard kei...@keithp.com --- Makefile.am | 3 +++ configure.ac | 2 ++ src/.gitignore| 1 + src/Makefile.am | 8 xcb-present.pc.in | 11 +++ 5 files changed, 25 insertions(+) create mode 100644 xcb-present.pc.in diff --git

[PATCH 0/7] Add FD passing, DRI3 and Present to libxcb

2013-11-05 Thread Keith Packard
A couple of cleanups that are unrelated: [PATCH 1/7] Make protocol C files depend on protocol XML files [PATCH 2/7] -pendantic is too pendantic FD passing, send and then receive: [PATCH 3/7] Add xcb_send_fd API [PATCH 4/7] Add support for receiving fds in replies Split special XGE event to

[PATCH 6/7] Add DRI3 library

2013-11-05 Thread Keith Packard
Signed-off-by: Keith Packard kei...@keithp.com --- Makefile.am | 3 +++ configure.ac| 3 +++ src/.gitignore | 1 + src/Makefile.am | 8 xcb-dri3.pc.in | 11 +++ 5 files changed, 26 insertions(+) create mode 100644 xcb-dri3.pc.in diff --git a/Makefile.am

Re: [PATCH] Trap SIGBUS to handle truncated shared memory segments

2013-11-05 Thread Keith Packard
Julien Cristau jcris...@debian.org writes: maybe change that exit() to FatalError()? Yeah, not actually necessary as previous_busfault_sigaction will always be set, but a trivial change to make. diff --git a/os/busfault.c b/os/busfault.c index 45ee074..78e7693 100644 --- a/os/busfault.c +++

[PATCH libxshmfence] make: add $(CWARNFLAGS)

2013-11-05 Thread Gaetan Nadon
It's required for all X libraries Signed-off-by: Gaetan Nadon mems...@videotron.ca --- src/Makefile.am |2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Makefile.am b/src/Makefile.am index 90d7bcb..0c1106e 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -5,6 +5,8 @@

[PATCH libxshmfence] make: list non installed headers under the _SOURCES variable

2013-11-05 Thread Gaetan Nadon
Recommended by Automake: http://www.gnu.org/software/automake/manual/automake.html#Headers Also, this header is missing in the lint target $(libxshmfence_la_SOURCES) As a bonus, all other libraries are following this advice. Signed-off-by: Gaetan Nadon mems...@videotron.ca --- src/Makefile.am

[PATCH libxshmfence] lint: remove usage of libxshmfence_la_SOURCES

2013-11-05 Thread Gaetan Nadon
This variable is always empty. Signed-off-by: Gaetan Nadon mems...@videotron.ca --- src/Makefile.am |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile.am b/src/Makefile.am index d0a75cf..70b77a6 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -16,5 +16,5 @@