Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kiosk/Fullscreen mode in Chromium fails on i.MX8 #424

Open
daescalona opened this issue Nov 16, 2020 · 4 comments
Open

Kiosk/Fullscreen mode in Chromium fails on i.MX8 #424

daescalona opened this issue Nov 16, 2020 · 4 comments

Comments

@daescalona
Copy link

daescalona commented Nov 16, 2020

Using Chromium v85.0.4183.102 in a i.MX8 I am unable to get it to work on Kiosk or Fullscreen mode. Every time I try that this error is printed forever until I stop the application:

[ 1] ioctl(DRM_IOCTL_GEM_CLOSE) failed [817:838:1116/114711.361451:ERROR:gbm_pixmap_wayland.cc(58)] Cannot create bo with format= BGRA_8888 and usage SCANOUT [817:838:1116/114711.361511:ERROR:gpu_memory_buffer_factory_native_pixmap.cc(218)] Failed to create pixmap 1280x800, BGRA_8888, usage SCANOUT [ 2] ioctl(DRM_IOCTL_GEM_CLOSE) failed [817:838:1116/114711.361888:ERROR:gbm_pixmap_wayland.cc(58)] Cannot create bo with format= BGRA_8888 and usage GPU_READ [817:838:1116/114711.361936:ERROR:gpu_memory_buffer_factory_native_pixmap.cc(218)] Failed to create pixmap 1280x800, BGRA_8888, usage GPU_READ [817:838:1116/114711.361970:ERROR:shared_image_backing_factory_gl_texture.cc(1437)] CreateSharedImage: Failed to create bindable image [817:838:1116/114711.361994:ERROR:shared_image_factory.cc(491)] CreateSharedImage: could not create backing. [817:838:1116/114711.367047:ERROR:skia_output_surface_impl_on_gpu.cc(1701)] Failed to make current. [817:838:1116/114711.367310:ERROR:skia_output_surface_impl_on_gpu.cc(1701)] Failed to make current. [863:863:1116/114711.371576:ERROR:command_buffer_proxy_impl.cc(122)] ContextResult::kTransientFailure: Failed to send GpuChannelMsg_CreateCommandBuffer. [ 3] ioctl(DRM_IOCTL_GEM_CLOSE) failed

I remember this working on previous versions. Does anyone have the same issue?

Thanks in advance.

PS: I am using the ozone-wayland version.

@msisov
Copy link
Collaborator

msisov commented Nov 16, 2020

afaik, imx8 doesn't support drm render nodes. secondly, chromium should fallback to sw compositing instead.

what flags do you use? what gn args do you have?

@daescalona
Copy link
Author

Hello,

Thse are the flags I am using in my recipe to build and launch Chromium:

`PACKAGECONFIG_append = " use-egl impl-side-painting proprietary-codecs"

CHROMIUM_EXTRA_ARGS_append = "
--enable-gpu
--enable-gpu-memory-buffer-video-frames
--enable-accelerated-2d-canvas
--enable-accelerated-vpx-decode
--enable-native-gpu-memory-buffers
--enable-zero-copy
--gpu-no-context-lost
--user-data-dir=/home/root/.chromium/
--disable-infobars
--disable-session-crashed-bubble
--ignore-certificate-errors
--ignore-gpu-blacklist
--no-sandbox
--window-position=0,0
--no-first-run
--in-process-gpu
"`

Kind regards.

@yifan19
Copy link

yifan19 commented Apr 21, 2021

just note here that we have been using --disable-gpu until someone complains about performance
EDIT: check also if the problem changes if you don't use --no-sandbox and run it as user.

@MonsieurHBA
Copy link

Is does configuration work for working chromium in Full screen when booting any image ?

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

No branches or pull requests

4 participants