1 |
Libsdl and libsdl2 built with sound use flag on host? |
2 |
|
3 |
On Thu, Dec 24, 2015, 16:04 <waltdnes@××××××××.org> wrote: |
4 |
|
5 |
> Any ideas? The error message is... |
6 |
> |
7 |
> sdl: SDL failed to initialize audio subsystem |
8 |
> sdl: Reason: No available audio device |
9 |
> audio: Could not init `sdl' audio driver |
10 |
> |
11 |
> I get this both with a Gentoo guest... |
12 |
> |
13 |
> #!/bin/bash |
14 |
> qemu-system-i386 -enable-kvm \ |
15 |
> -cpu host -display gtk \ |
16 |
> -drive file=gentoo32.img,format=raw \ |
17 |
> -drive file=linuxswap.img,format=raw \ |
18 |
> -net nic,model=virtio \ |
19 |
> -rtc base=localtime,clock=host \ |
20 |
> -net user,hostname=gentoovm,hostfwd=tcp::2022-:22 \ |
21 |
> -m 3G -name "Gentoo VM" \ |
22 |
> -soundhw sb16 -parallel none \ |
23 |
> ${@} |
24 |
> |
25 |
> ...and an OS/2 Warp 4 guest... |
26 |
> |
27 |
> #!/bin/bash |
28 |
> qemu-system-i386 -enable-kvm \ |
29 |
> -cpu coreduo -monitor vc \ |
30 |
> -drive file=os2.img,format=raw \ |
31 |
> -net nic,model=pcnet \ |
32 |
> -m size=64 -name "OS/2 VM" \ |
33 |
> -soundhw sb16 -vga std \ |
34 |
> ${@} |
35 |
> |
36 |
> On the host, from "emerge -pv qemu"... |
37 |
> |
38 |
> app-emulation/qemu-2.4.1-r2::gentoo USE="aio alsa curl fdt gtk gtk2 jpeg |
39 |
> ncurses opengl pin-upstream-blobs png sdl sdl2 ssh threads usb vhost-net |
40 |
> vnc -accessibility -bluetooth -caps -debug -filecaps (-glusterfs) |
41 |
> -infiniband -iscsi -lzo -nfs -nls -numa -pulseaudio -python -rbd -sasl |
42 |
> -seccomp (-selinux) -smartcard -snappy -spice -static -static-softmmu |
43 |
> -static-user -systemtap -tci {-test} -tls -usbredir -uuid -vde -virtfs -vte |
44 |
> -xattr -xen -xfs" |
45 |
> PYTHON_TARGETS="python2_7" |
46 |
> QEMU_SOFTMMU_TARGETS="i386 x86_64" |
47 |
> QEMU_USER_TARGETS="i386 x86_64" |
48 |
> |
49 |
> -- |
50 |
> Walter Dnes <waltdnes@××××××××.org> |
51 |
> I don't run "desktop environments"; I run useful applications |
52 |
> |
53 |
> |