Skip to content
This repository has been archived by the owner on Mar 22, 2024. It is now read-only.

Chromium segfaults when playing youtube videos, this disables high resoluition (>720p) videos #63

Open
redfast00 opened this issue Mar 29, 2023 · 1 comment

Comments

@redfast00
Copy link

Our company is evaluating the Rock 5B. We're currently trying to get hardware accelerated video working. When playing a youtube video (https://www.youtube.com/watch?v=LXb3EKWsInQ), the tab remains white and shows the following crash. Subsequent video's don't offer more than 720p in the interface. This is with chromium-x11 (Chromium 91.0.4472.164 stable) on rock-5b-debian-bullseye-xfce4-arm64-20221031-1558-gpt.img.

Is there a linux distro for the Rock 5B that has hardware acceleration for video working? I've seen https://github.com/radxa/meta-rockchip/tree/kirkstone-radxa/dynamic-layers/recipes-browser/chromium, which even has a newer version of chromium available, but haven't found a build that has this newer chromium.

Note that this does work (albeit also with an older version of chromium) on the Mekotronics R58X, which is also based on the RK3588 chipset, so it should be possible.

[1665:1665:0329/123830.013519:ERROR:gpu_init.cc(440)] Passthrough is not supported, GL is egl
Failed to query video capabilities: Inappropriate ioctl for device
Failed to query video capabilities: Inappropriate ioctl for device
Failed to query video capabilities: Inappropriate ioctl for device
Failed to query video capabilities: Inappropriate ioctl for device
[1637:1733:0329/123830.191256:ERROR:object_proxy.cc(622)] Failed to call method: org.freedesktop.DBus.Properties.Get: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
[1637:1733:0329/123830.191824:ERROR:object_proxy.cc(622)] Failed to call method: org.freedesktop.UPower.GetDisplayDevice: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
[1637:1733:0329/123830.192245:ERROR:object_proxy.cc(622)] Failed to call method: org.freedesktop.UPower.EnumerateDevices: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
Failed to query video capabilities: Inappropriate ioctl for device
Failed to query video capabilities: Inappropriate ioctl for device
Received signal 11 SEGV_MAPERR 000000000000
#0 0x005560430500 (/usr/lib/chromium/chromium-bin+0x58c84ff)
#1 0x00556039db70 (/usr/lib/chromium/chromium-bin+0x5835b6f)
#2 0x0055604304cc (/usr/lib/chromium/chromium-bin+0x58c84cb)
#3 0x007faa6307a0 ([vdso]+0x79f)
#4 0x007fa61f4618 (/usr/lib/aarch64-linux-gnu/libc-2.31.so+0x85617)
#5 0x00555e3f9930 (/usr/lib/chromium/chromium-bin+0x389192f)
#6 0x00555e3f99e8 (/usr/lib/chromium/chromium-bin+0x38919e7)
#7 0x00555e3f9178 (/usr/lib/chromium/chromium-bin+0x3891177)
#8 0x0055603ef4e4 (/usr/lib/chromium/chromium-bin+0x58874e3)
#9 0x005560400a6c (/usr/lib/chromium/chromium-bin+0x5898a6b)
#10 0x0055604007ac (/usr/lib/chromium/chromium-bin+0x58987ab)
#11 0x0055603b4af8 (/usr/lib/chromium/chromium-bin+0x584caf7)
#12 0x005560401230 (/usr/lib/chromium/chromium-bin+0x589922f)
#13 0x0055603d6a70 (/usr/lib/chromium/chromium-bin+0x586ea6f)
#14 0x005560419128 (/usr/lib/chromium/chromium-bin+0x58b1127)
#15 0x0055604192e4 (/usr/lib/chromium/chromium-bin+0x58b12e3)
#16 0x005560440808 (/usr/lib/chromium/chromium-bin+0x58d8807)
#17 0x007faa58c648 start_thread
#18 0x007fa6241c1c (/usr/lib/aarch64-linux-gnu/libc-2.31.so+0xd2c1b)
[end of stack trace]
Calling _exit(1). Core file will not be generated.
[1637:1651:0329/123839.200383:ERROR:gpu_process_host.cc(1002)] GPU process exited unexpectedly: exit_code=256
[1789:1789:0329/123839.219610:ERROR:command_buffer_proxy_impl.cc(123)] ContextResult::kTransientFailure: Failed to send GpuChannelMsg_CreateCommandBuffer.
[1836:1836:0329/123839.239791:ERROR:gpu_init.cc(440)] Passthrough is not supported, GL is egl
Failed to query video capabilities: Inappropriate ioctl for device
Failed to query video capabilities: Inappropriate ioctl for device
Failed to query video capabilities: Inappropriate ioctl for device
Failed to query video capabilities: Inappropriate ioctl for device
Failed to query video capabilities: Inappropriate ioctl for device
Failed to query video capabilities: Inappropriate ioctl for device
Using mplane plugin for capture 
@redfast00
Copy link
Author

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant