libera/#devuan/ Saturday, 2021-07-24

Soltisgnarface: Around? Still haven't figured out that issue - and discovered another while I was at it. No audio.02:38
gnarfaceis this with or without pulseaudio installed?02:40
Soltisgnarface: Both02:40
Soltisgnarface: I had to add some switches to grub to get the audio device driver to load; plus installed the sof firmware for the device, so at least now it's listed in /proc/asound/cards seems to be loading correctly.02:40
Soltiss/seems/ and seems/02:41
Soltispulseaudio wasn't installed, so I also tried adding that just for fun.02:41
gnarfacewithout pulseaudio installed you only need to check volumes in alsamixer, but with it installed you'll need to check volume in alsamixer without pulseaudio running, then in pavucontrol with it running02:43
gnarfaceit isn't actually uncommon for the drivers to default to 0 on everything02:46
gnarfaceand pavucontrol can't really do anything useful if alsamixer has the hardware muted underneath it02:46
SoltisIt looked like the levels were okay when I checked.02:48
gnarfaceSoltis: ^02:48
Soltisgnarface: Yeah, I was just double checking. alsamixer seems to report the device volumes at 100% - except the headphone jack which I'm not using02:49
gnarfacewell if you opened alsamixer after you installed pulseaudio, it would have only shown you the pulseaudio levels02:49
gnarfaceso it's important that you see what alsamixer says when pulseaudio is not running02:49
gnarfacelook at the top left corner, it will either say your hardware or pulseaudio... if it says something else it's the wrong device entirely (some usb devices like webcams also show up as audio devices)02:49
Soltisgnarface: I looked at alsamixer as root; pretty sure it was the actual device levels - it showed the expected devices. Running it as the user shows pulseaudio as expected.02:50
gnarfaceand they didn't have "MM" under them?02:50
gnarfacethey can be muted independently of their volume levels02:50
SoltisYes, they're not muted, and volume level is 100 or 100<>100 depending on the device.02:51
gnarfacehmmm02:51
gnarfacewhat does this do?  speaker-test -c 202:51
SoltisErrors with unable to open slave; -16 device busy02:52
gnarfacedefinite problem02:52
SoltisEarlier I did try that and it ran but there was no output02:52
gnarfacewell now it thinks its busy02:52
gnarfaceit could be "busy" with something crashed though, or even busy with silence02:53
SoltisYep. I'm nuking pulseaudio and rebooting to get one thing out of the way. I can play with that later once I can get noise to come out.02:53
SoltisWell, this is interesting. Definitely got driver/fw problems I think.02:54
gnarfaceif auto-mute mode is enabled in alsamixer, then plugging stuff like headphones or external speakers in might have irrational results (sometimes it doesn't work very reliably and fires twice or when its not supposed to)02:54
SoltisJust rebooted and now ONE channel is muted for the headphones but not the other.02:54
gnarfaceintersting02:54
gnarfacebut do you hear out of that one channel ?02:54
SoltisAlso the chipset reads 'realtek generic' which I'm pretty sure is wrong.02:54
gnarfaceno that's probably right02:54
gnarfacewell that's the hardware02:55
SoltisOoo02:55
SoltisI have sound02:55
gnarfacebut you're right that the hda_intel driver which addresses that could be mis-detecting partially02:55
Soltis... interesting02:55
SoltisToggling the mute state twice caused sound to no loger work.02:55
gnarfaceok, yea you got a driver problem02:56
SoltisMm, okay02:56
SoltisInteresting.02:56
SoltisI just ran the test WHILE toggling mute status02:56
gnarfaceso the problem with the hda_intel driver is that it actually is a catch-all driver for a class of audio device apis served by ... entirely 3rd party companies unrelated to intel02:56
gnarfaceso it's very common for it to mis-detect very new hardware02:56
Soltis... hang on.02:56
SoltisI may be misreporting02:56
SoltisSec.02:56
gnarfaceit's also common if you have more than one audio device for alsa to pick one you're not expecting02:57
gnarfaceyou can get a list with "aplay -l"02:57
SoltisOkay speaker-test appears to work randomly either single or 2 channel.02:58
SoltisToggling mute on the device MAY help. Still experimenting.02:59
Soltis... okay the toggling relation may have just been a coincidence.03:02
SoltisWhatever it is, this is not working consistently. The actual device connected to the speakers appears to be labeled 'PCM'03:02
gnarfacethat's fairly normal03:03
SoltisYeah03:03
SoltisI'm remembering all this shit ... pulseaudio didn't even exist, or at least wasn't widely used, last time I did this crap.03:03
gnarfacewell, hopefully after it's set right the volume settings will be stored correctly through reboot, but if they're not you may be facing two problems03:04
SoltisLet's see.03:05
SoltisOkay so it did preserve settings.03:32
gnarfaceyou can override the auto-detection with that driver03:34
gnarfacecheck the kernel docs for valid values of the model= parameter03:34
gnarfacei think the file has HDA in the name03:34
SoltisI don't see files with hda in the name that are relevant.03:37
SoltisOh I hate this shitty terminal emulator....03:47
Soltisgnarface: I don't remember where I saw it, but I do recall something about some devices muting themselves if there's no audio output for a while.03:50
Soltisgnarface: I have noticed that sound will work immediately on boot, and continues to work as long as I play _SOMETHING_03:51
SoltisThe issue is that it seems to mute and then alsa can't unmute it (reliably) again03:51
SoltisThis may be connected to the fact that when the audio stops working I seem to get messages like 'hdaudioCOD2: unable to sync register 0x3f0d00. -5'03:55
gnarfaceSoltis: oh... it could be power management related, you might be able to disable it for the soundcard with a module parameter, too04:40
gnarfaceSoltis: as for the models... how about /usr/share/doc/linux-doc/Documentation/sound/hd-audio/models.rst.gz04:42
Soltisgnarface: Yeah I found the list. Not sure which one it is, but I'm gonna explore that a bit. I'm currently specifying model=laptop-amic for snd-hda-intel05:12
SoltisWithout that, it appears not to work at all.05:13
gnarfacewell, if it's failing to auto-detect correctly, then chances are it's not in the list, but you might get lucky and find something more similar05:15
SoltisWhat would be really fucking helpful is knowing exactly what the hell audio device is in this thing.05:15
gnarfacewhat does lspci say?05:15
gnarfacelspci |grep audio -i05:16
Soltisgnarface: Intel Corporation Tiger Lake-LP Smart Sound Technology Audio Controller (rev 20)05:17
gnarfacecat /proc/asound/card0/codec#0 |grep codec -i05:17
Soltisgnarface: Realtek Generic05:18
gnarfacemaybe laptop-amic is the closest you can get05:19
gnarfacehmmm05:19
gnarfacei don't know05:19
SoltisIt's using snd_hda_intel driver; would be curious to see how the snd_sof_pci_intel_tgl driver worked instead05:19
Soltisbut I'm not exactly sure how control that - I did try blacklisting snd_hda_intel, but that seemed to simply make it not work at all.05:20
Soltisgnarface: One thing to note - audio does work continuously if I don't allow it to be interrupted. I've been running speaker-test for about an hour and it's still working; I can play music at the same time, too.05:23
Soltis... but if I interrupt the test, it's going to stop working with about a 70% probability.05:23
gnarfacehuh05:23
gnarfaceweird05:23
gnarfaceSoltis: it might be a matter for the alsa-devel mailing list, or at least their irc channel, though pursuing it further will probably involve a bleeding-edge kernel build05:58
amarsh04building your own kernels isn't so bad once you remove the largest items of not-applicable parts from your build06:00
amarsh04for me it's: make -j6 menuconfig bindeb-pkg06:01
Soltisamarsh04: Yeah, I used to build the kernel a *lot*, but it's been a while. Changed a lot, and the biggest thing is how much I have to disable now ... and not confident enough in the exact hw in this thing to know exactly what to disable so erring on the side of caution.06:02
SoltisWas easier when it was a machine I built, not a laptop from Dell.06:02
Soltisgnarface: Yeah, starting to get that feeling.06:02
Soltisgnarface: Did discover the fw may also be an issue06:02
amarsh04even on a lighter weight kernel I keep all the sound options - the modules only load if needed06:03
gnarfaceSoltis: there are firmware packages in both main and non-free but i wasn't aware this driver needed any06:17
gnarfaceat least any non-free stuff that is06:17
gnarfacedo you have the firmware-linux-free package?06:18
gnarfacei can't imagine the graphics would have worked without it but i guess i dunno for sure06:18
gnarfaceit also should have installed it if you need it but i guess nothing is a guarantee06:18
gnarfaceif you can find the firmware in their git repo or something maybe you can just copy it to /lib/firmware06:19
gnarfaceoh and with regards to the power management issue, if they have out-of-tree versions of any firmware or modules there, maybe you can just build them and load them without rebuilding the entire kernel too06:20
gnarfaceworth looking into anyway, since that would fix a lot, in theory06:21
Soltisgnarface: Yeah, I have the fw packages, and I installed stuff from the sof project, but I _think_ I may need to downgrade from 1.8 to 1.7; trying that now.06:34
jason1234the embedded rpi3b does not work, i.e. apt-get install gcc does no work on jessie. how to make or fix it?06:39
jason1234the package gcc is not availabe , but refered to by another package... is missing or oboloste. is your pkg package.list broken on arm?06:40
jason1234apt-get does not work on jessie devuan for rpi3 raspberrys pi07:25
rrqpossibly... is that arm64 ?07:39
rrqyou are using archive.devuan.org I supppose?07:48
jason1234seems link07:48
jason1234seems like07:48
jason1234which is recommend for pi?07:48
rrqperhaps you should ask at #devuan-arm instead07:50
jason1234I would just neeed to know where is the default sources list of arm64 pi for jessie? is there a server?08:56
gnarfacei don't think the main jessie repo moved, i think what happened is jessie-security got taken down08:59
gnarface(by debian)08:59
gnarfaceand not recently, either09:00
jason1234well, apt-get does not work for sure09:08
Soltisgnarface: So that doesn't work. Interestingly enough, using the sof driver completely fails to populate sound devices.09:27
gnarfacejason1234: it might be down completely now, if so that is fairly recent09:30
gnarfacejason1234: this is what the sources.list should have looked like back when it was all still live: https://paste.debian.net/1205448/09:33
gnarfacejason1234: (the other releases aren't different except for a simple string replacement)09:33
rrqnote that jessie is at archive.devuan.org09:50
rrqand there s no jessie-security09:50
rrqso "deb http://archive.devuan.org/merged jessie main contrib non-free" should be fine09:51
rrqjason1234: ^^^09:53
jason1234thx10:08
jason1234W: GPG error: http://archive.devuan.org jessie InRelease: The following signatures couldn't be verified because the public key is not available10:12
jason1234apt-get does not work10:13
brocashelmtry downloading the gpg key10:16
brocashelmwget -nc https://archive.devuan.org/merged/dists/jessie/Release.gpg10:16
brocashelmsudo apt-key add Release.gpg10:16
jason1234shall not be in default? people wont bother much about the gpg insanity10:19
jason1234I will debootstrap and put devuan on a pendrive to look if after debootstrap, the gpg is there by default10:20
jason1234(on raspberry pi rpi3b+)I10:20
jason1234a md5/sha checksum check would be far sufficient10:21
jason1234the gnu people like to re-invent something to make it impossible to use and surely worse. best example: systemd10:22
furrymcgeesources.list?10:26
furrymcgeetry [trusted=yes]10:26
jason1234ok ; put devuan arm64 on pendrive, ... the gpg does not work by default.  apt-get install debootstrap ;  PKG='wpasupplicant,netbase,ssh,login,passwd,less' ; debootstrap    --no-check-gpg  --include=$PKG  jessie  .            http://archive.devuan.org/merged10:27
jason1234furrymcgee: a fork of apt-get, that becomes unfunctional, would be best10:27
furrymcgeeare you asking me to do this?10:28
jason1234no no10:29
jason1234i did a little one for slackware10:29
jason1234isnt devuan on pi slower than raspios/raspbian?10:33
jason1234the debootstrap takes ages and eternity to compile. likely the kernel, no idea10:34
jason1234*complete.10:34
jason1234after debootstrap on pi, there is no eth0 by default, anyhow. but it is so slow. is there a better kernel and modules?11:12
Soltisgnarface: Sound works; apparently one of the Realtek codecs/chips that wasn't enabled was required.11:28
ShorTiejason1234, i use the foundation kernel and things with a raspi-list11:34
jason1234ShorTie: to recompile kernel pi on devuan would take centuries. Isnt possible to take the kernel 5.x of raspios and to use it on devuan? devuan is way to slow to be useable on a raspberry pi11:36
ShorTiei don't compile it11:38
ShorTiei use this  https://dpaste.org/dQFu11:39
ShorTieto get the foundations kernel and stuff11:39
SoltisSo my other issue - if anyone else around has any bright ideas - is that after closing/opening the lid to this laptop (Dell xps 9310) the mouse becomes confined to a small area in the middle of the screen and it ignores keyboard inputs. (The system is not hard locked, though; I can kill/restart X by toggling to another terminal)12:04
WeeezySoltis, are you telling your laptop to sleep when you close the lid? Is your problem happening on battery and on power?12:28
SoltisWeeezy: 'When laptop lid is closed: lock screen' is selected for both line and battery; is happening in both cases I believe, *definitely* happening when plugged in.12:34
SoltisI also set all the 'HandleLidSwitch' settings to 'ignore' in logind.conf12:35
gnarfaceSoltis: how'd you enable the missing codec?  in the kernel build?  or did you just have to load a module that didn't auto-load right or what?12:38
Soltisgnarface: I decided 'wth, might as well' and enabled every single Intel/Realtek item in the audio menu tree. One of them worked apparently.12:40
Soltisgnarface: So kernel rebuild12:40
Soltis(More specifically I enabled them all as modules; I'm not _that_ crazy)12:40
SoltisBut holy god this config is ***huge*** compared to what I'm used to. So. many. devices.12:41
SoltisI used to go through every single item in `make menuconfig` every time I did a kernel build ... that would take *so long* now.12:41
gnarfaceyea i can't do it in one sitting anymore12:42
SoltisUgh me either. I'd pay - actually pay - for a tool that sniffed the hw and only enabled *possible* matches plus some blanket stuff for like USB storage devices and other "you never know if you'll need it" stuff.12:43
gnarfaceis that a rebuild of 5.10 or is it 5.13?12:43
Soltis5.1312:43
Soltis... and I can count on one hand the amount of sw I've paid for12:44
Soltis(Excepting games ...)12:44
darkeyeOhaio menasan,13:04
darkeyeoganki13:04
jason1234is there devuan for arch: armhf?14:36
buZzyep14:42
buZzhttps://arm-files.devuan.org/14:43
jason1234https://arm-files.devuan.org/devuan_beowulf_3.1.0_arm64_rpi3.img.zip  might be armhf right?14:49
jason1234it didnt know about this webpage...14:49
jason1234brlx: servus!14:50
fsmithredjason1234, https://dev1galaxy.org/viewforum.php?id=2414:52
buZzjason1234: maybe read before you type14:57
buZzarm64 is not armhf , -clearly-14:57
buZz;)14:58
jason1234well, armhf is for rpi3b+, not arm64/aarch64. retropie and debian use the armhf for the rpi3b+15:01
buZzjason1234: rpi3 is arm6415:07
buZzmany arm64 boards can -also- execute armhf15:07
buZzjason1234: just read the freaking filenames15:07
buZzhttps://arm-files.devuan.org/devuan_beowulf_3.1.0_arm64_rpi3.img.zip15:08
jason1234ok thanks, I will download, https://arm-files.devuan.org/devuan_beowulf_3.1.0_armhf_rpi2.img.zip, and take the raspbian kernel/modules, with debootstrap of devuan.15:51
gourhello, i'm on debian/sid and would like to move to devuan/ceres and wonder which init system is brighter future in devuan: runit or openrc?16:35
fsmithredgour, maybe runit. There is some activity around that now.16:39
fsmithredhttps://dev1galaxy.org/viewtopic.php?id=371616:40
fsmithredmaybe S6 in the future, too16:40
brocashelmgour: i'm on ceres and use runit. no problems here. it still uses sysvinit scripts in part, though16:42
brocashelma friend of mine maintains s6 for artix. he would be pleased if devuan would support it16:42
jason1234openrc is classic, still working nad proved to be reliable17:19
golinuxbrocashelm: Someone at dyne was working on a version of s6 but hasn't been seen in some time.17:23
golinuxhttps://danyspin97.org/blog/tt-development-update-1/17:24
golinuxHe used to come to Devuan meets17:25
jason1234you mean online or at debian-conf (or devuan-confs)?17:26
golinux Laurent Bercot gave a presentation17:29
golinuxat the 2018 Devuan Conference17:29
golinuxabout s617:30
golinuxhttps://www.youtube.com/watch?v=I7qE43KK5bY&t=7622s17:31
jason1234he has a github or gitlab with source code?17:36
golinuxsearch for skarnet17:40
golinuxThere is a mail list17:40
golinux(sorry just waking up so a little fuzzy)17:41
plasma41TIL about the pstree command. Neat.18:29
Soltisplasma41: `top` is pretty neat, too if you haven't used it.19:19
onefangtop -c19:19
Soltisonefang: I prefer to toggle it with 'c' inside the program, sort by memory (f<down>sq), set update rate to half a second, and then save those settings with W so it's always how I like it.19:23
gilbertoHi there. Is there any kde plasma 5.22.3 'till now in Devuan??19:23
gilbertoMaybe this repo could work? https://download.opensuse.org/repositories/home:/npreining:/debian-kde:/plasma522/Debian_Unstable/amd64/19:24
brocashelmwhich version of devuan are you using? ascii, beowulf, chimaera, ceres?19:29
gilbertochimaera. Is ceres already released?19:29
brocashelmno, ceres is unstable (same as sid)19:30
gilbertoActually I just install Devuan today. First time whit this distro. I know others like [K]Ubuntu, Void Linux etc19:30
brocashelmchimaera is the current testing branch; it will be released after bullseye is released19:31
brocashelmif you need newer packages, ceres (unstable) will continuously get updates (never frozen, unlike any testing branch)19:31
brocashelmand ceres and chimaera are pretty close to each other right now. just one or two kernel updates away (from chimaera to ceres)19:32
gilbertoNice to hear about that. So just change sources.list and I ready to go, right?19:33
brocashelmyes, you just have to change your sources.list and run apt update, apt dist-upgrade, apt upgrade, and reboot (if all is successful)19:33
gilbertoOh! Ok... The normal stuff! Thanks a lot.19:34
brocashelmsince chimaera is still frozen at the moment, you might get a ton of updates, but it's not that bad19:34
gilbertoNice... Something to play around this weekend... Thanks19:34
brocashelmnp. i can certainly help you with getting your ceres up and running as i have no problems with stability whatsoever using it19:35
brocashelmbtw, don't forget to install apt-listchanges and apt-listbugs19:35
brocashelmso that you can review changes to packages before upgrading (if a known bug is found, you can still abort the upgrade or pin that particular version of the package so that you don't install that one)19:35
gilbertoWell.. I just change the sources.list and get this E: The repository 'http://pkgmaster.devuan.org/merged ceres-security Release' does not have a Release file.19:35
gilbertoDono if need something else19:36
brocashelmtry this: deb http://deb.devuan.org/merged ceres main non-free contrib19:36
gilbertogotcha19:36
brocashelmkeep in mind you only need one line for ceres19:36
brocashelmall the security and other updates are included :)19:36
gilbertoCool.19:37
fsmithredyou only need one line for chimaera right now, but a -security line probably won't fail19:38
gilberto80 packages to be upgrade19:38
gilbertoTime to reboot... Thanks for your help.19:39
brocashelm:)19:39
gourfsmithred: thanks. i'm also leaning towards it...spent some time with voidlinux in the past and runit was/is very simple & fast19:40
gourbrocashelm: good. hopefully moe scripts will be provded in due course of time19:41
jason1234I prefer the way does slackware with the repository. it is readily working and easy to mirror. pkgs using apt-get is just pain.19:41
brocashelmyeah, i agree19:41
brocashelmgour: i ONLY run ceres on all my devuan machines. it's very stable and you just have to pay attention to what apt/aptitude tells you19:42
jason1234They are smart, they just use a PACKAGE.TXT and nothing else, the rest is cross linking. they use C to make it work19:42
gourbrocashelm: yeah, i plan to do the same...sid is also always very stable for me19:43
jason1234openbsd uses perl for their packages, which is ultra slow and ultra unreliable. Why not Java ?`lol19:43
brocashelmgour: even deb-multimedia.org and oibaf's graphics-drivers repositories work perfectly as i get them packaged straight from git (daily)19:43
gourprobably no need for those repos, but good to know19:43
* Xenguy installs apt-listbugs ...19:59
Xenguyplasma41, I think fsmithred put me on to pstree.  Handy20:00
Xenguybrocashelm, Does apt-listbugs get invoked automatically, or does it need to be run manually before upgrades or whatever?20:00
gourlistbugs & listchanges are automatcially invoked, iirc20:03
XenguyGood, that's the easiest way for Joe User20:04
onefangThey will even use your PAGER.20:04
Xenguyhrm,20:05
onefangOr a graphic window if using a GUI like synaptic.20:05
Xenguy$ echo $PAGER20:05
Xenguy20:05
XenguyLooks like it's not set here20:05
onefangless might be the default.20:05
XenguyI think so, which is perfect20:06
brocashelmyes, they are automatically by default20:13
brocashelmless is what is used for apt-listchanges, true20:14
XenguyI had listchanges but not listbugs20:29
XenguyI'm running beowulf, but still nice to have installed anyway20:29
brocashelmyeah, you get the option to dodge upgrades with apt pinning if any package's bug report forewarns you. i had it happening only a handful of times so far. the most significant one was dh-strip-nondeterminism (the upgrade process would never complete, and i got stuck on that). see this bug report from upstream: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=98189520:33

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