libera/#devuan/ Tuesday, 2023-08-22

golinuxLooks good.00:01
critrupdate on the jackd problem i'm having. it has nothing to do with devuan. jack just doesn't like my mobo.07:37
gnarfacecritr: you think maybe it can be traced back to a alsa driver issue?07:38
critrgnarface: i don't know, but i tried a 6.4 kernel and even that didn't work.07:40
gnarfacewhat does "speaker-test -c 2" do?07:40
gnarfacecritr: ^ (without pulseaudio or jackd or pipewire or esd or arts anything like that running)07:42
critras a non-root user it runs and gives me some hissing as it alternates between speakers.07:43
critrby the way, normal sound works fine.07:43
gnarfacejust a small sanity check, since it's possible for "normal sound" to work "fine" in several cases where the driver is still misbehaving in some way that sabotages expected behavior for some programs but not others07:45
gnarfaceto be specific, you just ran "speaker-test -c 2" and you didn't need to specify any other parameters like the "-D hw:0,0" or such?07:46
gnarface... and you don't have any custom alsa config in /etc or ~/.asoundrc right?07:46
gnarface(often, in such cases, it's possible to patch around the driver misbehavior with a small amount of alsa config customization but it's important that if you do that, it's complete)07:48
critri ran the exact command as given. i haven't modified anything sound related on this new devuan install.07:48
critri do notice that service --status-all shows "alsa-utils" with a qustion mark.07:49
gnarfaceok. just making sure. the reason i'm asking is because while it seems possible that jack could be allergic to your motherboard, the way i understand jack works means it's very likely to actually be a problem with your alsa driver, and likely to be something it's doing wrong specifically07:49
gnarface... and that would be very common if you're using the highly ubiquitous "snd-hda-intel" driver07:50
critri see. well, i'm listening carefully.07:50
gnarfacewell the speaker test command suggests its working right, but i'm guessing you need to make sure input and output works simultaneously07:51
gnarfaceand probably at the right channel-counts07:51
critri notice that alsa-mixer has three devices, two of which seem to be spdif. the third one works properly for setting levels and turning things on and off.07:52
gnarfacesnd-hda-intel covers a wide variety of barely related hardware and is supposed to auto-detect the hardware on load but often sneakly fails just partially and picks something that's not an exact fit07:52
gnarfacehmmm, are the spdif ones first in the listing order?07:53
critr1 and 2.07:53
gnarfacethose are digital outputs, it's unlikely you want to use those for this, and many things will default to whatever is the first in the list07:53
gnarfaceby "1 and 2" you mean they're the first and second? (the list actually starts at #0)07:54
gnarfacecheck with these commands both: aplay -l   arecord -l07:54
critrif i start jack with jackd -dalsa -dhw:2 it seems to run but still doesn't appear for programs that look for it. 0 and 1 refuse to work.07:55
gnarfaceok, so my first guess is you need to move #2 to #007:55
spine-o-saurushey how do i get some program to look for includes at /opt?07:56
gnarfacethen defaults may start behaving as expected if nothing else is also wrong07:56
critryes, in alsa-mixer, the two with spdif are the first and second.07:56
gnarfacespine-o-saurus: usually with a environment variable supplied at build time07:56
gnarfacespine-o-saurus: or a command-line parameter07:56
gnarfacecritr: make sure you have these packages, just to be sure: alsa-tools alsa-topology-conf alsa-ucm-conf alsa-utils07:57
gnarfacecritr: if you had all of those already, verify your audio driver for hw:2 is different from the one for the other two, and if so just pass "index=0" to the module at load time.07:58
critrok07:59
gnarfacecritr: (assuming the driver does support the "index" parameter... i'm not sure they all actually do but the snd-hda-intel one does)07:59
critrthe other two devices are the hdmi audio on my gpu and i think the audio provided by the cpu.08:00
gnarfacecritr: did you have all those alsa packages already? i'm not 100% sure that alsa-ucm-conf or alsa-topology-conf wouldn't fix this automatically08:00
critri didn't have alsa-tools08:01
spine-o-saurusoh now its building08:01
gnarfacespine-o-saurus: you found the environment variable and/or command-line flag for includes?08:02
gnarfacecritr: eh, that one might not matter as much for boot-time auto-config08:02
gnarfacecritr: not sure though08:02
critri'm installing qsynth to see if it made a difference...08:03
gnarfacecritr: a reboot might be in order after screwing with this stuff. shouldn't be necessary but might be easier08:05
critrnope, unfortunately not. however, what you siad about trying to get the mobo sound to 0 is worth looking into..08:05
gnarface(i'm not sure if you can change the device order without unloading all the modules)08:05
gnarface(so it might be easier to just set index=0 then reboot)08:05
critri installed mx to see if it would work with a 6.4 kernel, and mx lets you choose the default sound device. so i chose the mobo sound as default, and that didn't work either.08:07
critrok, how do i set index=0?08:08
critri think i see how on superuser.com...08:13
gnarfacecritr: add a file in /etc/modprobe.d/ with a name that ends with ".conf" and inside that just put this one line: options snd_hda_intel index=008:18
gnarface(assuming "snd_hda_intel" is your actual alsa driver; substitute your actual driver for that otherwise)08:19
gnarfaceyou can check if the parameter is actually supported by the module by checking the output of: /sbin/modinfo -p [module name]08:20
gnarfacethis is assuming the digital outs aren't just piggybacking on the same driver. if they are, you'll have to address this with a alsa config instead08:24
critri assume i'll have to reboot after writing this conf file?08:27
critrbbiab08:27
gnarfacecritr: for the /etc/modprobe.d/*.conf file? strictly speaking, no, but for this particular task it's easiest.08:27
gnarface...since otherwise you'd have to unload ALL the alsa modules first08:28
critrgotcha....08:28
gnarfacehmm, do you have to update ...08:28
gnarfacewait, i'm not sure you don't have to update the initramfs too...08:28
gnarfacewell i guess we'll find out08:28
spine-o-saurusthis is production, we never guess08:37
gnarfacedoes anyone remember if /etc/modprobe.d/ gets read into the initrd.img?08:42
gnarfacenot sure it would matter for sound drivers either way, but for some reason my memory says both are true08:43
gnarfacethat can't be right08:43
tom2023Hi all . I would be grateful for advice. I tried to install qemu and saw that after turning on my interface (eth0)  is turned on , how can I make sure that after each turn on qemu my interface is turned off?10:42
tom2023I checked on another distro where the interface is turned off10:42
spine-o-saurusthe OS configuration determines if the interface is on or off10:50
tom2023< spine-o-saurus> hello , that is in Devuan is included ? Well, why then does it not turn on on real hardware?10:55
spine-o-sauruswhat command did you use to lauch qemu?10:57
tom2023like this qemu-system-x86_64 -hda devuan.qcow2 -m 2048 -smp 2 -enable11:00
tom2023like this qemu-system-x86_64 -hda devuan.qcow2 -m 2048 -smp 2 -enable-kvm11:00
spine-o-saurus-netdev script=no Use the network script file to configure it and  the11:05
spine-o-saurus              network  script  dfile to deconfigure it. If name is11:05
spine-o-saurus              not provided, the OS automatically provides one. The11:05
spine-o-saurus              default network configure script  is  /etc/qemu-ifup              and   the  default  network  deconfigure  script  is              /etc/qemu-ifdown. Use script=no or downscript=no  to             disable script execution11:05
tom2024like this qemu-system-x86_64 -hda devuan.qcow2 -m 2048 -smp 2 -enable-kvm11:12
tom2024sorry left the chat by accident11:12
gnarfacetom2024: you were pasted a section from the man page about the "-netdev" command-line option11:15
gnarfacei'm not gonna paste it, it should be easy to find11:16
onefangBut then tom2024 left the chat by accident seven seconds later, probably didn't get a chance to read that.11:16
onefangHe's not having much luck with his chat connection.11:17
onefangAnd I'm about to eat dinner soon.11:17
gnarfacei think that paste may be partially mangled...11:17
leafwizHey, I'm trying to upgrade my testing install to excalibur. But my kernel install fails. https://pastebin.com/zpeh6U0x - "dkms autoinstall on 6.4.0-2-amd64/x86_64 failed for rtl88x2bu(10)"21:23
leafwizAnyone know what I can do to repair this?21:24
rwpleafwiz, Your build for that module failed.  The failure should be logged here: /var/lib/dkms/rtl88x2bu/5.13.1/build/make.log22:52
rwpWhat does it say the problem is there?22:52

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