[PATCH xserver] xfree86: Hold input_lock across SPRITE functions in VGA arbiter

2017-08-02 Thread Keith Packard
Avoid scrambling the sprite functions wrapper. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=101995 Signed-off-by: Keith Packard --- hw/xfree86/common/xf86VGAarbiterPriv.h | 20 +--- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git

Re: [PATCH xserver 1/3] modesetting: Hide cursor during DPMS

2017-08-02 Thread Keith Packard
Michel Dänzer writes: > Shouldn't this be done at a higher level instead? Thanks for a really good question. The X server doesn't touch cursors when turning off crtcs that aren't in use any more. That's because xf86DisableUnusedFunctions doesn't touch the cursor for

Re: Any reliable way to find the X11 display id and authority file for local session running in actual monitor.

2017-08-02 Thread Michal Srb
Hi, I would say a systematic way to do it is using the systemd/logind dbus api. You can see the information using the command line tool: # loginctl show-seat seat0 Id=seat0 ActiveSession=1 <- interesting CanMultiSession=yes CanTTY=yes CanGraphical=yes Sessions=1564 1 IdleHint=no

Re: [PATCH xserver 1/3] modesetting: Hide cursor during DPMS

2017-08-02 Thread Michel Dänzer
On 02/08/17 07:42 PM, Keith Packard wrote: > This makes sure the cursor doesn't appear on the output at some later > time, as when leased by an X client. Shouldn't this be done at a higher level instead? -- Earthling Michel Dänzer | http://www.amd.com Libre software

[Bug 102013] GTK3 tooltips are corrupted after updating to Radeon 7.9.0

2017-08-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102013 --- Comment #7 from Michel Dänzer --- Please try Driver "modesetting" in xorg.conf and attach the corresponding Xorg log file. Does either of these problems happen in that case as well? -- You are receiving this mail

[Bug 102013] GTK3 tooltips are corrupted after updating to Radeon 7.9.0

2017-08-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102013 Michel Dänzer changed: What|Removed |Added Attachment #133215|text/x-log |text/plain

Re: help with Xorg (Adam Jackson)

2017-08-02 Thread Alan Corey
Is there any window manager like fvwm, openbox, lxde, kde, gnome? What you do next depends on what you're running because each OS has its own package manager, its own way of fetching and installing things. Apt-get install works for Debian, Rasbian, maybe Ubuntu. Some have Yum, there's about

[Bug 102013] GTK3 tooltips are corrupted after updating to Radeon 7.9.0

2017-08-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102013 --- Comment #6 from Amr Ibrahim --- Created attachment 133217 --> https://bugs.freedesktop.org/attachment.cgi?id=133217=edit Resizing windows artefacts before Option "AccelMethod" "EXA" This screencast is before

[Bug 102013] GTK3 tooltips are corrupted after updating to Radeon 7.9.0

2017-08-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102013 --- Comment #5 from Amr Ibrahim --- Created attachment 133215 --> https://bugs.freedesktop.org/attachment.cgi?id=133215=edit Xorg log after Option "AccelMethod" "EXA" -- You are receiving this mail because: You

[Bug 102013] GTK3 tooltips are corrupted after updating to Radeon 7.9.0

2017-08-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102013 Amr Ibrahim changed: What|Removed |Added See Also|

[Bug 102013] GTK3 tooltips are corrupted after updating to Radeon 7.9.0

2017-08-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102013 --- Comment #4 from Amr Ibrahim --- Michel, yes, adding that option fixes the tooltips problem. It also fixes another bug about artefacts when resizing windows. I attached a screencast. Downstream

Re: help with Xorg (Adam Jackson)

2017-08-02 Thread Perez Rodriguez, Humberto I
Hi Alan, definitely this is not a normal installation, because all the drivers goto /opt/X11R7 in a isolate environment. after type startx i got a black desktop, but i am able to open a terminal, to create folders and navigate by the system through the folders, but that i want to do is to

Re: help with Xorg (Adam Jackson)

2017-08-02 Thread Alan Corey
Wow, sounds like not much is installed, like this wasn't a normal installation. What happens if you type startx to start x? It should run xinit after a few steps. You may not even have a window manager. Sounds like when I tried getting X running on Raspbian Jessie Lite. On 8/2/17, Perez

Re: [PATCH xserver] glx: Erase glx client private before using

2017-08-02 Thread Adam Jackson
On Wed, 2017-08-02 at 03:39 -0700, Keith Packard wrote: > There's no guarantee that this structure is cleared when the client is > created, so clear it out ourselves. I beg your pardon? if (!dixRegisterPrivateKey (, PRIVATE_CLIENT, sizeof(__GLXclientState))) return; Client

Re: help with Xorg (Adam Jackson)

2017-08-02 Thread walter harms
Basicly you need a .xinitrc that starts what you want. normally you have a programm called xinit that does everything. So far i understand you have a restricted environment but a working xterm. xterm is good, now you can try to start a windowmanager like "twm" in xterm. That will enable you to

Re: [PATCH xserver 1/3] glamor: Scissor rectangle drawing to the bounds of the rects.

2017-08-02 Thread Eric Anholt
Michel Dänzer writes: > On 02/08/17 05:59 AM, Eric Anholt wrote: >> Scissors provide a critical hint to tiled renderers as to what tiles >> need to be load/stored because they could be modified by the >> rendering. >> >> The bounds calculation here is limited to when we have

Re: help with Xorg (Adam Jackson)

2017-08-02 Thread Perez Rodriguez, Humberto I
Thanks, in fact i dont know to much about xorg and your help here always is welcome :) after run it the both commands with the same user i am now able to see in a little white box the terminal with xterm, but now the big question is how can i display the windows, wallpapers and everything

[Bug 102013] GTK3 tooltips are corrupted after updating to Radeon 7.9.0

2017-08-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102013 --- Comment #3 from Amr Ibrahim --- I don't have this file /etc/X11/xorg.conf. Please tell me what the content of it would be so I can create a new one. -- You are receiving this mail because: You are the assignee

[Bug 101998] X server 1.19.3 failure with amdgpu (radeon M295X) on Ubuntu HWE16.04 kernel 4.10.0-28

2017-08-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101998 Michel Dänzer changed: What|Removed |Added Attachment #133200|text/x-log |text/plain

[Bug 101998] X server 1.19.3 failure with amdgpu (radeon M295X) on Ubuntu HWE16.04 kernel 4.10.0-28

2017-08-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101998 --- Comment #5 from Meik Neubauer --- Created attachment 133200 --> https://bugs.freedesktop.org/attachment.cgi?id=133200=edit 2017/08/02 error reproduce Xorg.0.log -- You are receiving this mail because: You are the

[Bug 101998] X server 1.19.3 failure with amdgpu (radeon M295X) on Ubuntu HWE16.04 kernel 4.10.0-28

2017-08-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101998 --- Comment #4 from Meik Neubauer --- Created attachment 133199 --> https://bugs.freedesktop.org/attachment.cgi?id=133199=edit 2017/08/02 error reproduce dmesg output -- You are receiving this mail because: You are the

[Bug 101998] X server 1.19.3 failure with amdgpu (radeon M295X) on Ubuntu HWE16.04 kernel 4.10.0-28

2017-08-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101998 --- Comment #3 from Meik Neubauer --- The Ubuntu HWE16.04 package xserver-xorg-core-hwe-16.04-dbg exists but does not seem to contain any debugging symbols. Installed files: /. /usr /usr/share /usr/share/doc

[Bug 102013] GTK3 tooltips are corrupted after updating to Radeon 7.9.0

2017-08-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102013 --- Comment #2 from Michel Dänzer --- Does Option "AccelMethod" "EXA" in /etc/X11/xorg.conf avoid the problem? If not, please attach the corresponding Xorg log file. -- You are receiving this mail because: You are the

[Bug 102013] GTK3 tooltips are corrupted after updating to Radeon 7.9.0

2017-08-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102013 Michel Dänzer changed: What|Removed |Added Attachment #133193|text/x-log |text/plain

[PATCH xserver 2/3] xf86-video-modesetting: Create CONNECTOR_ID properties for outputs

2017-08-02 Thread Keith Packard
This lets a DRM client map between X outputs and kernel connectors. Signed-off-by: Keith Packard --- hw/xfree86/drivers/modesetting/drmmode_display.c | 24 1 file changed, 24 insertions(+) diff --git a/hw/xfree86/drivers/modesetting/drmmode_display.c

[PATCH xserver 1/3] modesetting: Hide cursor during DPMS

2017-08-02 Thread Keith Packard
This makes sure the cursor doesn't appear on the output at some later time, as when leased by an X client. Signed-off-by: Keith Packard --- hw/xfree86/drivers/modesetting/drmmode_display.c | 17 +++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git

[PATCH xserver 3/3] Add RandR leases with modesetting driver support [v2]

2017-08-02 Thread Keith Packard
This adds support for RandR CRTC/Output leases through the modesetting driver, creating a lease using new kernel infrastructure and returning that to a client through an fd which will have access to only those resources. v2: When a lease terminates for a crtc we have saved data for, go

[PATCH xserver 0/3] Add RandR leases

2017-08-02 Thread Keith Packard
This implements the simpler version discussed a while ago; you can create and destroy leases, and you can receive events as they come and go. The X server hides leased resources from clients and refuses to mess with those while the lease is active. When the lease terminates, the X server restores

[PATCH xserver] glx: Erase glx client private before using

2017-08-02 Thread Keith Packard
There's no guarantee that this structure is cleared when the client is created, so clear it out ourselves. Signed-off-by: Keith Packard --- glx/glxext.c | 1 + 1 file changed, 1 insertion(+) diff --git a/glx/glxext.c b/glx/glxext.c index e88bbd107..bbd2dc664 100644 ---

[PATCH] Add Leases. [v2]

2017-08-02 Thread Keith Packard
A "lease" is a set of crtc and output resources granted to another application for use outside of X. These will not be usable through the X protocol until the lease terminates. Leased outputs will be seen as disconnected, leased CRTCs will be seen as not usable with any output. v2: Delete

[Bug 102013] GTK3 tooltips are corrupted after updating to Radeon 7.9.0

2017-08-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102013 Amr Ibrahim changed: What|Removed |Added See Also|

[Bug 102013] GTK3 tooltips are corrupted after updating to Radeon 7.9.0

2017-08-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102013 --- Comment #1 from Amr Ibrahim --- Created attachment 133193 --> https://bugs.freedesktop.org/attachment.cgi?id=133193=edit Xorg log -- You are receiving this mail because: You are the assignee for the

[Bug 102013] New: GTK3 tooltips are corrupted after updating to Radeon 7.9.0

2017-08-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102013 Bug ID: 102013 Summary: GTK3 tooltips are corrupted after updating to Radeon 7.9.0 Product: xorg Version: 7.7 (2012.06) Hardware: x86-64 (AMD64) URL:

Re: Second Feedback request for my GSoC project to improve Present support in Xwayland

2017-08-02 Thread Michel Dänzer
On 02/08/17 03:53 AM, Roman Gilg wrote: > According to the feedback I received on my first mail (see: > https://lists.x.org/archives/xorg-devel/2017-July/054136.html) I > reworked huge parts of my code for enabling Present pixmap flips in > Xwayland. The current code now provides the following

Re: [PATCH xserver] meson: Fix xwayland build since xwayland-keyboard-grab.

2017-08-02 Thread Peter Hutterer
On Tue, Aug 01, 2017 at 01:11:25PM -0700, Eric Anholt wrote: > The version detect was erroring out with 1.9 protos installed, and we > weren't building the new code. > > Signed-off-by: Eric Anholt oops, sorry about that. 0a448d133..2d50e32e0 master -> master Cheers,