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
radu242 has quit [Quit: The Lounge - https://thelounge.chat]
radu242 has joined #wayland
vivek has quit [Ping timeout: 480 seconds]
pnowack has quit [Quit: pnowack]
leon-p_ has joined #wayland
leon-p has quit [Ping timeout: 480 seconds]
leon-p has joined #wayland
leon-p_ has quit [Ping timeout: 480 seconds]
zebrag has quit [Ping timeout: 480 seconds]
columbarius has joined #wayland
columbar1 has quit [Ping timeout: 480 seconds]
leon-p has quit []
radu242 has quit [Quit: The Lounge - https://thelounge.chat]
boistordu_old has joined #wayland
boistordu has quit [Ping timeout: 480 seconds]
radu242 has joined #wayland
vivek has joined #wayland
remanifest has joined #wayland
tzimmermann has joined #wayland
dcz_ has joined #wayland
dcz has quit [Ping timeout: 480 seconds]
naveenk2 has joined #wayland
jgrulich has joined #wayland
yoslin_ has joined #wayland
yoslin has quit [Ping timeout: 480 seconds]
pnowack has joined #wayland
danvet has joined #wayland
Lucretia has joined #wayland
ppascher has quit [Ping timeout: 480 seconds]
<emersion> also, you might need to remove the assert(res->scanout) asserts in vc4/v3d
ppascher has joined #wayland
rasterman has joined #wayland
go4godvin is now known as frytaped
frytaped is now known as go4godvin
vivek has quit [Ping timeout: 480 seconds]
aleasto has joined #wayland
naveenk2 has quit []
naveenk2 has joined #wayland
tzimmermann_ has joined #wayland
tzimmermann has quit [Ping timeout: 480 seconds]
tzimmermann__ has joined #wayland
ppascher has quit [Quit: Gateway shutdown]
tzimmermann_ has quit [Ping timeout: 480 seconds]
ppascher has joined #wayland
tzimmermann__ has quit []
tzimmermann has joined #wayland
tzimmermann_ has joined #wayland
flacks has quit [Quit: Quitter]
tzimmermann has quit [Ping timeout: 480 seconds]
flacks has joined #wayland
naveenk2 has quit []
naveenk2 has joined #wayland
naveenk2 has quit []
<wlb> weston Issue #523 opened by Pekka Paalanen (pq) Turning CRTC off may fail assert on KMS timestamp https://gitlab.freedesktop.org/wayland/weston/-/issues/523 [DRM/KMS backend]
jgrulich has quit [Remote host closed the connection]
jgrulich has joined #wayland
remanifest has quit [Remote host closed the connection]
remanifest has joined #wayland
tzimmermann_ has quit []
tzimmermann has joined #wayland
Serus has joined #wayland
<wlb> wayland-protocols Merge request !103 opened by Sebastian Wick (swick) Draft: alternative present-timing protocol https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/103
<wlb> wayland Merge request !163 opened by Alexander Richardson (arichardson) gitlab-ci: add a FreeBSD test job https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/163
leon-p has joined #wayland
<wlb> wayland Merge request !146 closed (ci: add FreeBSD)
xexaxo_ has quit [Read error: No route to host]
xexaxo_ has joined #wayland
<LaserEyess> swick: I'm curous, what are the chances of a scenario such as surface-suspension being merged to staging, and your present-timing being debated and refined for all the time it needs, and then being merged to staging and superceding surface-suspension?
<LaserEyess> I ask because surface-suspension on it's own seems really useful to a lot of clients, right now
<LaserEyess> it's a good stop-gap measure for a more comprehensive solution like yours
<swick> a better stop gap would be to fix the WSI
<swick> https://gitlab.freedesktop.org/mesa/mesa/-/blob/master/src/vulkan/wsi/wsi_common_wayland.c#L863-868 add a 1 second timeout here and it gives you the same guarantee as the surface suspension protocol
<LaserEyess> why wouldn't such a simple fix be implemented on mesa's side?
<LaserEyess> I assume it's against some spec?
<swick> pretty sure it would get merged if you wrote a patch
<swick> just nobody cares enough to write that patch apparently
<LaserEyess> that's also only vulkan, so you'd need to do the same for opengl, right?
<swick> EGL, yes
<JPEW> emersion: Removing the `goto fail` doesn't seem to resolve the problem
<JPEW> emersion: Weirdly, if I run `weston-simple-dmabuf-egl -d /dev/dri/card0` for a little bit and then `-d /dev/dri/renderD128` the latter runs for a little while, but eventually crashes weston
<emersion> JPEW: have you removed the assert too?
<JPEW> I think so
<emersion> what happens exactly?
Erandir has quit []
<JPEW> emersion: If I run `weston-simple-dmabuf-egl` on a fresh power cycle, I get this immediately and nothing crashes:
<emersion> hm, looks like the import is still failing
<JPEW> Ya
<emersion> can you `git diff` your mesa?
<JPEW> emersion: doh. Hang on, I may not have actually uploaded the new mesa :)
<emersion> :P
Erandir has joined #wayland
spstarr has joined #wayland
<JPEW> emersion: Ok, that patch works. I still get the warning message in weston, but it does render
<JPEW> It looks like the warning message could possibly be removed?
<emersion> JPEW: lynxeye's MR i linked earlier removes it
<emersion> JPEW: can you submit your patches? :)
<JPEW> emersion: Indeed
<emersion> glad it works!
<emersion> in the future the compositor should be sending the render node to clients
<emersion> so it's better to fix mesa than to require clients to open the primary node
<emersion> (primary nodes in general shouldn't be opened by clients)
<JPEW> emersion: Well, in this case the client is using the render node, it just doesn't match the primary node
<emersion> yup
<emersion> because of that split display/render architecture
<JPEW> emersion: Ya. Is that fairly unique to raspberry pi?
<emersion> nah, it's common in many Arm SoCs
<emersion> but the software wasn't originally written with these assumptions
<emersion> so kmsro/renderonly is a (fragile) attempt in mesa to sidestep the issue
<JPEW> emersion: Ah; is there something thats support to replace kmsro eventually?
<emersion> we've been talking about allowing compositors to better match the display device and the render device
<emersion> but we quickly hit issues with buffer allocations
<emersion> the compositor needs to allocate scanout-capable buffers, but the render device doesn't know how to do it
<emersion> so a whole new solution needs to be plumbed first to allow allocations to work correctly
<emersion> (the allocation issue is more general than just this Arm issue)
<emersion> kmsro works by asking the display device to allocate sometimes via dumb buffers (!) sometimes via something else, then import that into the render device
<emersion> all of that is pretty much driver specific and not good to put into a generic compositor
vivek has joined #wayland
naveenk2 has joined #wayland
vivek has quit [Ping timeout: 480 seconds]
dblsaiko has quit [Ping timeout: 480 seconds]
<JPEW> Hopefully the explaination is correct :)
dblsaiko has joined #wayland
<emersion> thanks JPEW
zebrag has joined #wayland
naveenk2 has quit []
vivek has joined #wayland
remanifest has quit [Remote host closed the connection]
remanifest has joined #wayland
tzimmermann has quit [Quit: Leaving]
yoslin_ has quit []
jgrulich has quit [Ping timeout: 480 seconds]
aleasto has quit [Read error: Connection reset by peer]
yoslin has joined #wayland
yoslin has quit [Quit: WeeChat 3.2]
spstarr has quit [Remote host closed the connection]
modin_ has joined #wayland
ramcq has quit [Ping timeout: 480 seconds]
saumon has quit [Ping timeout: 480 seconds]
saumon has joined #wayland
ramcq has joined #wayland
modin has quit [Ping timeout: 480 seconds]
<wlb> wayland-protocols Merge request !104 opened by Simon Ser (emersion) solid-buffer: new protocol https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/104
<wlb> wayland-protocols Merge request !105 opened by Simon Ser (emersion) presentation-time: use enum entry description tags https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/105 [presentation-time]
modin_ has quit []
modin has joined #wayland
yoslin has joined #wayland
danvet has quit [Ping timeout: 480 seconds]
xexaxo has joined #wayland
xexaxo_ has quit [Ping timeout: 480 seconds]
brain has joined #wayland
leon-p_ has joined #wayland
leon-p has quit [Ping timeout: 480 seconds]
remanifest has quit []
pnowack has quit [Quit: pnowack]
rasterman has quit [Ping timeout: 480 seconds]
vivek has quit [Ping timeout: 480 seconds]