Using both Audio output (Analog + HDMI) together

Discussion in general that pertains to Sabayon Linux - Must Pertain to Sabayon Linux

Moderator: Moderators

Re: Using both Audio output (Analog + HDMI) together

Postby dudumomo » Tue Nov 06, 2012 16:02

Thank you Fitzcarraldo,

I do not have paprefs installed. I will try to compile it.
Beedbox is a self-hosting distribution project with a web interface to configure all the services to ease it access.
Join us in this promising project!
----------------------------------------------------------------------------------
French mirror - freelydifferent.com
dudumomo
Growing Hen
 
Posts: 116
Joined: Tue Nov 16, 2010 14:40

Re: Using both Audio output (Analog + HDMI) together

Postby Fitzcarraldo » Tue Nov 06, 2012 16:19

Code: Select all
$ su
Password:
# equo install git
# equo install subversion
# emerge --sync
# layman -S
# layman -d sabayon
# layman -d sabayon-distro
# layman -a sabayon
# layman -a sabayon-distro
# layman -S
# emerge -1v paprefs
# exit
exit
$
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7335
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: Using both Audio output (Analog + HDMI) together

Postby dudumomo » Tue Nov 06, 2012 17:49

Thanks, however I got an error when reinstalling avahi
Code: Select all
emerge -1v paprefs

 * IMPORTANT: 5 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.


These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] dev-libs/libatomic_ops-7.2d  1,234 kB
[ebuild  N     ] sys-devel/autoconf-wrapper-12  0 kB
[ebuild  N     ] sys-devel/automake-wrapper-7  0 kB
[ebuild  N     ] dev-util/pkgconfig-0.27.1  USE="-hardened -internal-glib" 1,864 kB
[ebuild  N     ] virtual/pkgconfig-0  0 kB
[ebuild  N     ] sys-devel/autoconf-2.69  USE="-emacs" 1,187 kB
[ebuild  N     ] dev-perl/Locale-gettext-1.50.0  8 kB
[ebuild  N     ] sys-apps/help2man-1.40.12  USE="nls" 187 kB
[ebuild  N     ] sys-devel/automake-1.11.6  1,068 kB
[ebuild  N     ] net-dns/avahi-0.6.30-r3  USE="autoipd dbus gdbm gtk3 howl-compat introspection ipv6 mdnsresponder-compat python -bookmarks -doc -gtk -mono -qt4 -test -utils" 1,215 kB
[ebuild  N     ] dev-cpp/gconfmm-2.28.3  USE="-doc" 369 kB
[ebuild  N     ] dev-cpp/libglademm-2.6.7  USE="-doc -examples" 319 kB
[ebuild   R    ] media-sound/pulseaudio-2.1-r1  USE="X alsa asyncns avahi bluetooth caps dbus gdbm glib gnome* gtk ipv6 jack orc ssl tcpd udev webrtc-aec -doc -equalizer -libsamplerate -lirc (-oss) -realtime (-system-wide) -systemd -test -xen" 1,324 kB
[ebuild  N    #] media-sound/paprefs-0.9.10  USE="nls" 160 kB

Total: 14 packages (13 new, 1 reinstall), Size of downloads: 8,929 kB

Code: Select all
>>> Failed to install net-dns/avahi-0.6.30-r3, Log file:

>>>  '/var/tmp/portage/net-dns/avahi-0.6.30-r3/temp/build.log'

 * Messages for package net-dns/avahi-0.6.30-r3:

 * This package will overwrite one or more files that may belong to other
 * packages (see list below). You can use a command such as `portageq
 * owners / <filename>` to identify the installed package that owns a
 * file. If portageq reports that only one package owns a file then do
 * NOT file a bug report. A bug report is only useful if it identifies at
 * least two or more packages that are known to install the same file(s).
 * If a collision occurs and you can not explain where the file came from
 * then you should simply ignore the collision since there is not enough
 * information to determine if a real problem exists. Please do NOT file
 * a bug report at http://bugs.gentoo.org unless you report exactly which
 * two packages install the same file(s). Once again, please do NOT file
 * a bug report unless you have completely understood the above message.
 *
 * Detected file collision(s):
 *
 *    /usr/share/gir-1.0/Avahi-0.6.gir
 *    /usr/share/gir-1.0/AvahiCore-0.6.gir
 *    /usr/share/dbus-1/interfaces/org.freedesktop.Avahi.DomainBrowser.xml
 *    /usr/share/dbus-1/interfaces/org.freedesktop.Avahi.AddressResolver.xml
 *    /usr/share/dbus-1/interfaces/org.freedesktop.Avahi.ServiceTypeBrowser.xml
 *    /usr/share/dbus-1/interfaces/org.freedesktop.Avahi.EntryGroup.xml
 *    /usr/share/dbus-1/interfaces/org.freedesktop.Avahi.RecordBrowser.xml
 *    /usr/share/dbus-1/interfaces/org.freedesktop.Avahi.ServiceBrowser.xml
 *    /usr/share/dbus-1/interfaces/org.freedesktop.Avahi.Server.xml
 *    /usr/share/dbus-1/interfaces/org.freedesktop.Avahi.HostNameResolver.xml
 *    /usr/share/dbus-1/interfaces/org.freedesktop.Avahi.ServiceResolver.xml
 *    /usr/share/locale/fr/LC_MESSAGES/avahi.mo
 *    /usr/share/locale/pl/LC_MESSAGES/avahi.mo
 *    /usr/share/locale/he/LC_MESSAGES/avahi.mo
 *    /usr/share/locale/ru/LC_MESSAGES/avahi.mo
 *    /usr/share/locale/nl/LC_MESSAGES/avahi.mo
 *    /usr/share/locale/sv/LC_MESSAGES/avahi.mo
 *    /usr/share/locale/cs/LC_MESSAGES/avahi.mo
 *    /usr/share/locale/it/LC_MESSAGES/avahi.mo
 *    /usr/share/locale/gl/LC_MESSAGES/avahi.mo
 *    /usr/share/locale/ca/LC_MESSAGES/avahi.mo
 *    /usr/share/locale/de/LC_MESSAGES/avahi.mo
 *    /usr/share/locale/zh_TW/LC_MESSAGES/avahi.mo
 *    /usr/share/locale/ja/LC_MESSAGES/avahi.mo
 *    /usr/share/locale/es/LC_MESSAGES/avahi.mo
 *    /usr/share/locale/zh_CN/LC_MESSAGES/avahi.mo
 *    /usr/share/locale/sr/LC_MESSAGES/avahi.mo
 *    /usr/share/locale/en_GB/LC_MESSAGES/avahi.mo
 *    /usr/share/locale/el/LC_MESSAGES/avahi.mo
 *    /usr/share/locale/fi/LC_MESSAGES/avahi.mo
 *    /usr/share/locale/bg/LC_MESSAGES/avahi.mo
 *    /usr/share/locale/pt_BR/LC_MESSAGES/avahi.mo
 *    /usr/share/locale/sl/LC_MESSAGES/avahi.mo
 *    /usr/share/locale/da/LC_MESSAGES/avahi.mo
 *    /usr/share/locale/uk/LC_MESSAGES/avahi.mo
 *    /usr/share/locale/ms/LC_MESSAGES/avahi.mo
 *    /usr/share/locale/ro/LC_MESSAGES/avahi.mo
 *    /usr/share/locale/hu/LC_MESSAGES/avahi.mo
 *    /usr/share/avahi/avahi-service.dtd
 *    /usr/share/avahi/service-types
 *    /usr/share/avahi/service-types.db
 *    /usr/share/man/man1/avahi-browse.1.bz2
 *    /usr/share/man/man1/avahi-bookmarks.1.bz2
 *    /usr/share/man/man1/avahi-set-host-name.1.bz2
 *    /usr/share/man/man1/avahi-publish.1.bz2
 *    /usr/share/man/man1/avahi-resolve.1.bz2
 *    /usr/share/man/man8/avahi-daemon.8.bz2
 *    /usr/share/man/man8/avahi-autoipd.8.bz2
 *    /usr/share/man/man8/avahi-dnsconfd.8.bz2
 *    /usr/share/man/man8/avahi-autoipd.action.8.bz2
 *    /usr/share/man/man8/avahi-dnsconfd.action.8.bz2
 *    /usr/share/man/man5/avahi-daemon.conf.5.bz2
 *    /usr/share/man/man5/avahi.service.5.bz2
 *    /usr/share/man/man5/avahi.hosts.5.bz2
 *    /usr/bin/avahi-publish
 *    /usr/bin/avahi-browse
 *    /usr/bin/avahi-set-host-name
 *    /usr/bin/avahi-resolve
 *    /usr/lib64/libavahi-core.so.7.0.2
 *    /usr/lib64/libavahi-client.so.3.2.9
 *    /usr/lib64/libavahi-ui-gtk3.so.0.1.4
 *    /usr/lib64/libhowl.so.0.0.0
 *    /usr/lib64/libdns_sd.so.1.0.0
 *    /usr/lib64/libavahi-glib.so.1.0.2
 *    /usr/lib64/libavahi-common.so.3.5.3
 *    /usr/lib64/libavahi-gobject.so.0.0.4
 *    /usr/lib64/python2.7/site-packages/avahi/ServiceTypeDatabase.py
 *    /usr/lib64/python2.7/site-packages/avahi/__init__.py
 *    /usr/lib64/pkgconfig/avahi-client.pc
 *    /usr/lib64/pkgconfig/avahi-compat-libdns_sd.pc
 *    /usr/lib64/pkgconfig/avahi-ui-gtk3.pc
 *    /usr/lib64/pkgconfig/avahi-compat-howl.pc
 *    /usr/lib64/pkgconfig/avahi-core.pc
 *    /usr/lib64/pkgconfig/avahi-gobject.pc
 *    /usr/lib64/pkgconfig/avahi-glib.pc
 *    /usr/lib64/girepository-1.0/Avahi-0.6.typelib
 *    /usr/lib64/girepository-1.0/AvahiCore-0.6.typelib
 *    /usr/sbin/avahi-daemon
 *    /usr/sbin/avahi-autoipd
 *    /usr/sbin/avahi-dnsconfd
 *    /usr/include/avahi-compat-howl/howl.h
 *    /usr/include/avahi-compat-howl/discovery/discovery.h
 *    /usr/include/avahi-compat-howl/discovery/text_record.h
 *    /usr/include/avahi-compat-howl/salt/signal.h
 *    /usr/include/avahi-compat-howl/salt/time.h
 *    /usr/include/avahi-compat-howl/salt/platform.h
 *    /usr/include/avahi-compat-howl/salt/debug.h
 *    /usr/include/avahi-compat-howl/salt/interface.h
 *    /usr/include/avahi-compat-howl/salt/address.h
 *    /usr/include/avahi-compat-howl/salt/salt.h
 *    /usr/include/avahi-compat-howl/salt/socket.h
 *    /usr/include/avahi-compat-howl/corby/object.h
 *    /usr/include/avahi-compat-howl/corby/buffer.h
 *    /usr/include/avahi-compat-howl/corby/channel.h
 *    /usr/include/avahi-compat-howl/corby/message.h
 *    /usr/include/avahi-compat-howl/corby/orb.h
 *    /usr/include/avahi-compat-howl/corby/corby.h
 *    /usr/include/avahi-compat-howl/rendezvous/rendezvous.h
 *    /usr/include/avahi-compat-howl/rendezvous/text_record.h
 *    /usr/include/avahi-gobject/ga-record-browser.h
 *    /usr/include/avahi-gobject/ga-service-resolver.h
 *    /usr/include/avahi-gobject/ga-service-browser.h
 *    /usr/include/avahi-gobject/ga-enums.h
 *    /usr/include/avahi-gobject/ga-entry-group.h
 *    /usr/include/avahi-gobject/ga-error.h
 *    /usr/include/avahi-gobject/ga-client.h
 *    /usr/include/avahi-core/publish.h
 *    /usr/include/avahi-core/core.h
 *    /usr/include/avahi-core/lookup.h
 *    /usr/include/avahi-core/rr.h
 *    /usr/include/avahi-core/log.h
 *    /usr/include/avahi-compat-libdns_sd/dns_sd.h
 *    /usr/include/avahi-common/alternative.h
 *    /usr/include/avahi-common/llist.h
 *    /usr/include/avahi-common/defs.h
 *    /usr/include/avahi-common/rlist.h
 *    /usr/include/avahi-common/watch.h
 *    /usr/include/avahi-common/thread-watch.h
 *    /usr/include/avahi-common/cdecl.h
 *    /usr/include/avahi-common/malloc.h
 *    /usr/include/avahi-common/simple-watch.h
 *    /usr/include/avahi-common/timeval.h
 *    /usr/include/avahi-common/error.h
 *    /usr/include/avahi-common/gccmacro.h
 *    /usr/include/avahi-common/address.h
 *    /usr/include/avahi-common/strlst.h
 *    /usr/include/avahi-common/domain.h
 *    /usr/include/avahi-client/client.h
 *    /usr/include/avahi-client/publish.h
 *    /usr/include/avahi-client/lookup.h
 *    /usr/include/avahi-glib/glib-watch.h
 *    /usr/include/avahi-glib/glib-malloc.h
 *    /lib64/rcscripts/net/autoipd.sh
 *    /lib64/rc/net/autoipd.sh
 *    /usr/share/man/man1/avahi-resolve-host-name.1.bz2
 *    /usr/share/man/man1/avahi-publish-service.1.bz2
 *    /usr/share/man/man1/avahi-publish-address.1.bz2
 *    /usr/share/man/man1/avahi-browse-domains.1.bz2
 *    /usr/share/man/man1/avahi-resolve-address.1.bz2
 *    /usr/bin/avahi-browse-domains
 *    /usr/bin/avahi-publish-service
 *    /usr/bin/avahi-publish-address
 *    /usr/bin/avahi-resolve-address
 *    /usr/bin/avahi-resolve-host-name
 *    /usr/lib64/libavahi-glib.so
 *    /usr/lib64/libavahi-core.so
 *    /usr/lib64/libdns_sd.so
 *    /usr/lib64/libavahi-gobject.so
 *    /usr/lib64/libavahi-glib.so.1
 *    /usr/lib64/libavahi-client.so.3
 *    /usr/lib64/libavahi-common.so
 *    /usr/lib64/libavahi-client.so
 *    /usr/lib64/libavahi-ui-gtk3.so.0
 *    /usr/lib64/libavahi-gobject.so.0
 *    /usr/lib64/libavahi-common.so.3
 *    /usr/lib64/libdns_sd.so.1
 *    /usr/lib64/libavahi-ui-gtk3.so
 *    /usr/lib64/libhowl.so.0
 *    /usr/lib64/libhowl.so
 *    /usr/lib64/libavahi-core.so.7
 *    /usr/lib64/pkgconfig/howl.pc
 *    /usr/include/dns_sd.h
 *
 * Searching all installed packages for file collisions...
 *
 * Press Ctrl-C to Stop
 *
 * net-dns/avahi-base-0.6.30-r1
 *    /usr/share/dbus-1/interfaces/org.freedesktop.Avahi.AddressResolver.xml
 *    /usr/share/dbus-1/interfaces/org.freedesktop.Avahi.DomainBrowser.xml
 *    /usr/share/dbus-1/interfaces/org.freedesktop.Avahi.EntryGroup.xml
 *    /usr/share/dbus-1/interfaces/org.freedesktop.Avahi.HostNameResolver.xml
 *    /usr/share/dbus-1/interfaces/org.freedesktop.Avahi.RecordBrowser.xml
 *    /usr/share/dbus-1/interfaces/org.freedesktop.Avahi.Server.xml
 *    /usr/share/dbus-1/interfaces/org.freedesktop.Avahi.ServiceBrowser.xml
 *    /usr/share/dbus-1/interfaces/org.freedesktop.Avahi.ServiceResolver.xml
 *    /usr/share/dbus-1/interfaces/org.freedesktop.Avahi.ServiceTypeBrowser.xml
 *    /usr/share/gir-1.0/Avahi-0.6.gir
 *    /usr/share/gir-1.0/AvahiCore-0.6.gir
 *    /usr/share/locale/cs/LC_MESSAGES/avahi.mo
 *    /usr/share/locale/fr/LC_MESSAGES/avahi.mo
 *    /usr/share/locale/gl/LC_MESSAGES/avahi.mo
 *    /usr/share/locale/he/LC_MESSAGES/avahi.mo
 *    /usr/share/locale/it/LC_MESSAGES/avahi.mo
 *    /usr/share/locale/nl/LC_MESSAGES/avahi.mo
 *    /usr/share/locale/pl/LC_MESSAGES/avahi.mo
 *    /usr/share/locale/ru/LC_MESSAGES/avahi.mo
 *    /usr/share/locale/sv/LC_MESSAGES/avahi.mo
 *
 * Package 'net-dns/avahi-0.6.30-r3' NOT merged due to file collisions.
 * If necessary, refer to your elog messages for the whole content of the
 * above message.


What should I do in that case?

Thanks again !
Beedbox is a self-hosting distribution project with a web interface to configure all the services to ease it access.
Join us in this promising project!
----------------------------------------------------------------------------------
French mirror - freelydifferent.com
dudumomo
Growing Hen
 
Posts: 116
Joined: Tue Nov 16, 2010 14:40

Re: Using both Audio output (Analog + HDMI) together

Postby Fitzcarraldo » Tue Nov 06, 2012 18:29

Well, it's a bit risky mixing Portage and Entropy like this, but try:

Code: Select all
FEATURES="parallel-fetch -collision-protect -protect-owned" emerge -1v paprefs

BTW, although I'm away from home at the moment and can't connect my laptop's HDMI output to anything in order to prove this method works, I did at least launch PulseAudio Preferences (paprefs), I clicked on the 'Simultaneous Output' tab and ticked 'Add virtual output device for simultaneous output on all local sound cards', and PulseAudio Volume Control on my laptop does now show an extra set of controls under the Output Devices tab:

Simultaneous output to Redwood HDMI Audio [Radeon HD 5000 Series] Digital Stereo (HDMI), Built-in Audio Analog Stereo
- Front Left (slider)
- Front Right (slider)
- Mute
- Lock channels together
- Set as fallback

^My HDMI controller is on an AMD ATI Mobility Radeon HD 5650 GPU, hence the reference to "Redwood HDMI Audio [Radeon HD 5000 Series]" in PulseAudio Volume Control on my laptop.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7335
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: Using both Audio output (Analog + HDMI) together

Postby dudumomo » Wed Nov 07, 2012 2:53

Nice !!
It works !!

The sound is a bit weird (like no perfectly sync or so) but may be it is because I'm not really used to dual output.

Anyway, thank you Fitzcarraldo
Beedbox is a self-hosting distribution project with a web interface to configure all the services to ease it access.
Join us in this promising project!
----------------------------------------------------------------------------------
French mirror - freelydifferent.com
dudumomo
Growing Hen
 
Posts: 116
Joined: Tue Nov 16, 2010 14:40

Previous

Return to Sabayon Linux General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest