Package Details: chromium-wayland-vaapi 111.0.5563.110-1

Git Clone URL: https://aur.archlinux.org/chromium-wayland-vaapi.git (read-only, click to copy)
Package Base: chromium-wayland-vaapi
Description: Chromium, patched to enable VA-API video decoding on the Ozone Wayland backend
Upstream URL: https://www.chromium.org/Home
Licenses: BSD
Conflicts: chromium
Provides: chromium
Submitter: hedgepigdaniel
Maintainer: mars
Last Packager: mars
Votes: 11
Popularity: 0.30
First Submitted: 2021-11-29 09:16 (UTC)
Last Updated: 2023-03-22 13:48 (UTC)

Dependencies (52)

Required by (112)

Sources (8)

Latest Comments

1 2 3 4 Next › Last »

tilltend commented on 2023-03-15 13:44 (UTC)

@mars Still unable to work, only able to work under X11.

mars commented on 2023-03-08 13:50 (UTC)

--enable-hardware-overlays is not needed anymore and --use-gl=egl is required in my test.

tilltend commented on 2023-03-06 10:00 (UTC)

Is it still working? It's not working for me with intel Integrated Graphics.

ivlev98 commented on 2022-12-12 11:41 (UTC) (edited on 2022-12-12 11:43 (UTC) by ivlev98)

Its not work

{
  "properties": {
    "render_id": 28,
    "player_id": 4,
    "created": "2022-12-12 11:38:28.950 UTC",
    "origin_url": "https://www.youtube.com/",
    "kFrameUrl": "https://www.youtube.com/watch?v=JTN4OF8qip4",
    "kFrameTitle": "YouTube",
    "url": "blob:https://www.youtube.com/0f867d7d-49b9-4914-a499-0566fb4dd6c2",
    "kTextTracks": [],
    "info": "Selected video track: []",
    "kRendererName": "RendererImpl",
    "pipeline_state": "kPlaying",
    "kVideoTracks": [
      {
        "alpha mode": "is_opaque",
        "codec": "vp9",
        "coded size": "1920x1080",
        "color space": {
          "matrix": "BT709",
          "primaries": "BT709",
          "range": "LIMITED",
          "transfer": "BT709"
        },
        "encryption scheme": "Unencrypted",
        "has extra data": false,
        "hdr metadata": "unset",
        "natural size": "1920x1080",
        "orientation": "0°",
        "profile": "vp9 profile0",
        "visible rect": "0,0 1920x1080"
      }
    ],
    "kAudioTracks": [
      {
        "bytes per channel": 2,
        "bytes per frame": 4,
        "channel layout": "STEREO",
        "channels": 2,
        "codec": "aac",
        "codec delay": 0,
        "discard decoder delay": false,
        "encryption scheme": "Unencrypted",
        "has extra data": false,
        "profile": "unknown",
        "sample format": "Signed 16-bit",
        "samples per second": 44100,
        "seek preroll": "0us"
      }
    ],
    "kIsAudioDecryptingDemuxerStream": false,
    "kAudioDecoderName": "FFmpegAudioDecoder",
    "kIsPlatformAudioDecoder": false,
    "debug": "Video rendering in low delay mode.",
    "event": "kPlay",
    "seek_target": 46800.099999,
    "kIsVideoDecryptingDemuxerStream": false,
    "kVideoDecoderName": "VpxVideoDecoder",
    "kIsPlatformVideoDecoder": false,
    "error": "VideoDecoderPipeline Frame converter returns null frame.",
    "warning": "video decoder fallback after initial decode error.",
    "dimensions": "1920x1080",
    "kResolution": "1920x1080",
    "duration": 50400.099999,
    "pipeline_buffering_state": {
      "for_suspended_start": false,
      "state": "BUFFERING_HAVE_ENOUGH"
    }
  },
  "events": [
    {
      "time": 0,
      "key": "created",
      "value": "2022-12-12 11:38:28.950 UTC"
    },
    {
      "time": 0.125,
      "key": "origin_url",
      "value": "https://www.youtube.com/"
    },
    {
      "time": 0.12999999895691872,
      "key": "kFrameUrl",
      "value": "https://www.youtube.com/watch?v=JTN4OF8qip4"
    },
    {
      "time": 0.13199999928474426,
      "key": "kFrameTitle",
      "value": "YouTube"
    },
    {
      "time": 0.19599999859929085,
      "key": "url",
      "value": "blob:https://www.youtube.com/0f867d7d-49b9-4914-a499-0566fb4dd6c2"
    },
    {
      "time": 0.21299999952316284,
      "key": "kTextTracks",
      "value": []
    },
    {
      "time": 0.25699999928474426,
      "key": "info",
      "value": "ChunkDemuxer"
    },
    {
      "time": 0.26500000059604645,
      "key": "kRendererName",
      "value": "RendererImpl"
    },
    {
      "time": 0.3049999997019768,
      "key": "pipeline_state",
      "value": "kStarting"
    },
    {
      "time": 81.90699999779463,
      "key": "kVideoTracks",
      "value": [
        {
          "alpha mode": "is_opaque",
          "codec": "vp9",
          "coded size": "1920x1080",
          "color space": {
            "matrix": "BT709",
            "primaries": "BT709",
            "range": "LIMITED",
            "transfer": "BT709"
          },
          "encryption scheme": "Unencrypted",
          "has extra data": false,
          "hdr metadata": "unset",
          "natural size": "1920x1080",
          "orientation": "0°",
          "profile": "vp9 profile0",
          "visible rect": "0,0 1920x1080"
        }
      ]
    },
    {
      "time": 82.0869999974966,
      "key": "kAudioTracks",
      "value": [
        {
          "bytes per channel": 2,
          "bytes per frame": 4,
          "channel layout": "STEREO",
          "channels": 2,
          "codec": "aac",
          "codec delay": 0,
          "discard decoder delay": false,
          "encryption scheme": "Unencrypted",
          "has extra data": false,
          "profile": "unknown",
          "sample format": "Signed 16-bit",
          "samples per second": 44100,
          "seek preroll": "0us"
        }
      ]
    },
    {
      "time": 83.8779999986291,
      "key": "kIsAudioDecryptingDemuxerStream",
      "value": false
    },
    {
      "time": 83.88199999928474,
      "key": "kAudioDecoderName",
      "value": "FFmpegAudioDecoder"
    },
    {
      "time": 83.88399999961257,
      "key": "kIsPlatformAudioDecoder",
      "value": false
    },
    {
      "time": 83.90399999916553,
      "key": "info",
      "value": "Selected FFmpegAudioDecoder for audio decoding, config: codec: aac, profile: unknown, bytes_per_channel: 2, channel_layout: STEREO, channels: 2, samples_per_second: 44100, sample_format: Signed 16-bit, bytes_per_frame: 4, seek_preroll: 0us, codec_delay: 0, has extra data: false, encryption scheme: Unencrypted, discard decoder delay: false, target_output_channel_layout: STEREO, target_output_sample_format: Unknown sample format, has aac extra data: true"
    },
    {
      "time": 83.93799999728799,
      "key": "debug",
      "value": "Video rendering in low delay mode."
    },
    {
      "time": 84.00099999830127,
      "key": "info",
      "value": "Failed to initialize DecryptingVideoDecoder"
    },
    {
      "time": 87.68299999833107,
      "key": "info",
      "value": "Effective playback rate changed from 0 to 1"
    },
    {
      "time": 87.75400000065565,
      "key": "event",
      "value": "kPlay"
    },
    {
      "time": 90.40399999916553,
      "key": "seek_target",
      "value": 46800.099999
    },
    {
      "time": 90.847999997437,
      "key": "info",
      "value": "VideoDecoderPipeline |decoder_| Initialize() successful"
    },
    {
      "time": 90.95999999716878,
      "key": "kIsVideoDecryptingDemuxerStream",
      "value": false
    },
    {
      "time": 90.96099999919534,
      "key": "kVideoDecoderName",
      "value": "VaapiVideoDecoder"
    },
    {
      "time": 90.9619999974966,
      "key": "kIsPlatformVideoDecoder",
      "value": true
    },
    {
      "time": 90.98199999704957,
      "key": "info",
      "value": "Selected VaapiVideoDecoder for video decoding, config: codec: vp9, profile: vp9 profile0, level: not available, alpha_mode: is_opaque, coded size: [1920,1080], visible rect: [0,0,1920,1080], natural size: [1920,1080], has extra data: false, encryption scheme: Unencrypted, rotation: 0°, flipped: 0, color space: {primaries:BT709, transfer:BT709, matrix:BT709, range:LIMITED}"
    },
    {
      "time": 91.00099999830127,
      "key": "pipeline_state",
      "value": "kPlaying"
    },
    {
      "time": 91.03399999812245,
      "key": "pipeline_state",
      "value": "kSeeking"
    },
    {
      "time": 91.2039999999106,
      "key": "pipeline_state",
      "value": "kPlaying"
    },
    {
      "time": 104.21099999919534,
      "key": "error",
      "value": "VideoDecoderPipeline Frame converter returns null frame."
    },
    {
      "time": 104.22800000011921,
      "key": "error",
      "value": "VideoDecoderPipeline Frame converter returns null frame."
    },
    {
      "time": 104.25200000032783,
      "key": "error",
      "value": "VideoDecoderPipeline Frame converter returns null frame."
    },
    {
      "time": 105.78399999812245,
      "key": "warning",
      "value": "video decoder fallback after initial decode error."
    },
    {
      "time": 106.1089999973774,
      "key": "kIsVideoDecryptingDemuxerStream",
      "value": false
    },
    {
      "time": 106.14900000020862,
      "key": "kVideoDecoderName",
      "value": "VpxVideoDecoder"
    },
    {
      "time": 106.15100000053644,
      "key": "kIsPlatformVideoDecoder",
      "value": false
    },
    {
      "time": 106.17599999904633,
      "key": "info",
      "value": "Selected VpxVideoDecoder for video decoding, config: codec: vp9, profile: vp9 profile0, level: not available, alpha_mode: is_opaque, coded size: [1920,1080], visible rect: [0,0,1920,1080], natural size: [1920,1080], has extra data: false, encryption scheme: Unencrypted, rotation: 0°, flipped: 0, color space: {primaries:BT709, transfer:BT709, matrix:BT709, range:LIMITED}"
    },
    {
      "time": 130.2989999987185,
      "key": "dimensions",
      "value": "1920x1080"
    },
    {
      "time": 130.30799999833107,
      "key": "kResolution",
      "value": "1920x1080"
    },
    {
      "time": 75.57200000062585,
      "key": "duration",
      "value": 50400.099999
    },
    {
      "time": 130.34299999848008,
      "key": "pipeline_buffering_state",
      "value": {
        "for_suspended_start": false,
        "state": "BUFFERING_HAVE_ENOUGH"
      }
    },
    {
      "time": 10473.612999998033,
      "key": "info",
      "value": "Selected video track: []"
    },
    {
      "time": 10494.266999997199,
      "key": "pipeline_buffering_state",
      "value": {
        "for_suspended_start": false,
        "state": "BUFFERING_HAVE_ENOUGH"
      }
    }
  ]
}

ArkrilDelpan commented on 2022-10-14 08:53 (UTC)

In my test, the 104.0.5112.79 version maybe the final vaapi workable release for wayland Qzoneplatform.

The recent releases both of 105 and 106's vaapi trigger only be succeed for x11 session, and even for x11 there're laggy gpu render problem and video decoding laggy problem for that.

nika commented on 2022-10-08 19:22 (UTC) (edited on 2022-10-08 19:23 (UTC) by nika)

On my Intel Coffeelake (Gen9) on intel-media-driver/ Nvidia Pascal Optimus system with the DGPU disabled I can't get vaapi with vulkan enable, however it works with these flags:

--enable-features=VaapiVideoDecoder,VaapiVideoEncoder
--disable-features=UseChromeOSDirectVideoDecoder
--ignore-gpu-blocklist
--enable-hardware-overlays
--enable-oop-rasterization
--enable-raw-draw
--enable-gpu-rasterization
--enable-gpu-compositing

usuariopolivalen commented on 2022-09-18 17:56 (UTC)

Is chromium working for you? for me is not even launching on manjaro compute(may be its needed to wait only)

mars commented on 2022-09-09 10:19 (UTC)

@hedgepigdaniel Thanks for the info. Unfortunately, the patch seems more like a preparation to support VA-API on wayland and it does not work for me. Could you share your flags if it works for you?

mars commented on 2022-09-09 10:18 (UTC)

@emilss @nihil21 Extra flags may break VA-API support. On my machine, enable vulkan make VA-API unavailable although about:gpu page still show Video Decode: Hardware accelerated. Try remove all flags in your config and add the flags you actually needed. Make sure VA-API work with X11 first, then add the flags for native wayland support.

hedgepigdaniel commented on 2022-09-08 13:06 (UTC)

@mars you may want to update this to use the more up to date patch here: https://chromium-review.googlesource.com/c/chromium/src/+/3646633