Hello.
Linux kernel 4.19.79-ga417f4d752
As the title says, "Chromium 75.0.3770.142" stable can't be used in tandem with GPU on am5728:
If i start chromium with "--disable-gpu" switch, the browser starts and renders the page correctly. I can then move and interact with it
log with --disable-gpu switch:
root@konECS:~# /usr/bin/chromium --disable-gpu --no-sandbox --enable-logging --v=1 --kiosk http://localhost:8080/index.html [3308:3341:1108/100028.558983:ERROR:object_proxy.cc(619)] Failed to call method: org.freedesktop.Notifications.GetCapabilities: object_path= /org/freedesktop/Notifications: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Notifications was not provided by any .service files [3308:3308:1108/100028.630109:ERROR:desktop_window_tree_host_platform.cc(446)] Not implemented reached in virtual void views::DesktopWindowTreeHostPlatform::InitModalType(ui::ModalType) [3308:3308:1108/100028.630601:ERROR:desktop_window_tree_host_platform.cc(456)] Not implemented reached in virtual bool views::DesktopWindowTreeHostPlatform::IsAnimatingClosed() const [3308:3308:1108/100028.632869:ERROR:desktop_window_tree_host_platform.cc(469)] Not implemented reached in virtual void views::DesktopWindowTreeHostPlatform::SizeConstraintsChanged() [3308:3308:1108/100028.688738:ERROR:desktop_window_tree_host_platform.cc(440)] Not implemented reached in virtual void views::DesktopWindowTreeHostPlatform::SetWindowIcons(const gfx::ImageSkia&, const gfx::ImageSkia&) [3308:3308:1108/100028.689301:ERROR:desktop_window_tree_host_platform.cc(372)] Not implemented reached in virtual bool views::DesktopWindowTreeHostPlatform::SetWindowTitle(const string16&) [3308:3308:1108/100028.768512:ERROR:desktop_window_tree_host_platform.cc(310)] Not implemented reached in virtual void views::DesktopWindowTreeHostPlatform::Activate() [3308:3308:1108/100028.775144:ERROR:desktop_window_tree_host_platform.cc(227)] Not implemented reached in virtual bool views::DesktopWindowTreeHostPlatform::IsVisible() const [3338:3382:1108/100029.139287:ERROR:wayland_canvas_surface.cc(100)] Not implemented reached in virtual std::unique_ptr<gfx::VSyncProvider> ui::WaylandCanvasSurface::CreateVSyncProvider() [3338:3382:1108/100029.172523:ERROR:wayland_canvas_surface.cc(106)] Not implemented reached in virtual void ui::WaylandCanvasSurface::OnSubmission(uint32_t, const gfx::SwapResult&) [3338:3382:1108/100029.257458:ERROR:wayland_canvas_surface.cc(113)] Not implemented reached in virtual void ui::WaylandCanvasSurface::OnPresentation(uint32_t, const gfx::PresentationFeedback&) [3344:3378:1108/100029.429147:ERROR:socket_posix.cc(94)] CreatePlatformSocket() failed: Address family not supported by protocol (97) [3344:3378:1108/100029.442211:ERROR:socket_posix.cc(94)] CreatePlatformSocket() failed: Address family not supported by protocol (97) [3344:3378:1108/100039.049761:ERROR:socket_posix.cc(94)] CreatePlatformSocket() failed: Address family not supported by protocol (97)
however if I want to start chromium and I want it to use GPU (switch --use-gl=egl), chromium doesn't render at all. I can see it starts because after chromium starts with custom website, it should click a relay and it does happen.
log with --use-gl=egl
root@konECS:~# /usr/bin/chromium --use-gl=egl --no-sandbox --enable-logging --v=1 --kiosk http://localhost:8080/index.htmlml [3740:3774:1108/100236.048136:ERROR:object_proxy.cc(619)] Failed to call method: org.freedesktop.Notifications.GetCapabilities: object_path= /org/freedesktop/Notifications: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Notifications was not provided by any .service files [3740:3740:1108/100236.131290:ERROR:desktop_window_tree_host_platform.cc(446)] Not implemented reached in virtual void views::DesktopWindowTreeHostPlatform::InitModalType(ui::ModalType) [3740:3740:1108/100236.131646:ERROR:desktop_window_tree_host_platform.cc(456)] Not implemented reached in virtual bool views::DesktopWindowTreeHostPlatform::IsAnimatingClosed() const [3740:3740:1108/100236.133759:ERROR:desktop_window_tree_host_platform.cc(469)] Not implemented reached in virtual void views::DesktopWindowTreeHostPlatform::SizeConstraintsChanged() [3740:3740:1108/100236.181914:ERROR:desktop_window_tree_host_platform.cc(440)] Not implemented reached in virtual void views::DesktopWindowTreeHostPlatform::SetWindowIcons(const gfx::ImageSkia&, const gfx::ImageSkia&) [3740:3740:1108/100236.182418:ERROR:desktop_window_tree_host_platform.cc(372)] Not implemented reached in virtual bool views::DesktopWindowTreeHostPlatform::SetWindowTitle(const string16&)[3740:3740:1108/100236.264388:ERROR:desktop_window_tree_host_platform.cc(310)] Not implemented reached in virtual void views::DesktopWindowTreeHostPlatform::Activate() [3740:3740:1108/100236.277703:ERROR:desktop_window_tree_host_platform.cc(227)] Not implemented reached in virtual bool views::DesktopWindowTreeHostPlatform::IsVisible() const [3772:3805:1108/100236.887340:ERROR:socket_posix.cc(94)] CreatePlatformSocket() failed: Address family not supported by protocol (97) CreateImageShared: Failed to create buffer [3770:3814:1108/100236.942160:ERROR:gbm_pixmap_wayland.cc(76)] Cannot create bo with format= BGRA_8888 and usage SCANOUT [3772:3805:1108/100236.948038:ERROR:socket_posix.cc(94)] CreatePlatformSocket() failed: Address family not supported by protocol (97) [3770:3770:1108/100236.974810:ERROR:gles2_cmd_decoder.cc(4926)] [.DisplayCompositor]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete [3770:3770:1108/100236.975417:ERROR:gles2_cmd_decoder.cc(13423)] [.DisplayCompositor]GL ERROR :GL_INVALID_VALUE : glScheduleOverlayPlaneCHROMIUM: unknown texture CreateImageShared: Failed to create buffer [3854:3865:1108/100244.794087:ERROR:gbm_pixmap_wayland.cc(76)] Cannot create bo with format= BGRA_8888 and usage SCANOUT [3854:3854:1108/100244.814031:ERROR:gles2_cmd_decoder.cc(4926)] [.DisplayCompositor]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete [3854:3854:1108/100244.814543:ERROR:gles2_cmd_decoder.cc(4926)] [.DisplayCompositor]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete [3854:3854:1108/100244.814916:ERROR:gles2_cmd_decoder.cc(4926)] [.DisplayCompositor]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete [3854:3854:1108/100244.815316:ERROR:gles2_cmd_decoder.cc(4926)] [.DisplayCompositor]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete [3854:3854:1108/100244.816598:ERROR:gles2_cmd_decoder.cc(4926)] [.DisplayCompositor]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete [3854:3854:1108/100244.817062:ERROR:gles2_cmd_decoder.cc(4926)] [.DisplayCompositor]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete [3854:3854:1108/100244.833463:ERROR:gles2_cmd_decoder.cc(4926)] [.DisplayCompositor]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete [3854:3854:1108/100244.845371:ERROR:gles2_cmd_decoder.cc(4926)] [.DisplayCompositor]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete [3854:3854:1108/100244.845842:ERROR:gles2_cmd_decoder.cc(4926)] [.DisplayCompositor]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete [3854:3854:1108/100244.846283:ERROR:gles2_cmd_decoder.cc(4926)] [.DisplayCompositor]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete [3854:3854:1108/100244.846707:ERROR:gles2_cmd_decoder.cc(4926)] [.DisplayCompositor]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete [3854:3854:1108/100244.847074:ERROR:gles2_cmd_decoder.cc(4926)] [.DisplayCompositor]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete [3854:3854:1108/100244.847455:ERROR:gles2_cmd_decoder.cc(4926)] [.DisplayCompositor]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete [3854:3854:1108/100244.847790:ERROR:gles2_cmd_decoder.cc(4926)] [.DisplayCompositor]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete [3854:3854:1108/100244.848139:ERROR:gles2_cmd_decoder.cc(4926)] [.DisplayCompositor]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete [3854:3854:1108/100244.848469:ERROR:gles2_cmd_decoder.cc(4926)] [.DisplayCompositor]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete [3854:3854:1108/100244.848825:ERROR:gles2_cmd_decoder.cc(4926)] [.DisplayCompositor]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete [3854:3854:1108/100244.849140:ERROR:gles2_cmd_decoder.cc(13423)] [.DisplayCompositor]GL ERROR :GL_INVALID_VALUE : glScheduleOverlayPlaneCHROMIUM: unknown texture [3772:3805:1108/100248.290289:ERROR:socket_posix.cc(94)] CreatePlatformSocket() failed: Address family not supported by protocol (97) CreateImageShared: Failed to create buffer [3898:3910:1108/100252.069595:ERROR:gbm_pixmap_wayland.cc(76)] Cannot create bo with format= BGRA_8888 and usage SCANOUT [3898:3898:1108/100252.094931:ERROR:gles2_cmd_decoder.cc(4926)] [.DisplayCompositor]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete [3898:3898:1108/100252.095448:ERROR:gles2_cmd_decoder.cc(4926)] [.DisplayCompositor]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete [3898:3898:1108/100252.095940:ERROR:gles2_cmd_decoder.cc(4926)] [.DisplayCompositor]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete [3898:3898:1108/100252.096333:ERROR:gles2_cmd_decoder.cc(4926)] [.DisplayCompositor]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete [3898:3898:1108/100252.096673:ERROR:gles2_cmd_decoder.cc(4926)] [.DisplayCompositor]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete [3898:3898:1108/100252.097000:ERROR:gles2_cmd_decoder.cc(4926)] [.DisplayCompositor]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete [3898:3898:1108/100252.112224:ERROR:gles2_cmd_decoder.cc(4926)] [.DisplayCompositor]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete [3898:3898:1108/100252.126648:ERROR:gles2_cmd_decoder.cc(4926)] [.DisplayCompositor]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete [3898:3898:1108/100252.127176:ERROR:gles2_cmd_decoder.cc(4926)] [.DisplayCompositor]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete [3898:3898:1108/100252.127634:ERROR:gles2_cmd_decoder.cc(4926)] [.DisplayCompositor]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete [3898:3898:1108/100252.127990:ERROR:gles2_cmd_decoder.cc(4926)] [.DisplayCompositor]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete [3898:3898:1108/100252.128346:ERROR:gles2_cmd_decoder.cc(4926)] [.DisplayCompositor]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete [3898:3898:1108/100252.128891:ERROR:gles2_cmd_decoder.cc(13423)] [.DisplayCompositor]GL ERROR :GL_INVALID_VALUE : glScheduleOverlayPlaneCHROMIUM: unknown texture [3926:3934:1108/100256.887241:ERROR:wayland_canvas_surface.cc(100)] Not implemented reached in virtual std::unique_ptr<gfx::VSyncProvider> ui::WaylandCanvasSurface::CreateVSyncProvider() [3789:3808:1108/100256.897986:ERROR:command_buffer_proxy_impl.cc(107)] ContextResult::kTransientFailure: Shared memory region is not valid 2023 Nov 8 10:03:55 konECS Process 3770 (chromium-bin) of user 0 dumped core. 2023 Nov 8 10:04:07 konECS Process 3854 (chromium-bin) of user 0 dumped core. 2023 Nov 8 10:04:09 konECS Process 3898 (chromium-bin) of user 0 dumped core.
I tried installing older version (google-chrome "Chromium 53.0.2785.143"), and surely it works with egl and runs a gpu process (but it has problems of its own, it doesn't register any gpio-keys-polled keypresses, so we can't use older versions)
I tried running examples (kmscube and such) and all of them work properly (rendering, usage of GPU, etc.).
What could be the issue with chromium 75? is it possible that running it in --no-sandbox mode restricts its capabilities to create gpu-process thread?