libera/#devuan/ Wednesday, 2022-01-05

fsmithredhagbard, try new isos next monday00:53
hagbardI have no more unused laptops left to try it. Got it to work with a bit of manual fiddling. But thanks for the fix.00:55
rrqls01:13
* rrq bah! wrong window01:13
av6ham5urg: have you already figured out festival+pipewire? if not, pipewire creates (or can be asked to) an alsa device that aplay can use08:16
av6but pipewire also hogs the actual alsa devices, so trying to use hw:x,y in aplay directly while pipewire is running will result in such "busy" errors08:17
av6aplay -L | fgrep -i pipe08:18
av6if it exists, try using aplay -D pipewire08:20
av6or maybe festival supports pulseaudio protocol? if so, it can talk directly to pipewire08:22
av6it seems there's a noticeable delay when using -D pipewire... not sure why08:28
ham5urgav6, I used this command in festival-interactive (Parameter.set 'Audio_Command "aplay -D pipewire: $FILE")11:19
ham5urgA (SayText "Hello") run through but just makes noise11:20
hagbardHi, how do i disable suspend/standby on lid close (in deadalus)? Im trying to use an old laptop as an headless server.13:03
ShorTielook to power management i'd guess13:07
phogghagbard: has it changed? I believe I have set this in UPower.conf in the past (IgnoreLid=true)13:23
hagbardthx, i will have a look there13:23
rrqelogind likes to deal with the buttons; see /etc/elogind/logind.conf13:29
rrqthough for a server you might prefer to purge elogind13:30
phoggah, quite so. I have mine set to HandleLidSwitch=ignore13:32
hagbardah, thanks13:32
hagbardYes, that did the trick.13:36
furrymcgeedevuans minimal server installation is a pretty good even for desktop users14:54
impostor192[m]I'm a bit disappointed with my devuan installation, after stripping out everything that I did not need I'm having ~570 MB of memory consumption with XFCE. I expected to get something around 300-400 MB for this kind of minimal installation.15:02
impostor192[m]Does anyone know why that happens?15:02
djphimpostor192[m]: stuff that was loaded before you deleted it all?15:08
djphimpostor192[m]: also, that's excluding buffers/cache, right?15:08
impostor192[m]hmm yeah, that number is probably incorrect - that's what XFCE task manager shows15:10
impostor192[m]I have about 400 MB shown as used in htop15:10
djphwonder what I use right after I boot, hmmm ...15:15
djphmeh, I'm not that interested15:15
VanfanelHi there!15:34
VanfanelI have noticed that, on Devuan for Raspberry Pi, devtmpfs is automounted on /dev by the kernel. Is that a Pi-kernel-only thing, a Devuan thing or is it common practice?15:36
Tenkawanormal15:37
Tenkawa mount | grep devtmp; cat /etc/os-release | grep PRETTY15:37
Tenkawaudev on /dev type devtmpfs (rw,nosuid,relatime,size=3856380k,nr_inodes=964095,mode=755)15:37
TenkawaPRETTY_NAME="Debian GNU/Linux 11 (bullseye)"15:37
Tenkawaudev on /dev type devtmpfs (rw,nosuid,relatime,size=3856824k,nr_inodes=964206,mode=755)15:38
TenkawaPRETTY_NAME="Devuan GNU/Linux 4 (chimaera)"15:38
Tenkawa2 diff pi 4's I have setup15:38
VanfanelTenkawa: Thanks! Is that mount done by the kernel? I boot with my own minimal init script and I am NOT the one doing it...15:39
Tenkawaits udev15:39
Tenkawaii  udev                                   247.3-6                        arm64        /dev/ and hotplug management daemon15:40
VanfanelTenkawa: I don't have udev running at all, I never lauch it on my minimal init script15:40
Tenkawaits a daemon15:40
VanfanelTenkawa: I don't have any daemons running here, I use busybox's MDEV, not UDEV/EUDEV15:40
Tenkawaif you don't you need to have something handling device management (ie bb or makedev) or devices will be null and void15:41
Tenkawamdev works, eudev too15:41
VanfanelTenkawa: I don't understand that phrase.. do you mean "your devices will be null and void"?15:42
Tenkawathe os will have no way to map them15:42
Tenkawathere's no handler for them from the kernel to userspace15:42
Tenkawawithout the /dev entries15:43
VanfanelTenkawa: that's not true, as far as I know at least. DEVTMPFS will create the nodes in /dev, and DEVTMPS is part of the kernel.15:43
Tenkawayes... but it only handles "staticly" compiled enties15:44
Tenkawaentries15:44
VanfanelTenkawa: do you mean it only handles the entries for devices that are present at boot?15:44
Tenkawain my understanding yes.. I'm testing it now15:45
Tenkawa(this is why having 7 of these machines is nice)15:45
VanfanelTenkawa: that's my understanding too, don't worry. For new hotplugged devices, I use MDEV, which is called by the kernel when new devices are connected.15:46
Tenkawa(personally I think the whole subsystem is a mess still)15:46
VanfanelTenkawa: Well, I like it :) Kernel does it's thing, MDEV does his own thing... it's easy to understand.15:47
VanfanelTenkawa: the probem is that I DON'T KNOW who is auto-mounting DEVTMPFS in /dev15:47
Tenkawameh I liked it in the old days.... you tell it what you wanted in there and it did what "you" told it to... no guessing lol15:47
av6ham5urg: noise, huh? i wonder if it's because of audio format... can you, like, save that file and open it in a player that you know works fine? or look if it has the audio format set with e.g. ffprobe17:32
av6also, maybe you using pw-play instead of aplay will give better results17:33
av6(pw-play lives in pipewire-bin)17:36
ham5urgav6, I tried (Parameter.set 'Audio_Command "pw-play $FILE")17:36
ham5urgGot an "Format not recognized"17:36
ham5urgI'm using Daedulus17:37
ham5urgIs the sampling rate wrong?17:37
av6yeah, i think festival uses some strange format for the audio17:37
av6it's probably more like bitness and endianness, not sampling rate17:38
av6e.g. ffprobe /usr/share/sounds/alsa/Front_Center.wav says pcm_s16le17:38
av6so it's 16 bits signed integer per sample, little endian17:39
av6that's a format both alsa and pipewire have no problems understanding17:40
av6i don't know what festival outputs, but it's probably something different? possibly simply unrecognized by pw-play, that's why i suggest running ffprobe on that file, just to check17:41
ham5urgav6, I tried (Parameter.set 'Audio_Required_Format 'aiff) but now I get just an #<Utterance 0x7f258ac26510> error from festival.17:42
av6https://help.ubuntu.com/community/TextToSpeech suggests that the file has no header17:44
ham5urgraw format17:45
av6see how it does aplay -c 1 -t raw -f s16 -r $SR to specify channels, sample rate and format17:45
av6it's probably raw, try doing this for aplay17:46
ham5urgI tried (Parameter.set 'Audio_Command "aplay -q -c 1 -t raw -f s16 -r $SR $FILE")17:47
av6you need -D pipewire17:47
ham5urgStill a utterance 0x7... error17:47
av6remove aiff17:47
av6oh, and that wiki page uses snd? argh17:48
ham5urgav6, it's not worth it. Festival looks a bit strange.17:48
ham5urgI killed pipewire to get to alsa17:48
av6and does festival work now?17:49
ham5urgno17:49
av6if you want to figure out what festival outputs, try 'Audio_Command "cp $FILE /tmp/" or something, then look at the file with ffprobe17:50
ham5urgok17:50
av6i don't know anything about festival, but it doesn't look good to me with all those cryptic utterance errors17:51
ham5urgav6, ffprobe got me: /tmp/123.bin: Invalid data found when processing input17:54
av6hmmm17:55
ham5urgmaybe crapware17:55
av6you sure it's the output from festival?17:55
ham5urgyes, the filename is unique17:55
av6also, what does `file /tmp/123.bin` say?17:55
av6just "data"?17:55
ham5urgI created the file with17:56
ham5urg(Parameter.set 'Audio_Command "cp $FILE /tmp/123.bin")17:56
av6ah17:56
ham5urgI hoped to get a usable tts to transform ebooks to audiobooks.17:57
junicchi_is chimaera equivalent to the debian 10 or debian 1118:52
Guest-12345678hi there ...complete new user..installed devuan from netinstall and chose runit...at the moment to start a service I used "doas /etc/init.d/iwd start". If soone could point me in the right direction to enable runit services I would be most grateful eg my "/etc/sv/* -> http://ix.io/3L8H19:02
* Guest-12345678 *soone -> someone19:03
av6junicchi: it's 11 according to https://www.devuan.org/os/releases and https://en.wikipedia.org/wiki/Devuan#Version_history19:13
fsmithredGuest-12345678, this discussion has links to sample run scripts and also has some posts from the runit maintainer. https://dev1galaxy.org/viewtopic.php?id=371619:34
Guest-12345678fsmithred super thxs!!19:34
fsmithredI made a live-iso with runit, but I guess you don't need that since you already have it installed.19:35
Guest-12345678I pretty much copied / pasted the cron example -> https://salsa.debian.org/runit-team/runit-services/-/blob/master/debian/README -> however I still end up with "update-service --add /etc/sv/cron" -> "update-service: fatal: /etc/sv/cron does not exist, or is not a directory"21:24
gnarfaceGuest-12345678: i dunno much about runit but that error is self-explanatory.  the directory along with whatever was supposed to be in it is clearly missing.  it might be in another package or you might simply have to create it yourself.  (i doubt there's much to it so the difference may matter little)21:33
gnarfaceGuest-12345678: maybe try apt-file search21:33
gnarfaceassuming they fixed apt-file finally.  that might be a stretch too21:34
Tenkawagnarface: ouch did apt-file get broke?21:35
Guest-12345678I get the error msg...I was rather hoping copy/paste to test runit with given example would work21:35
gnarfaceTenkawa: it was broke in unstable from like 2013-2018 and i never checked again after that21:36
gnarfaceGuest-12345678: did the example include example files?21:37
Tenkawagnarface: just unstable? because its working in chimaera just fine.21:37
gnarfaceTenkawa: good to hear21:37
TenkawaI rely on it a lot21:38
gnarfaceGuest-12345678: i don't see it included with the cron package i'm using here but there's more than one cron21:38
gnarfaceTenkawa: can you do a quick search for /etc/sv/cron?21:38
Tenkawanot in there21:39
Tenkawalet me modify the search21:39
gnarfaceTenkawa: i did check in stable frequently, initially... whatever was stable back then, i forget exactly when i stopped checking it21:39
Guest-12345678I did ls previously ....In any case I made the assumption when installing a pkg the runit files would be available21:40
Tenkawathis is the only package with anything close21:41
Tenkawaapt-file search sv | grep cron | grep etc21:41
Tenkawabcron: /etc/sv/bcron....21:41
gnarfaceGuest-12345678: yea, by the packages including other files in that directory it seems that the cron package should have supplied something itself, but even if upstream killed it off like a mafia informant, i assume it should be something fairly simple to recreate or copy from an older version21:41
Guest-12345678yeah tbh I am not sure if I have the patience to hunt down all the runit files for my particular setup21:43
gnarfacethe sysvinit support is much more complete21:45
gnarfaceeven still, some init scripts have gone missing under suspicious circumstances recently ...21:45
Tenkawagnarface: has there ever been any discussion of looking at using s6?21:46
gnarfaceTenkawa: not by me, but it is also present in the repos and has a small following.  i couldn't say how much more or less complete it is than runit right now.  i think openrc is the one that's closest to sysvinit in completion but that might be because it's set up to use the sysvinit scripts21:47
Tenkawanod.. personally I like sysvinit and am happy with it however I know some want a smaller footprint21:48
Guest-12345678Its kind of frustrating because I signed up to the mailing list and searched the web to get more info on devuan / runit to see how polished it is...unfortunately information is severely lacking...In any case I have learnt my leason21:48
gnarfaceGuest-12345678: sorry it sucks, but i'm sure you can see this is a sort of self-perpetuating mindset21:49
gnarfaceGuest-12345678: nonetheless, we all sympathize with just wanting to get work done.  nobody will disparage you for giving up and installing sysvinit21:49
gnarfaceGuest-12345678: (i dont' think it should require a full reinstall, i think you can just install the packages)21:50
gnarfaceGuest-12345678: if you hang out here longer maybe someone can give you a tip on where to get those files more easily.  for all i know they're still in the ascii or beowulf packges...21:51
Guest-12345678tbh I really should know better but at least I tried...right now I am too frustrated...will calm down :)  and try sysvinit tomorrow21:51
gnarfacesysvinit isn't perfect either but it's better known around here so more people can help you readily21:53
Tenkawaits far from perfect indeed... however as you said.. been around forever and very well used.21:55
Guest-12345678anyway thxs guys...wish you a good night (already 10pm in Germany) o/22:01
Tenkawacheers22:02

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!