Chromium having issues playing videos

Hi there and thanks for the great work!

I noticed my Chromium has issues playing videos - I end up with Uncaught (in promise) DOMException: The element has no supported sources errors in the browser console, and in the process stdout I can see those:

TU: error: …/src/freedreno/vulkan/tu_knl.cc:214: device /dev/dri/renderD128 (asahi) is not compatible with turnip (VK_ERROR_INCOMPATIBLE_DRIVER)
[18752:18752:1127/095008.592967:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
TU: error: …/src/freedreno/vulkan/tu_knl.cc:214: device /dev/dri/renderD128 (asahi) is not compatible with turnip (VK_ERROR_INCOMPATIBLE_DRIVER)
[18915:18915:1127/095008.641466:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
[18773:7:1127/095008.705333:ERROR:command_buffer_proxy_impl.cc(128)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.

I’m obviously looking for a solution, but I also failed to find anybody noticing this, so I’m wondering if I’m the only one hitting it…

I’m on Fedora 39 and everything is up to date as far as I can tell

Cheers!

That looks suspiciously similar to this error. @marcan just investigated the matter and discovered a bug in glibc. His patch fixing it has not yet been applied but he mentioned running sudo rm /usr/lib64/dri/zink_dri.so as a workaround so I’d suggest trying that. (If you feel cautious you could also move it to your home directory and put it back again later.)

No, that is not loading Zink, it’s trying and failing to start Vulkan directly (which is normal for Chromium). I doubt it has anything to do with that bug. The tu_knl errors are noise and can be ignored.