Bug 34553 - Нет звука без pulseaudio
: Нет звука без pulseaudio
Status: CLOSED FIXED
: Branch p8
(All bugs in Branch p8/firefox)
: не указана
: all Linux
: P3 normal
Assigned To:
:
:
:
:
:
  Show dependency tree
 
Reported: 2018-02-16 18:54 by
Modified: 2018-02-24 12:11 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2018-02-16 18:54:10
Возможно ли как-то включить поддержку ALSA в firefox?
------- Comment #1 From 2018-02-18 14:37:39 -------
Очень +1, а то на localhost выручает apulse, но в регулярку gnustep придётся
класть или другой браузер, или pulseaudio, что как-то совсем некузяво.
------- Comment #2 From 2018-02-20 01:37:03 -------
Попробуйте firefox-58.0.2-alt2 из сизифа.
------- Comment #3 From 2018-02-20 12:56:47 -------
Эх. не успел я.

[#200704] TESTED firefox.git=58.0.2-alt2
[#200700] DONE (try 2) del=gcc3.4 del=gcc4.1 del=jdkgcj del=ecj-gcj ...
[#200768] DONE glibc.git=2.27-alt2
[#200704] FAILED (try 2) firefox.git=58.0.2-alt2

Так что тестирование откладывается.
------- Comment #4 From 2018-02-21 11:08:12 -------
[#200704] DONE (try 4) firefox.git=58.0.2-alt2

Попробуйте.
------- Comment #5 From 2018-02-21 11:29:55 -------
Спасибо, в нынешние регулярки он и приехал:
http://nightly.altlinux.org/sisyphus/snapshots/20180221/
------- Comment #6 From 2018-02-21 11:53:23 -------
(В ответ на комментарий №5)
> Спасибо, в нынешние регулярки он и приехал:
> http://nightly.altlinux.org/sisyphus/snapshots/20180221/

Миш, это мне не говорит работает ли alsa как хочется или нет ))
------- Comment #7 From 2018-02-21 13:51:31 -------
Исправлено
------- Comment #8 From 2018-02-22 07:48:04 -------
(In reply to comment #7)
> Исправлено

На чём проверяли?

Я на регулярках с alsa проверил, не работает. В терминале:
Sandbox: seccomp sandbox violation: pid 2325, tid 2393, syscall 16, args 43
2147767296 139976036304552 0 0 0.
Sandbox: seccomp sandbox violation: pid 2325, tid 2393, syscall 16, args 43
2147767296 139976036304568 0 0 0.
[Child 2325, MediaPlayback #3] WARNING: 7f4eb53d3e80 OpenCubeb() failed to init
cubeb: file
/usr/src/RPM/BUILD/firefox-58.0.2/mozilla/dom/media/AudioStream.cpp, line 387
[Child 2325, MediaPlayback #2] WARNING: Decoder=7f4eb7432000
[OnMediaSinkAudioError]: file
/usr/src/RPM/BUILD/firefox-58.0.2/mozilla/dom/media/MediaDecoderStateMachine.cpp,
line 3642
[Child 2325, MediaPlayback #2] WARNING: Decoder=7f4eb7432000 Decode error:
NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) -
RefPtr<mozilla::MozPromise<RefPtr<mozilla::MediaTrackDemuxer::SamplesHolder>,
mozilla::MediaResult, true> >
mozilla::MediaSourceTrackDemuxer::DoGetSamples(int32_t): manager is detached.:
file
/usr/src/RPM/BUILD/firefox-58.0.2/mozilla/dom/media/MediaDecoderStateMachine.cpp,
line 3365
[Child 2325, MediaPlayback #2] WARNING: Decoder=7f4eb7432000 Decode error:
NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) -
RefPtr<mozilla::MozPromise<RefPtr<mozilla::MediaTrackDemuxer::SamplesHolder>,
mozilla::MediaResult, true> >
mozilla::MediaSourceTrackDemuxer::DoGetSamples(int32_t): manager is detached.:
file
/usr/src/RPM/BUILD/firefox-58.0.2/mozilla/dom/media/MediaDecoderStateMachine.cpp,
line 3365
[Child 2325, MediaPlayback #1] WARNING: Decoder=7f4eb7432000 Decode error:
NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) -
RefPtr<mozilla::MozPromise<RefPtr<mozilla::MediaTrackDemuxer::SamplesHolder>,
mozilla::MediaResult, true> >
mozilla::MediaSourceTrackDemuxer::DoGetSamples(int32_t): manager is detached.:
file
/usr/src/RPM/BUILD/firefox-58.0.2/mozilla/dom/media/MediaDecoderStateMachine.cpp,
line 3365
[Child 2325, MediaPlayback #3] WARNING: Decoder=7f4eb7432000 Decode error:
NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) -
RefPtr<mozilla::MozPromise<RefPtr<mozilla::MediaTrackDemuxer::SamplesHolder>,
mozilla::MediaResult, true> >
mozilla::MediaSourceTrackDemuxer::DoGetSamples(int32_t): manager is detached.:
file
/usr/src/RPM/BUILD/firefox-58.0.2/mozilla/dom/media/MediaDecoderStateMachine.cpp,
line 3365
[Child 2325, MediaPlayback #2] WARNING: Decoder=7f4eb7432000 Decode error:
NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) -
RefPtr<mozilla::MozPromise<RefPtr<mozilla::MediaTrackDemuxer::SamplesHolder>,
mozilla::MediaResult, true> >
mozilla::MediaSourceTrackDemuxer::DoGetSamples(int32_t): manager is detached.:
file
/usr/src/RPM/BUILD/firefox-58.0.2/mozilla/dom/media/MediaDecoderStateMachine.cpp,
line 3365
[Child 2325, MediaPlayback #3] WARNING: Decoder=7f4eb7432000 Decode error:
NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) -
RefPtr<mozilla::MozPromise<RefPtr<mozilla::MediaTrackDemuxer::SamplesHolder>,
mozilla::MediaResult, true> >
mozilla::MediaSourceTrackDemuxer::DoGetSamples(int32_t): manager is detached.:
file
/usr/src/RPM/BUILD/firefox-58.0.2/mozilla/dom/media/MediaDecoderStateMachine.cpp,
line 3365
[Child 2325, MediaPlayback #1] WARNING: Decoder=7f4eb7432000 Decode error:
NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) -
RefPtr<mozilla::MozPromise<RefPtr<mozilla::MediaTrackDemuxer::SamplesHolder>,
mozilla::MediaResult, true> >
mozilla::MediaSourceTrackDemuxer::DoGetSamples(int32_t): manager is detached.:
file
/usr/src/RPM/BUILD/firefox-58.0.2/mozilla/dom/media/MediaDecoderStateMachine.cpp,
line 3365
[Child 2325, MediaPlayback #3] WARNING: Decoder=7f4eb7432000 Decode error:
NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) -
RefPtr<mozilla::MozPromise<RefPtr<mozilla::MediaTrackDemuxer::SamplesHolder>,
mozilla::MediaResult, true> >
mozilla::MediaSourceTrackDemuxer::DoGetSamples(int32_t): manager is detached.:
file
/usr/src/RPM/BUILD/firefox-58.0.2/mozilla/dom/media/MediaDecoderStateMachine.cpp,
line 3365
Sandbox: seccomp sandbox violation: pid 2325, tid 2401, syscall 16, args 43
2147767296 139976009041576 0 0 0.
Sandbox: seccomp sandbox violation: pid 2325, tid 2401, syscall 16, args 43
2147767296 139976009041592 0 0 0.
[Child 2325, MediaPlayback #2] WARNING: 7f4eb0c994c0 OpenCubeb() failed to init
cubeb: file
/usr/src/RPM/BUILD/firefox-58.0.2/mozilla/dom/media/AudioStream.cpp, line 387
[Child 2325, MediaPlayback #2] WARNING: Decoder=7f4eb84e0200
[OnMediaSinkAudioError]: file
/usr/src/RPM/BUILD/firefox-58.0.2/mozilla/dom/media/MediaDecoderStateMachine.cpp,
line 3642
Sandbox: seccomp sandbox violation: pid 2325, tid 2401, syscall 16, args 46
2147767296 139976009041576 0 0 0.
Sandbox: seccomp sandbox violation: pid 2325, tid 2401, syscall 16, args 46
2147767296 139976009041592 0 0 0.
[Child 2325, MediaPlayback #2] WARNING: 7f4eb7b92700 OpenCubeb() failed to init
cubeb: file
/usr/src/RPM/BUILD/firefox-58.0.2/mozilla/dom/media/AudioStream.cpp, line 387
[Child 2325, MediaPlayback #3] WARNING: Decoder=7f4eaebb1400
[OnMediaSinkAudioError]: file
/usr/src/RPM/BUILD/firefox-58.0.2/mozilla/dom/media/MediaDecoderStateMachine.cpp,
line 3642
------- Comment #9 From 2018-02-22 11:06:18 -------
$ rpmquery -R firefox |grep asound
libasound.so.2()(64bit) >=
set:oitazXsyofSgru44CDBZpaE8x50pnZB7vknDLDunjd21zeMlA2mKOgm4vnW0o9g0bH3P5cHnjaZgaQcOkpt6FmZJSwHW1NSGc6weog
libasound.so.2(ALSA_0.9)(64bit)  
libasound.so.2(ALSA_0.9.0rc4)(64bit)

Значит поддержка alsa в апстриме сломана.
------- Comment #10 From 2018-02-22 11:09:56 -------
https://bugzilla.mozilla.org/show_bug.cgi?id=1430274
------- Comment #11 From 2018-02-22 21:15:59 -------
firefox-58.0.2-alt3 -> sisyphus:

Thu Feb 22 2018 Alexey Gladkov <legion@altlinux.ru> 58.0.2-alt3
- Fix ALSA (ALT#34553).
------- Comment #12 From 2018-02-23 11:49:52 -------
(In reply to comment #11)
> firefox-58.0.2-alt3 -> sisyphus:
> 
> Thu Feb 22 2018 Alexey Gladkov <legion@altlinux.ru> 58.0.2-alt3
> - Fix ALSA (ALT#34553).

Спасибо! Работает. Осталось в p8 бекпортировать, чтоб в весенние стартеркиты
исправление попало. Потому перевешиваю на p8.
------- Comment #13 From 2018-02-24 12:11:31 -------
firefox-58.0.2-alt2.M80P.1 -> p8:

Sat Feb 24 2018 Andrey Cherepanov <cas@altlinux> 58.0.2-alt2.M80P.1
- Backport fix to p8 branch (ALT #34553)

Thu Feb 22 2018 Alexey Gladkov <legion@altlinux.ru> 58.0.2-alt3
- Fix ALSA (ALT#34553).

Mon Feb 19 2018 Alexey Gladkov <legion@altlinux.ru> 58.0.2-alt2
- Enable ALSA support.