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