<fultilt>
So... my memory was way off. LLVM took 6.2 hours to compile on the OrangePi RV2 (gcc -Os).
op_4 has quit [Remote host closed the connection]
yamchah2_ has joined #kisslinux
op_4 has joined #kisslinux
yamchah2 has quit [Ping timeout: 272 seconds]
yamchah2_ is now known as yamchah2
DetourNetworkUK has quit [Read error: Connection reset by peer]
DetourNetworkUK has joined #kisslinux
<kris_>
less than I'd expect
<fultilt>
It does help to have more cores.
_whitelogger has joined #kisslinux
kris_ has quit [Read error: Connection reset by peer]
kris_ has joined #kisslinux
astrocule has quit [Ping timeout: 252 seconds]
astrocule has joined #kisslinux
jinn6-6-2026 is now known as jinn7-6-2026
fultilt has quit [Quit: Leaving]
jinn7-6-2026 is now known as jinn6
_whitelogger has joined #kisslinux
_whitelogger has joined #kisslinux
<midfavila>
sad_plan: since we were talking about webkit stuff before, do you have any experience fiddling with wpewebkit instead of webkitgtk?
<midfavila>
with webkit2 being dumped in favour of webkit-6, *apparently*, and that having a hard dependency on gtk4, i was looking into alternatives
<midfavila>
wpewebkit can apparently run as an x client or wayland... i'm assuming there's a different term, but "client", without depending on a specific toolkit
<sad_plan>
none at all. I do belive ive heard of it, but never looked into it myself
<sad_plan>
im guessing what you mean is wpewebkit is a gtk "app", same as luakit etc, which is just using gtk, and not much else. so theres no dependency initally on x11 or wayland
<sad_plan>
but that might be something worth looking into some time I suppose
<midfavila>
no, it doesn't use gtk at all afaik
<sad_plan>
oh?
<midfavila>
it draws directly to an X window using xcb
<midfavila>
it seems
<midfavila>
i'm building webwebkit rn as well as the reference browser cog
<midfavila>
honestly cog seems pretty neat
<midfavila>
doesn't have a bunch of visual clutter, it's just a webkit view
<midfavila>
and apparently it uses a dbus-based control program to set the current uri and stuff?
<midfavila>
i doubt it would be hard to patch it to swap that out for a fifo
<sad_plan>
arch linux appearently has a port of it, and theres no dependency on gtk in the list anyway. so looks like youre right.
<midfavila>
ye
<sad_plan>
ironically, in aur, cog requires gtk4 though. atleast its mentioned in the list. looking at the pkgbuild file, gtk4 is listed under platforms, so maybe we can omit that?
<midfavila>
yeah there are like
<midfavila>
backends
<midfavila>
so
<sad_plan>
yah
<midfavila>
just from what i've gleaned from the build process
<midfavila>
you can target gtk
<midfavila>
or xcb
<midfavila>
or DRM etc
<midfavila>
and i'm building just the plain wpe backend atm which afaik is for xcb
<sad_plan>
nice
<midfavila>
cloc reports a linecount of ~=13k for cog
<midfavila>
of, apparently, regular C
<midfavila>
12.4k lines of C and 549 in header files
<midfavila>
not bad considering that would also include the rendering code and stuff, i think
<sad_plan>
thats actually not that bad at all
<midfavila>
looking at it now
<midfavila>
platform/* is ~-9k lines of C
<midfavila>
and the x11 code is about 800
<sad_plan>
not too shabby at all
<sad_plan>
now if only cog would build on aur too, so I can see what this is about, that would also be nice
<midfavila>
so yeah quick maths, 4.8k lines of C for the cog browser itself and its x11 backend
<midfavila>
i think debian has a binary package
<midfavila>
maybe you could spin it up in a vm
<sad_plan>
maybe I can get it to build using conty instead. seeing as thats pure arch, and not cachyos
<midfavila>
shit that's right
<midfavila>
that would be a good test of conty too
<sad_plan>
yeah
<sad_plan>
yeah no, conty just loops when trying to build cog, because it fails lol
<midfavila>
damn
<midfavila>
yeah i don't trust the aur tbh
<sad_plan>
you have every right to :p
<sad_plan>
I try to only use it for a few things, thats not available in the official repos. luckily, cachyos includes more of these things than what arch does.
yamchah2 has quit [Ping timeout: 272 seconds]
yamchah2_ has joined #kisslinux
yamchah2_ is now known as yamchah2
<midfavila>
sad_plan: we have liftoff
<midfavila>
pics soon
<midfavila>
it also runs nicely on the framebuffer, although there doesn't seem to be any input out of the box, which isn't /ideal/
<midfavila>
it's also surprisingly fast
<midfavila>
i'm going to try and get something on invidious to play under x11...
kata has joined #kisslinux
<midfavila>
okay
<midfavila>
so
<midfavila>
initial results:
<midfavila>
very promising
<midfavila>
i was able to get it to run under both a tty and under x11
<midfavila>
and it was able to play back video and audio on both invidious and youtube proper
<midfavila>
it's a little annoying to control atm because since it doesn't actually take advantage of a widget toolkit there's nothing to provide popup menus
<midfavila>
if there was a mechanism to read out data and set the contents of a menu using cogctl or some other mechanism then you could use an external tool like dmenu or xmenu for that
fultilt has joined #kisslinux
<midfavila>
and under the tty it doesn't have any mouse support which is expected
<midfavila>
but you can navigate via keyboard still
<midfavila>
however,
<midfavila>
and this is a *big* however
<midfavila>
and this could be a result of my slackware machine being a mishmash of 64 and 32 bit libraries because hfgjishfis
<midfavila>
but if it's not it's a serious issue
<midfavila>
there seems to be calls to free() when there shouldn't be
<midfavila>
and between this and some other issues it's not uncommon to get SIGSEGV
<midfavila>
it's *also*, for some reason, crashing so fucking hard that, at least under X, it freezes my entire machine
<midfavila>
so
<midfavila>
not great
<midfavila>
but if those two issues could be resolved then cog and wpewebkit could be very viable
<midfavila>
sad_plan: in case you wanted a ping about this stuff
<midfavila>
once i have my setup installed and configured i'll give this another go
<midfavila>
bc it's very possible that it's the fault of my slackware install being a mangled mess
<midfavila>
oh
<midfavila>
also
<midfavila>
in terms of performance
<midfavila>
i didn't see any noticeable cpu load
<midfavila>
even when managing multimedia (when it *didn't* crash)
<midfavila>
and even when playing video back on the youtube website proper it only used a couple hundred meg at most
<sad_plan>
nice to see that it works. does it have some kind of gui? ill see if I cant look at it later, maybe I can get it to work on my end aswell
<midfavila>
well, i mean, not really
<midfavila>
like, you get a window that displays the web page
<midfavila>
and that's it
<midfavila>
zero UI elements
<midfavila>
it's controlled using a program called cogctl
<sad_plan>
ah, i was going to ask about that too, as I read something about the lack of UI in the browser. does this mean you cant go back and forth? copy links.. i mean, just basic stuff..
<midfavila>
you can navigate history
<midfavila>
cogctl next and previous
<midfavila>
as for copying links, i didn't find a way of doing that in my very brief time with cog, because there's, in general, no way to highlight text
<midfavila>
this is of course another pretty notable limitation
<midfavila>
that said, i'm *sure* it could be implemented
kata has quit [Quit: WeeChat 4.9.1]
<sad_plan>
I see. so you can view websites with it. but thats basically the gist of it. so to speak lol