[vfio-users] PCIe Sound Card VFIO Pass through Sounds Terrible (link to audio file)

sL1pKn07 SpinFlo sl1pkn07 at gmail.com
Fri Sep 30 14:15:18 UTC 2016


        <sound model='ich9'>
     <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
   </sound>
.....
<qemu:env name='QEMU_AUDIO_DRV' value='pa'/>
    <qemu:env name='QEMU_PA_SERVER' value='/run/user/1000/pulse/native'/>
  </qemu:commandline>
</domain>

in the VM xml

2016-09-30 15:59 GMT+02:00 Rokas Kupstys <rokups at zoho.com>:
> Could you describe how you set it up?
>
> Rokas Kupstys
>
> On 2016.09.30 16:36, sL1pKn07 SpinFlo wrote:
>> yes. i have working it, but yes, with a very little cracking some
>> times. but is perfect payable (used in Worl of Tanks)
>>
>> 2016-09-30 15:27 GMT+02:00 Rokas Kupstys <rokups at zoho.com>:
>>> You have it working? I tried (although through alsa) but sound was very
>>> poor quality.
>>>
>>> Rokas Kupstys
>>>
>>> On 2016.09.30 16:19, sL1pKn07 SpinFlo wrote:
>>>> why not use the sound card through pulseaudio?
>>>>
>>>> (damn you , ML/gmail)
>>>>
>>>> 2016-09-30 13:00 GMT+02:00 Jonathan Scruggs <j.scruggs at gmail.com>:
>>>>> Hi all,
>>>>>
>>>>> I have a PCIe sound card that I wish to pass through to a Windows 10 guest
>>>>> using VFIO, but it sounds terrible.
>>>>>
>>>>> Kernel: Linux Beast 4.7.5-gentoo #5 SMP PREEMPT Thu Sep 29 11:26:39 BST 2016
>>>>> x86_64 Intel(R) Core(TM) i7-5930K CPU @ 3.50GHz GenuineIntel GNU/Linux
>>>>>
>>>>> Qemu version: app-emulation/qemu-2.7.0-r4::gentoo
>>>>>
>>>>> Libvirt version: app-emulation/libvirt-2.2.0
>>>>>
>>>>> The sound card is:
>>>>> 09:00.0 Audio device: Creative Labs Sound Core3D [Sound Blaster Recon3D /
>>>>> Z-Series] (rev 01)
>>>>>
>>>>> The relevant part of the XML file is:
>>>>>     <hostdev mode='subsystem' type='pci' managed='yes'>
>>>>>       <driver name='vfio'/>
>>>>>       <source>
>>>>>         <address domain='0x0000' bus='0x09' slot='0x00' function='0x0'/>
>>>>>       </source>
>>>>>       <address type='pci' domain='0x0000' bus='0x00' slot='0x0a'
>>>>> function='0x0'/>
>>>>>     </hostdev>
>>>>>
>>>>> The Audio I'm trying to play: https://www.youtube.com/watch?v=jc8Mm5TtIhg
>>>>>
>>>>> What it actually sounds like:
>>>>> https://drive.google.com/file/d/0B12vXeyT8c8HZ0RqMmpnWDZUdXM/view?usp=sharing
>>>>>
>>>>> To record the Audio, I plugged the cable into a recorder instead of going
>>>>> through speakers or line in on the host to see if it was any other device,
>>>>> but it sounds the same on all.
>>>>>
>>>>> I hope you can help.
>>>>> Jon
>>>>>
>>>>> _______________________________________________
>>>>> vfio-users mailing list
>>>>> vfio-users at redhat.com
>>>>> https://www.redhat.com/mailman/listinfo/vfio-users
>>>>>
>>>> _______________________________________________
>>>> vfio-users mailing list
>>>> vfio-users at redhat.com
>>>> https://www.redhat.com/mailman/listinfo/vfio-users
>>>
>>> _______________________________________________
>>> vfio-users mailing list
>>> vfio-users at redhat.com
>>> https://www.redhat.com/mailman/listinfo/vfio-users
>
>
> _______________________________________________
> vfio-users mailing list
> vfio-users at redhat.com
> https://www.redhat.com/mailman/listinfo/vfio-users




More information about the vfio-users mailing list