libera/#devuan/ Saturday, 2020-12-12

Xenguyfsmithred: You may recall that I tried my laptop at the recent meet, and I couldn't get sound to work...01:14
XenguyI finally noticed why that is the case:  I have no sound : -P01:14
fsmithredalsa-utils?01:15
XenguyIn MATE, in the upper right-hand corner of the 'panel', there is usually a volume slider, but I'd been so busy configuring my shiny new system that I didn't notice that audio control was not there once I'd install a fresh Beowulf...01:16
fsmithredalsamixer01:16
fsmithredxfce gave up its volume control to PA01:17
fsmithredvolumeicon-alsa is a good replacement01:17
XenguyI did some troubleshooting today, and I am hopeful that this can be fixed, cos I ran 'pulseaudio' as user, and then was able to play a YT video with sound.  So I have proof of concept, and just need to figure out the simplest way to configure this as a permanent condition01:17
fsmithredassuming you're not using PA01:17
fsmithredpavucontrol01:18
XenguyI always use the default setup, which has always 'just worked', until now.  I believe the default setup is with PA01:18
fsmithredyou had to start PA?01:18
fsmithredcheck the autospawn config file?01:18
XenguyWell to be clear, I don't know whether PA was already running or not.  I grep'd for it and didn't see anything, which is why I tried running it (as user) manually.  That's when I was able to coax some sound from this laptop01:19
fsmithredhow did devuan get on this laptop? upgrade from ascii or beowulf install?01:19
XenguyI have seen mention of pavucontrol, but it is not installed by default.01:19
fsmithredthat's how you control PA01:20
XenguyThis is a fresh install of Beowulf, from USB drive01:20
fsmithredvolume and channels and audio devices01:20
XenguyHere's another thing I noticed...01:20
fsmithredsee the release notes. ;)01:20
fsmithredto get PA to run out of the box, you need to install systemd01:21
fsmithredoops01:21
fsmithrededit the config file01:21
fsmithredor install from the live, since I already did it there01:21
XenguyWhen I checked Systems > Preferences > Hardware > Sound, initially it showed 2 devices, the first and default which was HDMI something...01:22
XenguySo I think I need to make the other more normal looking audio device, the default somehow01:22
XenguyWhen I ran PA manually, I noticed that the correct device was somehow slotted in by doing that01:22
* Xenguy re-reads the buffer...01:23
fsmithredI have no experience with PA01:23
gnarfacepulseaudio has it's own internal way to track what it considers the "default" audio device, which you can change on the fly through it's interface.  alsa just orders them in whatever order the hardware inits, so hysteresis is not uncommon, even if none of the audio devices are hotplug01:24
gnarfaceif you use a usb audio device in there though, the orders are gonna change every time you hot plug it01:24
gnarfaceand usb devices usually experience a lot more variation in initialization times01:25
gnarfacesome of the drivers can be locked down to a specified order with module parameters though01:25
Xenguyfsmithred: I believe I did read the release notes (golinux will be happy), but you're suggesting I should have a look again for a reference to PA, or ...?01:25
fsmithredlook in /etc/pulse for a file with autospawn in the name01:26
fsmithredand read the comment01:26
fsmithredif I tell you, I'll tell you wrong01:26
fsmithredactually, I don't like to look at it because it makes me angry01:27
XenguyOK thanks, I'll have a go at that, and see if it helps.  I have never really had to touch PA, so I don't really know anything about it01:27
Xenguygnarface: This is just a regular Beowulf install to a normal hard drive, no USB involved (except I used a USB key as the installation media)01:28
gnarfaceXenguy: well that removes guaranteed hysteresis, but doesn't 100% eliminate the possibility01:30
XenguyI don't know what that term means01:31
gnarfacerandomization is a close enough term01:32
Xenguyfsmithred: OK, I must have looked at that file this afternoon, cos I saw that line.  It is /etc/pulse/client.conf.d/00-disable-autospawn.conf01:33
fsmithredyeah01:33
XenguyI checked my older laptop, where sound worked find by default, and that file was unmodified.  But I suppose it's worth trying to comment out the line in this case, as obviously I am having issues with this newer laptop.01:34
Xenguy*worked fine01:34
gnarfacewell imagine this scenario:  it's sold as 1 audio device, but the hdmi device is actually secondary, physically.  80% of the time the right one comes up first, and you set it in pulseaudio the first time, and pulseaudio remembers it01:39
gnarfaceand so later if it comes up in another order you never notice01:39
gnarface... that is, until one day you try it without pulseaudio even installed01:40
gnarfaceand it just happens to come up hdmi-first that day01:40
XenguyI rebooted, and unfortunately the audio control in the upper right-hand corner of the MATE interface is still not in evidence01:40
XenguyOh wait, there it is!01:41
XenguyBloody hell, this is looking promising, so to find a sound file, or is there some trick I remember where you can just cat /dev/urandom somewhere, as a test?01:42
Xenguycat /dev/urandom > /dev/dsp  ?!?01:42
Xenguy^^ Don't try this at home kidz, memory is a fickle thing01:43
fsmithredthere is a way to make a test sound, but I don't remember it01:43
gnarfacespeaker-test01:43
gnarfaceit's called speaker-test01:43
fsmithredyeah, that01:43
gnarfaceit's in one of the alsa tools or utils packages01:44
XenguyOK, sounds like a good utility to have around, I'll look for that01:44
XenguyLooks like it's in alsa-utils01:45
XenguyThrows an error01:46
gnarfacespecify channel count01:47
XenguyUnable to open slave; Playback open error... No such file or directory01:47
gnarfaceoh, you probably have to specify a device too, if the default one is the hdmi one right now and it's not working01:47
gnarfaceif you get the error about channel count, try -c 201:48
XenguyWe have lift-off gentlemen!01:49
XenguyWas able to YT some video, with sound01:49
XenguyYay, nice way to kick off Friday night : -)01:49
XenguyThank you both very much for your kind assistance!01:50
gnarfaceno problem01:50
* Xenguy prepares for a celebratory smoke...01:51
gast0ntargz: en espaƱol?01:51
gast0nOoops, sorry01:51
XenguyBTW gnarface , once that config change was made, the 'HDMI+Other device' situation disappears, and it just settles on 1 device, the proper one I assume.01:53
golinuxpm01:54
gnarfaceXenguy: that's typically the expectation when not using a string of separate USB audio devices, but like i said, more rare not unheard of though02:00
* Xenguy looks for the Beowulf Release Notes, to see if there's any mention of that issue...02:13
Xenguyfsmithred: You are correct, it is mentioned there, and I definitely read it, but did not remember later on.02:14
XenguyThat's good that that's covered.02:15
fsmithredglad you got it working02:15
XenguyMe too, woohoo!02:15
XenguyThe only other fly in the ointment for this new little laptop (thinkpad x250, small form factor so is portable) is they screwed up the keyboard layout...02:16
fsmithredoh, there are different layouts that they use02:16
XenguyI use Shift-Insert *all* the time to paste on the command-line...02:16
XenguySo what do they do?02:16
fsmithredI have a T420 that has the wrong type of keyboard02:16
fsmithredwhy doesn't that work?02:17
XenguyNow instead of 'Shift-Ins' and I need to press 'Func+Shift-Ins'02:17
XenguyJust completely screwed it up for linux users, who are one of their biggest fans!  Duh!02:18
gnarfacethere might be a better mapping for it02:18
gnarfaceit wouldn't be auto-detected02:18
XenguyThey put the Insert on the End key, so they're both bolted together...02:18
XenguyStupidest thing I eve saw in my life from Lenovo02:18
Xenguygolinux: Maybe I can remap somehow, one more thing on the todo list02:19
XenguyOh sorry, that was meant for gnarface02:19
fsmithredHome End and Delete in the pic I see02:19
Xenguyfsmithred: Insert is kind of subscripted on the End key, if you can get close enough02:20
fsmithredyeah, I see something there02:20
XenguyIt's really just dumb02:20
XenguyIn the BIOS I can reverse the values of those keys...02:21
fsmithredoh, switch End and Insert?02:21
XenguyBut then every time I wanted F12, I'd have to press Func-F12, so I chose the F-keys to work by default, which screws up the Insert key02:21
fsmithredyeah02:22
XenguyRight, so I just have to find another way to remap the key I think02:22
fsmithredmust be a way to do that in mate settings02:22
fsmithredxfce will let you do it02:22
XenguySo next time I shop for laptops, I'm gonna pay more attention to the keyboard layout02:22
fsmithredyou might be able to find an alternate layout replacement02:23
XenguyI haven't seen any MATE configs like that, but I'll double-check on it tonight, and if I can't find a solution, I know there are more CLI utilities that will do key remapping02:23
XenguyIt just takes time to find the right call02:24
XenguyBut that's Linux for you, right?02:24
XenguyI use Linux, I eat rusty nails and sound problems for breakfast!02:24
fsmithredIn xfce it's Settings, Keyboard, Layout02:26
XenguyReally, hrm.  OK, will check that in MATE first, I have used XFCE in the past, and it's fine, I just really like MATE best of all02:27
fsmithredSystem, Preferences, Keyboard shortcuts02:28
fsmithredin mate02:28
XenguyI am there now, and looking to see what the options are02:29
clortT420 is almost perfect except the T430 got intel HD4000 gpu02:33
clortwhich is a very nice setep up02:33
Xenguyfsmithred: Lots of options available for layout changes (I tried swapping CapLock and Esc, but it wouldn't accept the button activation) but no mention of Func keys, oh well, there are other ways I'm sure02:35
XenguyThe thing is, I think I might be hosed, cos I need *both* 'End' and 'Insert', and they've put them both on 1 key, the stupid gits02:36
fsmithredctrl-c ctrl-v ?02:38
MinceR$ and i :>02:40
XenguyBah, the muscle memory, gahhhhhhhh04:08
Xenguya creeping windowism04:10
Xenguybut doubtless pragmatic04:10
XenguyAnd doubtless OT04:11
* Xenguy shuts up for awhile...04:11
luke-jrnew install on new PC; X won't start on Intel Gen10 GPU.. :/04:24
lunariowhat again is the file that i need to change in order to get rid of the 30 second "sda5_crypt...busy..." error when shutting down devuan on a luks-encrypted device?14:54
fsmithredlunario, if you're in beowulf you can install cryptsetup-modified-functions from beowulf-proposed-updates15:03
fsmithredI'll get you a link to the .deb15:03
fsmithredhttps://pkgmaster.devuan.org/devuan/pool/main/c/cryptsetup-modified-functions/cryptsetup-modified-functions_19.09.02%2Bdevuan1_all.deb15:04
fsmithredwon't work in ascii. In that case, edit /lib/cryptsetup/cryptdisks.functions15:04
fsmithredit's cryptdisks-functions in beowulf and very different from the one in ascii15:05
lunariothanks fsmithred!15:38
fsmithredyou're in beowulf?15:38
lunarioyes15:38
lunarioso if i understood you correctly, the cryptsetup-modified-functions that is available in the standard repo (I have main contrib non-free in sources.list) will also work?15:39
fsmithredlunario, I'm only seeing it in beowulf-proposed-updates15:47
fsmithred19.09.02+devuan1 should be the only one in devuan repos. If you see it, you can use it.15:48
coniferhi, I recently started having an issue when booting up, after entering luks pass I sometimes get "warning: device /dev/sda not initialized in udev database even after waiting 10M microseconds"18:24
coniferthe warning gets repeated for other /dev/dm-# and /dev/sda#18:25
coniferwhen I waited long enough the system finally started, but some things didn't work right18:26
coniferand this issue does not happen with every boot, but I see it every other day18:27
coniferanyone has an idea what's up?18:27
fsmithredconifer, yeah18:31
fsmithredshit18:31
fsmithredconifer, I sort of know what's going on18:35
fsmithredI've seen that when trying to install grub in a chroot18:35
fsmithredfixed it by mounting /run/udev in the chroot18:36
coniferbut I haven't messed with grub18:37
fsmithredit's not about grub18:37
fsmithredthat's just how I ran into it18:37
fsmithredhow did you install the system?18:38
fsmithredregular installer iso or live iso18:38
fsmithred?18:38
conifernetinstall, so this is the regular way right?18:39
coniferit worked for a couple of months and I just started seeing this warning some two weeks ago or so18:40
fsmithredwhat changed?18:41
fsmithredif you did updates, you can look in /var/log/apt/history.log to see what was upgraded or installed/removed18:41
fsmithredmight be something changed in the initrd18:43
coniferI'm on a laptop and wasn't doing anything that would make me immediately connect the dots18:46
fsmithredwe got a new kernel recently. If you have the old one, try booting that.18:46
coniferthis is the first time I'm using a SSD and I thought maybe something's wrong with it18:47
fsmithredoh18:47
fsmithredyou have raid?18:48
fsmithredor just lvm18:48
fsmithred?18:48
fsmithredthere are some changes in lvm.conf that might help18:48
fsmithredI have to remember where they are18:48
coniferI'm using luks-lvm18:50
fsmithredhttps://dev1galaxy.org/viewtopic.php?pid=21501#p2150118:51
fsmithredthe only lvm upgrade I can find was liblvm7 which I got in septembr18:56
fsmithredthat does not provide the config file18:57
coniferso I should try making these changes to lvm.conf?19:01
fsmithredyeah, then rebuild initrd19:01
fsmithredupdate-initramfs -u19:01
fsmithredI think that will do it19:01
fsmithredin my post, I said that I changed it in the initramfs, but I didn't say how19:02
fsmithred:(19:02
conifercan I do this when the system is up?19:03
fsmithredit's possible I manually unpacked, edited and repacked it19:03
fsmithredyeah19:03
fsmithredI don't think the changes can take effect until you reboot19:03
fsmithredbut I'm not certain about that19:03
fsmithredworst case you boot live-cd or installation media and fix it in chroot19:04
fsmithredrescue mode in the installer isos19:04
coniferwell, the funny thing is I don't see this problem with every boot, so if it will take me a couple of boots to see if it helped19:05
fsmithredshit19:05
fsmithredok19:05
fsmithrednew plan19:05
fsmithredlets see if it's related to the eudev bug19:05
fsmithredlsmod |wc -l19:05
fsmithreddo that after a good boot and a bad boot (with delay) and see if the number is different19:05
fsmithreddo you lose any other functions when it screws up?19:06
fsmithredlike sound or wireless?19:06
fsmithredthere's a new version of eudev in beowulf-proposed-updates that fixes a race condition that results in some modules not loading19:07
coniferwhen I waited and it finally booted up I had no networking and there was an issue with graphics (lower resolution)19:07
fsmithredexcellent!19:07
fsmithredlol19:07
coniferas if I didn't have the driver installed19:07
fsmithredadd this to sources.list19:08
fsmithreddeb http://sledjhamr.org/devuan/deviam beowulf-proposed-updates main19:08
fsmithredpj19:08
fsmithredoh19:08
fsmithredyou can use whatever mirror you want (like deb.devuan.org)19:08
fsmithredupdate, install eudev=3.2.9-8~beowulf1 libeudev1=3.2.9-8~beowulf119:09
fsmithredthen comment out that line (unless you want all our new stuff)19:10
fsmithredif you don't want to do that, you could add 'sleep 1' to /etc/init.d/eudev19:10
fsmithredI can show you where it goes if you want19:11
coniferit's deb.devuan.org/merged as usual, right?19:13
coniferI mean, sledjhamr.org has a devuan/deviam19:14
coniferif I use deb.devuan.org it's /merged, not /devuan/deviam19:15
fsmithreduse /devuan not /merged19:17
fsmithredand sledjhamr has an extra devuan19:17
fsmithredif you just install eudev it won't matter, but if you do an upgrade, you'll get new stuff19:18
fsmithredif you use merged you will get new stuff from debian as well as from devuan19:18
fsmithreddeb http://deb.devuan.org/devuan beowulf-proposed-updates main19:19
fsmithredor use /merged and just install what you need then disable that line19:19
fsmithredomg, I screwed up the sledjhamr link19:21
fsmithredsledjhamr.org/devuan/devuan beowulf-proposed-updates main19:22
conifernp, I used the deb.devuan.org19:22
fsmithredok19:25
fsmithredI'm just using sledjhamr because it works better for me19:25
n4diron a side note the deb.devuan.org repo problems solved itself in the very same evening i asked about it19:27
coniferI installed the new eudev and libeudev, got a warning about old and new network interface names - I don't think I'm using the new names so I can ignore it, right?19:27
fsmithredthat's normal19:28
fsmithredyeah19:28
fsmithredignore that warning if you're already using eth0/wlan019:28
coniferok19:29
coniferdoes it mean I'm mostly good now, and can observe if the problem will still occur during my next boots?19:31
fsmithredyeah, that should be enough. Reboot.19:34
coniferdo I need to lock the version of eudev if I'm going to disable the proposed-updates in sources?19:45
n4dirlock as in "hold" from getting updated?19:45
coniferso that it won't downgrade? or it's not going to downgrade on it's own?19:45
coniferyeah19:46
n4dirand why would you want to disable proposed-updates?19:46
n4dirno, it won't downgrade19:46
n4dirAnd as long it doesn't get upgraded by the other repo but proposed-updates it won't get upgraded either.19:46
n4dirI am quite sure something like downgrades don't exist in debian/devuan land19:47
n4dirby normal means19:47
coniferI don't quite know what apt does if the package exist in currently updated repos but has a lower version19:49
coniferI thought I'd rather ask to be on the safe side19:49
n4dirah, well. Then perhaps better wait for someone else to answer. If it was me i'd just do "try it and see", if in doubt with apt-get -s as in simulate. But waiting for a more sure answer is fine too. Good luckc19:50
n4dirmainly as encryption seems to be involved. Which is a bit troublesome to repair. Or at least can be19:51
n4diri sure leave repos from which i installed something uncommented though.19:52
coniferwell, I can see proposed-updates have new versions of init, dbus and lightdm, among other things, and I'd rather not have them (possibly) broken when I'm trying to fix my current issue19:54
n4diryeah, i see.19:55
coniferthat's probably because I updated to /merged before fsmithred's reply20:01
coniferanyway, thank you for your help, fsmithred! I'll report back if I still see this issue later20:03
fsmithredconifer, apt won't downgrade packages without forcing it20:28
xinomiloiirc, downgrade only asks y/n, no forcing needed.20:35
fsmithredI've had newer packages that didn't get replaced by older ones in the repo20:36
fsmithredtesting it now. I removed beowulf-proposed-updates and 'apt policy' shows the installed version's priority as 100, but 'apt upgrade' does not replace it with the older version.20:39
fsmithredversion of eudev20:40
xinomilousually do it with `apt install $package -t release`20:40
xinomilook i c what u mean. yes, apt upgrade won't do it without forcing20:41
fsmithredI'[ve noticed that sometimes -t release does not work. So I use package=version more often now.20:45
fsmithredI think there are some unsolved wonky dependency issues20:46
xinomilosometimes package/version didn't work for me, -t was better.20:47
fsmithredlol20:48
xinomiloi think aptitude is better in some similar cases20:48
fsmithredsometimes I use that20:48
fsmithredI always use aptitude -s to check first20:48
fsmithredbetter looking output20:48
fsmithredand sometimes alternatives20:48
Junicchidoes devuan support wireguard?21:10
fsmithredyeah, let me check which suite has it21:12
fsmithredbeowulf-backports!21:12
Junicchifsmithred: thanks bruh21:23
anjanHi, I am looking to install devuan but I need to know if ovmf is in the package repos.21:48
anjanthe website that documents the packages available in devuan is down for me21:48
anjanhttps://pkginfo.devuan.org/cgi-bin/policy-query.xml21:48
fsmithredpretty sure that's where I got it21:48
anjancan anyone running a devuan system do an `apt-cache search ovmf` for me please?21:49
fsmithredInstalled: 0~20181115.85588389-3+deb10u221:49
fsmithredI did apt policy ovmf21:49
anjanah21:49
anjanthank you fsmithred21:49
fsmithredit's in beowulf21:49
fsmithredand later21:49
fsmithredI think it's in ascii, too21:49
anjanis it in the free or nonfree repos?21:49
fsmithredmain21:50
anjannice21:50
fsmithredit be free21:50
anjanDoes devuan mostly support debian's repos?21:50
anjanlike percentage wise...21:50
fsmithredwe mostly steal directly from their servers21:50
fsmithred99%21:50
fsmithredunchanged21:50
anjanalright great. =)21:51
fsmithredcouple hundred packages we fork, and half of those are task-<language>21:51
fsmithredjust for deps21:51
anjancheers. Thank you for your help fsmithred21:51
fsmithredand we ban the ones we can't fix (systemd and friends)21:51
fsmithredyw21:51
anjanya, I would prefer that in my distro21:51
fsmithredright. No need to pin those out21:52
fsmithrednew isos for beowulf point-release should be ready soon21:53
anjannice!22:01
anjanthe best christmas gift :322:01
rwpanjan, I am just a casual user but since Devuan is an overlay on top of Debian then if it is in Debian then, for the most part, it works just the same in Devuan.22:06
rwpanjan, https://packages.debian.org/search?keywords=ovmf22:06
anjanI see. I heard about devuan years ago and not familiar with how much the project has progressed.22:08
rwpAnd I guess I always search using https://packages.debian.org/PATTERNHERE and very little typing for me.  Just "pac" and for me it autocompletes and then I type in the pattern.22:08
anjanI see that it has progressed alot. Excited to install it =)22:08
rwpDevuan is my daily driver for a moderate number of systems.22:09
brocashelmsame except it's refracta22:24
rwpDevuan is The New Universal Operating System! :-)22:25
brocashelmi don't use any other distro presently because i like being decisive ;)22:25
brocashelmit's not devuan systemd is after. it's us! devuan is just in their way22:26
rwpbrocashelm, You should join #devuan-offtopic! :-)22:28
gnarfacepkginfo.devuan.org is generating a xslt error guys23:00
XenguyWhat's the error gnarface ?23:35
XenguyOr in #devuan-www, if that is more appropriate23:37
rwpXenguy, "Error loading stylesheet: Parsing an XSLT stylesheet failed."23:37
XenguyThanks rwp23:37
rwpTo me it is a confusing error because I get one error in the web browser above and a different error when poking with wget/curl at the parts of it.23:41
rwpErrors I see poking: https://paste.debian.net/1176643/23:44
rwpTherefore I conclude that the "Error loading stylesheet: Parsing an XSLT stylesheet failed." came from Firefox when it handled the 404?  (maybe?)23:45
gnarfacerwp: i didn't look into it but yes, this is the general type of error you get from firefox when you tell it to expect xml but then feed it malformed xml23:54
gnarfacerwp: (and i agree that a very likely culprit is some other error from a different layer of the system corrupting the xml response, but like i said, i didn't look into it any further)23:55
rwpYup!23:55

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