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
Paul33 has quit []
Moprius has quit [Quit: bye]
Brainium has joined #wayland
julio7359 has quit [Ping timeout: 480 seconds]
julio7359 has joined #wayland
CodeSpelunker has quit [Ping timeout: 480 seconds]
co1umbarius has joined #wayland
columbarius has quit [Ping timeout: 480 seconds]
Leopold__ has joined #wayland
Leopold___ has quit [Ping timeout: 480 seconds]
ybogdano has quit [Ping timeout: 480 seconds]
Leopold__ has quit [Ping timeout: 480 seconds]
Leopold_ has joined #wayland
fmuellner has quit []
fmuellner has joined #wayland
Moprius has joined #wayland
Company has quit [Quit: Leaving]
floof58 has quit [Remote host closed the connection]
floof58 has joined #wayland
floof58 has quit [Remote host closed the connection]
floof58 has joined #wayland
CodeSpelunker has joined #wayland
Moprius has quit [Quit: bye]
fmuellner has quit [Ping timeout: 480 seconds]
CodeSpelunker has quit [Quit: CodeSpelunker]
molinari has quit [Ping timeout: 480 seconds]
Brainium has quit [Quit: Konversation terminated!]
kts has joined #wayland
AJ_Z0 has quit [Remote host closed the connection]
Ampera has quit [Remote host closed the connection]
AJ_Z0 has joined #wayland
Ampera has joined #wayland
bindu has quit [Remote host closed the connection]
bindu has joined #wayland
Sachiel has quit [Remote host closed the connection]
Sachiel has joined #wayland
nerdopolis has quit [Ping timeout: 480 seconds]
julio7359 has quit [Ping timeout: 480 seconds]
julio7359 has joined #wayland
rv1sr has joined #wayland
dcz has joined #wayland
dcz_ has joined #wayland
dcz has quit [Ping timeout: 480 seconds]
jgrulich has joined #wayland
kts has quit [Quit: Leaving]
kts has joined #wayland
kts has quit []
hardening has joined #wayland
shankaru has quit [Read error: Connection reset by peer]
shankaru has joined #wayland
danvet has joined #wayland
tzimmermann has joined #wayland
eroux has quit [Remote host closed the connection]
rasterman has joined #wayland
Leopold_ has quit [Remote host closed the connection]
pochu has joined #wayland
mvlad has joined #wayland
Leopold has joined #wayland
Company has joined #wayland
Lucretia has quit []
molinari has joined #wayland
Lucretia has joined #wayland
Fxzxmic has joined #wayland
MajorBiscuit has joined #wayland
devilhorns has joined #wayland
Fxzxmic has quit [Remote host closed the connection]
Fxzxmic has joined #wayland
kts has joined #wayland
junaid has joined #wayland
Leopold has quit []
Leopold has joined #wayland
fmuellner has joined #wayland
kts has quit [Quit: Leaving]
Leopold___ has joined #wayland
Leopold has quit [Ping timeout: 480 seconds]
fmuellner has quit []
fmuellner has joined #wayland
junaid has quit [Ping timeout: 480 seconds]
Fxzxmic has quit [Remote host closed the connection]
Fxzxmic has joined #wayland
WhyNotHugo_ is now known as WhyNotHugo
fmuellner has quit []
fmuellner has joined #wayland
MajorBiscuit has quit [Read error: Connection reset by peer]
nerdopolis has joined #wayland
manuel1985 has joined #wayland
Fxzxmic has quit [Remote host closed the connection]
Fxzxmic has joined #wayland
MajorBiscuit has joined #wayland
manuel1985 has quit [Ping timeout: 480 seconds]
___nick___ has joined #wayland
manuel1985 has joined #wayland
manuel1985 has quit [Ping timeout: 480 seconds]
genpaku has quit [Read error: Connection reset by peer]
genpaku has joined #wayland
pochu has quit [Ping timeout: 480 seconds]
Leopold___ has quit [Ping timeout: 480 seconds]
dcz_ has quit [Ping timeout: 480 seconds]
fmuellner has quit [Ping timeout: 480 seconds]
kts has joined #wayland
Leopold_ has joined #wayland
jgrulich has quit [Ping timeout: 480 seconds]
dottedmag has joined #wayland
Leopold_ has quit [Remote host closed the connection]
ybogdano has joined #wayland
junaid has joined #wayland
Leopold_ has joined #wayland
junaid has quit [Ping timeout: 480 seconds]
WillyWonka1637 has joined #wayland
Fxzxmic has quit []
WillyWonka1638 has joined #wayland
WillyWonka1638 has quit [Remote host closed the connection]
WillyWonka1638 has joined #wayland
junaid has joined #wayland
WillyWonka1637 has quit [Ping timeout: 480 seconds]
Leopold_ has quit []
Leopold_ has joined #wayland
devilhorns has quit []
Leopold___ has joined #wayland
fmuellner has joined #wayland
Leopold_ has quit [Ping timeout: 480 seconds]
<bl4ckb0ne> would it be a bad thing to have a compositor run the server event loop in a thread?
<emersion> gamescope does this
<emersion> and it's a mistake
<emersion> synchronizing all of the threads is a huge pain
<bl4ckb0ne> im having a hard time handling the wayland events in wxrc
<emersion> what is the reason?
<emersion> openxr API is blocking?
<bl4ckb0ne> yeah
<bl4ckb0ne> openxr has a clear start/end of frame
<emersion> if there really isn't a way around it, my suggestion would be to put the blocking openXR stuff in a thread
<emersion> then integrate the thread with the main event loop
<bl4ckb0ne> its more about following the order of the frame rather than blocking
<bl4ckb0ne> sending the hmd vp matrix / input position to the clients and gettings back a surface
<daniels> yeah definitely, it's going to be much easier to run libwayland-server as is, record all its state, then hand that over to OXR once per frame
<emersion> the quick-and-dirty way is probably to have a "wayland lock
<emersion> and lock the wayland state from the XR thread
<emersion> (only when necessary, e.g. when rendering)
<bl4ckb0ne> do you have an example about integrating a thread into thr main loop?
<emersion> you can look at gamescope's wlserver.cpp
<emersion> it's… not great
fmuellner has quit []
fmuellner has joined #wayland
agd5f_ has joined #wayland
tzimmermann has quit [Quit: Leaving]
<bl4ckb0ne> so this one is the main thread
agd5f_ has quit []
<daniels> using a mutex implies that you'd be blocking the OXR thread at times though, which seems ... not great
agd5f has quit [Ping timeout: 480 seconds]
agd5f has joined #wayland
<emersion> that is correct
WillyWonka1638 has quit [Ping timeout: 480 seconds]
<bl4ckb0ne> so that would mean I have to lock anytime im doing wlroots calls
<bl4ckb0ne> or wl call from the xr thread
<emersion> yes
<emersion> the threads would run in lock-step
<bl4ckb0ne> might require some redesign in the codebase
WillyWonka1637 has joined #wayland
WillyWonka1637 has quit [Remote host closed the connection]
WillyWonka1637 has joined #wayland
<emersion> the global lock is Bad™, but shouldn't require any redesign
MajorBiscuit has quit [Ping timeout: 480 seconds]
<bl4ckb0ne> eh i can shove it in my server struct
<kennylevinsen> OpenXR really should have a non-blocking wait...
MajorBiscuit has joined #wayland
<kennylevinsen> The thing gets preempted anyway, so doubt it's that much more precise than, idk, a timerfd (which could fire slightly early if needed)
junaid has quit [Ping timeout: 480 seconds]
<bl4ckb0ne> i opened an issue to get a fd for integration into another event loop but never got an answer
molinari has quit [Ping timeout: 480 seconds]
junaid has joined #wayland
MajorBiscuit has quit [Quit: WeeChat 3.6]
kts has quit [Quit: Leaving]
sozuba has joined #wayland
WillyWonka1637 has quit [Ping timeout: 480 seconds]
Leopold___ has quit [Ping timeout: 480 seconds]
WillyWonka1637 has joined #wayland
dcz_ has joined #wayland
WillyWonka1637 has quit [Killed (NickServ (Too many failed password attempts.))]
WillyWonka1637 has joined #wayland
WillyWonka1637 has quit []
Leopold has joined #wayland
fmuellner has quit []
fmuellner has joined #wayland
fmuellner has quit []
fmuellner has joined #wayland
sozuba has quit [Ping timeout: 480 seconds]
fmuellner has quit []
fmuellner has joined #wayland
julio7359 has quit [Remote host closed the connection]
bluebugs has quit [Read error: Connection reset by peer]
julio7359 has joined #wayland
fmuellner has quit []
fmuellner has joined #wayland
___nick___ has quit []
floof58 is now known as Guest1965
floof58 has joined #wayland
___nick___ has joined #wayland
___nick___ has quit []
___nick___ has joined #wayland
Guest1965 has quit [Ping timeout: 480 seconds]
floof58 is now known as Guest1967
floof58 has joined #wayland
Guest1967 has quit [Ping timeout: 480 seconds]
fmuellner has quit [Ping timeout: 480 seconds]
junaid has quit [Ping timeout: 480 seconds]
junaid has joined #wayland
Leopold has quit [Remote host closed the connection]
junaid has quit [Ping timeout: 480 seconds]
Leopold has joined #wayland
junaid has joined #wayland
___nick___ has quit [Ping timeout: 480 seconds]
mvlad has quit [Remote host closed the connection]
manuel1985 has joined #wayland
junaid has quit [Ping timeout: 480 seconds]
manuel1985 has quit [Ping timeout: 480 seconds]
manuel1985 has joined #wayland
radu24284303951534727071489559 has joined #wayland
rasterman has quit [Quit: Gettin' stinky!]
fmuellner has joined #wayland
rv1sr has quit []
flibitijibibo has quit [Read error: Connection reset by peer]
Leopold has quit [Ping timeout: 480 seconds]
radu24284303951534727071489559 has quit [Ping timeout: 480 seconds]
manuel1985 has quit [Ping timeout: 480 seconds]
Leopold has joined #wayland
hardening has quit [Ping timeout: 480 seconds]
Company has quit [Quit: Leaving]
Leopold has quit []
Leopold has joined #wayland