Open fwitk opened 11 months ago
When chromium doesn't seg fault and runs for some time after an hour or so chromium shows an error page which shows "Errorcode: SIGKILL"
I solved the issue for me.
When chromium is build with the use-egl
PACKAGECONFIG variable, it adds the command line argument --use-gl=egl
automatically to chromium, and this can lead to an error according to the Archlinux Wiki:
https://wiki.archlinux.org/title/Chromium#Hardware_video_acceleration
To use the system GL renderer on Xorg or Wayland, use --use-gl=egl. Setting this option might no longer be needed when using Chrome 112 and may break GPU acceleration when using AMD GPUs.
So i created a chromium-x11_%.bbappend
in my custom layer with following content:
CHROMIUM_EXTRA_ARGS = " \
${@bb.utils.contains('PACKAGECONFIG', 'kiosk-mode', '--kiosk --no-first-run --incognito', '', d)} \
${@bb.utils.contains('PACKAGECONFIG', 'gtk4', '--gtk-version=4', '', d)} \
"
This prevents that --use-gl=egl
is added to the wrapper script which starts chromium.
I hope other people who stumble about the same issue are finding my solution and are able to fix it in their builds.
I am building chromium-x11 with hardware acceleration on mickledore or nanbield (both result to the same error), and i get following error when running chromium, often result in a segmentation fault:
I start chromium with following command line:
I have to start chromium with the " --in-process-gpu" flag, otherwise i can't get "GPU Raster" on in the development tools.
As DISTRO_FEATURES i have "x11 opengl vulkan"
In my local.conf i have following PACKAGECONFIG variables set:
I am using following graphics chip (from lspci):
For Xorg i am using following driver: "xf86-video-amdgpu"
For my kernel i activated following modules for my graphics chip:
Do i miss something or is this a bug? Let me know if you need some additional informations.