Installed linux-firmware 20250317.git1d4c88ee-0ubuntu1.6 from plucky-
proposed on a X13s.

No firmware load error:

$ sudo dmesg | grep venus
[    4.992967] qcom-venus aa00000.video-codec: Adding to iommu group 22
[    4.995249] qcom-venus aa00000.video-codec: non legacy binding

Uses HW decoding:

$ ffplay -hide_banner -vcodec h264_v4l2m2m Big_Buck_Bunny_360_10s_1MB.mp4
 Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    title           : Big Buck Bunny, Sunflower version
    artist          : Blender Foundation 2008, Janus Bager Kristensen 2013
    composer        : Sacha Goedegebure
    encoder         : Lavf57.63.100
    comment         : Creative Commons Attribution 3.0 - 
http://bbb3d.renderfarming.net
    genre           : Animation
  Duration: 00:00:10.00, start: 0.000000, bitrate: 792 kb/s
  Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), 
yuv420p(progressive), 640x360 [SAR 1:1 DAR 16:9], 789 kb/s, 30 fps, 30 tbr, 
15360 tbn (default)
      Metadata:
        handler_name    : VideoHandler
        vendor_id       : [0][0][0][0]
[h264_v4l2m2m @ 0xff774c001b60] Using device /dev/video32
[h264_v4l2m2m @ 0xff774c001b60] driver 'qcom-venus' on card 'Qualcomm Venus 
video decoder' in mplane mode
[h264_v4l2m2m @ 0xff774c001b60] requesting formats: output=H264/none 
capture=NV12/yuv420p
[h264_v4l2m2m @ 0xff774c001b60] VIDIOC_G_FMT ioctl


** Tags added: verification-done-plucky

** Description changed:

  [Impact]
  
  Venus firmware is not available for the X13s:
  
  [    5.947627] qcom-venus aa00000.video-codec: Adding to iommu group 18
  [    5.949637] qcom-venus aa00000.video-codec: non legacy binding
  [    6.003894] qcom-venus aa00000.video-codec: Direct firmware load for 
qcom/sc8280xp/LENOVO/21BX/qcvss8280.mbn failed with error -2
  [    6.003900] qcom-venus aa00000.video-codec: fail to load video firmware
  [    6.008167] qcom-venus aa00000.video-codec: probe with driver qcom-venus 
failed with error -22
  
  HW accelerated video encoding/decoding is not working.
  
- $ ffmpeg -hide_banner -vcodec h264_v4l2m2m Big_Buck_Bunny_360_10s_1MB.mp4
+ $ ffplay -hide_banner -vcodec h264_v4l2m2m Big_Buck_Bunny_360_10s_1MB.mp4
  Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Big_Buck_Bunny_360_10s_1MB.mp4':
    Metadata:
      major_brand     : isom
      minor_version   : 512
      compatible_brands: isomiso2avc1mp41
      title           : Big Buck Bunny, Sunflower version
      artist          : Blender Foundation 2008, Janus Bager Kristensen 2013
      composer        : Sacha Goedegebure
      encoder         : Lavf57.63.100
      comment         : Creative Commons Attribution 3.0 - 
http://bbb3d.renderfarming.net
      genre           : Animation
    Duration: 00:00:10.00, start: 0.000000, bitrate: 792 kb/s
    Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), 
yuv420p(progressive), 640x360 [SAR 1:1 DAR 16:9], 789 kb/s, 30 fps, 30 tbr, 
15360 tbn (default)
        Metadata:
          handler_name    : VideoHandler
          vendor_id       : [0][0][0][0]
  [h264_v4l2m2m @ 0xfc01d4001b60] Could not find a valid device
  [h264_v4l2m2m @ 0xfc01d4001b60] can't configure decoder
  Failed to open file 'Big_Buck_Bunny_360_10s_1MB.mp4' or configure filtergraph
  
  [Fix]
  
  Upstream linux-firmware commit:
  0c4cd60597a0 ("qcom: sc8280xp: FW blob updates for X13s")
  
  [Test Case]
  
  Play a video using h264 decoding:
- $ ffmpeg -hide_banner -vcodec h264_v4l2m2m Big_Buck_Bunny_360_10s_1MB.mp4
+ $ ffplay -hide_banner -vcodec h264_v4l2m2m Big_Buck_Bunny_360_10s_1MB.mp4
  Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Big_Buck_Bunny_360_10s_1MB.mp4':
-   Metadata:
-     major_brand     : isom
-     minor_version   : 512
-     compatible_brands: isomiso2avc1mp41
-     title           : Big Buck Bunny, Sunflower version
-     artist          : Blender Foundation 2008, Janus Bager Kristensen 2013
-     composer        : Sacha Goedegebure
-     encoder         : Lavf57.63.100
-     comment         : Creative Commons Attribution 3.0 - 
http://bbb3d.renderfarming.net
-     genre           : Animation
-   Duration: 00:00:10.00, start: 0.000000, bitrate: 792 kb/s
-   Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), 
yuv420p(progressive), 640x360 [SAR 1:1 DAR 16:9], 789 kb/s, 30 fps, 30 tbr, 
15360 tbn (default)
-       Metadata:
-         handler_name    : VideoHandler
-         vendor_id       : [0][0][0][0]
+   Metadata:
+     major_brand     : isom
+     minor_version   : 512
+     compatible_brands: isomiso2avc1mp41
+     title           : Big Buck Bunny, Sunflower version
+     artist          : Blender Foundation 2008, Janus Bager Kristensen 2013
+     composer        : Sacha Goedegebure
+     encoder         : Lavf57.63.100
+     comment         : Creative Commons Attribution 3.0 - 
http://bbb3d.renderfarming.net
+     genre           : Animation
+   Duration: 00:00:10.00, start: 0.000000, bitrate: 792 kb/s
+   Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), 
yuv420p(progressive), 640x360 [SAR 1:1 DAR 16:9], 789 kb/s, 30 fps, 30 tbr, 
15360 tbn (default)
+       Metadata:
+         handler_name    : VideoHandler
+         vendor_id       : [0][0][0][0]
  [h264_v4l2m2m @ 0xe2080c001b60] Using device /dev/video33
  [h264_v4l2m2m @ 0xe2080c001b60] driver 'qcom-venus' on card 'Qualcomm Venus 
video decoder' in mplane mode
  [h264_v4l2m2m @ 0xe2080c001b60] requesting formats: output=H264/none 
capture=NV12/yuv420p
  [h264_v4l2m2m @ 0xe2080c001b60] VIDIOC_G_FMT ioctl
- 
  
  [Where Problems Could Occur]
  
  These are X13s specific firmwares. Problems will show up on that
  platform only. Since the commit also updates remoteproc firmwares, that
  could causes issues as well.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2115199

Title:
  Missing qcom venus firmware

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-firmware/+bug/2115199/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to