Re: [PATCH RFC xserver] xwayland: List all wl_output::mode(s) in xrandr

2017-11-30 Thread Robert Mader
Hej Pekka, On 30.11.2017 10:44, Pekka Paalanen wrote: >> My point being solely that Xwayland should not decide to come up with >> and force fake modes all by itself if the compositor doesn't know how >> to deal with those. I totally support this. Anyway we should make sure mutter lists the most

Re: [PATCH RFC xserver] xwayland: List all wl_output::mode(s) in xrandr

2017-11-30 Thread Pekka Paalanen
On Thu, 30 Nov 2017 04:14:08 -0500 (EST) Olivier Fourdan wrote: > Hi Pekka, > > > > [...] > > > > > > Basically, in downstream RH bug 1289714 [1], Robert Mader (cc'ed) is > > > running some proof of concept to see how he can improve the support > > > for older games in Xwayland. > > > > Ooh,

Re: [PATCH RFC xserver] xwayland: List all wl_output::mode(s) in xrandr

2017-11-30 Thread Olivier Fourdan
Hey, > > Say, xwl_screen size is 1600x1200, RandR "sets" 800x600, and suddenly > > all Xwayland wl_surfaces start using wp_viewport to set 2x up-scaling? > > I.e. X11 window size that is 800x600 will produce a 800x600 wl_buffer, > > but wp_viewport makes the wl_surface 1600x1200. I think visually

Re: [PATCH RFC xserver] xwayland: List all wl_output::mode(s) in xrandr

2017-11-30 Thread Olivier Fourdan
Hi Pekka, > > [...] > > > > Basically, in downstream RH bug 1289714 [1], Robert Mader (cc'ed) is > > running some proof of concept to see how he can improve the support > > for older games in Xwayland. > > Ooh, exciting! I had a quick glimpse through the thread. > > > So this patch here is most

Re: [PATCH RFC xserver] xwayland: List all wl_output::mode(s) in xrandr

2017-11-30 Thread Pekka Paalanen
On Wed, 29 Nov 2017 10:18:47 -0500 (EST) Olivier Fourdan wrote: > Hi Pekka, > > > do you also plan to let Xwayland change the mode? If not, what's the > > benefit of this? > > Yeah, sorry, I didn't give all the details on why this RFC patch, my bad. > > Basically, in downstream RH bug 128971

Re: [PATCH RFC xserver] xwayland: List all wl_output::mode(s) in xrandr

2017-11-29 Thread Olivier Fourdan
Hi Pekka, > do you also plan to let Xwayland change the mode? If not, what's the > benefit of this? Yeah, sorry, I didn't give all the details on why this RFC patch, my bad. Basically, in downstream RH bug 1289714 [1], Robert Mader (cc'ed) is running some proof of concept to see how he can impr

Re: [PATCH RFC xserver] xwayland: List all wl_output::mode(s) in xrandr

2017-11-29 Thread Pekka Paalanen
On Wed, 29 Nov 2017 15:26:58 +0100 Olivier Fourdan wrote: > Xwayland would only list the current wl_output mode in xrandr, even > though multiple modes might be advertised by the Wayland compositor. > > List all available modes listed by the Wayland compositor using > wl_output::mode in XrandR.

[PATCH RFC xserver] xwayland: List all wl_output::mode(s) in xrandr

2017-11-29 Thread Olivier Fourdan
Xwayland would only list the current wl_output mode in xrandr, even though multiple modes might be advertised by the Wayland compositor. List all available modes listed by the Wayland compositor using wl_output::mode in XrandR. Signed-off-by: Olivier Fourdan --- Note: this works best with westo