``` Gtk-Message: 12:30:13.823: Failed to load module "canberra-gtk-module" Gtk-Message: 12:30:13.826: Failed to load module "canberra-gtk-module" /usr/share/libdrm/amdgpu.ids: No such file or directory libva info: VA-API version 1.7.0 libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null) [88603:88603:0720/123014.054495:ERROR:vaapi_wrapper.cc(511)] vaInitialize failed: unknown libva error [88603:88603:0720/123014.127389:ERROR:sandbox_linux.cc(374)] InitializeSandbox() called with multiple threads in process gpu-process. [88603:88603:0720/123016.338346:ERROR:gl_surface_presentation_helper.cc(258)] GetVSyncParametersIfAvailable() failed for 1 times! [88603:88603:0720/123016.415428:ERROR:gl_surface_presentation_helper.cc(258)] GetVSyncParametersIfAvailable() failed for 2 times! [88603:88603:0720/123016.506070:ERROR:gl_surface_presentation_helper.cc(258)] GetVSyncParametersIfAvailable() failed for 3 times! [88724:24:0720/123021.662653:ERROR:batching_media_log.cc(38)] MediaEvent: {"error":"{\"causes\":[{\"causes\":[],\"data\":{},\"stack\":[{\"file\":\"../../media/filters/decrypting_video_decoder.cc\",\"line\":53}],\"status_code\":264,\"status_message\":\"\"}],\"data\":{\"Decoder name\":\"DecryptingVideoDecoder\"},\"stack\":[{\"file\":\"../../media/filters/decoder_selector.cc\",\"line\":172}],\"status_code\":265,\"status_message\":\"\"}"} [88724:24:0720/123021.663088:ERROR:batching_media_log.cc(38)] MediaEvent: {"error":"{\"causes\":[{\"causes\":[],\"data\":{},\"stack\":[{\"file\":\"../../media/mojo/clients/mojo_video_decoder.cc\",\"line\":158}],\"status_code\":261,\"status_message\":\"\"}],\"data\":{\"Decoder name\":\"MojoVideoDecoder\"},\"stack\":[{\"file\":\"../../media/filters/decoder_selector.cc\",\"line\":172}],\"status_code\":265,\"status_message\":\"\"}"}
``` libdrm-common on the host has /usr/share/libdrm/amdgpu.ids, and /snap/chromium/current/usr/share/libdrm/amdgpu.ids does in fact also exist so I'm not sure why it's not finding it. ``` lizf ~ sha256sum /snap/chromium/current/usr/share/libdrm/amdgpu.ids ba7b77c3864d691cf4577df1fda8dc3696c6a31a79ae36f8daf69d6e250c7ec8 /snap/chromium/current/usr/share/libdrm/amdgpu.ids lizf ~ sha256sum /usr/share/libdrm/amdgpu.ids ba7b77c3864d691cf4577df1fda8dc3696c6a31a79ae36f8daf69d6e250c7ec8 /usr/share/libdrm/amdgpu.ids ``` -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to chromium-browser in Ubuntu. https://bugs.launchpad.net/bugs/1816497 Title: [snap] vaapi chromium no video hardware decoding Status in chromium-browser package in Ubuntu: In Progress Bug description: News : - Candidate Chromium 83 Snap with vaapi enabled can be installed with : sudo snap install --channel=candidate/vaapi chromium Check that your vidéo is gpu decoded but checking "MojoVideoDecoder" in about:media-internals Widevine DRM streams will have DecryptingVideoDecoder Please report success/failure with - distro version - GPU Hardware used - Codec used ----------Original Bug report --------- Libva is no longer working for snap installed chromium 72.0.3626.109 (Official Build) snap (64-bit) I followed this instruction sudo snap install --channel=candidate/vaapi chromium My amdgpu can use libva `vainfo: Driver version: Mesa Gallium driver 18.3.3 for AMD STONEY (DRM 3.27.0, 4.20.0-10.1-liquorix-amd64, LLVM 7.0.1) vainfo: Supported profile and entrypoints VAProfileMPEG2Simple : VAEntrypointVLD VAProfileMPEG2Main : VAEntrypointVLD VAProfileVC1Simple : VAEntrypointVLD VAProfileVC1Main : VAEntrypointVLD VAProfileVC1Advanced : VAEntrypointVLD VAProfileH264ConstrainedBaseline: VAEntrypointVLD VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice VAProfileH264Main : VAEntrypointVLD VAProfileH264Main : VAEntrypointEncSlice VAProfileH264High : VAEntrypointVLD VAProfileH264High : VAEntrypointEncSlice VAProfileHEVCMain : VAEntrypointVLD VAProfileHEVCMain10 : VAEntrypointVLD VAProfileJPEGBaseline : VAEntrypointVLD VAProfileNone : VAEntrypointVideoProc` To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1816497/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp