ChanServ changed the topic of #wayland to: https://wayland.freedesktop.org | Discussion about the Wayland protocol and its implementations, plus libinput | register your nick to speak
Company has joined #wayland
pnowack has quit [Quit: pnowack]
maxzor has joined #wayland
maxzor has quit [Remote host closed the connection]
maxzor has joined #wayland
danvet has quit [Ping timeout: 480 seconds]
rasterman has quit [Quit: Gettin' stinky!]
c7s has quit [Ping timeout: 480 seconds]
co1umbarius has joined #wayland
rv1sr has quit []
pieguy128 has quit [Ping timeout: 480 seconds]
columbarius has quit [Ping timeout: 480 seconds]
pieguy128 has joined #wayland
maxzor has quit [Ping timeout: 480 seconds]
pieguy128_ has joined #wayland
pieguy128 has quit [Ping timeout: 480 seconds]
fmuellner has quit [Ping timeout: 480 seconds]
pavan_ has joined #wayland
nerdopolis has quit [Ping timeout: 480 seconds]
pavan_ has quit [Ping timeout: 480 seconds]
pavan has quit [Ping timeout: 480 seconds]
Company has quit [Ping timeout: 480 seconds]
shankaru has joined #wayland
Arnavion has quit [Quit: Arnavion]
maxzor has joined #wayland
Arnavion has joined #wayland
maxzor_ has joined #wayland
ecloud has quit [Ping timeout: 480 seconds]
ecloud has joined #wayland
erc_ has joined #wayland
erc has quit [Ping timeout: 480 seconds]
eroux has joined #wayland
danvet has joined #wayland
spstarr has joined #wayland
hardening has joined #wayland
jgrulich has joined #wayland
jgrulich has quit [Remote host closed the connection]
MajorBiscuit has joined #wayland
maxzor is now known as Guest503
maxzor_ is now known as maxzor
Company has joined #wayland
mort_6 has quit []
mort_6 has joined #wayland
shankaru has quit [Read error: Connection reset by peer]
jgrulich has joined #wayland
tzimmermann has joined #wayland
zubzub has quit [Ping timeout: 480 seconds]
Major_Biscuit has joined #wayland
MajorBiscuit has quit [Ping timeout: 480 seconds]
Guest503 has quit []
jmabr has joined #wayland
rasterman has joined #wayland
pbc has joined #wayland
zubzub has joined #wayland
dcz_ has joined #wayland
xantoz has quit [Ping timeout: 480 seconds]
shankaru has joined #wayland
c7s has joined #wayland
pbc has quit [Ping timeout: 480 seconds]
pbc has joined #wayland
<pq> JPEW, use a state machine that and triggers a redraw only after both conditions: frame callback done and new content available (the 20 ms timer). Which ever condition completes last will trigger redraw.
<pq> -and
<pq> At least as a starting point - the fundamental problem of having different content rate from monitor refresh rate is going to cause "jitter" anyway.
pnowack has joined #wayland
mvlad has joined #wayland
eroux_ has joined #wayland
ecloud has quit [Ping timeout: 480 seconds]
c7s has quit [Ping timeout: 480 seconds]
eroux has quit [Ping timeout: 480 seconds]
ecloud has joined #wayland
eroux_ has quit []
eroux has joined #wayland
flacks has quit [Quit: Quitter]
flacks has joined #wayland
radu242 has quit [Ping timeout: 480 seconds]
maxzor has quit [Ping timeout: 480 seconds]
radu242 has joined #wayland
radu242 has quit [Ping timeout: 480 seconds]
devilhorns has joined #wayland
fmuellner has joined #wayland
radu242 has joined #wayland
<wlb> weston/main: Pekka Paalanen * libweston: fix weston_view::geometry.parent comment https://gitlab.freedesktop.org/wayland/weston/commit/90687e1fc604 include/libweston/libweston.h
<wlb> weston Merge request !774 merged \o/ ([trivial] libweston: fix weston_view::geometry.parent comment https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/774)
radu242 has quit [Ping timeout: 480 seconds]
<wlb> weston/main: Pekka Paalanen * tests: give name for the test-shell background https://gitlab.freedesktop.org/wayland/weston/commit/e948bd4bc9f7 tests/weston-test-desktop-shell.c
<wlb> weston Merge request !776 merged \o/ (tests: give name for the test-shell background https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/776)
mort_6 has left #wayland [#wayland]
<wlb> weston Issue #568 closed \o/ (weston_paint_node_ensure_color_transform: Assertion 'it->surf_xform_valid == false' failed https://gitlab.freedesktop.org/wayland/weston/-/issues/568)
<wlb> weston/main: Pekka Paalanen * libweston: fix paint node color invariant https://gitlab.freedesktop.org/wayland/weston/commit/26b04f004559 libweston/compositor.c
<wlb> weston Merge request !773 merged \o/ (libweston: fix paint node color invariant https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/773)
<JPEW> pq: Thanks. I also thought about moving the "wait" for a frame callback until right before we commit the next frame instead of right after, basically allowing our code to render 1 frame ahead.... I realize this has some problems (e.g. if if your window is hidden when it unhides you get 1 frame of old content).
<JPEW> But we have a pretty limited (embedded) use case, so I'm not to worried about that; are there perhaps some other problems with that idea that I didn't think about?
nerdopolis has joined #wayland
<pq> JPEW, what do you mean with "wait"?
<pq> a blocking wait?
<pq> even though you "wait", you should still spin your event loop and process anything that arrives
<JPEW> Oh, right, I forgot to mention that. We don't have the frame callback drive our render loop directly. If we want to pay attention to it we have to block
<JPEW> its... annyoying
<pq> kinda facepalm annoying
<MrCooper> sounds really weird
<JPEW> Ya, it's an old API (imaging the old blitting days before GPUs)
<pq> not much different from SDL, EGL or mpv, perhaps?
<JPEW> Ya, EGL with blocking eglSwapBuffers
<JPEW> (pretty close anyway)
drunkcat has left #wayland [#wayland]
<pq> there might be times when you want to re-draw even before a frame callback, like if you want to realize a resize ASAP.
<pq> also frame callbacks might not come soon, if something obscures the window
<pq> so hard-blocking on frame callbacks has many practical problems
<JPEW> pq: Ya, right now we just use weston in fullscreen shell so we don't have to implement random $VENDOR DRM quirks
<JPEW> so.... not a huge concern. We would have to do it differently on a real desktop shell
<JPEW> eglSwapBuffers blocks though, so how does that work?
<JPEW> (at least, I assume it blocks)
<MrCooper> nothing to do with vendor DRM quirks, just the Wayland compositor not sending frame events while the surface isn't visible anywhere
nerdopolis has quit [Ping timeout: 480 seconds]
<pq> I think Weston is going to postpone frame callbacks as long as the window is not at all visible one day, if it doesn't already.
<pq> and it's nothing about DRM or vendor, it's just compositor behavior
<soreau> in wayland, eglSwapBuffers blocks until next frame callback unless the swap interval is set to 0
<pq> JPEW, personally I'd just set SwapInterval to zero always, and subscribe my own frame callbacks...
<JPEW> Ya, sorry, that wasn't clear. Our use case for weston is to use the fullscreen shell to paper over vendor DRM quirks; IIRC in that _limited_ use case we don't need to worry about the window be obscured.
<JPEW> But, I fully admit what we have would need to be redone if we wanted to run in e.g. a desktop shell
<pq> yeah, at least if there is no other client
<JPEW> IIRC fullscreen shell only lets you have one anyway
<pq> sounds right - so it works as a consequence of somewhat unrelated design decisions :-)
<JPEW> Ya, I'm not claiming it's great :)
<JPEW> fullscreen shell is awesome for our purposes though :)
<pq> interesting. Would you like to maintain fullscreen shell? :-)
<JPEW> pq: ... err... I can barely maintain the other OSS stuff I work on; has it been having problems lately?
<pq> I don't know really... I thought no-one used it :-D
radu242 has joined #wayland
<pq> I suppose the greatest risk in the near future is it getting deleted, but since you're here, maybe we remember te retain it.
<JPEW> pq: Ah. We use it for sure.... You can put me down as a person-of-interest at least
<pq> Cool! Now if we just had anywhere to record that...
<JPEW> Hmm.... ya, that can be problematic
<pq> JPEW, well, with the feature deprecation policy in place, if you check in every stable Weston release, you'd see if it's in danger.
<JPEW> k
<daniels> JPEW: btw, you wouldn't have to do things differently on a real shell? you'd just need to replace your fullscreen_shell window with an xdg_surface+xdg_toplevel which was set to be fullscreen, and run on kiosk-shell instead
<JPEW> daniels: Ya, it would still work, but it might have troubles with long blocks and out of date content if the window stopped getting frame callbackes because it was hidden
jpoiret has quit [Quit: The Lounge - https://thelounge.chat]
radu242 has quit [Ping timeout: 480 seconds]
jpoiret has joined #wayland
jpoiret has quit []
jpoiret has joined #wayland
jpoiret has quit []
<daniels> JPEW: right, but that's nothing to do with fullscreen-shell vs. xdg_surface or kiosk-shell - the decision on whether or not to send frame callbacks is made by the core
<daniels> and if you run kiosk-shell then you have very similar semantics
<JPEW> daniels: Are you saying we could also use xdg-shell with fullscreen and/or kiosk-shell because they will never consider the surface "hidden" (like fullscreen-shell)?
<daniels> JPEW: whether or not a surface is 'hidden' is controlled by the core, and not by the shell per se
<daniels> right now neither of them will stop sending frame callbacks - but when we do flip that switch in the core, it will effect all the shells alike
<daniels> i.e. if your surface is occluded in fullscreen-shell, it'll stop receiving frame callbacks
<JPEW> daniels: Ah, sure... but fullscreen doesn't have any way to hide a surface (since only one can be visible?)
jgrulich has quit [Ping timeout: 480 seconds]
c7s has joined #wayland
<daniels> JPEW: kiosk-shell and fullscreen-shell do the exact same thing: when you create a new xdg_toplevel (kiosk-shell) or fullscreen_shell_surface, it makes it fullscreen and topmost
<daniels> so either you have one toplevel surface, and it is forced to always be fullscreen and shown, or you have two toplevel surfaces, in which case only the latest is shown
radu242 has joined #wayland
robert_mader has joined #wayland
radu242 has quit [Ping timeout: 480 seconds]
maxzor has joined #wayland
maxzor has quit []
<robert_mader> emersion: do you happen to already have experience with overlay plane support on AMD systems? Is the kernel support generally there? MrCooper mentioned some quirks. Just asking because I have the chance of getting a new setup and would like to work on that area :/
maxzor has joined #wayland
maxzor has quit [Remote host closed the connection]
maxzor has joined #wayland
shankaru has quit [Quit: Leaving.]
shankaru has joined #wayland
<wlb> weston/main: Simon Ser * build: warn when enabling wl_shell support https://gitlab.freedesktop.org/wayland/weston/commit/2839e6101853 meson.build
<wlb> weston/main: Simon Ser * build: deprecate fbdev backend https://gitlab.freedesktop.org/wayland/weston/commit/6338dbd58166 .gitlab-ci.yml libweston/backend-fbdev/fbdev.c libweston/backend-fbdev/meson.build meson_options.txt
<wlb> weston Merge request !764 merged \o/ (build: deprecate fbdev backend https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/764)
rv1sr has joined #wayland
<emersion> robert_mader: yes, there is 1 overlay shared between all CRTCs
<wlb> weston/main: Derek Foreman * drm: Fix hang on zoom https://gitlab.freedesktop.org/wayland/weston/commit/db7e85d5f8a2 libweston/backend-drm/drm.c
<wlb> weston Merge request !765 merged \o/ (drm: Fix hang on zoom https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/765)
<daniels> emersion: ouch
<emersion> there arfe weird interactions with the cursor plane
<emersion> are*
<robert_mader> emersion: thanks! Just to be sure: that's on recent AMD hardware? I.e. I should not expect newer cards to be much different right now?
<emersion> yeah, never seen a card with something better
<emersion> you can use drmdb to find out
jgrulich has joined #wayland
cvmn has joined #wayland
<wlb> weston/main: Simon Ser * build: bump to version 9.0.93 for the RC1 release https://gitlab.freedesktop.org/wayland/weston/commit/4ac64883d8c8 meson.build
<wlb> wayland.freedesktop.org/main: Simon Ser * releases: add weston 9.0.93 https://gitlab.freedesktop.org/wayland/wayland.freedesktop.org/commit/87faffdf1408 releases/weston-9.0.93.tar.xz releases/weston-9.0.93.tar.xz.sha256sum releases/weston-9.0.93.tar.xz.sig releases.html
jgrulich has quit [Ping timeout: 480 seconds]
eroux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
peeterm_ has joined #wayland
peeterm has quit [Ping timeout: 480 seconds]
radu242 has joined #wayland
radu242 has quit [Ping timeout: 480 seconds]
Major_Biscuit has quit [Ping timeout: 480 seconds]
pavan has joined #wayland
pavan_ has joined #wayland
luc4 has joined #wayland
___nick___ has joined #wayland
pavan_ has quit []
pavan has quit []
<wlb> weston Merge request !662 closed (gl-renderer: Clean up egl attach failure path)
TimWolla has quit [Remote host closed the connection]
TimWolla has joined #wayland
mriesch has quit [Remote host closed the connection]
mriesch has joined #wayland
cvmn has quit [Ping timeout: 480 seconds]
___nick___ has quit []
___nick___ has joined #wayland
___nick___ has quit []
___nick___ has joined #wayland
robert_mader has left #wayland [#wayland]
devilhorns has quit [Remote host closed the connection]
devilhorns has joined #wayland
devilhorns has quit []
radu242 has joined #wayland
radu242 has quit [Ping timeout: 480 seconds]
pieguy128_ has quit [Ping timeout: 480 seconds]
xantoz has joined #wayland
pieguy128 has joined #wayland
tzimmermann has quit [Quit: Leaving]
radu242 has joined #wayland
fmuellner has quit [Ping timeout: 480 seconds]
shankaru has quit [Quit: Leaving.]
radu242 has quit [Ping timeout: 480 seconds]
dcz_ has quit [Ping timeout: 480 seconds]
___nick___ has quit [Ping timeout: 480 seconds]
mvlad has quit [Remote host closed the connection]
radu242 has joined #wayland
zubzub has quit [Remote host closed the connection]
zubzub has joined #wayland
radu242 has quit [Ping timeout: 480 seconds]
fmuellner has joined #wayland
moses has quit []
danvet has quit [Ping timeout: 480 seconds]
rv1sr has quit []
nerdopolis has joined #wayland
radu242 has joined #wayland
spstarr has quit [Remote host closed the connection]
luc4 has quit []
radu242 has quit [Ping timeout: 480 seconds]
pbc has quit [Ping timeout: 480 seconds]
kinlo has quit [Ping timeout: 480 seconds]
hardening has quit [Ping timeout: 480 seconds]