Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 912798

Summary: media-plugins/gst-plugins-pulse is needed for spice-gtk to tran sound
Product: Gentoo Linux Reporter: 464270342
Component: Current packagesAssignee: Virtualization Team <virtualization>
Status: UNCONFIRMED ---    
Severity: normal CC: gstreamer
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description 464270342 2023-08-22 02:54:59 UTC
I installed virtmanager and use to run my Win10 VM, in Win10 the system detected the sound card but no sound in host.

I found that we need media-plugins/gst-plugins-pulse to make sound work, but this package isn't in the dependency graph.

I believe we shound add this package as the dependency for spice(or spice-gtk?)

Reproducible: Always
Comment 1 Mart Raudsepp gentoo-dev 2023-08-22 16:56:18 UTC
I suspect it needs any gstreamer audio output plugin that works for you, not gst-plugins-pulse specifically (though that's probably the best one to use when using pulseaudio-daemon or pipewire[sound-server]). The spice-gtk already suggests this:

optfeature "Sound support (via pulseaudio)" media-plugins/gst-plugins-pulse
Comment 2 Mart Raudsepp gentoo-dev 2023-08-22 17:03:39 UTC
I checked the code and it actually indeed specifically needs pulsesrc from gst-plugins-pulse, not generic audio sink (pulseaudio is a source instead too). That said, there's already suggestion for that, though I personally think it'd make sense to at least pull it in via USE=pulseaudio instead of optfeature.
Comment 3 Mart Raudsepp gentoo-dev 2023-08-22 17:04:27 UTC
Correct: "pulsesrc is a source instead too"
Comment edit support in bugzilla when? :)  Too used to being able to just edit it later elsewhere and posting too soon.