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
fmuellner_ has quit [Ping timeout: 480 seconds]
smallville7123 has joined #wayland
<smallville7123> hi
<smallville7123> hmmm Header "time.h" has symbol "CLOCK_MONOTONIC" : NO
<smallville7123> hmmm C shared or static library 'rt' not found
<smallville7123> Dependency "expat" not found
<repetitivestrain> all of these are not present on windows, i think
<repetitivestrain> aside from expat
<smallville7123> expat can be built via vcpkg :)
<smallville7123> wonder what the performance will be like
<smallville7123> hmmm seems like we need libxml
<smallville7123> wonder if libxml2 will work
nerdopolis has joined #wayland
<smallville7123> repetitivestrain: ;)
<smallville7123> :) *
<repetitivestrain> what?
co1umbarius has joined #wayland
columbarius has quit [Ping timeout: 480 seconds]
<smallville7123> hmmm egl\meson.build:14:0: ERROR: Program 'nm' not found or not executable
<smallville7123> we got it to attempt to build :)
<smallville7123> ../tests/fixed-benchmark.c(85): warning C4013: 'clock_gettime' undefined; assuming extern returning int
<smallville7123> ../tests/fixed-benchmark.c(85): error C2065: 'CLOCK_MONOTONIC': undeclared identifier
<smallville7123> 'sys/socket.h': No such file or directory
<smallville7123> 'sys/uio.h': No such file or directory
<smallville7123> hmmm
caveman has joined #wayland
smallville7123 has quit [Ping timeout: 480 seconds]
caveman has quit [Ping timeout: 480 seconds]
smallville7123 has joined #wayland
<daniels> there’ll be many other failures as well; it’s not expected to build natively on windows
<wlb> wayland Issue #339 opened by GianLuca Vagnuzzi (ropagmal) Wayland and click not enable on thumbnail grid https://gitlab.freedesktop.org/wayland/wayland/-/issues/339
<wlb> wayland Issue #339 closed \o/ (Wayland and click not enable on thumbnail grid https://gitlab.freedesktop.org/wayland/wayland/-/issues/339)
floof58 has quit [Read error: Connection reset by peer]
floof58 has joined #wayland
Company has quit [Quit: Leaving]
junaid has joined #wayland
jgrulich has joined #wayland
mvlad has joined #wayland
Major_Biscuit has joined #wayland
manuel1985 has joined #wayland
<smallville7123> it seems i might be able to build it in cygwin
<smallville7123> unfortunately i get sys/epoll.h: No such file or directory
<smallville7123> but the meson configuration succeeds without needing to modify it tho
kts has joined #wayland
tzimmermann has joined #wayland
<smallville7123> $ cygcheck -p sys/epoll.h Found 0 matches for sys/epoll.h
smallville7123 is now known as Guest49
smallville7123 has joined #wayland
rasterman has joined #wayland
danvet has joined #wayland
<daniels> epoll isn’t there on Windows
<daniels> if you want to make the library work on Windows, you’ll need to spend some serious time understanding a) what it is that’s being used, b) how they’re used, c) what an appropriate replacement would be
Guest49 has quit [Ping timeout: 480 seconds]
smallville7123 has quit [Ping timeout: 480 seconds]
dcz_ has joined #wayland
markbolhuis has joined #wayland
hardening has joined #wayland
Sachiel_ has joined #wayland
Sachiel has quit [Ping timeout: 480 seconds]
Sachiel_ is now known as Sachiel
sozuba has joined #wayland
<wlb> weston/main: Derek Foreman * desktop-shell: Update view transform when resizing windows https://gitlab.freedesktop.org/wayland/weston/commit/061c2b73825f desktop-shell/shell.c
<wlb> weston Merge request !1059 merged \o/ (desktop-shell: Update view transform when resizing windows https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/1059)
MrCooper has quit [Quit: Leaving]
MrCooper has joined #wayland
___nick___ has joined #wayland
manuel1985 has quit [Ping timeout: 480 seconds]
jmdaemon has quit [Ping timeout: 480 seconds]
floof58 is now known as Guest59
floof58 has joined #wayland
Guest59 has quit [Ping timeout: 480 seconds]
junaid has quit [Remote host closed the connection]
rv1sr has joined #wayland
fmuellner has joined #wayland
smallville7123 has joined #wayland
junaid has joined #wayland
Lucretia has quit [Remote host closed the connection]
Lucretia has joined #wayland
andyrtr has quit [Quit: ZNC 1.8.2 - https://znc.in]
<smallville7123> hmm "Cygwin doesn't implement epoll() at all, its poll() implementation is done in terms of select() (therefore giving no speed advantage at all)"
<pq> smallville7123, while I said it's easier to port libwayland, sorry if I gave the impression that it would be easy. :-)
<pq> It's still easier than reinventing it all from scratch.
<smallville7123> :)
<smallville7123> welp now i gotta work out if cygwin sockets or winsocks sockets would be faster
<smallville7123> in terms of attempting to re-implement epoll
<pq> wouldn't the epoll equivalent be more like WatchForMultipleObjects or whatwasit?
<smallville7123> " Use WaitForMultipleObjects to wait on all the events at once. This has the disadvantage of only being able to wait on MAXIMUM_WAIT_OBJECTS objects at once (64)"
<smallville7123> oof
<pq> ah, that
<pq> and wow, what a limit
<pq> or, you could replace the libwayland event loop implementation with an actual portable event loop library
<smallville7123> hmmm
<pq> hopefully
<smallville7123> could we just use `select` instead of `epoll` for now?
<smallville7123> assuming epoll is just a fast version of select
<pq> if you can re-shuffle the fds so that you actually can use select(), sure
<smallville7123> hmmm ok
<pq> read the API doc, it's quite very different in its limitations
<repetitivestrain> wow, what a limit indeed
<repetitivestrain> 64 objects is shocking, that's less than you can wait for with even plain old `select' (assuming of course your fds are in range)
<smallville7123> and cygwin does not possess kqueue :(
<pq> kqueue is a BSD-ism.
<pq> like epoll is a Linuxism
kts has quit [Quit: Leaving]
Sachiel_ has joined #wayland
<smallville7123> yea
andyrtr has joined #wayland
Sachiel has quit [Ping timeout: 480 seconds]
<smallville7123> god dammit epoll
<kennylevinsen> What you are looking for in Windows might be an I/O completion port, which does not have the 64-way restriction. See WSAConnect/WSAAccept/WSARead/etc.
* any1 would start by trying to replace epoll with something like libev, libevent or libuv.
<any1> Or just read the sources for those libraries and see how they do it.
andyrtr_ has joined #wayland
<repetitivestrain> smallville7123: how are you going to replace POSIX shared memory? you might want to work out that problem first
<repetitivestrain> before bothering with replacing pselect/ppoll/whatever
andyrtr has quit [Read error: Connection reset by peer]
andyrtr_ is now known as andyrtr
smallville7123 has quit [Ping timeout: 480 seconds]
gwizon has joined #wayland
smallville7123 has joined #wayland
<smallville7123> seems a bit buggy, and doesnt seem to support cygwin
<smallville7123> (as cygwin provides sys/sockets.h but not sys/epoll.h)
<smallville7123> and based on grep it would be difficult to port the event loop to use select instead of epoll
<smallville7123> as there is A LOT to rewrite and understand
<smallville7123> [22:59] <pq> if you can re-shuffle the fds so that you actually can use select(), sure
<smallville7123> ill try to do this tomorrow
<pq> I think any1's idea is much better.
<smallville7123> "epoll emulation on cygwin"
<smallville7123> what the heck is `upoll` o.o
<pq> I think that libwayland rolling its own event loop stuff was ultimately a mistake. It shouldn't be in libwayland in the first place, just let everyone use their favorite event loop lib instead.
<pq> But cannot remove it now, because that would break the ABI.
<pq> smallville7123, *you* could remove it though, because you're working on a downstream fork.
<smallville7123> "Also, it's really very young. Expect segfaults and other weirdness." oof
<smallville7123> welp seems like it might work
<smallville7123> better than trying to rewrite the event loop :)
<smallville7123> i guess
<smallville7123> pq: do wayland compositors use libwayland's event loop?
<pq> they do, but you probably can't just port them to windows either
<smallville7123> alright
<smallville7123> ill try to deal with all this tomorrow
<pq> dmabuf is a Linuxism. Maybe wl_shm is not something you have on Windows either, I don't know.
<smallville7123> 12:22 am here
<smallville7123> cygwin does possess creade_memfd
<pq> so figuring out what "buffer handles" could be on Windows is one of the most important questions, and one you cannot work around
<smallville7123> create*
<smallville7123> true
<pq> all this event loop stuff is "just" practicalities
markbolhuis has quit [Quit: markbolhuis]
<smallville7123> yea, but its still part of the test suit so i dont wanna leave it out if possible
<smallville7123> should be simply enough to hook up cygepoll and upoll in meson.build
<smallville7123> and modify includes to point to the epoll header
<smallville7123> wether it works as expected who knows :)
gspbirel568 has joined #wayland
<smallville7123> night night
gspbirel56 has quit [Ping timeout: 480 seconds]
smallville7123 has quit [Ping timeout: 480 seconds]
gwizon is now known as Guest71
Guest71 has quit [Ping timeout: 480 seconds]
gwizon has joined #wayland
rv1sr has quit [Remote host closed the connection]
rv1sr has joined #wayland
rv1sr has quit []
gwizon has quit [Quit: leaving]
jgrulich has quit [Ping timeout: 480 seconds]
andyrtr_ has joined #wayland
andyrtr has quit [Ping timeout: 480 seconds]
andyrtr_ is now known as andyrtr
caveman has joined #wayland
cvmn has quit [Ping timeout: 480 seconds]
Company has joined #wayland
gspbirel5681 has joined #wayland
rv1sr has joined #wayland
junaid has quit [Ping timeout: 480 seconds]
gspbirel568 has quit [Ping timeout: 480 seconds]
gspbirel568 has joined #wayland
gspbirel5681 has quit [Ping timeout: 480 seconds]
junaid has joined #wayland
<wlb> weston Merge request !1060 opened by Derek Foreman (derekf) libweston: Fix comment https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/1060 [libweston API]
<wlb> weston Merge request !1015 merged \o/ (libweston: Analyze transform matrices for filter and plane tests https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/1015)
sozuba_tmp has joined #wayland
<wlb> weston Issue #696 opened by Derek Foreman (derekf) WL_OUTPUT_TRANSFORM refactoring https://gitlab.freedesktop.org/wayland/weston/-/issues/696 [Core compositor]
sozuba has quit [Ping timeout: 480 seconds]
Leopold has joined #wayland
cool110 has quit [Remote host closed the connection]
cool110 has joined #wayland
kts has joined #wayland
sozuba_tmp has quit [Read error: Connection reset by peer]
Leopold has quit []
<wlb> weston Issue #697 opened by Detlev Casanova (detlev.c) Segfault on HDMI output (un)plugging https://gitlab.freedesktop.org/wayland/weston/-/issues/697
junaid has quit [Ping timeout: 480 seconds]
junaid has joined #wayland
bluebugs has joined #wayland
tzimmermann has quit [Quit: Leaving]
zebrag has joined #wayland
junaid_ has joined #wayland
junaid has quit [Ping timeout: 480 seconds]
junaid_ has quit []
junaid has joined #wayland
<wlb> wayland-protocols Merge request !179 opened by Simon Ser (emersion) Add merge request template for new protocols https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/179
junaid has quit [Remote host closed the connection]
kts has quit [Quit: Leaving]
Narrat has joined #wayland
Major_Biscuit has quit [Ping timeout: 480 seconds]
rv1sr has quit [Remote host closed the connection]
rv1sr has joined #wayland
ishanjain has quit [Quit: Violence!]
ishanjain has joined #wayland
andyrtr_ has joined #wayland
andyrtr has quit [Ping timeout: 480 seconds]
andyrtr_ is now known as andyrtr
andyrtr_ has joined #wayland
<wlb> weston Issue #697 closed \o/ (Segfault on HDMI output (un)plugging https://gitlab.freedesktop.org/wayland/weston/-/issues/697)
andyrtr has quit [Ping timeout: 480 seconds]
andyrtr_ is now known as andyrtr
andyrtr_ has joined #wayland
andyrtr has quit [Ping timeout: 480 seconds]
andyrtr_ is now known as andyrtr
Sachiel_ is now known as Sachiel
___nick___ has quit [Ping timeout: 480 seconds]
hardening_ has joined #wayland
hardening has quit [Ping timeout: 480 seconds]
rv1sr has quit []
mvlad has quit [Remote host closed the connection]
andyrtr_ has joined #wayland
andyrtr has quit [Ping timeout: 480 seconds]
andyrtr_ is now known as andyrtr
mackerelian9 has quit []
jmdaemon has joined #wayland
mackerelian9 has joined #wayland
danvet has quit [Ping timeout: 480 seconds]
fmuellner has quit []
rasterman has quit [Quit: Gettin' stinky!]
andyrtr_ has joined #wayland
jmdaemon has quit [Quit: WeeChat 3.7.1]
Narrat has quit []
rv1sr has joined #wayland
andyrtr has quit [Ping timeout: 480 seconds]
andyrtr_ is now known as andyrtr
<wlb> weston Merge request !1061 opened by Sebastian Wick (swick) timespec: copy back some of the mesa additions and add timespec_sub_saturated https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/1061
andyrtr_ has joined #wayland
andyrtr has quit [Ping timeout: 480 seconds]
andyrtr_ is now known as andyrtr
andyrtr_ has joined #wayland
Major_Biscuit has joined #wayland
andyrtr has quit [Ping timeout: 480 seconds]
andyrtr_ is now known as andyrtr
pbsds0 has joined #wayland
pbsds has quit [Ping timeout: 480 seconds]
Major_Biscuit has quit [Ping timeout: 480 seconds]
rv1sr has quit []
dcz_ has quit [Ping timeout: 480 seconds]