Re: Ubuntu PRIME switching problems

2017-02-16 Thread Michel Dänzer
On 16/02/17 05:17 PM, Francesco Cammelli wrote: > > DRI_PRIME=1 0ad > > To try it on the famous linux videogame 0 A.D., but I had a black screen That sounds like Xorg crashes? Can you provide the Xorg.*.log(.old) file from the crashed Xorg? If you try DRI_PRIME=1 LIBGL_DEBUG=verbose glxinfo

[PULL xserver 1.19] intel happy go crashy fixes

2017-02-16 Thread Peter Hutterer
Improves the user experience by not crashing frequently. The fixes aren't intel-specific per-se, but only that driver seems to trigger them. See https://bugs.freedesktop.org/show_bug.cgi?id=99358 This are for 1.19.2, s per subject Cheers, Peter The following changes since commit

[PATCH xim] Send screen number

2017-02-16 Thread Takao Fujiwara
Hi, I'm a maintainer of IBus which is an input method framework. Xorg ZaphodHeads environment provides the multiple screens. I think currently XIM protocol does not send the $DISPLAY information in the client applications to the XIM server and IBus cannot know the screen number of the client

Re: [PATCH xserver] sdksyms: Tighten up the symbols we add to the magic table

2017-02-16 Thread Peter Hutterer
On Thu, Feb 16, 2017 at 02:00:03PM -0500, Adam Jackson wrote: > The code as written would match anything declared extern. _X_EXPORT is > what we really mean here. That's a macro, so check for what it expands > to and skip if not found. > > Signed-off-by: Adam Jackson > --- >

Ubuntu PRIME switching problems

2017-02-16 Thread Francesco Cammelli
Dear Experts I write to you as an ignorant user of Linux. I had problems with my laptop in order to switch from the AMD APU to the dedicated Radeon GPU: I asked on Ubuntu ask, and nobody answered, I asked on Ubuntu global forum, and nobody answered; I asked on Italian ubuntu community forum,

Re: Have keyboard events "bypass" grabbed pointer

2017-02-16 Thread Thomas Lübking
Am Thu, 16 Feb 2017 09:27:32 +1000 schrieb Peter Hutterer : > find documentation for xlib, that's usually quite ok for these bits > (or the protocol directly). But yes, ReplayKeyboard ungrabs, so you > have to immediately grab the keyboard again. If the regrab fails,

2017 X.Org Foundation Membership deadline for voting in the election

2017-02-16 Thread Alex Deucher
The 2017 X.Org Foundation elections are rapidly approaching. We will be forwarding the election schedule and nominating process to the membership shortly. Please note that only current members can vote in the upcoming election, and that the deadline for new memberships or renewals to vote in the

2017 X.Org Foundation Membership deadline for voting in the election

2017-02-16 Thread Alex Deucher
The 2017 X.Org Foundation elections are rapidly approaching. We will be forwarding the election schedule and nominating process to the membership shortly. Please note that only current members can vote in the upcoming election, and that the deadline for new memberships or renewals to vote in the

Re: [PATCH xserver] configure.ac: use subdir-objects

2017-02-16 Thread Mihail Konev
On Fri, Feb 17, 2017 at 04:08:45AM +0500, Mihail Konev wrote: > Don't know whether mi/miinitext.c is better #included instead, > sending as-is. > They are all probably better included instead. ___ xorg-devel@lists.x.org: X.Org development Archives:

[PATCH xserver] configure.ac: use subdir-objects

2017-02-16 Thread Mihail Konev
automake-1.15 says: warning: possible forward-incompatibility. At least a source file is in a subdirectory, but the 'subdir-objects' automake option hasn't been enabled. For now, the corresponding output object file(s) will be placed in the top-level directory. However, this behaviour

[PATCH xserver] hw/xfree86: remove incomplete sdksyms.c on error

2017-02-16 Thread Mihail Konev
Previously, if sdksyms.sh was failing, the incorrect sdksyms.c would stay, breaking subsequent build attempts. Signed-off-by: Mihail Konev --- Needed this on Solaris due to missing awk -> gawk symlink. hw/xfree86/Makefile.am | 9 - 1 file changed, 8 insertions(+), 1

[PATCH xserver] dix: Move {Change, Copy, Destroy}Clip from GCFuncs to Screen

2017-02-16 Thread Adam Jackson
There are only two behaviors here. Xnest and Xdmx forward the clip list to the backing server, other DDXes use mi. But a layer like damage has to wrap everything in the GCFuncs vtable even though it really only cares about ValidateGC. Since none of this varies within a screen, we can move the

Re: [PATCH xserver 5/5] mi: Add include guards to migc.h

2017-02-16 Thread Adam Jackson
On Thu, 2017-02-16 at 14:59 -0500, Alex Deucher wrote: > > On Thu, Feb 16, 2017 at 1:03 PM, Adam Jackson wrote: > > Signed-off-by: Adam Jackson > > Series is: > Reviewed-by: Alex Deucher remote: I: patch #139307 updated using rev

xserver 1.19.2 call for patches

2017-02-16 Thread Adam Jackson
I'd like to do another 1.19 soonish, say middle of next week. If you've got favorite patches you'd like to see included, please write their sha1s on the back of a $50 bill and send them to me. Alternatively, reply to this email, or send a pull request. - ajax

Re: [PATCH xserver 5/5] mi: Add include guards to migc.h

2017-02-16 Thread Alex Deucher
On Thu, Feb 16, 2017 at 1:03 PM, Adam Jackson wrote: > Signed-off-by: Adam Jackson Series is: Reviewed-by: Alex Deucher > --- > mi/migc.h | 5 + > 1 file changed, 5 insertions(+) > > diff --git a/mi/migc.h b/mi/migc.h > index

Re: [PATCH xserver 1/3] xfake: Remove

2017-02-16 Thread Alex Deucher
On Thu, Feb 16, 2017 at 12:46 PM, Adam Jackson wrote: > We already have Xvfb for a dummy DDX. > > Signed-off-by: Adam Jackson Seems reasonable to me. Series is: Acked-by: Alex Deucher > --- > configure.ac | 3 - >

Re: [PATCH xserver] prime: Clear PixmapDirtyUpdateRec::damage when it's destroyed

2017-02-16 Thread Adam Jackson
On Thu, 2017-02-16 at 16:13 +0900, Michel Dänzer wrote: > > From: Michel Dänzer > > The root window, and by extension any damage records referencing it, > may be destroyed before shared pixmaps referencing it, which resulted in > use-after-free / double-free in

Re: [PATCH xserver] xwayland: bump wayland-protocols version to 1.7

2017-02-16 Thread Adam Jackson
On Thu, 2017-02-16 at 10:43 +0100, Olivier Fourdan wrote: > Xwayland support for pointer locking in confinement requires > wayland-protocols version 1.7 or later. > > Update the required version in configure.ac to match the minimal > required version of wayland-protocols. > > Signed-off-by:

[PATCH xserver] sdksyms: Tighten up the symbols we add to the magic table

2017-02-16 Thread Adam Jackson
The code as written would match anything declared extern. _X_EXPORT is what we really mean here. That's a macro, so check for what it expands to and skip if not found. Signed-off-by: Adam Jackson --- hw/xfree86/sdksyms.sh | 4 1 file changed, 4 insertions(+) diff --git

[PATCH xserver 1/5] wfb: Add missing rename for fbGlyphs

2017-02-16 Thread Adam Jackson
Signed-off-by: Adam Jackson --- fb/wfbrename.h | 1 + 1 file changed, 1 insertion(+) diff --git a/fb/wfbrename.h b/fb/wfbrename.h index baa80f8..4c99ee5 100644 --- a/fb/wfbrename.h +++ b/fb/wfbrename.h @@ -74,6 +74,7 @@ #define fbGlyph24 wfbGlyph24 #define fbGlyph32

[PATCH xserver 3/5] fb: Remove unused fbGetFreeCompClip macro

2017-02-16 Thread Adam Jackson
Signed-off-by: Adam Jackson --- fb/fb.h | 1 - 1 file changed, 1 deletion(-) diff --git a/fb/fb.h b/fb/fb.h index d5db710..2e8770d 100644 --- a/fb/fb.h +++ b/fb/fb.h @@ -462,7 +462,6 @@ typedef struct { #define fbGetCompositeClip(pGC) ((pGC)->pCompositeClip) #define

[PATCH xserver 2/5] wfb: Hide init function decls behind FB_ACCESS_WRAPPER

2017-02-16 Thread Adam Jackson
Signed-off-by: Adam Jackson --- fb/fb.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/fb/fb.h b/fb/fb.h index c687aa7..d5db710 100644 --- a/fb/fb.h +++ b/fb/fb.h @@ -1192,8 +1192,8 @@ extern _X_EXPORT Bool int dpiy, int width, /*

[PATCH xserver 5/5] mi: Add include guards to migc.h

2017-02-16 Thread Adam Jackson
Signed-off-by: Adam Jackson --- mi/migc.h | 5 + 1 file changed, 5 insertions(+) diff --git a/mi/migc.h b/mi/migc.h index 8d06a6f..add601a 100644 --- a/mi/migc.h +++ b/mi/migc.h @@ -26,6 +26,9 @@ from The Open Group. */ +#ifndef _MIGC_H +#define _MIGC_H + extern

[PATCH xserver 4/5] fb: Remove stray references to fbHasVisualTypes

2017-02-16 Thread Adam Jackson
Removed in 84e8de12. Signed-off-by: Adam Jackson --- fb/fb.h| 4 fb/wfbrename.h | 1 - 2 files changed, 5 deletions(-) diff --git a/fb/fb.h b/fb/fb.h index 2e8770d..8bce67e 100644 --- a/fb/fb.h +++ b/fb/fb.h @@ -900,13 +900,9 @@ extern _X_EXPORT void

[PATCH xserver 0/5] Five easy pieces

2017-02-16 Thread Adam Jackson
Just some trivial fixes I've found laying around in some work-in-progress branches. - ajax ___ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: https://lists.x.org/mailman/listinfo/xorg-devel

[PATCH xserver 3/3] kdrive: Remove now-unused linux backend

2017-02-16 Thread Adam Jackson
With Xfbdev gone this has no consumers. Signed-off-by: Adam Jackson --- configure.ac| 44 hw/kdrive/Makefile.am | 7 +- hw/kdrive/linux/Makefile.am | 19 -- hw/kdrive/linux/evdev.c | 530

[PATCH xserver 2/3] xfbdev: Remove

2017-02-16 Thread Adam Jackson
With the shadow framebuffer overallocation bug fixed (ref below), Xorg + fbdev has tens to hundreds of kilobytes more baseline memory usage than Xfbdev. That's not nothing, but it's little enough that we should focus our efforts on the server that actually gets development attention.

[PATCH xserver 1/3] xfake: Remove

2017-02-16 Thread Adam Jackson
We already have Xvfb for a dummy DDX. Signed-off-by: Adam Jackson --- configure.ac | 3 - hw/kdrive/Makefile.am | 9 +- hw/kdrive/fake/.gitignore | 2 - hw/kdrive/fake/Makefile.am | 31 hw/kdrive/fake/fake.c | 444

Re: [PATCH 0/7] ScrnInfoRec cleanup

2017-02-16 Thread Adam Jackson
On Tue, 2017-02-14 at 22:50 -0600, Keith Packard wrote: > > Adam Jackson writes: > > > ScrnInfoRec is xfree86's subclass of ScreenRec. It's... showing its age. > > Much of it is only relevant to the pre-PCI world where probing the > > hardware was fraught with uncertainty and

[PATCH xserver] xwayland: bump wayland-protocols version to 1.7

2017-02-16 Thread Olivier Fourdan
Xwayland support for pointer locking in confinement requires wayland-protocols version 1.7 or later. Update the required version in configure.ac to match the minimal required version of wayland-protocols. Signed-off-by: Olivier Fourdan --- configure.ac | 2 +- 1 file