<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>15438</bug_id>
          
          <creation_ts>2024-03-10 22:07:22 +0000</creation_ts>
          <short_desc>Unable to get audio output on qemux86-64</short_desc>
          <delta_ts>2026-11-05 16:28:18 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>ADT</product>
          <component>adt</component>
          <version>5.1</version>
          <rep_platform>x86</rep_platform>
          <op_sys>x86_64</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>6.99</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>worryelectric</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>paul</cc>
    
    <cc>poky.adt.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>yoann.congal</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>98448</commentid>
    <comment_count>0</comment_count>
    <who name="">worryelectric</who>
    <bug_when>2024-03-10 22:07:22 +0000</bug_when>
    <thetext>I&apos;m unable to get any audio output with `runqemu`. If I run an image as follows:

    runqemu qemux86-64 qemuparams=&quot;-m 2048&quot; sdl gl serial slirp audio

And then in the guest run something that should output audio:

    aplay ~/wav/sample-15s.wav

Then no audio is played on the host. aplay runs as if it&apos;s outputting the 15 second audio file but no error and no actual audio.

However, if I use qemu parameters to output audio to a wav file then that does produce a file with the audio which I can playback:

    runqemu qemux86-64 qemuparams=&quot;-audiodev wav,id=id,path=blah -m 2048&quot; sdl gl serial slirp audio

I don&apos;t know much about QEMU audio, but the fact that the wav file is created suggests that everything is good (the guest&apos;s drivers, the guest devices, etc.) but that the magic that sends the audio to the host device is broken. I&apos;ve got no idea what to do to fix it despite much hacking around with the parameters in poky/meta/conf/machine/include/x86/qemuboot-x86.inc.

I&apos;ve got the same issue on multiple machines and have no issue getting audio output on desktop VMs running on the distro&apos;s virt-manager with kvm. (Though that&apos;s not a fair comparison as that uses the spice driver.)

Is this a known issue?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98466</commentid>
    <comment_count>1</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2024-03-14 14:35:42 +0000</bug_when>
    <thetext>We&apos;re not sure if this ever worked.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100093</commentid>
    <comment_count>2</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2024-10-31 15:09:24 +0000</bug_when>
    <thetext>Bulk move of 5.1 bugs to 5.2. -- YP bug review (Randy)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>