doomedraven / Tools

Combination of different utilities, have fun!
MIT License
202 stars 96 forks source link

alsa support? #30

Closed StealthyXor closed 4 years ago

StealthyXor commented 4 years ago

After installing QEMU it turns out 'alsa' is not recognized as an audio driver. Do I need to install some dependencies before anything?

doomedraven commented 4 years ago

Hello, i never had this problem so not sure what is the problem

El dom., 22 mar. 2020 7:40, StealthyXor notifications@github.com escribió:

After installing QEMU it turns out 'alsa' is not recognized as an audio driver. Do I need to install some dependencies before anything?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/doomedraven/Tools/issues/30, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAOFH377GW7FLTVK77KQTK3RIWXHBANCNFSM4LRF4NRQ .

StealthyXor commented 4 years ago

When using 'pa' there is no sound playing on the host so I wanted to try 'alsa'. As a workaround I passed on my USB headset.

doomedraven commented 4 years ago

you have a lot of issues in stackoverflow, but is more due to alsa driver itself than qemu, example https://askubuntu.com/questions/471433/sound-card-not-detecting

StealthyXor commented 4 years ago

i remember when building from source you can pass --audio-device-list iirc. i dont know what audio drivers your build script detects and if i need, maybe, alsasound2-dev or some other dependency. i think pulseaudio and alsa itself came preinstalled with ubuntu 18.04 desktop. i have sound normally, just getting an error when launching the vm that alsa is not a validsound driver. with pa i can boot the vm but no sound-- which is an unrelated issue

doomedraven commented 4 years ago

i see what you mean

 --audio-drv-list=LIST    set audio drivers list:
                           Available drivers: oss alsa sdl pa

check this, you maybe will nee to recompile with alsa driver http://www.linuxfromscratch.org/blfs/view/stable/postlfs/qemu.html

StealthyXor commented 4 years ago

yep, i got it working manually. maybe provide an argument option for your script but it will increase complexity in errorchecking.

either way, thank you for the work you put into this

doomedraven commented 4 years ago

Glad you got it working, i will add that to ToDo how to improve this

El lun., 23 mar. 2020 2:32, StealthyXor notifications@github.com escribió:

Closed #30 https://github.com/doomedraven/Tools/issues/30.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/doomedraven/Tools/issues/30#event-3153322452, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAOFH324JDSFE7ZPBN6RFK3RI234BANCNFSM4LRF4NRQ .