Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1042766 > unrolled thread

Bug#123150: bb audio still causes video to stop

Started byAndrej Shadura <andrewsh@debian.org>
First post2021-01-16 16:00 +0100
Last post2021-01-17 01:30 +0100
Articles 8 — 4 participants

Back to article view | Back to linux.debian.bugs.dist

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Bug#123150: bb audio still causes video to stop Andrej Shadura <andrewsh@debian.org> - 2021-01-16 16:00 +0100
    Bug#123150: bb audio still causes video to stop iff pulseaudio is installed Axel Beckert <abe@debian.org> - 2021-01-16 16:50 +0100
      Bug#123150: bb audio still causes video to stop iff pulseaudio is installed Patrice Duroux <patrice.duroux@gmail.com> - 2021-01-16 19:00 +0100
        Bug#123150: bb audio still causes video to stop iff pulseaudio is installed Axel Beckert <abe@debian.org> - 2021-01-16 19:10 +0100
          Bug#123150: bb audio still causes video to stop iff pulseaudio is installed Axel Beckert <abe@debian.org> - 2021-01-16 19:30 +0100
            Bug#123150: bb audio still causes video to stop iff pulseaudio is installed Patrice Duroux <patrice.duroux@gmail.com> - 2021-01-16 19:40 +0100
            Bug#123150: bb audio still causes video to stop iff pulseaudio is installed Matt Taggart <taggart@debian.org> - 2021-01-16 20:30 +0100
              Bug#123150: bb audio still causes video to stop iff pulseaudio is installed Axel Beckert <abe@debian.org> - 2021-01-17 01:30 +0100

#1042766 — Bug#123150: bb audio still causes video to stop

FromAndrej Shadura <andrewsh@debian.org>
Date2021-01-16 16:00 +0100
SubjectBug#123150: bb audio still causes video to stop
Message-ID<BxVdv-3JB-3@gated-at.bofh.it>
On Sun, 29 Mar 2020 15:24:54 -0700 Matt Taggart <taggart@debian.org> wrote:
> I am still seeing the problem with bb audio causing video to stop. The 
> audio keeps playing but the video freezes. Answering no to the initial 
> music prompt allows the video to work the whole way through.
> 
> Same problem both under X and in virtual console.
> 
> Running:
> 
> buster
> bb: 1.3rc1-11
> libmikmod3: 3.3.11.1-4

I also still observe this issue.

In fact, I don’t remember ever being able to run BB with sound on Linux :(

-- 
Cheers,
  Andrej

[toc] | [next] | [standalone]


#1042774 — Bug#123150: bb audio still causes video to stop iff pulseaudio is installed

FromAxel Beckert <abe@debian.org>
Date2021-01-16 16:50 +0100
SubjectBug#123150: bb audio still causes video to stop iff pulseaudio is installed
Message-ID<BxVZT-4ep-9@gated-at.bofh.it>
In reply to#1042766
Control: retitle -1 bb audio causes video to stop iff pulseaudio is installed
Control: tag -1 + confirmed upstream

Hi,

Andrej Shadura wrote:
> I also still observe this issue.

JFTR: It works fine for me for ages. (But see below.)

> In fact, I don’t remember ever being able to run BB with sound on
> Linux :(

According to
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=123150#108 this
was suspected to be an issue with libmikmod, esd and pulseaudio. It
had been said to be fixed with some libmikmod upload, but then was
said to still occur.

Even though this detail was posted nearly a decade ago and later
partially invalidated since the proposed libmikmod changes didn't
help, I did a quick crosscheck: And yes, installing pulseaudio
triggers this issue: Sound continues, but video stops. Not immediately
if installed during bb is running, but upon the next start of bb.

No idea why, though. On the one hand I avoid pulseaudio as much as
possible for a multitude of reasons including issues like this one.
Which is probably also the reason why I never ran into this myself.

At least I don't have any experience with programming audio or video
processsing itself. So any hint on why pulseaudio triggers this issues
(or even better, patches :-) would be very appreciated. (i.e. the
"help" tag is still valid.)

P.S.: After purging pulseaudio again, bb works again as expected, too.
But I had to kill a running pulseaudio process manually despite I
didn't have to start it manually when I installed the package. *sigh*

P.P.S.: Yes, the double "f" in "iff" is on purpose. See
	https://en.wiktionary.org/wiki/iff

		Regards, Axel
-- 
 ,''`.  |  Axel Beckert <abe@debian.org>, https://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-    |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE

[toc] | [prev] | [next] | [standalone]


#1042790 — Bug#123150: bb audio still causes video to stop iff pulseaudio is installed

FromPatrice Duroux <patrice.duroux@gmail.com>
Date2021-01-16 19:00 +0100
SubjectBug#123150: bb audio still causes video to stop iff pulseaudio is installed
Message-ID<BxY1H-5nE-1@gated-at.bofh.it>
In reply to#1042774
Hi,

Another solution to keep pulseaudio installed is just to inactive it before
running bb.
Within systemd user session you can do:

systemctl --user mask pulseaudio.socket
systemctl --user stop pulseaudio.service

And then activate back your pulseaudio service:

systemctl --user unmask pulseaudio.socket
systemctl --user start pulseaudio.service

Hope it helps!
;-)

ps: pulseaudio -k is generally not enough for many reasons.

On Sat, 16 Jan 2021 16:43:27 +0100 Axel Beckert <abe@debian.org> wrote:
> Control: retitle -1 bb audio causes video to stop iff pulseaudio is installed
> Control: tag -1 + confirmed upstream
> 
> Hi,
> 
> Andrej Shadura wrote:
> > I also still observe this issue.
> 
> JFTR: It works fine for me for ages. (But see below.)
> 
> > In fact, I don’t remember ever being able to run BB with sound on
> > Linux :(
> 
> According to
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=123150#108 this
> was suspected to be an issue with libmikmod, esd and pulseaudio. It
> had been said to be fixed with some libmikmod upload, but then was
> said to still occur.
> 
> Even though this detail was posted nearly a decade ago and later
> partially invalidated since the proposed libmikmod changes didn't
> help, I did a quick crosscheck: And yes, installing pulseaudio
> triggers this issue: Sound continues, but video stops. Not immediately
> if installed during bb is running, but upon the next start of bb.
> 
> No idea why, though. On the one hand I avoid pulseaudio as much as
> possible for a multitude of reasons including issues like this one.
> Which is probably also the reason why I never ran into this myself.
> 
> At least I don't have any experience with programming audio or video
> processsing itself. So any hint on why pulseaudio triggers this issues
> (or even better, patches :-) would be very appreciated. (i.e. the
> "help" tag is still valid.)
> 
> P.S.: After purging pulseaudio again, bb works again as expected, too.
> But I had to kill a running pulseaudio process manually despite I
> didn't have to start it manually when I installed the package. *sigh*
> 
> P.P.S.: Yes, the double "f" in "iff" is on purpose. See
>       https://en.wiktionary.org/wiki/iff
> 
>               Regards, Axel
> -- 
>  ,''`.  |  Axel Beckert <abe@debian.org>, https://people.debian.org/~abe/
> : :' :  |  Debian Developer, ftp.ch.debian.org Admin
> `. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
>   `-    |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE
> 
> 

[toc] | [prev] | [next] | [standalone]


#1042792 — Bug#123150: bb audio still causes video to stop iff pulseaudio is installed

FromAxel Beckert <abe@debian.org>
Date2021-01-16 19:10 +0100
SubjectBug#123150: bb audio still causes video to stop iff pulseaudio is installed
Message-ID<BxYbo-5Gf-1@gated-at.bofh.it>
In reply to#1042790
Control: retitle -1 bb: Enabling audio causes video to freeze iff pulseaudio is running

Hi Patrice,

Patrice Duroux wrote:
> Another solution to keep pulseaudio installed is just to inactive it
> before running bb.
> Within systemd user session you can do:
> 
> systemctl --user mask pulseaudio.socket
> systemctl --user stop pulseaudio.service
> 
> And then activate back your pulseaudio service:
> 
> systemctl --user unmask pulseaudio.socket
> systemctl --user start pulseaudio.service
> 
> Hope it helps!

Thanks! Will create a README.pulseaudio with that information to
mitigate this issue a bit more than disabling audio by default already
did.

Also retitling the bug report to be even more precise.

> ps: pulseaudio -k is generally not enough for many reasons.

*sigh*

		Regards, Axel
-- 
 ,''`.  |  Axel Beckert <abe@debian.org>, https://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-    |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE

[toc] | [prev] | [next] | [standalone]


#1042803 — Bug#123150: bb audio still causes video to stop iff pulseaudio is installed

FromAxel Beckert <abe@debian.org>
Date2021-01-16 19:30 +0100
SubjectBug#123150: bb audio still causes video to stop iff pulseaudio is installed
Message-ID<BxYuJ-5MB-13@gated-at.bofh.it>
In reply to#1042792
Hi again,

Axel Beckert wrote:
> Patrice Duroux wrote:
> > Another solution to keep pulseaudio installed is just to inactive it
> > before running bb.
[…]
> Thanks! Will create a README.pulseaudio with that information to
> mitigate this issue a bit more than disabling audio by default already
> did.

Actually we have that already in README.Debian since 2015 (and I wrote
that file — seems as if I'm getting demented):

---8<---
BB vs PulseAudio
================

Unfortunately BB does not work under X if PulseAudio is active and
Music is requested. Due to this issue Music in BB is turned off by
default in Debian.

If you have PulseAudio installed and want to show off BB with Music,
you can do that by either:

* switching to the virtual text console and running "bb" there, or by

* temporarily letting PulseAudio release the audio hardware and hiding
  from "bb" the fact that there is a PulseAudio server with the
  following command:

  pasuspender -- env PULSE_SERVER= bb

This issue is tracked in the Debian Bug Tracking System at
https://bugs.debian.org/761023

 -- Axel Beckert <abe@debian.org>, Sat, 11 Apr 2015 15:22:37 +0200
--->8---

Andrej: Does this help you?

Matt: You said, you had the issue also on the console. Could you check
if that "pasuspender -- env PULSE_SERVER= bb" command workarounds the
issue for you on the virtual console, too? Maybe there's more virtual
console support from pulseaudio nowadays…

		Regards, Axel
-- 
 ,''`.  |  Axel Beckert <abe@debian.org>, https://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-    |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE

[toc] | [prev] | [next] | [standalone]


#1042806 — Bug#123150: bb audio still causes video to stop iff pulseaudio is installed

FromPatrice Duroux <patrice.duroux@gmail.com>
Date2021-01-16 19:40 +0100
SubjectBug#123150: bb audio still causes video to stop iff pulseaudio is installed
Message-ID<BxYEp-5PT-3@gated-at.bofh.it>
In reply to#1042803
Yes great!

Before my proposal, I have simply tried without success:
pasuspender -- bb

I have added a case here:
https://wiki.debian.org/PulseAudio#Stop_running_the_pulseaudio_daemon_for_a_while

So I hope it is just not noise.


On Sat, 16 Jan 2021 19:25:17 +0100 Axel Beckert <abe@debian.org> wrote:
> Hi again,
> 
> Axel Beckert wrote:
> > Patrice Duroux wrote:
> > > Another solution to keep pulseaudio installed is just to inactive it
> > > before running bb.
> […]
> > Thanks! Will create a README.pulseaudio with that information to
> > mitigate this issue a bit more than disabling audio by default already
> > did.
> 
> Actually we have that already in README.Debian since 2015 (and I wrote
> that file — seems as if I'm getting demented):
> 
> ---8<---
> BB vs PulseAudio
> ================
> 
> Unfortunately BB does not work under X if PulseAudio is active and
> Music is requested. Due to this issue Music in BB is turned off by
> default in Debian.
> 
> If you have PulseAudio installed and want to show off BB with Music,
> you can do that by either:
> 
> * switching to the virtual text console and running "bb" there, or by
> 
> * temporarily letting PulseAudio release the audio hardware and hiding
>   from "bb" the fact that there is a PulseAudio server with the
>   following command:
> 
>   pasuspender -- env PULSE_SERVER= bb
> 
> This issue is tracked in the Debian Bug Tracking System at
> https://bugs.debian.org/761023
> 
>  -- Axel Beckert <abe@debian.org>, Sat, 11 Apr 2015 15:22:37 +0200
> --->8---
> 
> Andrej: Does this help you?
> 
> Matt: You said, you had the issue also on the console. Could you check
> if that "pasuspender -- env PULSE_SERVER= bb" command workarounds the
> issue for you on the virtual console, too? Maybe there's more virtual
> console support from pulseaudio nowadays…
> 
>               Regards, Axel
> -- 
>  ,''`.  |  Axel Beckert <abe@debian.org>, https://people.debian.org/~abe/
> : :' :  |  Debian Developer, ftp.ch.debian.org Admin
> `. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
>   `-    |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE
> 
> 

[toc] | [prev] | [next] | [standalone]


#1042816 — Bug#123150: bb audio still causes video to stop iff pulseaudio is installed

FromMatt Taggart <taggart@debian.org>
Date2021-01-16 20:30 +0100
SubjectBug#123150: bb audio still causes video to stop iff pulseaudio is installed
Message-ID<BxZqN-6mf-9@gated-at.bofh.it>
In reply to#1042803
On 1/16/21 10:25 AM, Axel Beckert wrote:

> Matt: You said, you had the issue also on the console. Could you check
> if that "pasuspender -- env PULSE_SERVER= bb" command workarounds the
> issue for you on the virtual console, too? Maybe there's more virtual
> console support from pulseaudio nowadays…

When I run that on a vc I get a brief error flash by about not being 
able to open an audio device and then BB runs, but no audio (even though 
I selected it). But at least it doesn't hang.

-- 
Matt Taggart
taggart@debian.org

[toc] | [prev] | [next] | [standalone]


#1042850 — Bug#123150: bb audio still causes video to stop iff pulseaudio is installed

FromAxel Beckert <abe@debian.org>
Date2021-01-17 01:30 +0100
SubjectBug#123150: bb audio still causes video to stop iff pulseaudio is installed
Message-ID<By478-HW-3@gated-at.bofh.it>
In reply to#1042816
Hi Matt,

thanks for the prompt response!

Matt Taggart wrote:
> On 1/16/21 10:25 AM, Axel Beckert wrote:
> 
> > Matt: You said, you had the issue also on the console. Could you check
> > if that "pasuspender -- env PULSE_SERVER= bb" command workarounds the
> > issue for you on the virtual console, too? Maybe there's more virtual
> > console support from pulseaudio nowadays…
> 
> When I run that on a vc I get a brief error flash by about not being able to
> open an audio device and then BB runs, but no audio (even though I selected
> it). But at least it doesn't hang.

I see. Might be a separate issue then, not necessarily in bb.

Then again, in the meanwhile I was able to reproduce this issue even
on a virtual console — on a minimal Raspberry Pi running Debian
Testing/Bullseye. It was more or less a minimal installation. I
installed pulseaudio and rebooted to be sure the logins are setup with
pulseaudio.

I though also got a lot of pulseaudio warnings on the console about
audio driver issues. But these seemed hardware-specific.

But in the end, the workaround described in the README.Debian with
"pasuspend -- env PULSE_SERVER= bb" worked there, too.

So I will simplify the README.Debian and focus on that variant as it
seems to help in most if not all cases.

Oh, and I found another workaround, but I can't really recommend it:
Run it as root on the virtual console. Seems to work because
pulseaudio isn't started for root. ;-D

		Regards, Axel
-- 
 ,''`.  |  Axel Beckert <abe@debian.org>, https://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-    |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.bugs.dist


csiph-web