ChanServ changed the topic of #wayland to: https://wayland.freedesktop.org | Discussion about the Wayland protocol and its implementations, plus libinput
Brainium has quit [Quit: Konversation terminated!]
jadahl has quit [Server closed connection]
jadahl has joined #wayland
Brainium has joined #wayland
nerdopolis has joined #wayland
garnacho has quit [Ping timeout: 480 seconds]
nerdopolis has quit [Ping timeout: 480 seconds]
nerdopolis has joined #wayland
JoshuaAshton has quit [Server closed connection]
JoshuaAshton has joined #wayland
<wlb>
wayland-protocols Issue #206 opened by Dennis Lonoshchuk (laycookie) Allow null to be passed as output method in zwlr_screencopy_manager_v1::capture_output and zwlr_screencopy_manager_v1::capture_output_region https://gitlab.freedesktop.org/wayland/wayland-protocols/-/issues/206
Brainium has quit [Quit: Konversation terminated!]
<Company>
swick[m]: Is there a reason why the named primaries and transfer functions don't map to cicp values?
* Company
bets there is one in the long MR somewhere
<Company>
because I'm wondering if GTK should define its own enum and have a mapping somehow or just use cicp and punt everything to icc profiles or wherever else
<swick[m]>
Company: they do for the most parts?
<swick[m]>
like, not numerically
<Company>
yeah, I meant numerically
<Company>
almost every library has a to/from_cicp() function and a custom enum
<Company>
but that seems to be mostly because they're older than cicp
<Company>
but this protocol is newer
<Company>
so could choose to match numerically
<Company>
that would avoid everyone having to write another to/from set of functions
<Company>
but it'd also mean you'd be bound to cicp wrt extending it
coldfeet has quit [Remote host closed the connection]
colinmarc has joined #wayland
<colinmarc>
When I emit wl_output mode changes, games running via xwayland don't seem to pick up the new mode in their video/graphics settings, although reconfiguring the xwindow usually works. Am I missing something in terms of plumbing that together or is that supposed to just work?
fmuellner has joined #wayland
<zamundaaa[m]>
Colin Marc: I'm afraid most games are just that dumb
<colinmarc>
hehe :(
<zamundaaa[m]>
You could maybe check if the games you test react to mode changes on normal Xorg, or on Windows, but I doubt it
roboporo has joined #wayland
<roboporo>
anyone know what can cause the green artifacts like in the image when doing direct scanout? https://imgur.com/a/g6ZZd7w
guru_ has quit [Remote host closed the connection]
guru_ has joined #wayland
fmuellner has quit [Ping timeout: 480 seconds]
<colinmarc>
the other thing I've been confused by is that when I do a mode change - let's say from 1920x1080 -> 1600x1200 - and then reconfigure the xwindow, the buffer size changes to 1600x1200 even if the application seems not to resize, and the pointer motion events are interpreted as if the window is still the old size
<colinmarc>
is xwayland scaling the xwindow output down to the correct size even if the xwindow itself isn't respecting the configuration?
<colinmarc>
(this is with borderless fullscreen)
<colinmarc>
ah, hm, that's not every game. maybe just this one (talos principle 2)
<JoshuaAshton>
Don't think any games react to mode changes on Windows
<JoshuaAshton>
Usually they just crash or don't update anything or end up crashing if you try to change modes after if one isn't valid anymore
<JoshuaAshton>
On SteamOS, the game gets it's own XWayland and the mode is fixed for the lifetime of the game being present
<colinmarc>
JoshuaAshton: thanks. I went looking for where that is implemented in gamescope but it just seems like it's using wlroots's xwayland process, which would be one rootless, no? or are there just multiple gamescopes?
<colinmarc>
if gamescope is running nested windowed and someone resizes it, it doesn't change the mode in that case?
<colinmarc>
this stuff is so hairy...
roboporo has joined #wayland
bnason29 has joined #wayland
bnason2 has quit [Ping timeout: 480 seconds]
bnason29 is now known as bnason2
mripard is now known as Guest491
roboporo has quit [Quit: WeeChat 4.3.5]
Guest491 has quit [Ping timeout: 480 seconds]
Brainium has joined #wayland
<JoshuaAshton>
XWayland updates its mode on wl_output change
<JoshuaAshton>
We don't update the mode when Gamescope window is resized
<JoshuaAshton>
Actually I lie, we would update XWayland 0 which woudl be Steams so Steam would update its size
<JoshuaAshton>
but the game would not
roboporo has joined #wayland
Company has quit [Read error: Connection reset by peer]
<colinmarc>
hm, I've found at least some games with "responsive" menu screens that aren't behaving properly on my compositor. so I think I just have a bug somewhere, I think in the xwm. the weird thing is, the buffer is getting sized correctly, so something upstream is scaling, I think xwayland.
<FreeFull>
colinmarc: Maybe it's using viewporter?
<colinmarc>
I haven't implemented viewporter (could that be the problem?)
<FreeFull>
Maybe if xwayland does the wrong thing if viewporter isn't present.. Pure speculation, though
glennk has quit [Ping timeout: 480 seconds]
nerdopolis has quit [Ping timeout: 480 seconds]
coldfeet has joined #wayland
<colinmarc>
ok, what fixed it was setting _NET_WM_STATE_FULLSCREEN even if the game is in borderless fullscreen. I don't understand enough about x11 semantics to know whether that's correct or a cludge, but it works.
bnason27 has joined #wayland
bnason20 has joined #wayland
<colinmarc>
I guess that kicks xwayland out of compositing mode?
Company has joined #wayland
bnason2 has quit [Ping timeout: 480 seconds]
bnason20 is now known as bnason2
bnason27 has quit [Ping timeout: 480 seconds]
ecloud has quit [Ping timeout: 480 seconds]
bnason24 has joined #wayland
ecloud has joined #wayland
bnason2 has quit [Ping timeout: 480 seconds]
bnason24 is now known as bnason2
nerdopolis has joined #wayland
bnason20 has joined #wayland
bnason2 has quit [Ping timeout: 480 seconds]
bnason20 is now known as bnason2
nerdopolis has quit [Ping timeout: 480 seconds]
nerdopolis has joined #wayland
coldfeet has quit [Remote host closed the connection]
roboporo has quit [Quit: WeeChat 4.3.5]
crazybyte has quit [Ping timeout: 480 seconds]
<JoshuaAshton>
xwayland or xserver doesn't check icccm properties
<JoshuaAshton>
what is a responsive menu screen?
<karenthedorf>
"responsive" means it adjusts to window size/dpi. Or that''s what it means in webdev