Wafficus | Hi there, question about audio permissions for Devuan for use on Jitsi in Firefox | 04:28 |
---|---|---|
Wafficus | I'm able to get my video work just fine | 04:28 |
Wafficus | but the Settings > Microphone > says Permission not granted | 04:28 |
Wafficus | is this something that needs to be granted by Devuan to be used in Firefox, or is this purely a Firefox issue? In Firefox, I allowed the "meet.example.com" as the site to be able to access my microphone | 04:29 |
Wafficus | (NOTE: example.com is just used as an example) | 04:29 |
mason | Wafficus: Make sure you're in the right groups. | 04:29 |
mason | Wafficus: Also, how to go about it depends on whether you're using ALSA or layering PulseAudio atop ALSA. | 04:29 |
Wafficus | I'm using alsa currently | 04:30 |
mason | Wafficus: https://test.webrtc.org/ is a good site for testing. | 04:30 |
Wafficus | ok i'll try that | 04:30 |
Wafficus | yeah same problem | 04:30 |
Wafficus | microphone is in red | 04:30 |
Wafficus | under audio source, there's no drop down | 04:32 |
Wafficus | maybe my laptop doesn't have an internal mic | 04:32 |
Wafficus | and I'm being an idiot or something | 04:32 |
mason | Hrm. It probably does. So, Firefox is problematic for videochat for me, with just ALSA. Plays audio fine. I've been using Chrome and/or Chromium for videochat lately, and Firefox for everything else. | 04:33 |
gnarface | Wafficus: no pulseaudio? open alsamixer, then hit the TAB key once | 04:33 |
Wafficus | ok I hit tab once | 04:33 |
Wafficus | I'm on the "HDA Intel PCH" card | 04:33 |
Wafficus | Mic Boost is at 100 | 04:33 |
Wafficus | Caputre at 1 | 04:34 |
gnarface | Wafficus: ok, that's the right card and you're now on the capture tab, right? | 04:34 |
gnarface | Wafficus: capture panel | 04:34 |
Wafficus | yes | 04:34 |
Wafficus | on the capture panel | 04:34 |
gnarface | Wafficus: ok, left and right arrows to highlight the input you want to use, hit the space bar so it highlights in red saying CAPTURED or whatever | 04:34 |
Wafficus | yep I'm on that "Capture" section within the Capture tab | 04:35 |
gnarface | so, make sure the corresponding "Input source" # to the "Capture" # is set to the right physical input with up and down arrow keys | 04:35 |
gnarface | and make sure the right capture # is selected with the space bar | 04:36 |
gnarface | andset the volume | 04:36 |
gnarface | *and set the volume | 04:36 |
Wafficus | hmm | 04:36 |
gnarface | that's how mine works anyway, ymmv | 04:36 |
Wafficus | I only have five options | 04:36 |
gnarface | go along each of them and hit the space bar | 04:36 |
Wafficus | Mic Boost, Capture, Digital, Dock Mic Boost, Internal Mic Boost | 04:37 |
gnarface | do you see any red words appear and disappear on any of them? | 04:37 |
gnarface | when you hit the space bar while they're highlighted with the cursor | 04:37 |
gnarface | your user will also have to be in the "audio" group | 04:37 |
Wafficus | when I hit space on "Caputre" | 04:37 |
Wafficus | it changes to "L R" | 04:37 |
gnarface | so L and R appear in red, but the word CAPTURE doesn't also appear between them and a little lower? | 04:38 |
Wafficus | yeah it does that sorry | 04:38 |
Wafficus | that's correct | 04:38 |
gnarface | ok | 04:38 |
gnarface | kbut you don't also have Capture 1, Capture 2, etc? | 04:38 |
gnarface | just Capture and Digital? | 04:38 |
Wafficus | no just L R Capture | 04:39 |
Wafficus | yeah | 04:39 |
Wafficus | just Capture and Digital | 04:39 |
gnarface | and no Input Source? | 04:39 |
gnarface | a sane range for digital for me has been 19-24, but ymmv | 04:39 |
Wafficus | ok yeah | 04:39 |
gnarface | it's separate from the others, which are all analogue here for me | 04:39 |
Wafficus | Mic Boost: 100, Capture: 50, Digital: 24, Dock Mic Boost: 0, Internal Mic Boost: 0 | 04:40 |
gnarface | the analogue ones can be 80-100%, with 0-50% mic boost depending on program | 04:40 |
gnarface | hmm, no put Capture at 100 | 04:40 |
gnarface | then turn Mic Boost to 0 | 04:40 |
gnarface | start with that | 04:40 |
Wafficus | ok cool | 04:40 |
Wafficus | i'm wondering if its an audio group thing thugh | 04:40 |
Wafficus | since Firefox doesn't even give me the permission to allow it or whatever | 04:41 |
mason | Wafficus: is your user part of group audio? | 04:41 |
gnarface | Wafficus: after you add yourself to the audio group, you'll have to completely log out | 04:42 |
gnarface | Wafficus: from all terminals | 04:42 |
gnarface | Wafficus: and the window manager/desktop | 04:42 |
golinux | I could never get jitsi to work with Firefox | 04:42 |
Wafficus | sam@samdevuan ~ $ groups sam | 04:42 |
Wafficus | sam : sam dialout cdrom floppy sudo audio dip video plugdev netdev bluetooth lpadmin scanner debian-transmission | 04:42 |
mason | It worked for me with PulseAudio, but Firefox is not ideal nowadays. | 04:42 |
Wafficus | yeah I'm in the audio group | 04:42 |
golinux | The only browser that will work for me now is Vivaldi | 04:43 |
gnarface | Wafficus: make sure you're actually looking at the right soundcard though, if it is onboard and you know that is the only one, Intel HDA is a very likely and common one, but if you have multiple cards and you're not sure, then all bets are off | 04:43 |
gnarface | Wafficus: and on mine, each "Capture" also has a corresponding "Input Source" that needs to be toggled between stuff like "Rear Mic" "Front Mic" "Line-in" | 04:44 |
Wafficus | yeah its just one on board one | 04:44 |
Wafficus | the other one is "HDA Intel HDMI" which doesn't allow me to change the SPDIF options anyway | 04:45 |
Wafficus | its gotta be the "0 HDA Intel PCH" one | 04:45 |
gnarface | Wafficus: the HDMI one is alsmost certainly output-only anyway, even if you could find a HDMI mic | 04:45 |
gnarface | Wafficus: on a laptop, labels like front mic/rear mic might not be accurate | 04:46 |
gnarface | Wafficus: i notice you have 3 separate mic boosts but only one capture volume... seems like something is weird there... | 04:47 |
gnarface | i wouldn't be very surprised if they dont' do what they say | 04:48 |
gnarface | be wary of them | 04:48 |
mason | Hm, I thought I had more luck with Firefox, but I'm evidently misremembering. | 04:48 |
mason | Since I dropped PulseAudio, though, Chromium works nicely. | 04:48 |
Wafficus | looks like this might be a Firefox issue after all unfortunately | 04:48 |
Wafficus | https://github.com/jitsi/jitsi-meet/issues/4758 | 04:48 |
Wafficus | kinda sucks in some regard | 04:49 |
mason | Wafficus: Can you try Chromium for the one function, and keep using Firefox otherwise? | 04:49 |
gnarface | Wafficus: a simple mic test you can do if you have no alsa config customizations that should always work if the driver is working is this: arecord |aplay | 04:49 |
gnarface | Wafficus: the driver might be only mostly working and fail at that one thing though, not very uncommon | 04:50 |
mason | Anyway, off to read before bed. o/ | 04:50 |
gnarface | Wafficus: on yours, try this to force high quality if it doesn't default to it: arecord -f dat |aplay | 04:50 |
Wafficus | latest Firefox related bug page too https://bugzilla.mozilla.org/show_bug.cgi?id=1468700 | 04:51 |
Wafficus | ehh | 04:51 |
Wafficus | I ain't putting Chromium on this dear to my heart Linux box | 04:51 |
Wafficus | but maybe on my work computer with Windoze | 04:51 |
Wafficus | I can try it with Chrome | 04:51 |
gnarface | Wafficus: (it should start recording and playing what it's recording directly, but it will also print out the format and sample rate and channel count, should be: Signed 16 bit Little Endian, Rate 48000 Hz, Stereo)) | 04:51 |
Wafficus | guaranteed, it'll probably work sadly enough | 04:51 |
Wafficus | I tried doing arecord | aplay | 04:52 |
Wafficus | it was recording a wave... but I didn't hear it | 04:52 |
Wafficus | or couldn't stop it | 04:52 |
Wafficus | sam@samdevuan ~ $ arecord | aplay | 04:53 |
Wafficus | Recording WAVE 'stdin' : Unsigned 8 bit, Rate 8000 Hz, Mono | 04:53 |
Wafficus | Playing WAVE 'stdin' : Unsigned 8 bit, Rate 8000 Hz, Mono | 04:53 |
Wafficus | ^CAborted by signal Interrupt... | 04:53 |
Wafficus | Aborted by signal Interrupt... | 04:53 |
Wafficus | arecord: pcm_read:2145: aplay: pcm_write:2053: read error: Interrupted system call | 04:53 |
Wafficus | write error: Interrupted system call | 04:53 |
gnarface | Wafficus: that's normal if you ctrl+c it, and you can only really ctrl+c it or kill -TERM it | 05:01 |
gnarface | Wafficus: try this one now, make sure it's still silent: arecord -f dat | aplay | 05:01 |
gnarface | Wafficus: you get audio output normally, right? or have you never tested output either before? | 05:02 |
gnarface | Wafficus: it's defaulting to lowest quality, so you have to specify -f dat | 05:03 |
Wafficus | i don't know what I'm looking for though | 05:03 |
Wafficus | I ran that arecord -f dat | aplay command though | 05:03 |
gnarface | Wafficus: still no sound? | 05:03 |
gnarface | Wafficus: mono doesn't actually work for me, but stereo through 8 channels do | 05:04 |
gnarface | Wafficus: -f dat will specify stereo and 48000 Hz | 05:05 |
Wafficus | sam@samdevuan ~ $ arecord -f dat | aplay | 05:05 |
Wafficus | Recording WAVE 'stdin' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo | 05:05 |
Wafficus | Playing WAVE 'stdin' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo | 05:05 |
Wafficus | ^CAborted by signal Interrupt... | 05:05 |
gnarface | yea, that's right | 05:05 |
Wafficus | I didn't hear anything | 05:05 |
gnarface | hmm, so what about this, just as a sanity check: speaker-test -c 2 | 05:06 |
gnarface | work, or no? | 05:06 |
Wafficus | yep that works | 05:07 |
Wafficus | front left and front right work | 05:07 |
gnarface | you left the volume up and the Capture selected with "L CAPTURE R" showing in alsamixer, right? | 05:07 |
gnarface | Capture should be at 100% | 05:08 |
gnarface | and selected | 05:08 |
Wafficus | yeah | 05:08 |
Wafficus | that is correct | 05:08 |
gnarface | one or more of those suspicious boost volumes might also be actually a mic volume, might have to be set to a number higher than 0 too | 05:09 |
gnarface | but it really looks like you're missing an input selector | 05:09 |
gnarface | what kernel version are you using? what does "uname -a" say? | 05:09 |
Wafficus | Linux samdevuan 4.19.0-10-amd64 #1 SMP Debian 4.19.132-1 (2020-07-24) x86_64 GNU/Linux | 05:10 |
gnarface | i'm wondering if the driver isn't completely recognizing the hardware, if it's newish hardware it might be worth trying the backports kernel | 05:10 |
gnarface | anyway, yea, try raising those boost volumes too and run the "arecord -f dat | aplay" test again | 05:11 |
Wafficus | nice | 05:11 |
Wafficus | I can hear the mic in the laptop with that command | 05:11 |
gnarface | if that doesn't work, try the backports kernel | 05:11 |
gnarface | oh, so it is one of those 3 boost volumes? | 05:12 |
gnarface | it might be all that's wrong is that it's just mislabeled, but often there's more to it than that | 05:12 |
Wafficus | now, how do we force it to get it to work with Firefox, idk | 05:12 |
gnarface | it should be the default | 05:13 |
gnarface | really | 05:13 |
Wafficus | idk | 05:13 |
Wafficus | I just did your suggestions earlier | 05:13 |
Wafficus | didn't change the other boost section | 05:13 |
Wafficus | just kept the capture section like you mentioned | 05:13 |
gnarface | wait so what changed that made it work? | 05:13 |
Wafficus | idk | 05:14 |
Wafficus | but it worked in your command | 05:14 |
* gnarface facepalms | 05:14 | |
Wafficus | on Jitsi | 05:14 |
Wafficus | no it doesn't work | 05:14 |
Wafficus | on my jitsi instance it still doesn't allow me to allow access to the microphone | 05:15 |
gnarface | conclusively a problem with it then | 05:15 |
gnarface | your alsa is working fine, confirmed | 05:15 |
gnarface | the user running it will also have to be in the "audio" group of course... | 05:15 |
gnarface | i'm not familiar with jitsi but if there are any other users, even system users involved in this, they'll also need to be in the audio group | 05:16 |
Wafficus | yeah I'm in the right audio group | 05:16 |
Wafficus | that's what kinda sucks | 05:16 |
Wafficus | the "Permission not granted" thing sucks though | 05:16 |
Wafficus | idk why I can't just allow Firefox to give it access | 05:16 |
gnarface | is jitsi some sort of container? | 05:16 |
gnarface | i thought it was a internationalization library of some sort | 05:17 |
Wafficus | its a web app from what I understand it | 05:17 |
Wafficus | *understand | 05:17 |
gnarface | hmmm | 05:17 |
gnarface | well it is possible then that they've done something that only works in windows | 05:17 |
gnarface | i don't know enough about jitsi to be sure | 05:17 |
gnarface | though firefox might have a setting for mic access to plugins and web pages | 05:18 |
gnarface | under privacy maybe | 05:18 |
gnarface | (depending on version) | 05:18 |
gnarface | i have one thing you could test but it might not be worth it | 05:20 |
gnarface | Wafficus: someone made this ~/.asoundrc for me: https://paste.debian.net/1165830/ | 05:20 |
gnarface | Wafficus: if you load the snd-aloop module, and put that in your ~/.asoundrc, then firefox should get anything you send to the "Loopback" alsa device | 05:21 |
gnarface | Wafficus: so like for example, arecord -f dat |aplay -D Loopback | 05:22 |
gnarface | Wafficus: (i've been hacking at this crap for a while to get some games and the Steam Link working without pulseaudio) | 05:22 |
Wafficus | gotcha | 05:24 |
gnarface | Wafficus: (some stuff is extraordinarily misbehaved and that hack has helped) | 05:24 |
Wafficus | I'll check out that .asoundrc one sec | 05:24 |
gnarface | Wafficus: (never tried it with firefox or jitsi) | 05:24 |
Wafficus | I'll put that in my utilities folder and just cp it to ~ with a test | 05:24 |
gnarface | gonna have to go afk momentarily, but i'll be back later | 05:25 |
Wafficus | ok thanks | 05:25 |
Wafficus | dude on Jitsi's IRC channel basically told me that the microphone basically just needs to work in the Mozilla Firefox ESR release for it to work | 06:11 |
Wafficus | funny thing is I was able to allow microphone to work in latest Firefox release, (NOT ESR) but I think even that's dependent upon pulseaudio | 06:12 |
Xenguy | That's what I heard awhile ago, is that Pulseaudio would be a requirement of FF, going forward | 06:17 |
gnarface | it hasn't been required still for firefox-esr in ceres anyway | 06:31 |
gnarface | it was briefly, then debian retracted it i think | 06:31 |
gnarface | i don't think regular firefox needs it either still, but ymmv i guess | 06:31 |
gnarface | i have only tested output in firefox anyway, not input | 06:31 |
gnarface | but that might just be a debian fix to the build, the default upstream builds may be different | 06:33 |
rwp | A workaround for firefox using pulseaudio only is to install and use it with "apulse". Works for me. | 06:35 |
gnarface | when that was happening, i did use apulse successfully for output with firefox, but i couldn't get it working for input with anything | 06:35 |
rwp | Hmm.... I don't think I have used it for input either. Just output. Sorry. | 06:36 |
Wafficus | apulse huh | 06:42 |
Wafficus | gotcha | 06:42 |
Wafficus | yeah thats what the Jitsi guy said | 06:43 |
Wafficus | basically Firefox will need Pulse going forward | 06:43 |
Wafficus | hence when I'm forced to | 06:43 |
Wafficus | I'll change to a webkit browser then | 06:43 |
Wafficus | cause i'm not a fan of Chromium | 06:43 |
rwp | JFTR apulse is here https://github.com/i-rinat/apulse | 06:43 |
rwp | Oh! I needed to pull apulse as source because at the time I was on Stretch. But apulse does appear in Beowulf/Buster and later. Glad to see that it is packaged now. | 07:10 |
Wafficus | thanks | 07:27 |
yanmaani | https://busybox.net/~vda/init_vs_runsv.html Did anyone do this in reality? It seems more minimal than sysvinit, and you could experiment more. | 21:23 |
brocashelm | right now, is ceres caught up with sid (package versions)? i'm only seeing openvpn and meson being "newer" when i check sid | 21:34 |
fsmithred | brocashelm, did you check pkgmaster? | 21:38 |
brocashelm | just now. is it that amprolla file? | 21:48 |
fsmithred | yeah, you can look at amprolla.txt, but it takes forever to load | 22:02 |
fsmithred | sometimes I add lines to sources.list to compare different repos | 22:02 |
fsmithred | but now is not one of those times | 22:02 |
brocashelm | that's what i've been doing to save some time (the sources.list method) | 22:07 |
fsmithred | you can go crazy with proper pinning | 22:08 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!