💾 Archived View for gemini.ctrl-c.club › ~phoebos › logs › kisslinux-2022-02-01.txt captured on 2022-07-17 at 03:04:21.
⬅️ Previous capture (2022-03-01)
-=-=-=-=-=-=-
[2022-02-01T00:37:44Z] <dilyn> maximum_yellow: afaik mdevd is doing *a lot* more than busybox mdev :X [2022-02-01T00:38:31Z] <dilyn> I've never gotten mdev hotplugging to really work right. I did some fuckery with smdev and now I have hotplugging on everything *except* my keyboard xD [2022-02-01T01:05:47Z] <maximum_yellow> dilyn i see, thanks [2022-02-01T01:06:28Z] <maximum_yellow> i was rather hoping to reduce my system to the fewest overlapping packages, but if mdevd > mdev then so be it, i do need monitor hotplugging and such [2022-02-01T01:07:06Z] <maximum_yellow> AHA [2022-02-01T01:08:18Z] <maximum_yellow> wait no [2022-02-01T01:08:44Z] <maximum_yellow> anyway, dilyn, i pinged the lvm2 maintainer but i think it's safe to say we'll have no response about migrating to libuuid [2022-02-01T01:09:46Z] <dilyn> yeah [2022-02-01T01:10:04Z] <dilyn> I don't think I've seen riteo in a minute... [2022-02-01T01:12:54Z] <maximum_yellow> i'm also pinging the unbound maintainer about version update, and i've spoken to the libnl one as well as neomutt's. I think people are going to start disliking me... [2022-02-01T01:13:05Z] <maximum_yellow> oh right and i want to do pmount for libblkid [2022-02-01T01:15:57Z] <dilyn> XD [2022-02-01T01:16:05Z] <dilyn> people don't get to be mad when you're slacking haha [2022-02-01T01:16:10Z] <maximum_yellow> :p [2022-02-01T01:33:47Z] <dilyn> now you've got me trying to make hotplugging actually work instead of being... I suppose what I've got is quite hacky [2022-02-01T01:34:14Z] <dilyn> uevents get broadcast by the kernel and the helper is just a script which runs `smdev -s` because I was too tired to be asked to figure it out lmfao [2022-02-01T01:37:59Z] <maximum_yellow> dilyn wait does that do it? [2022-02-01T01:38:18Z] <dilyn> yes, but it's not at all efficient [2022-02-01T01:38:24Z] <dilyn> it takes about seven seconds on my machine [2022-02-01T01:38:28Z] <maximum_yellow> yikes ok [2022-02-01T01:39:11Z] <maximum_yellow> that's amazingly slow, i don't even want to know what that would be like on my machine [2022-02-01T01:39:11Z] <dilyn> yeah, big yikes [2022-02-01T01:39:32Z] <dilyn> probably roughly the same tbh [2022-02-01T01:39:45Z] <dilyn> I don't think it's a CPU limited process [2022-02-01T01:40:13Z] <maximum_yellow> my initial goal when installing kiss was to be able to play DOOM. Unfortunately i've managed so much else, but this just seems out of my grasp. SDL2 + wayland = :( [2022-02-01T01:40:26Z] <dilyn> sdl2 should work just fine on wayland! [2022-02-01T01:40:34Z] <dilyn> I use sdl as the backend for qemu with no issue [2022-02-01T01:40:39Z] <maximum_yellow> maybe i'm doing something wrong [2022-02-01T01:41:12Z] <maximum_yellow> but building sdl2{,_image,_net,_mixer} + crispydoom --> failed to create an EGL window surface [2022-02-01T01:41:33Z] <dilyn> interesting... [2022-02-01T02:01:59Z] <dilyn> yeah idk how device management works. tried some new things, nothing changed, back to square one on this :shrug: [2022-02-01T03:19:11Z] <illiliti> maximum_yellow: hotplugging works for me. i use busybox mdev atm [2022-02-01T04:46:16Z] <testuser[m]> Hi [2022-02-01T04:58:11Z] <phinxy> Someone built KiCAD for Wayland successfully: https://gitlab.com/kicad/code/kicad/-/issues/7207#note_764855519 [2022-02-01T05:06:11Z] <phinxy> .. on his musl based distro noname-linux, a kisslinux rival perhaps! [2022-02-01T05:17:01Z] <dilyn> most musl are essentially equivalent in my experience so I'd be surprised if it was similar to KISS :V [2022-02-01T05:22:47Z] <phinxy> wasn't similar* you mean? [2022-02-01T05:25:15Z] <dilyn> wasn't indeed [2022-02-01T05:27:02Z] <testuser[m]> dilyn: how's the jerb going [2022-02-01T05:29:23Z] <dilyn> the job is going super well!:D [2022-02-01T05:31:04Z] <dilyn> aside from the job tho life is going pretty good [2022-02-01T05:31:15Z] <dilyn> can't complain; 0/10 [2022-02-01T07:50:59Z] <testuser[m]> https://www.samba.org/samba/security/CVE-2021-44142.html [2022-02-01T07:52:51Z] <testuser[m]> C more like CVE [2022-02-01T15:46:32Z] <maximum_yellow> illiliti interesting, thanks. It does work in the tty/fb but not with sway. Do you have any thoughts as to why this might be? [2022-02-01T15:46:58Z] <maximum_yellow> (to be sure, using libudev-zero-helper and the recommended mdev.conf you kindly wrote) [2022-02-01T17:48:00Z] <Rohan> maximum_yellow: [2022-02-01T17:48:14Z] <Rohan> your mdev worked with hotplug? [2022-02-01T19:15:59Z] <Rohan> anyone get mdev to work with hotplug? [2022-02-01T20:45:09Z] <maximum_yellow> Rohan: not exactly, mdev + stock mdev.conf (calling out to libudev-zero-helper) + libudevzero = hotpluggin only on the tty, not under sway/wayland [2022-02-01T20:45:29Z] <maximum_yellow> as in, without launching sway, i can hotplug monitors and usb input devices [2022-02-01T20:45:38Z] <maximum_yellow> but once sway is launched this no longer works [2022-02-01T20:45:42Z] <maximum_yellow> and i can't understand that [2022-02-01T20:46:00Z] <Rohan> Yeah same for me [2022-02-01T20:46:03Z] <maximum_yellow> this is true of official/wayland/sway as well as upstream sway [2022-02-01T20:46:10Z] <Rohan> i read about using -s in mdev [2022-02-01T20:46:15Z] <Rohan> But not worked [2022-02-01T20:46:50Z] <maximum_yellow> running the mdev service with -v shows me that it is detecting these devices, but for some reason they're not being made visible to sway [2022-02-01T20:47:11Z] <maximum_yellow> this could be some seatd thing and maybe this works if sway is run without seatd (as an suid binary) [2022-02-01T20:47:18Z] <maximum_yellow> but i haven't tested [2022-02-01T20:51:27Z] <maximum_yellow> Rohan are you using seatd? [2022-02-01T20:54:28Z] <Rohan> No [2022-02-01T20:54:35Z] <Rohan> I run sway-tiny [2022-02-01T20:54:43Z] <Rohan> No need to seatd [2022-02-01T21:01:43Z] <maximum_yellow> ok, yeah, i just tested sway-no-seat and no difference. [2022-02-01T21:11:29Z] <Rohan> Yeah [2022-02-01T21:11:34Z] <Rohan> Is there other thing [2022-02-01T22:20:53Z] <maximum_yellow> Rohan mdevd works (TM) [2022-02-01T22:22:04Z] <Rohan> Yeah i know [2022-02-01T22:22:19Z] <Rohan> I think u said that or someone [2022-02-01T22:22:24Z] <Rohan> The thing is [2022-02-01T22:22:28Z] <Rohan> Dependencies [2022-02-01T22:22:46Z] <Rohan> If mdev work with hotplug so no need mdevd for this [2022-02-01T22:25:21Z] * maximum_yellow nods [2022-02-01T23:12:37Z] <illiliti> maximum_yellow: something wrong with your config and/or /dev permissions [2022-02-01T23:14:58Z] <maximum_yellow> illiliti thanks for the hints. The config is the stock one for KISS, https://github.com/kisslinux/repo/blob/master/core/busybox/files/mdev.conf [2022-02-01T23:16:18Z] <maximum_yellow> as for the /dev permissions i'm a little confused because mdevd seems to work, and somehow only sway fails (not tty). But anyway, do you have any guesses for what to look at in /dev for say usb input or vga output? [2022-02-01T23:16:43Z] <maximum_yellow> illiliti and i believe this config does the correct thing wrt libudev-zero-helper [2022-02-01T23:18:18Z] <illiliti> https://github.com/kisslinux/repo/blob/master/core/busybox/files/mdev.conf#L53 [2022-02-01T23:18:24Z] <illiliti> remove this line [2022-02-01T23:20:08Z] <maximum_yellow> WOW [2022-02-01T23:20:45Z] <maximum_yellow> if you have the time, i'd love to understand why that line was problematic so that i---or you---could open an issue and have this fixed [2022-02-01T23:22:01Z] <maximum_yellow> and perhaps i could transfer that knowledge to fixing vga hotplugging too [2022-02-01T23:22:14Z] <illiliti> so it works for you now? [2022-02-01T23:22:56Z] <maximum_yellow> usb input does, yep! [2022-02-01T23:23:04Z] <illiliti> nice [2022-02-01T23:23:26Z] <maximum_yellow> but vga still doesn't [2022-02-01T23:24:38Z] <maximum_yellow> illiliti would you be up for openining an issue? [2022-02-01T23:24:46Z] <maximum_yellow> s/issue/pr [2022-02-01T23:25:41Z] <illiliti> i will [2022-02-01T23:27:01Z] <maximum_yellow> great, thanks! [2022-02-01T23:28:47Z] <illiliti> run `busybox uevent`, then start sway and plug/unplug vga [2022-02-01T23:29:05Z] <maximum_yellow> any idea about drm? When i plug in the monitor mdev reports ACTION:change SEQNUM:2905 SUBSYSTEM:drm DEVNAME:dri/card0 DEVPATH:/devices/pci[...]/[....]/drm/card0 [2022-02-01T23:30:16Z] <maximum_yellow> which looks to be covered by that second-to-last rule, SUBSYSTEM=drm;.* [2022-02-01T23:33:06Z] <illiliti> > run `busybox uevent`, then start sway and plug/unplug vga [2022-02-01T23:33:40Z] <illiliti> post output of busybox uevent after you do that [2022-02-01T23:35:51Z] <maximum_yellow> hmm [2022-02-01T23:36:38Z] <illiliti> https://github.com/kisslinux/repo/issues/377 [2022-02-01T23:40:00Z] <illiliti> does mdevd work with vga btw? [2022-02-01T23:40:07Z] <maximum_yellow> illiliti http://ix.io/3Om4 [2022-02-01T23:40:10Z] <maximum_yellow> yep, it does [2022-02-01T23:40:14Z] <maximum_yellow> thanks for all of your efforts! [2022-02-01T23:40:48Z] <maximum_yellow> oops, accidentally stripped = [2022-02-01T23:41:19Z] <maximum_yellow> illiliti http://ix.io/3Om5 [2022-02-01T23:42:30Z] <maximum_yellow> lol and dropped . too somehow [2022-02-01T23:42:32Z] <maximum_yellow> illiliti http://ix.io/3Om6 [2022-02-01T23:42:34Z] <maximum_yellow> final answer [2022-02-01T23:42:35Z] <maximum_yellow> ;p [2022-02-01T23:43:18Z] <illiliti> this is full output? [2022-02-01T23:43:37Z] <maximum_yellow> i believe so, yes