Uploaded image for project: ' AGL Development'
  1. AGL Development
  2. SPEC-4010

Pipewire does not play specific .wav files on intel platforms

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • None
    • master
    • Multimedia
    • None
    • Intel Minnowboard, Intel Upsquare

      During the last testing on master branch and lamprey m3, after fixing the freeze in SPEC-3957 some of the backported patches may have caused regressions which were fixed in SPEC-3900 regarding playback of .wav files. 

      From the following .wav files, only the stereo 16bit 48khz "test-wav-crash.wav" file played properly in Mediaplayer

       

      up2:/media/5db879ac-8eb9-4f52-a76d-5590b8716c96# find . -iregex '.*\.\(wav\)$' -exec file {} +
      ./220-440sine.wav:    RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, mono 44100 Hz
      ./901028.wav:         RIFF (little-endian) data, WAVE audio, Microsoft PCM, 8 bit, mono 22050 Hz
      ./test-wav-crash.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, stereo 48000 Hz
      ./901029.wav:         RIFF (little-endian) data, WAVE audio, Microsoft PCM, 8 bit, mono 22050 Hz

      Platforms affected - Upsquared and Minnowboard Turbot

       

      Pasting the output from up2 board, the errors pour into pipewire log immediately after using wpctl set-default 38 (hw0:7) which is the HDMI output; even though output does not come out from other sinks - setting the output to another sink does not seem to spew errors 

      Jul 06 09:46:56 up2 pipewire[1275]: alsa-pcm hw:0,9: Channels doesn't match (requested 64, got 8)
      Jul 06 09:47:27 up2 pipewire[1275]: 'CHECK_PORT(this, direction, port_id)' failed at ../git/spa/plugins/audioconvert/merger.c:745 impl_node_port_enum_params()
      Jul 06 09:47:27 up2 pipewire[1275]: 'CHECK_PORT(this, direction, port_id)' failed at ../git/spa/plugins/audioconvert/merger.c:745 impl_node_port_enum_params()
      Jul 06 09:47:27 up2 pipewire[1275]: 'CHECK_PORT(this, direction, port_id)' failed at ../git/spa/plugins/audioconvert/merger.c:1069 impl_node_port_set_param()
      Jul 06 09:47:27 up2 pipewire[1275]: params Spa:Enum:ParamId:EnumFormat: 0:0 Invalid argument (input format (error output enum formats: Invalid argument))
      Jul 06 09:47:27 up2 pipewire[1275]: 'CHECK_PORT(this, direction, port_id)' failed at ../git/spa/plugins/audioconvert/merger.c:1069 impl_node_port_set_param()
      Jul 06 09:47:27 up2 pipewire[1275]: Object: size 80, type Spa:Pod:Object:Param:Format (262147), id Spa:Enum:ParamId:EnumFormat (3)
      Jul 06 09:47:27 up2 pipewire[1275]:   Prop: key Spa:Pod:Object:Param:Format:mediaType (1), flags 00000000
      Jul 06 09:47:27 up2 pipewire[1275]:     Id 1        (Spa:Enum:MediaType:audio)
      Jul 06 09:47:27 up2 pipewire[1275]:   Prop: key Spa:Pod:Object:Param:Format:mediaSubtype (2), flags 00000000
      Jul 06 09:47:27 up2 pipewire[1275]:     Id 2        (Spa:Enum:MediaSubtype:dsp)
      Jul 06 09:47:27 up2 pipewire[1275]:   Prop: key Spa:Pod:Object:Param:Format:Audio:format (65537), flags 00000000
      Jul 06 09:47:27 up2 pipewire[1275]:     Id 518      (Spa:Enum:AudioFormat:F32P)
      Jul 06 09:47:27 up2 pipewire[1275]: params Spa:Enum:ParamId:EnumFormat: 1:7 Invalid argument (output format (error output enum formats: Invalid argument))
      Jul 06 09:47:27 up2 pipewire[1275]:   error: Invalid argument
      Jul 06 09:47:27 up2 pipewire[1275]: (29.7 -> 38.0) negotiating -> error (error output enum formats: Invalid argument)
      Jul 06 09:47:27 up2 pipewire[1275]: node 0x557e05ed6d60: error unset format output: Invalid argument
      Jul 06 09:47:27 up2 pipewire[1275]: node 0x557e05ed6d60: error unset format output: Invalid argument
      Jul 06 09:47:27 up2 pipewire[1275]: 'CHECK_PORT(this, direction, port_id)' failed at ../git/spa/plugins/audioconvert/merger.c:745 impl_node_port_enum_params()
      Jul 06 09:47:27 up2 pipewire[1275]: 'CHECK_PORT(this, direction, port_id)' failed at ../git/spa/plugins/audioconvert/merger.c:745 impl_node_port_enum_params()
      Jul 06 09:47:27 up2 pipewire[1275]: params Spa:Enum:ParamId:EnumFormat: 0:4 Invalid argument (input format (error output enum formats: Invalid argument))
      Jul 06 09:47:27 up2 pipewire[1275]: Object: size 80, type Spa:Pod:Object:Param:Format (262147), id Spa:Enum:ParamId:EnumFormat (3)
      Jul 06 09:47:27 up2 pipewire[1275]:   Prop: key Spa:Pod:Object:Param:Format:mediaType (1), flags 00000000
      Jul 06 09:47:27 up2 pipewire[1275]:     Id 1        (Spa:Enum:MediaType:audio)
      Jul 06 09:47:27 up2 pipewire[1275]:   Prop: key Spa:Pod:Object:Param:Format:mediaSubtype (2), flags 00000000
      Jul 06 09:47:27 up2 pipewire[1275]:     Id 2        (Spa:Enum:MediaSubtype:dsp)
      Jul 06 09:47:27 up2 pipewire[1275]:   Prop: key Spa:Pod:Object:Param:Format:Audio:format (65537), flags 00000000
      Jul 06 09:47:27 up2 pipewire[1275]:     Id 518      (Spa:Enum:AudioFormat:F32P)
      Jul 06 09:47:27 up2 pipewire[1275]: params Spa:Enum:ParamId:EnumFormat: 1:6 Invalid argument (output format (error output enum formats: Invalid argument))
      Jul 06 09:47:27 up2 pipewire[1275]:   error: Invalid argument
      Jul 06 09:47:27 up2 pipewire[1275]: (29.6 -> 38.4) negotiating -> error (error output enum formats: Invalid argument)
      Jul 06 09:47:27 up2 pipewire[1275]: alsa-pcm hw:0,7: Channels doesn't match (requested 64, got 6)

       

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            gkiagia Georgios Kiagiadakis
            edi.feschiyan Edi Feschiyan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: