View previous topic :: View next topic |
Author |
Message |
madal n00b
Joined: 17 Nov 2005 Posts: 35
|
Posted: Sun Jun 14, 2015 4:27 pm Post subject: With Pulseaudio, Do I still need Gstreamer? |
|
|
Have gone without sound for quite a while now and am about to tackle pulse audio.
My question is, do I still need gstreamer and all those gst-plugins?
Or, can I safely unmerge them? |
|
Back to top |
|
|
Perfect Gentleman Veteran
Joined: 18 May 2014 Posts: 1247
|
Posted: Sun Jun 14, 2015 4:34 pm Post subject: |
|
|
pulseaudio doesn't need gstreamer as far as i know |
|
Back to top |
|
|
szatox Advocate
Joined: 27 Aug 2013 Posts: 3131
|
Posted: Sun Jun 14, 2015 6:32 pm Post subject: |
|
|
Get PA to fix missing sound? Quite funny, it used to work the other way
Don't you have 2 sound cards by any chance? One build in GPU and the other you have your speakers connected? Or even external like USB headphones? It's been a relatively common issue with ALSA and multiple devices, easily fixed with swapping indices.
Anyway portage is pretty smart tool, you can just change your USE flags, emerge world to apply it and then 'emerge -avc' to do remove stuff you no longer need. Handy thing. If nothing you manually installed depends on gstreamer, emerge will list it for removal. Accept and bye bye gstreamer. |
|
Back to top |
|
|
madal n00b
Joined: 17 Nov 2005 Posts: 35
|
Posted: Sun Jun 14, 2015 7:05 pm Post subject: |
|
|
As a matter of fact, it seems that I do.
HD/Intel built-in, as well as NVIDIA HD built into my graphics card.
If I may ask, how would I swap Indices? |
|
Back to top |
|
|
szatox Advocate
Joined: 27 Aug 2013 Posts: 3131
|
Posted: Sun Jun 14, 2015 8:09 pm Post subject: |
|
|
I added those 4 lines at the end (and probably commented out cards_limit=1) and it fixed audio with my radeon. Too bad I have no idea where does that snd-ca0106 come from, but it deffinitely changed the order and suddenly the other device became default. Who knows, amybe it's not as much about setting correct index 0 as about setting index to 1 on the device indexed with 0 otherwise
Quote: | # tail /etc/modprobe.d/alsa.conf
alias /dev/midi snd-seq-oss
# Set this to the correct number of cards.
#options snd cards_limit=1
options snd-ca0106 index=0
alias snd-card-1 snd-hda-intel
options snd-hda-intel index=1
options snd cards_limit=2 |
Anyway, I know it's also possible to change it inside
/etc/alsa.d/alsasound.conf system-wide or $HOME/.aosound.rc for a single user.
Too bad settings in the latter override the former, sometimes in funny ways, so I mention it as a fallback. Try the above first, if doesn't work try to find correct parameter for your graphics, and only then go after alsa's configs unless you have someone really good with this tricky mess around. Unfortunately I'm not but I do know you can have a device called "default" of type "dmix" that does mixing for you and plays the stream on an arbitrary chosen PCM device (hint on this below). It's just too much hassle when you can get it done with simple reordering.
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Generic_1 [HD-Audio Generic], device 0: ALC892 Analog [ALC892 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Generic_1 [HD-Audio Generic], device 1: ALC892 Digital [ALC892 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 3: ID aa01 Digital [ID aa01 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
So, my devices are Generic_1 with index 0 (analog after swap from the config above) and Generic in Radeon. I love those descriptive names they have, don't you? |
|
Back to top |
|
|
ct85711 Veteran
Joined: 27 Sep 2005 Posts: 1791
|
Posted: Sun Jun 14, 2015 11:32 pm Post subject: |
|
|
The easiest way to find out if something is needed anymore, is using emerge --depclean or equery d.
emerge --depclean world will remove any packages that isn't needed anymore/isn't in your world file
The equery d will tell you what depends on the package |
|
Back to top |
|
|
|