New issue
Advanced search Search tips
Starred by 36 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Jul 2011
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 3
Type: Feature

Blocking:
issue 36008

Restricted
  • Only users with EditIssue permission may comment.



Sign in to add a comment

Linux support for OSS 4 or option to build with no sound

Reported by takree...@gmail.com, Aug 17 2009 Back to list

Issue description

Chrome Version       : All
URLs (if applicable) :
Other browsers tested: All
Add OK or FAIL after other browsers where you have tested this issue:
Safari 4:
Firefox 3.x:
IE 7:
IE 8:

What steps will reproduce the problem?
1. download latest chromium on an OSSv4 system
2. Complains about missing asound2 libs.
3.

What is the expected result?


What happens instead?


Please provide any additional information below. Attach a screenshot if
possible.

 
Labels: -OS-All OS-Linux

Comment 2 by est...@chromium.org, Aug 18 2009

OSS support isn't something we've really considered.  Patches welcome!

You'll want to look at media/audio/linux and do something similar to the 
AlsaPcmOutputStream.

Otherwise, this is going to have to take second place to getting a stable Alsa output.

Comment 4 by evan@chromium.org, Sep 4 2009

Labels: -Type-Bug Type-Feature HelpWanted
Status: Available
Labels: Mstone-X Video HTML5
Labels: Internals-Video
Labels: -Video

Comment 8 by karen@chromium.org, Jan 11 2010

Labels: -HTML5
Labels: -Area-Misc Area-Internals
I would really love to see OSS4 support in the Chrome browser.

As OSS4 is such a clean design for sound on linux and even other platforms, a support
for it should make chrome much easier portable. 

Oh, please dont mix the old OSS with the new OSS4. 

As i am a user only, i sadly cant help with patches... but im willing to test it.

 
For the time being we're sticking with ALSA but have also thought about adding 
PulseAudio support in the future.  I'm no expert at Linux sound APIs but would love to 
hear your thoughts on the topics.
I've used OSS, Alsa, PulseAudio, and finally OSS4, and without a doubt OSS4 was the
most stable and easiest to setup and use.  The sound was great, and there wasn't any
sync issue with video like PulseAudio has.  The latency of OSS4 is the lowest out of
the four I've tried.  But as of now, I've given up on audio on Linux and bought a Mac.
Labels: -Pri-2 Pri-3

Comment 14 by tri...@gmail.com, Apr 24 2010

I guess from reading this thread...I can assume that JACKd support won't be coming to 
Chrome?

Comment 15 by Deleted ...@, Apr 25 2010

Er, yeah, you may want to stay away from pulseaudio. It's kind of a mess. Stick with 
ALSA, and maybe add an option for OSS4.

Comment 16 by tri...@gmail.com, Apr 25 2010

It may be perhaps that I'm into musical software and having a tight control over audio 
routing... but I'd love to see chrome with an chrome://audio page where you could 
monitor and control volumes from all other tabs, sort of a master mixer. These are 
present in other operating systems, and perhaps this could benefit chrome OS as well. 
Doing so with a jackd/alsa backend would make sense to me.
The question of which sound framework to support, should be based on the popularity, 
or better - the major Desktop/Mobile distros' defaults. Anyway, it should not be based 
on "what's the coolest technology available".

Fedora and Ubuntu have chosen PulseAudio a few years ago already. Thus, unless major 
distros plan a switch to OSSv4, I think that chromium should add PulseAudio support 
first, OSSv4 & Jack later, if at all.

Comment 18 by bond...@gmail.com, May 31 2010

I think a lot of people use ArchLinux have opted for OSSv4,
chromium is the only app I've run into on my many ArchLinux installs that doesn't 
support oss4 in some form..

Comment 19 by Deleted ...@, Jun 8 2010

OSS4 might not be common, but OSS is used my nearly every flavor of Unix and Linux. Supporting OSS will not only ensure that it will work with OSS4, but with other flavors of unix like BSD.

At least consider it, please.

Comment 20 by kwin...@gmail.com, Jun 20 2010

Ya, OSS4 should be a option to chromium, it is cool enough.
OSSv4 support would be great.

Comment 22 by tri...@gmail.com, Jul 2 2010

Jack +1 !!
Labels: -Internals-Video -Area-Internals Feature-Media Area-WebKit

Comment 24 by kwin...@gmail.com, Aug 28 2010

All software I run in Gentoo support OSS4 except chromium, even the close-source game "Heroes of Newerth" support OSS4...
 Issue 54166  has been merged into this issue.
Oren.Held,

  You should note, the request here was also to support building chromium without sound support at all.  The question of what sound system to support is easy to answer.  Chromium should support all AND none.  This is Linux we're talking about, and it has always been distributed to provide users with freedom and choice.  Popularity is for close-source proprietary software and should have no bearing on Free or Open Source Software.

OSS is my sound system of choice, Chrome is my browser of choice. I'm stuck with Firefox as a result of the lack of OSS support!

Comment 28 by tri...@gmail.com, Oct 2 2010

Does anyone else think its completely ridiculous that an application like Chrome doesn't have an preferences/settings page for audio? It's a multimedia application which relies heavily on audio, yet we are forced to use what the developers hard coded into it for our audio settings. There's millions of audio applications out there for Linux which are all GPL/LGPL. Why can't Chrome borrow some of this code to support multiple audio backends? Maybe once the new GPU acceleration code settles down and becomes stable, we may borrow some of the Chrome engineers to do something similar to GPU acceleration for Audio.
Why not simply use a good library like libao or SDL? They provide support for OSS, alsa, Pulse Audio, and the stuff used by Windows and MacOS X, and they are available on every Linux distribution. libao is GPL-licensed, which could be an issue, but SDL is LGPL, which should be fine...

Comment 30 by Deleted ...@, Jan 20 2011

Got the same problem on an oss4 archlinux box


ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4154:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4154:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4154:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4633:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2211:(snd_pcm_open_noupdate) Unknown PCM default

would like to watch html5 video, hopefully this gets taken care of

Comment 31 by evan@chromium.org, Jan 26 2011

Labels: -HelpWanted
We're trying to deprecate HelpWanted, so I'm bulk-removing it from some bugs.
So it has been some months. Anything new on this?
Status: WontFix
Why is this WontFix? It's not exactly trivial to properly support the use of
OSS.
I hope that there will be someone who adds support for OSSv4 to chromium. It is the main sound system for BSD and there are still many people using it on Linux. I'm one of them. 

Open Sound System is far less troublesome for me than the PulseAudio and I think it sounds better (especially when you eanble Production Quality resampler)
Seriously, Chrome is the only app that does not have an OSS-backend. On ArchLinux with OSSv4 this means I have no sound. All the wrappers and workarounds break support with other apps, so they are not an option.

Also, alls other Unix sound architectures (*BSD, Solaris) implement the OSS interface, so I have to use wrappers there as well. I really don't understand the issue at hand, doesn't ffmpeg have an OSS backend? Why can it not be activated?
Firefox also doesn't have OSS backend atleast the stock version. I don't
know how it is with Opera.

ffmpeg has an OSS backend it always had it (doesn't chrome/chromium use it
only as a decoding for video).

OSSv4 is still in active development although there aren't many
changes: Mercurial
repository of Open Sound
System<http://opensound.hg.sourceforge.net/hgweb/opensound/opensound/summary>
.

Comment 38 by meow...@gmail.com, Sep 20 2012

Please support oss4, it has better sound quality.

Comment 39 Deleted

I also need OSS4 support.  Alsa does not support the latest intel onboard sound cards yet, so I can't use it.  Is it particularly difficult to have both Alsa and OSS4?  It seems like they should both be able to exist side-by-side.
Project Member

Comment 41 by bugdroid1@chromium.org, Mar 11 2013

Labels: -Feature-Media -Area-WebKit Cr-Content Cr-Internals-Media

Comment 42 by laps...@gmail.com, Mar 19 2013

Opera is actually only browser with OSS4 sound support on my PC O_o. Ok, I love it, fine, it's my browser, but actually I'm coding website with music and movies using Web Audio API for chrome as most popular browser (and only chrome and safari support it atm) and It just sucks when I have to ask my friends if music is played properly...
Also Jack support would be fine because actually it is possible to configure jack 1 for OSS (haven't tried with jack 2, at least repo version doesn't include OSS4 support). Pulse... I've tried to configure it for OSS4, but most apps just always used it even if it's not necessary and in my case accessing audio via pulse caused glitches every time when eg. KDE gave notification sound or something...
with SDL it's difficult to get 5.1 sound? I may be wrong but I'm using 5.1 sound via SDL in Blender and getting still stereo signal on output.
It's difficult both for users of professional audio setup like Ubuntu Studio (lack of Jack support) and users of OSS4, especially theese who just have to use OSS4 because some interfaces like eg. mine Xonar D2 totally sucks under ALSA.

Comment 43 by laps...@gmail.com, Mar 19 2013

Besides, why ALSA OSS sink doesn't work properly in chrome? Other ALSA apps work well with OSS4 ALSA sink
OSS through ALSA should be working fine in the latest Chrome version.  If you're having issues, please try using --audio-buffer-size=2048.
Labels: Restrict-AddIssueComment-EditIssue
Also this is an old bug, please continue the conversation on  issue 178626  or file a new one if that doesn't represent your problem.
Project Member

Comment 46 by bugdroid1@chromium.org, Apr 6 2013

Labels: -Cr-Content Cr-Blink

Sign in to add a comment