1 |
I was saying the libsdl packages have a USE flag "sound" which builds the |
2 |
sound module for sdl. So if qemu makes any calls to the sound module not |
3 |
pure alsa calls, that might be causing your issue. |
4 |
|
5 |
Wabes USE flag output shows he's building sdl with the "sound" use flag |
6 |
enabled and not just alsa alone. |
7 |
|
8 |
On Thu, Dec 24, 2015, 22:26 <wabenbau@×××××.com> wrote: |
9 |
|
10 |
> waltdnes@××××××××.org wrote: |
11 |
> |
12 |
> > On Thu, Dec 24, 2015 at 10:48:28PM +0000, Ian Bloss wrote |
13 |
> > > Libsdl and libsdl2 built with sound use flag on host? |
14 |
> > |
15 |
> > I didn't bother enabling alsa except for packages that actually need |
16 |
> > it. I've enabled it for libsdl, but not for sdl2, because I didn't |
17 |
> > realize libsdl2 even existed. According to equery, the only package |
18 |
> > pulling in libsdl2 is qemu, and that's because I set the flag. If I |
19 |
> > remove the "alsa2" flag from qemu, will it work properly with "alsa" |
20 |
> > alone? |
21 |
> |
22 |
> On my host system I use alsa and no pulseaudio. However it doesn't |
23 |
> make any difference if I set the alsa USE-flag for qemu or not. |
24 |
> |
25 |
> I don't know if qemu runs flawless without sdl2 USE-flag. But you can |
26 |
> easily test this. |
27 |
> |
28 |
> Btw. Since I reverted from qemu-2.5.0 back to qemu-2.4.1-r2, qemu |
29 |
> hangs no longer when I specify ac97, hda or es1370 as sound hardware |
30 |
> emulation. But I have to start the xfce mixer application on the |
31 |
> guest OS after the desktop is loaded. If I don't do this, then one |
32 |
> core on my host is always at 100% load and qemu is slow and sometimes |
33 |
> doesn't respond for some seconds. But no error message appears on |
34 |
> guest or host. |
35 |
> Strange is, that the guest OS doesn't show a high load but only the |
36 |
> host OS. After I started the xfce-mixer app on guest OS, everything |
37 |
> is smooth and host load count normalizes. |
38 |
> |
39 |
> I now use qemu with "-soundhw es1370" and am have automated the start |
40 |
> of the mixer app. With this, sound is working fine. |
41 |
> |
42 |
> As I already said, when I use sb16 or gus then I have no sound at all. |
43 |
> Only ac97, hda and es1370 are working for me. Maybe this has something |
44 |
> to do with the guest OS. |
45 |
> |
46 |
> Here are the USE-flags that I use for qemu, libsdl and libsdl2. |
47 |
> |
48 |
> app-emulation/qemu-2.4.1-r2 aio caps curl fdt filecaps gtk gtk2 jpeg lzo |
49 |
> ncurses nfs nls opengl pin-upstream-blobs png python sasl sdl sdl2 seccomp |
50 |
> spice threads usb uuid vde vhost-net vnc xattr xfs -accessibility -alsa |
51 |
> -bluetooth -debug -glusterfs -infiniband -iscsi -numa -pulseaudio -rbd |
52 |
> -selinux -smartcard -snappy -ssh -static -static-softmmu -static-user |
53 |
> -systemtap -tci -test -tls -usbredir -virtfs -vte -xen |
54 |
> |
55 |
> media-libs/libsdl-1.2.15-r9 X alsa dga fbcon joystick opengl oss sound |
56 |
> video xv -aalib -custom-cflags -libcaca -nas -pulseaudio -static-libs |
57 |
> -tslib -xinerama |
58 |
> |
59 |
> media-libs/libsdl2-2.0.3-r200 X alsa dbus joystick opengl oss sound |
60 |
> threads udev video xscreensaver -altivec -custom-cflags -fusionsound -gles |
61 |
> -haptic -nas -pulseaudio -static-libs -tslib -wayland -xinerama |
62 |
> |
63 |
> -- |
64 |
> Regards |
65 |
> wabe |
66 |
> |
67 |
> |