|
Replies:
10
-
Last Post:
Jan 2, 2009 3:42 PM
by: yippi
|
|
|
Posts:
20
From:
Registered:
5/19/08
|
|
|
|
[desktop-discuss] OSS Working fine, no audio in Gnome
Posted:
Aug 28, 2008 4:12 PM
|
|
I've got a Thinkpad T60p, a Thinkpad T60 & a Thinkpad T61p. I've never had audio problems in any version of OpenSolaris from Nevada 87 to 2008.05 or 2008.11. All I have to do is add the OSS driver, turn off the mic (on the T61p to prevent squeal) & I am off to the races.
That's not working on Nevada 96. OSS is working fine. OSSTest plays a sound, OSSplay plays recorded audio fine, but I can't get any sound in Gnome with any X application. The panel applet is showing mute, and double-clicking gets "no volume control GStreamer plugins and/or devices found."
I hoped that going to Vermillion 97 would install a working GStreamer - no go. I thought that maybe the new audiohd driver would do it? No go. I'd rather not rollback - b96 is really nice.
I would appreciate any help! -- This message posted from opensolaris.org _______________________________________________ desktop-discuss mailing list desktop-discuss at opensolaris dot org
|
|
|
Posts:
144
From:
CN
Registered:
10/16/06
|
|
|
|
Re: [desktop-discuss] OSS Working fine, no audio in Gnome
Posted:
Aug 31, 2008 11:24 PM
in response to: krusty
|
|
Almost all gnome multimedia applications, such as totem/rhythmbox are using gstreamer framework. OSS has one plugin for gstreamer, but it is not bundled with opensolaris . if you really want to try it out, you can build gstreamer by yourself.
BTW: OSS pkg does not work well in many solaris machines.
> I've got a Thinkpad T60p, a Thinkpad T60 & a Thinkpad T61p. I've never had audio problems in any version of OpenSolaris from Nevada 87 to 2008.05 or 2008.11. All I have to do is add the OSS driver, turn off the mic (on the T61p to prevent squeal) & I am off to the races. > > That's not working on Nevada 96. OSS is working fine. OSSTest plays a sound, OSSplay plays recorded audio fine, but I can't get any sound in Gnome with any X application. The panel applet is showing mute, and double-clicking gets "no volume control GStreamer plugins and/or devices found." > > I hoped that going to Vermillion 97 would install a working GStreamer - no go. I thought that maybe the new audiohd driver would do it? No go. I'd rather not rollback - b96 is really nice. > > I would appreciate any help! > -- > This message posted from opensolaris.org > _______________________________________________ > desktop-discuss mailing list > desktop-discuss at opensolaris dot org >
_______________________________________________ desktop-discuss mailing list desktop-discuss at opensolaris dot org
|
|
|
|
Posts:
1,119
From:
Registered:
7/27/05
|
|
|
|
Re: [desktop-discuss] OSS Working fine, no audio in Gnome
Posted:
Sep 2, 2008 9:36 AM
in response to: jerrytan
|
|
Jerry:
> Almost all gnome multimedia applications, such as totem/rhythmbox are > using gstreamer framework. > OSS has one plugin for gstreamer, but it is not bundled with opensolaris . > if you really want to try it out, you can build gstreamer by yourself.
This shouldn't affect the problem that Herschel reported since the SADA shim should work even if the OSS GStreamer plugin isn't built.
However, Jerry is right, if you want to take more full advantage of OSS, then you can rebuild the SUNWgnome-media package so that the OSS plugin is used instead of the SunAudio one. This will build the OSSv3 plugins, which seem to work well with OSS on Solaris.
Or you can build SFEgst-plugins-bad from SFE which will cause the OSSv4 plugin to get built. It's still under development, and has a few bugs, but it works with the OSSv4 interfaces.
The main advantage to building the OSS plugin is that you get better control over the mixer when you run programs like gnome-volume-control.
> BTW: OSS pkg does not work well in many solaris machines.
There were some serious issues with older versions of OSS. However I think they got most of the bugs worked out with the latest release of OSS available from the 4Front website. Most of the issues that we have seen in the past seemed to relate to using it on Sparc.
Brian _______________________________________________ desktop-discuss mailing list desktop-discuss at opensolaris dot org
|
|
|
|
Posts:
20
From:
Registered:
5/19/08
|
|
|
|
Re: [desktop-discuss] OSS Working fine, no audio in Gnome
Posted:
Sep 2, 2008 4:46 PM
in response to: yippi
|
|
I fixed the problem by removing OSS & installing the latest audiohd driver produced by Garrett D'Amore. Audiohd now attaches and works very well. Big bonus as well - no OSS squeal from the internal mic echo!
I will try to build the gstreamer plugins again - I've never succeeded with SFE. http://gdamore.blogspot.com/http://www.opensolaris.org/os/community/device_drivers/files/
On Tue, Sep 2, 2008 at 9:36 AM, Brian Cameron <Brian dot Cameron at sun dot com> wrote:
Jerry:
Almost all gnome multimedia applications, such as totem/rhythmbox are using gstreamer framework.
OSS has one plugin for gstreamer, but it is not bundled with opensolaris .
if you really want to try it out, you can build gstreamer by yourself.
This shouldn't affect the problem that Herschel reported since the
SADA shim should work even if the OSS GStreamer plugin isn't built.
However, Jerry is right, if you want to take more full advantage of
OSS, then you can rebuild the SUNWgnome-media package so that the
OSS plugin is used instead of the SunAudio one. This will build
the OSSv3 plugins, which seem to work well with OSS on Solaris.
Or you can build SFEgst-plugins-bad from SFE which will cause the
OSSv4 plugin to get built. It's still under development, and has
a few bugs, but it works with the OSSv4 interfaces.
The main advantage to building the OSS plugin is that you get
better control over the mixer when you run programs like
gnome-volume-control.
BTW: OSS pkg does not work well in many solaris machines.
There were some serious issues with older versions of OSS. However
I think they got most of the bugs worked out with the latest release
of OSS available from the 4Front website. Most of the issues that
we have seen in the past seemed to relate to using it on Sparc.
Brian
_______________________________________________
desktop-discuss mailing list
desktop-discuss at opensolaris dot org
|
|
|
|
Posts:
1,119
From:
Registered:
7/27/05
|
|
|
|
Re: [desktop-discuss] OSS Working fine, no audio in Gnome
Posted:
Sep 2, 2008 9:31 AM
in response to: krusty
|
|
Herschel:
> I've got a Thinkpad T60p, a Thinkpad T60 & a Thinkpad T61p. I've never had audio problems > in any version of OpenSolaris from Nevada 87 to 2008.05 or 2008.11. All I have to do is > add the OSS driver, turn off the mic (on the T61p to prevent squeal) & I am off to the races. > > That's not working on Nevada 96. OSS is working fine. OSSTest plays a sound, OSSplay plays > recorded audio fine, but I can't get any sound in Gnome with any X application. The panel > applet is showing mute, and double-clicking gets "no volume control GStreamer plugins > and/or devices found." > > I hoped that going to Vermillion 97 would install a working GStreamer - no go. I thought that > maybe the new audiohd driver would do it? No go. I'd rather not rollback - b96 is really nice.
Try running "ossdevlinks -r" as root and then reboot the machine and see if that helps. This makes sure that all the OSS device links are set up as needed to run properly. I had the same problem a few builds ago where the OSS demo programs like OSSTest worked okay, but nothing else worked. Running "ossdevlinks -r" fixed the problem for me.
Brian _______________________________________________ desktop-discuss mailing list desktop-discuss at opensolaris dot org
|
|
|
|
Posts:
7
From:
Registered:
6/30/07
|
|
|
|
Re: [desktop-discuss] OSS Working fine, no audio in Gnome
Posted:
Dec 28, 2008 11:07 AM
in response to: krusty
To: Communities » desktop » discuss
|
|
Sorry if I'm late with this but I just ran into this problem and found a solution. It appears that /devices/pseudo/sadasupport@0:sound,audio and sadasupport@0:sound,audioctl were write only for root. Changing the permission to 666 resolved all the sound issues : $ pfexec chmod 666 /devices/pseudo/sadasupport@0:sound,audio*
Cheers,
François
|
|
|
|
Posts:
7
From:
Registered:
6/30/07
|
|
|
|
Re: [desktop-discuss] OSS Working fine, no audio in Gnome
Posted:
Dec 28, 2008 4:26 PM
in response to: flapoint
To: Communities » desktop » discuss
|
|
Hmm... That is until you reboot, then permissions are lost. Anybody knows how to make the change to permissions of devices persistent? I did not found anything in devfsadm...
|
|
|
|
Posts:
1,119
From:
Registered:
7/27/05
|
|
|
|
Re: [desktop-discuss] OSS Working fine, no audio in Gnome
Posted:
Dec 30, 2008 10:14 AM
in response to: flapoint
|
|
François:
Perhaps there is a problem with OSS not setting up symlinks properly?
Are you using the OSS from the 4front (www.opensound.com) website? If so, you might need to run the following command as root to ensure that the device symlinks get set up properly.
"ossdevlinks -r"
Note that logindevperm normally manages audio device permissions, and makes sure that the permissions change to the user on login, and back to root on logout.
For this to work, you must use a display manager which works with logindevperm. Both CDE login and GDM should work properly. If you are using some different display manager then you may have problems.
You should probably check "man logindevperm" and make sure that your logindevperm configuration is set up properly. For example, it should have a line like the following to make sure that the audio devices are set up properly.
/dev/vt/active 0600 /dev/sound/* # audio devices
If /dev/sound/* doesn't contain symlinks to your actual audio device files, then that could also be a problem. A workaround you can try is to change the "0600" to "0666" and see if that helps.
Brian
> Sorry if I'm late with this but I just ran into this problem and found a solution. It appears that /devices/pseudo/sadasupport@0:sound,audio and sadasupport@0:sound,audioctl were write only for root. Changing the permission to 666 resolved all the sound issues : > $ pfexec chmod 666 /devices/pseudo/sadasupport@0:sound,audio* > > Cheers, > > François
_______________________________________________ desktop-discuss mailing list desktop-discuss at opensolaris dot org
|
|
|
|
Posts:
7
From:
Registered:
6/30/07
|
|
|
|
Re: [desktop-discuss] OSS Working fine, no audio in Gnome
Posted:
Jan 1, 2009 9:10 PM
in response to: yippi
To: Communities » desktop » discuss
|
|
The permissions on /dev nodes are correct. It is the permissions on /devices/pseudo/sadasupport* nodes that are not changing to something usable. I will try using logindevperm to control these /devices nodes.
|
|
|
|
Posts:
645
From:
NL
Registered:
5/15/07
|
|
|
|
Re: [desktop-discuss] OSS Working fine, no audio in Gnome
Posted:
Jan 2, 2009 12:10 PM
in response to: yippi
|
|
On Tue, 30 Dec 2008 19:14:51 +0100, Brian Cameron <Brian dot Cameron at sun dot com> wrote:
> François: > > Perhaps there is a problem with OSS not setting up symlinks properly? > > Are you using the OSS from the 4front (www.opensound.com) website? If > so, you might need to run the followin****mmand as root to ensure that > the device symlinks get set up properly. > > "ossdevlinks -r"
Thanks, this works for me too on SXCE.b104 Which reminds me: as I understood OSS drivers were supposed to be integrated into nevada. Will this still be done? any time schedule?
-- **** Hoogendijk -- PGP/GnuPG key: 01D2433D + http://nagual.nl/ | SunOS sxce snv104 ++ + All that's really worth doing is what we do for others (Lewis Carrol) _______________________________________________ desktop-discuss mailing list desktop-discuss at opensolaris dot org
|
|
|
|
Posts:
1,119
From:
Registered:
7/27/05
|
|
|
|
Re: [desktop-discuss] OSS Working fine, no audio in Gnome
Posted:
Jan 2, 2009 3:42 PM
in response to: shinsui
|
|
****:
>> Are you using the OSS from the 4front (www.opensound.com) website? If >> so, you might need to run the following command as root to ensure that >> the device symlinks get set up properly. >> >> "ossdevlinks -r" > > Thanks, this works for me too on SXCE.b104 > Which reminds me: as I understood OSS drivers were supposed to be > integrated into nevada. > Will this still be done? any time schedule?
This is a work in progress, and will integrating into Solaris. I believe the plan is to integrate over the next few months, though I do not know the exact schedule.
http://opensolaris.org/os/project/opensound/
The opensound-discuss at opensolaris dot org is probably a better forum to discuss this sort of thing.
http://www.opensolaris.org/jive/forum.jspa?forumID=202
Brian
_______________________________________________ desktop-discuss mailing list desktop-discuss at opensolaris dot org
|
|
|
|
|