Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

לאתר זה תהיה פונקציונליות מוגבלת בזמן שאנו מתחזקים אותו לשיפור החוויה שלך. אם מאמר מסויים לא פותר את הבעיה שלך וברצונך לשאול שאלה, קהילת התמיכה שלנו מחכה לעזור לך ב־Twitter תחת ‎@FirefoxSupport וב־Reddit תחת ‎/r/firefox.

חיפוש בתמיכה

יש להימנע מהונאות תמיכה. לעולם לא נבקש ממך להתקשר או לשלוח הודעת טקסט למספר טלפון או לשתף מידע אישי. נא לדווח על כל פעילות חשודה באמצעות באפשרות ״דיווח על שימוש לרעה״.

מידע נוסף

with firefox no sound on linux and bspwm

  • 1 תגובה
  • 1 has this problem
  • 1 view
  • תגובה אחרונה מאת kristoferus75

more options

Hi !

with bspwm and firefox i have no sound

if i start xfce and then firefox sound work

i already configured this in my bspwmrc file to start pulseaudio:

/usr/bin/start-pulseaudio-x11

disable sandbox MOZ_DISABLE_CONTENT_SANDBOX=1 firefox also no sound

Service all ok:

systemctl --user status pulseaudio.service pulseaudio.socket

● pulseaudio.service - Sound Service

Loaded: loaded (/usr/lib/systemd/user/pulseaudio.service; disabled; vendor preset: enabled)

Active: active (running) since Wed 2020-07-08 09:36:05 CEST; 29min ago

TriggeredBy: ● pulseaudio.socket

Main PID: 1151 (pulseaudio)

CGroup: /user.slice/user-1000.slice/user@1000.service/pulseaudio.service

├─1151 /usr/bin/pulseaudio --daemonize=no

└─1169 /usr/lib/pulse/gsettings-helper


Jul 08 09:36:04 HOME systemd[1034]: Starting Sound Service...

Jul 08 09:36:05 HOME systemd[1034]: Started Sound Service.


● pulseaudio.socket - Sound System

Loaded: loaded (/usr/lib/systemd/user/pulseaudio.socket; enabled; vendor preset: enabled)

Active: active (running) since Wed 2020-07-08 09:35:57 CEST; 29min ago

Triggers: ● pulseaudio.service

Listen: /run/user/1000/pulse/native (Stream)

CGroup: /user.slice/user-1000.slice/user@1000.service/pulseaudio.socket


but if i start firefox i see this error if i want play a video on youtube:

Failed to create secure directory (/run/user/1000/pulse): no permission

sh: /usr/bin/jackd: no permission

[Child 34377, MediaDecoderStateMachine #1] WARNING: 7fc3332f0c80 OpenCubeb() failed to init cubeb: file /build/firefox/src/firefox-78.0.1/dom/media/AudioStream.cpp, line 331

[Child 34377, MediaDecoderStateMachine #1] WARNING: Decoder=7fc333782000 [OnMediaSinkAudioError]: file /build/firefox/src/firefox-78.0.1/dom/media/MediaDecoderStateMachine.cpp, line 3891

[Child 34377, MediaDecoderStateMachine #1] WARNING: 7fc32e75b530 OpenCubeb() failed to init cubeb: file /build/firefox/src/firefox-78.0.1/dom/media/AudioStream.cpp, line 331

[Child 34377, MediaDecoderStateMachine #1] WARNING: Decoder=7fc3303e5800 [OnMediaSinkAudioError]: file /build/firefox/src/firefox-78.0.1/dom/media/MediaDecoderStateMachine.cpp, line 3891

cat /run/user/1000/pulse/pid

1151

ps -afe | grep pulse

user 1151 1034 0 09:36 ? 00:00:02 /usr/bin/pulseaudio --daemonize=no

Hi ! with bspwm and firefox i have no sound if i start xfce and then firefox sound work i already configured this in my bspwmrc file to start pulseaudio: /usr/bin/start-pulseaudio-x11 disable sandbox MOZ_DISABLE_CONTENT_SANDBOX=1 firefox also no sound Service all ok: systemctl --user status pulseaudio.service pulseaudio.socket ● pulseaudio.service - Sound Service Loaded: loaded (/usr/lib/systemd/user/pulseaudio.service; disabled; vendor preset: enabled) Active: active (running) since Wed 2020-07-08 09:36:05 CEST; 29min ago TriggeredBy: ● pulseaudio.socket Main PID: 1151 (pulseaudio) CGroup: /user.slice/user-1000.slice/user@1000.service/pulseaudio.service ├─1151 /usr/bin/pulseaudio --daemonize=no └─1169 /usr/lib/pulse/gsettings-helper Jul 08 09:36:04 HOME systemd[1034]: Starting Sound Service... Jul 08 09:36:05 HOME systemd[1034]: Started Sound Service. ● pulseaudio.socket - Sound System Loaded: loaded (/usr/lib/systemd/user/pulseaudio.socket; enabled; vendor preset: enabled) Active: active (running) since Wed 2020-07-08 09:35:57 CEST; 29min ago Triggers: ● pulseaudio.service Listen: /run/user/1000/pulse/native (Stream) CGroup: /user.slice/user-1000.slice/user@1000.service/pulseaudio.socket but if i start firefox i see this error if i want play a video on youtube: Failed to create secure directory (/run/user/1000/pulse): no permission sh: /usr/bin/jackd: no permission [Child 34377, MediaDecoderStateMachine #1] WARNING: 7fc3332f0c80 OpenCubeb() failed to init cubeb: file /build/firefox/src/firefox-78.0.1/dom/media/AudioStream.cpp, line 331 [Child 34377, MediaDecoderStateMachine #1] WARNING: Decoder=7fc333782000 [OnMediaSinkAudioError]: file /build/firefox/src/firefox-78.0.1/dom/media/MediaDecoderStateMachine.cpp, line 3891 [Child 34377, MediaDecoderStateMachine #1] WARNING: 7fc32e75b530 OpenCubeb() failed to init cubeb: file /build/firefox/src/firefox-78.0.1/dom/media/AudioStream.cpp, line 331 [Child 34377, MediaDecoderStateMachine #1] WARNING: Decoder=7fc3303e5800 [OnMediaSinkAudioError]: file /build/firefox/src/firefox-78.0.1/dom/media/MediaDecoderStateMachine.cpp, line 3891 cat /run/user/1000/pulse/pid 1151 ps -afe | grep pulse user 1151 1034 0 09:36 ? 00:00:02 /usr/bin/pulseaudio --daemonize=no

פתרון נבחר

problem is solved !

Read this answer in context 👍 0

כל התגובות (1)

more options

פתרון נבחר

problem is solved !