💾 Archived View for gemini.ctrl-c.club › ~phoebos › logs › freenode-kisslinux-2020-09-11.txt captured on 2024-05-26 at 16:22:23.
⬅️ Previous capture (2021-12-17)
-=-=-=-=-=-=-
2020-09-11T00:07:00 #kisslinux <Crestwave> dylanaraps: Wouldn't your yes implementation be slower if you just need a single yes, though? Does the GNU version have any special handling for that or is C just fast enough that it doesn't matter? 2020-09-11T00:08:23 #kisslinux <Crestwave> It takes 2.4 seconds to build the buffer with Bash on my machine 2020-09-11T06:45:42 #kisslinux <dylanaraps> Crestwave: Takes less than 10ms to fill the buffer on my system with ash. 2020-09-11T07:06:12 #kisslinux <dylanaraps> Crestwave: Tried bash and it does take a while to fill the buffer. 2020-09-11T07:06:14 #kisslinux <dylanaraps> Interesting. 2020-09-11T11:28:24 #kisslinux <merakor> WebkitGTK 2.30 is released 2020-09-11T11:28:33 #kisslinux <merakor> Oh boy here we go again 2020-09-11T11:33:10 #kisslinux <dylanaraps> Oh no 2020-09-11T11:33:11 #kisslinux <dylanaraps> lol 2020-09-11T15:05:36 #kisslinux <claudia02> o/ 2020-09-11T15:05:57 #kisslinux <claudia02> merakor2: I had to add 'DUSE_SYSTEMD=NO' to recent webkit update. 2020-09-11T15:06:48 #kisslinux <claudia02> This is a former kde machine(elogind), but I have removed everything in this direction. 2020-09-11T16:05:52 #kisslinux <uhren> :/join ##889564 2020-09-11T16:42:01 #kisslinux <illiliti> dylanaraps: https://github.com/kisslinux/kiss/blob/master/kiss#L1641 2020-09-11T16:42:03 #kisslinux <illiliti> HOME can be empty 2020-09-11T16:42:12 #kisslinux <illiliti> add sanity check like: ${HOME:?} 2020-09-11T16:47:52 #kisslinux <merakor> Can home be empty unless it is manually unset? 2020-09-11T16:51:49 #kisslinux <illiliti> yes. if invoked from program that has environ == NULL 2020-09-11T16:52:46 #kisslinux <merakor> Oh, I never knew that 2020-09-11T17:08:31 #kisslinux <dylanaraps> illiliti: Fixed, thanks 2020-09-11T17:20:46 #kisslinux <micr0> (eudaldgr or dilyn?) i am trying to package fwupd, which requires polkit, and when searching for polkit they all seem to be desktop environment or gui toolkit specific - lxqt, qt, kde, elogind. what does this mean? i dont understand how a commandline firmware updating daemon requires a desktop environment, or am i searching for the wrong thing? 2020-09-11T17:25:12 #kisslinux <micr0> also its insane to me how many dependencies fwupd has 2020-09-11T17:29:07 #kisslinux <dilynm> Micr0: this should work 2020-09-11T17:29:09 #kisslinux <dilynm> https://git.alpinelinux.org/aports/tree/main/polkit?h=master 2020-09-11T17:29:18 #kisslinux <muevoid> dilynm do you use elogind? 2020-09-11T17:29:21 #kisslinux <dilynm> Packaging mozjs is a super pain 2020-09-11T17:29:31 #kisslinux <dilynm> KISS-kde uses elogind muevoid: 2020-09-11T17:29:43 #kisslinux <muevoid> Did you ever test it with sway? 2020-09-11T17:29:45 #kisslinux <dilynm> So... When I switch to my kde install yes haha 2020-09-11T17:29:48 #kisslinux <dilynm> No not yet! 2020-09-11T17:29:57 #kisslinux <muevoid> I'm having trouble getting it working 2020-09-11T17:30:02 #kisslinux <muevoid> using your builds for KISS-kde 2020-09-11T17:30:11 #kisslinux <dilynm> Kde devs are switching to Wayland default with plasma 5.20 so I'll probably explore more then 2020-09-11T17:30:16 #kisslinux <muevoid> Fair enough 2020-09-11T17:30:26 #kisslinux <muevoid> I'll wait till then 2020-09-11T17:30:45 #kisslinux <muevoid> Cause I couldn't even get sway to launch just said no user sessions available 2020-09-11T17:30:53 #kisslinux <dilynm> I'd test it for you rn but I'm troubleshooting why my keyboard doesn't work anymore in hikari (: 2020-09-11T17:31:00 #kisslinux <muevoid> No worries lol 2020-09-11T17:31:12 #kisslinux <dilynm> I'm assuming you had dbus running when you tried? 2020-09-11T17:31:18 #kisslinux <dilynm> Elogind needs a running dbus session 2020-09-11T17:31:27 #kisslinux <muevoid> Yes I enabled both of the included run servicez 2020-09-11T17:31:29 #kisslinux <muevoid> services* 2020-09-11T17:31:40 #kisslinux <illiliti> muevoid: btw, sway has rootless mode in latest master - https://github.com/swaywm/wlroots/pull/2393 2020-09-11T17:31:48 #kisslinux <muevoid> Really? 2020-09-11T17:32:07 #kisslinux <muevoid> I was hoping to avoid elogind completely but suid I'm not a huge fan of 2020-09-11T17:32:36 #kisslinux <illiliti> you can also use libseat instead of elogind 2020-09-11T17:33:02 #kisslinux <illiliti> https://github.com/swaywm/wlroots/pull/2364 2020-09-11T17:33:39 #kisslinux <illiliti> i like this one so much 2020-09-11T17:34:01 #kisslinux <muevoid> Would you recommend libseat over the other one? 2020-09-11T17:34:49 #kisslinux <illiliti> yep, try it 2020-09-11T17:34:58 #kisslinux <muevoid> I will package it right now seems interesting 2020-09-11T17:35:02 #kisslinux <muevoid> Does it require dbus? 2020-09-11T17:35:07 #kisslinux <illiliti> no lol 2020-09-11T17:35:23 #kisslinux <muevoid> Good 2020-09-11T17:35:24 #kisslinux <muevoid> lol 2020-09-11T17:35:36 #kisslinux <illiliti> only POSIX libc 2020-09-11T17:36:41 #kisslinux <dylanaraps> seatd looks very cool 2020-09-11T17:37:16 #kisslinux <dilynm> I really want to test out it 2020-09-11T17:37:36 #kisslinux <muevoid> I just packaged it and packaged the latest git wlroots 2020-09-11T17:37:42 #kisslinux <muevoid> so I am gonna test it in a few 2020-09-11T17:37:58 #kisslinux <illiliti> don't forget about latest sway 2020-09-11T17:39:17 #kisslinux <dylanaraps> The sources for libseat are tiny 2020-09-11T17:40:50 #kisslinux <muevoid> I have everything packaged restarting to test it 2020-09-11T17:42:56 #kisslinux <muevoid> No such luck 2020-09-11T17:43:23 #kisslinux <muevoid> Do i need the latest version of seatd as well? 2020-09-11T17:44:09 #kisslinux <dylanaraps> Any logs? 2020-09-11T17:44:54 #kisslinux <muevoid> Unable to create seat: Function not implemented. And failed to open /dev/dri/card0. Do I need to still set gid on sway? 2020-09-11T17:45:22 #kisslinux <dylanaraps> No 2020-09-11T17:45:31 #kisslinux <dylanaraps> You shouldn't have to do that 2020-09-11T17:45:38 #kisslinux <dylanaraps> Did you start the daemon? 2020-09-11T17:45:56 #kisslinux <dylanaraps> Is the libseat stuff installed? 2020-09-11T17:46:45 #kisslinux <muevoid> kiss-manifest shows seatd and the libraries and headers. Daemon I created a simple service file that starts it with exec seatd 2020-09-11T17:47:59 #kisslinux <muevoid> and wlroots is compiled with -Dlibseat=enabled 2020-09-11T17:48:29 #kisslinux <dylanaraps> Hm 2020-09-11T17:48:44 #kisslinux <dylanaraps> Did you recompile sway? 2020-09-11T17:48:48 #kisslinux <muevoid> Yes I did 2020-09-11T17:49:28 #kisslinux <muevoid> I can try the latest version of seatd 2020-09-11T17:50:32 #kisslinux <muevoid> still no luck 2020-09-11T17:50:46 #kisslinux <dylanaraps> https://github.com/swaywm/wlroots/blob/971de474f0a423cc8f444c92d2e1a8334db8b55d/backend/session/libseat.c#L100-L104 2020-09-11T17:50:51 #kisslinux <dylanaraps> This is where wlroots errors out 2020-09-11T17:51:14 #kisslinux <dylanaraps> Looks like libseat doesn't implement a function wlroots uses? 2020-09-11T17:52:45 #kisslinux <muevoid> hmmm 2020-09-11T17:52:58 #kisslinux <muevoid> I'll go look through the pull request and see if I can't find more info 2020-09-11T17:53:39 #kisslinux <dylanaraps> This is where it fails in libseat: https://git.sr.ht/~kennylevinsen/seatd/tree/master/libseat/libseat.c#L34 2020-09-11T17:54:03 #kisslinux <dylanaraps> I think you need to set LIBSEAT_BACKEND ? 2020-09-11T17:54:21 #kisslinux <muevoid> Ill try that 2020-09-11T17:55:18 #kisslinux <dylanaraps> I think the value must be: "seatd" 2020-09-11T17:55:35 #kisslinux <muevoid> With sway or seatd itself? 2020-09-11T17:55:49 #kisslinux <dylanaraps> LIBSEAT_BACKEND=seatd 2020-09-11T17:56:07 #kisslinux <dylanaraps> Environment variable 2020-09-11T17:56:11 #kisslinux <muevoid> closer 2020-09-11T17:56:31 #kisslinux <dylanaraps> New error? 2020-09-11T17:56:38 #kisslinux <muevoid> Not new error but less errors 2020-09-11T17:56:43 #kisslinux <dylanaraps> lol 2020-09-11T17:57:05 #kisslinux <muevoid> before it said permission denied /dev/dri/card0 now it just says dri/card0 2020-09-11T17:57:08 #kisslinux <dylanaraps> Still says "Unable to create seat"? 2020-09-11T17:57:13 #kisslinux <dylanaraps> Oh 2020-09-11T17:57:26 #kisslinux <muevoid> And yes it also still says unable to create seat 2020-09-11T17:57:35 #kisslinux <muevoid> Two errors went away though related to creating the backend 2020-09-11T18:00:15 #kisslinux <dylanaraps> Does this appear in the output? "Seat opened with backend" 2020-09-11T18:00:31 #kisslinux <muevoid> No it does not 2020-09-11T18:00:44 #kisslinux <dylanaraps> What about: "Trying backend" ? 2020-09-11T18:01:11 #kisslinux <muevoid> no not even with -d 2020-09-11T18:01:40 #kisslinux <dylanaraps> It could be failing here: https://git.sr.ht/~kennylevinsen/seatd/tree/master/libseat/libseat.c#L35 2020-09-11T18:01:50 #kisslinux <dylanaraps> But then it'd be wlroots' fault 2020-09-11T18:02:26 #kisslinux <dylanaraps> > #if !defined(SEATD_ENABLED) && !defined(LOGIND_ENABLED) && !defined(BUILTIN_ENABLED) 2020-09-11T18:02:32 #kisslinux <dylanaraps> Are these correctly set? 2020-09-11T18:02:51 #kisslinux <dylanaraps> SEATD_ENABLED and BUILTIN_ENABLED (?) 2020-09-11T18:03:15 #kisslinux <muevoid> I don't believe so 2020-09-11T18:04:22 #kisslinux <muevoid> As environment variables? Or elsewhere? 2020-09-11T18:06:08 #kisslinux <dylanaraps> This is via meson 2020-09-11T18:06:18 #kisslinux <dylanaraps> Look at the meson_options.txt 2020-09-11T18:07:27 #kisslinux <muevoid> Yes I just saw I enabled them I am trying to rebuild everything now 2020-09-11T18:08:16 #kisslinux <muevoid> still does not appear to be working 2020-09-11T18:14:43 #kisslinux <illiliti> can you submit issue to wlroots/sway ? i'm still thinking that you did something wrong 2020-09-11T18:15:30 #kisslinux <muevoid> Yeah I most likely did something wrong I will create an issue on wlroots 2020-09-11T18:46:37 #kisslinux <micr0> hmm so now fwupd meson cannot find libelf, using pkgconfig or cmake 2020-09-11T18:46:51 #kisslinux <micr0> i wonder if theres an option i can point to because kiss manifest libelf doesn't show a .pc file... 2020-09-11T19:15:06 #kisslinux <apromi> hello 2020-09-11T19:34:28 #kisslinux <micr0> well, i have a semi-working version of fwupdmgr o_O 2020-09-11T19:35:32 #kisslinux <micr0> unfortunately, its missing the dell, flashrom, tpm, and uefi plugins :/ 2020-09-11T20:54:45 #kisslinux <muevoid> I have sway working with seatd :) 2020-09-11T20:56:08 #kisslinux <muevoid> I feel like wayland is somewhat a sane choice now while being minimal. 2020-09-11T21:20:47 #kisslinux <muevoid> dylanaraps I know that wayland isn't allowed in the community repos and elogind. But since seatd doesn't require dbus or anything would it be accepted into community? 2020-09-11T22:12:48 #kisslinux <dylanaraps> muevoid: Yes 2020-09-11T22:14:05 #kisslinux <dylanaraps> Glad you got it working too 2020-09-11T22:59:57 #kisslinux <muevoid> I opened a pull request in community for seatd 2020-09-11T23:31:43 #kisslinux <himmalerin> the CPU in my kiss system decided to fail out of nowhere so I'm stuck on my pop_os laptop for now