[2022-05-05T00:04:36Z] nice [2022-05-05T00:04:40Z] chimera is really cool [2022-05-05T00:05:00Z] and is pretty close to what my final kiss setup was like [2022-05-05T00:05:54Z] (apart from the really cool bubblewrap build system and apk packages ofc) [2022-05-05T00:20:16Z] are you still on fedora? [2022-05-05T00:20:33Z] yes [2022-05-05T00:20:40Z] its treating me nicely as a daily driver [2022-05-05T00:21:17Z] over the summer I might play around with things again though [2022-05-05T00:21:20Z] but have no time at the moment [2022-05-05T01:01:40Z] does chimera enforce logind, dbus, udev, pam, ...? [2022-05-05T01:01:57Z] the things that kiss explicitly excludes [2022-05-05T05:36:24Z] Hi [2022-05-05T06:37:44Z] does chimera enforce logind, dbus, udev, pam, ...? -> yes [2022-05-05T06:38:18Z] and webkitgtk is the recommended browser engine [2022-05-05T06:41:09Z] and gnome is the recommended de (lol) [2022-05-05T08:07:19Z] https://termbin.com/flr8 [2022-05-05T08:07:20Z] so bad [2022-05-05T08:29:14Z] https://github.com/mozilla/gecko-dev/blob/master/third_party/rust/audio_thread_priority/Cargo.toml#L37 found it [2022-05-05T17:12:16Z] konimex: your icon on that artix link looks familiar [2022-05-05T17:12:38Z] were you old enough in 2008 to be on the internet [2022-05-05T17:18:18Z] 2008? [2022-05-05T17:18:34Z] yeah you know [2022-05-05T17:18:36Z] the dark ages [2022-05-05T17:18:53Z] I knew a fellow on a forum way back when who always used a very similarly styled art [2022-05-05T20:10:44Z] illiliti_: I'm running your fork of wlroots that makes udev optional and I was wondering what NETLINK_BITMASK is? On my machine, the default value of 4 doesn't seem to work. I could not find documentation, but looking at some kernel code, I tried 1 and that works, but I don't know what I'm doing. Do you have any pointers? [2022-05-05T20:29:22Z] NETLINK_BITMASK specifies which bitmask libudev-zero will use to receive uevents [2022-05-05T20:30:09Z] by default, libudev-zero listens for uevents with 4 bitmask. you need to configure your device manager to send uevents to that bitmask for hotplugging [2022-05-05T20:30:38Z] 1 used by kernel, 2 used by udev for example [2022-05-05T20:32:22Z] netlink is quite underdocumented, especially uevents [2022-05-05T20:33:54Z] ok that makes sense, thanks [2022-05-05T20:40:13Z] oh i think i misread your text a bit. what i said basically means same thing for udev-less libinput, so just replace libudev-zero with libinput in my messages [2022-05-05T20:41:14Z] you use this https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3490, right? [2022-05-05T20:42:04Z] yes [2022-05-05T20:50:27Z] what enum-backend are you using for libinput? netlink or demi? [2022-05-05T20:50:47Z] netlink [2022-05-05T21:04:43Z] should be okay. if you use device manager, just make sure it is capable of rebroadcasting uevents to NETLINK_BITMASK in order to make input hotplugging(if you need one) work [2022-05-05T21:04:58Z] for example, mdevd can do this natively via -O option [2022-05-05T21:05:08Z] busybox mdev needs helper. check contrib/mdev.conf of libudev-zero project for more info [2022-05-05T21:05:33Z] although, as you already discovered, it is possible to make input hotplugging work without device manager. just set NETLINK_BITMASK to 1 [2022-05-05T21:06:17Z] you will have to manually set proper permissions for /dev/input/* though [2022-05-05T21:10:44Z] I think wlroots should be able to use seatd to open /dev/input/* [2022-05-05T21:15:30Z] but yeah you're right I will have to set permissions if I don't use a device manager [2022-05-05T21:16:50Z] i'm pretty sure you have these questions: why there's NETLINK_BITMASK? why libinput can't simply listen for kernel uevents with 1 bitmask? [2022-05-05T21:17:13Z] well, because nasty race condition may occur when device manager hasn't had enough time to set permissions for /dev/input/* which can lead to breakage [2022-05-05T21:17:39Z] in order to resolve this race bug we have to rebroadcast uevents: kernels uevents -> device manager -> application [2022-05-05T21:22:56Z] yeah I didn't know that you could send netlink from userspace to userspace, I just thought libudev used a UNIX socket or something like that, but then now I wonder why they didn't make libudev more generic like libdemi [2022-05-05T21:23:57Z] if it just reads uevent netlink that is the same from all device managers [2022-05-05T21:28:49Z] so that it could work with every device manager [2022-05-05T21:34:09Z] because they tend to over-engineer things and enforce architecture [2022-05-05T21:34:36Z] systemd's libudev uses eBFP under the hood for example [2022-05-05T21:34:57Z] systemd devs also plan to deprecate libudev in favor of libsystemd [2022-05-05T21:35:30Z] which enforces architecture even more gemini://gemini.ctrl-c.club/~phoebos/logs/kisslinux-2022-05-05.txt

-- Leo's gemini proxy

-- Connecting to gemini.ctrl-c.club:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/plain; charset=utf-8

-- Response ended

-- Page fetched on Sun Jun 2 13:19:40 2024