chromium-ubuntu-build
chromium-ubuntu-build copied to clipboard
headless env ?
Hi,
Do you manage to enable chromium hardware acceleration in headless mode on a headless linux ?
I haven't heard any reports of anyone testing this, and I haven't tested this, but the current implementation assumes there's an X11 server running, so I guess in a fully headless mode, hardware video acceleration won't be possible.
I get the following error :
> chromium-browser --headless --ignore-gpu-blacklist --screenshot about://gpu
[0408/135018.062819:ERROR:vaapi_wrapper.cc(469)] Could not get a valid VA display
[0408/135018.073614:WARNING:ipc_message_attachment_set.cc(49)] MessageAttachmentSet destroyed with unconsumed attachments: 0/1
[0408/135018.073628:ERROR:command_buffer_proxy_impl.cc(125)] ContextResult::kTransientFailure: Failed to send GpuChannelMsg_CreateCommandBuffer.
Also, as an extra issue :) , the screenshot of the page about://gpu is always a white screen in headless mode. Do you know any other solution to print the hardware acceleration information on a headless environment ?
So the hardware acceleration enabled in this PPA is for playing videos, which implies there's a display the video is playing to. If there's no display, then there's no need for hardware acceleration, since it's not being played. Is this correct?
hi,@hugomallet i've had the same issue. has this issue been resolved by you? if so, how?