Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No "Start Live Stream" option and cannot install module snd-aloop #133

Closed
tansaku opened this issue Jun 28, 2018 · 17 comments
Closed

No "Start Live Stream" option and cannot install module snd-aloop #133

tansaku opened this issue Jun 28, 2018 · 17 comments

Comments

@tansaku
Copy link

tansaku commented Jun 28, 2018

I've followed the install instructions https://github.com/jitsi/jibri#installing-jibri on xenial:

sam@AVJitsyServer:~$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 16.04.4 LTS
Release:	16.04
Codename:	xenial

and I have two problems:

  1. the "Start Live Stream" option does not show up
  2. I was unable to install the snd-aloop module

I was hoping that adding the following to the jitsi config:

    // Recording

    // Whether to enable recording or not.
    enableRecording: true,

    // Type for recording: one of jibri or jirecon.
    recordingType: 'jibri',

    // Misc
    hiddenDomain: 'recorder.www.jitsi.agileventures.org',

would at least allow me to see the "Start Live Stream" button in our jitsi's but not so far ...

Other changes to the config file such as disabling screenshare have an immediate effect when the jitsi interface is reloaded, but not enableRecording ...

I did ultimately manage to complete every other part of the jibri set up with the exception of installing the snd-aloop module:

sam@AVJitsyServer:~$ sudo apt-get install linux-image-extra-virtual
... successful install
sam@AVJitsyServer:~$ modprobe snd-aloop
modprobe: FATAL: Module snd-aloop not found in directory /lib/modules/4.13.0-1011-azure

I found a post that suggested installing linux-generic, but that didn't help either:

sam@AVJitsyServer:~$ sudo apt install linux-generic
... successful install
sam@AVJitsyServer:~$ modinfo snd-aloop
modinfo: ERROR: Module snd-aloop not found.

I also reviewed the community mailing lists, but while I found lots of posts on problems setting up jibri. e.g. https://community.jitsi.org/t/jitsi-users-jibri/13827/5, I didn't find any for these two particular ones of the "start live stream" button not showing up at all, and the inability to install snd-aloop.

Here's our current jibri config:

https://gist.github.com/tansaku/7630dfc7bbcdd38da5dd498a52c76b9d

Here's a tail of the latest jibri logs:

https://gist.github.com/tansaku/90a8884b88160c30f0fe9ce29c9e98b8

I'm very happy to provide other logs and configs if that will help.
Many thanks in advance

@bbaldino
Copy link
Member

bbaldino commented Jun 29, 2018

The Jibri readme is out of date unfortunately (I just created a PR here to update it). You can check the updated instructions there.

As for the snd-aloop issue, @aaronkvanmeerten might have some ideas. Perhaps on your version it's in another package? I see some reference to it being in linux-image-extra?

@aaronkvanmeerten
Copy link
Member

For many kernels, the snd-aloop is in the -extra package, like: linux-image-extra-virtual

@bbaldino
Copy link
Member

For many kernels, the snd-aloop is in the -extra package, like: linux-image-extra-virtual

@aaronkvanmeerten it looks like this is the one he tried. maybe it's the location it's searching for the modules? /lib/modules/4.13.0-1011-azure seems surprising.

@aaronkvanmeerten
Copy link
Member

Yes it may be that if he's still on the azure kernel that it hasn't switched to generic yet. It may be necessary to remove the old kernel and reboot in order for ubuntu to switch over to the generic kernel

Here's the output of a kernel of a recent jibri in service for meet.jit.si
$ uname -a
Linux all-jibri-12266.jibri.jitsi.net 4.4.0-128-generic #154-Ubuntu SMP Fri May 25 14:15:18 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

@sesangsokuro
Copy link

Linux jitsi.webzook.net 4.4.0-128-generic #154-Ubuntu SMP Fri May 25 14:15:18 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
but in /lib/modules/, only 4.4.0-131-generic

how to handle it?

@kevin-og
Copy link

@sesangsokuro works under 4.4.0-116

@mrmookie
Copy link

mrmookie commented Apr 1, 2020

I'm using Google Cloud instance.. Ubuntu 18.04.. the package needed for snd_aloop is 'linux-modules-extra-gcp'

@frankodoom
Copy link

@tansaku did you solve this i have the same problem using an Azure VM

@mrmookie
Copy link

That would probably be the package: linux-modules-extra-azure

@frankodoom
Copy link

frankodoom commented Apr 11, 2020

I fixed this removed the azure ubuntu conical special kernel and loaded a more compatible kernel via grub. works. now :-)

@Soumojit28
Copy link

I fixed this removed the azure ubuntu conical special kernel and loaded a more compatible kernel via grub. works. now :-)

can you tell me the instructions to do that?

@frankodoom
Copy link

I fixed this removed the azure ubuntu conical special kernel and loaded a more compatible kernel via grub. works. now :-)

can you tell me the instructions to do that?

https://www.neowin.net/news/canonical--microsoft-make-azure-tailored-linux-kernel/

Delete the kernel and in grub switch, to the new kernel you want to load
https://unix.stackexchange.com/questions/198003/set-default-kernel-in-grub

@ketman-io
Copy link

I'm using Google Cloud instance.. Ubuntu 18.04.. the package needed for snd_aloop is 'linux-modules-extra-gcp'

Thank you! This killed a lot of my time until I came across your post. thanks

@kavirajan2
Copy link

Jibri on AWS and getting the below issue.

org.jitsi.jibri.capture.ffmpeg.FfmpegCapturer.onFfmpegProcessUpdate() Ffmpeg quit abruptly. Last output line: plug:bsnoop: Input/output error

Solution: changing and updating the kernel boot settings from Linux 4.4.0-xxxx-aws to Linux 4.4.0-xxxx-generic and restarting the instance.

I have fixed by the following steps:

$ grep -A200 submenu /boot/grub/grub.cfg |grep menuentry

Output:

submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-e6dc6474-8016-46c6-8ab0-0a871bae4cd1' {
	menuentry 'Ubuntu, with Linux 4.4.0-1107-aws' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-1107-aws-advanced-e6dc6474-8016-46c6-8ab0-0a871bae4cd1' {
	menuentry 'Ubuntu, with Linux 4.4.0-1107-aws (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-1107-aws-recovery-e6dc6474-8016-46c6-8ab0-0a871bae4cd1' {
	menuentry 'Ubuntu, with Linux 4.4.0-1106-aws' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-1106-aws-advanced-e6dc6474-8016-46c6-8ab0-0a871bae4cd1' {
	menuentry 'Ubuntu, with Linux 4.4.0-1106-aws (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-1106-aws-recovery-e6dc6474-8016-46c6-8ab0-0a871bae4cd1' {
	menuentry 'Ubuntu, with Linux 4.4.0-1105-aws' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-1105-aws-advanced-e6dc6474-8016-46c6-8ab0-0a871bae4cd1' {
	menuentry 'Ubuntu, with Linux 4.4.0-1105-aws (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-1105-aws-recovery-e6dc6474-8016-46c6-8ab0-0a871bae4cd1' {
	menuentry 'Ubuntu, with Linux 4.4.0-179-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-179-generic-advanced-e6dc6474-8016-46c6-8ab0-0a871bae4cd1' {
	menuentry 'Ubuntu, with Linux 4.4.0-179-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-179-generic-recovery-e6dc6474-8016-46c6-8ab0-0a871bae4cd1' {

menu entry id for Advanced options for Ubuntu is gnulinux-advanced-e6dc6474-8016-46c6-8ab0-0a871bae4cd1
menu entry for Ubuntu, with Linux 4.4.0-179-generic is gnulinux-4.4.0-179-generic-advanced-e6dc6474-8016-46c6-8ab0-0a871bae4cd1

Edit Grub and replace GRUB_DEFAULT with above value

$ nano /etc/default/grub

GRUB_DEFAULT="gnulinux-advanced-e6dc6474-8016-46c6-8ab0-0a871bae4cd1>gnulinux-4.4.0-179-generic-advanced-e6dc6474-8016-46c6-8ab0-0a871bae4cd1"
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="console=tty1 console=ttyS0"
GRUB_CMDLINE_LINUX=""

Update and Reboot

$ sudo update-grub
$ sudo reboot

After reboot you can test it with uname -a which should give 4.4.0-179-generic

$ uname -a

Linux 4.4.0-179-generic

After this modprobe snd-aloop should work fine.

@lokeshdwivedi
Copy link

Its also work for azure ubuntu 18 thanks

@dimasanwaraziz
Copy link

dimasanwaraziz commented Aug 19, 2020

I'm using Google Cloud instance.. Ubuntu 18.04.. the package needed for snd_aloop is 'linux-modules-extra-gcp'

Thank's, it's work for me on Ubuntu 20.04 GCP

@TsaiRongFu
Copy link

TsaiRongFu commented Nov 29, 2023

我正在使用 Google Cloud 實例.. Ubuntu 18.04.. snd_aloop 所需的軟體包是 ' linux-modules-extra-gcp '

This answer greatly helped solve my problem.

@saghul saghul closed this as completed Nov 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests