Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4848

Troubleshooting • Re: Chromium hardware acceleration Xorg Bookworm Lite

$
0
0
thanks for the reply

I managed to get the acceleration going by enabling the relevant flags (see attachment)

Code:

Override software rendering list aka #ignore-gpu-blocklist;GPU rasterization aka #enable-gpu-rasterization;Zero-copy rasterizer aka #enable-zero-copy;Enables Display Compositor to use a new gpu thread. aka #enable-drdc;Out-of-process 2D canvas rasterization. aka #canvas-oop-rasterization.
But that has made the issue worse, the CPU usage has gone up! Its also showing multiple instances of chromium as well, so I guess this avenue may have just been a red herring

Anyway I downloaded the desktop version (Nov 2024) and the CPU drops considerably when the browser is in full screen kiosk mode (strange)

So it looks like the issue kind of goes away with the desktop version.
Chromium does add the flag when using desktop

Code:

--ozone-platform=wayland
But on Lite or X11 it uses

Code:

--ozone-platform=X11
I'm starting chromium using the --kiosk flags and starting X using startx

You might be able to test by disabling Wayland and labwc and just using X11

I probably would carry on using the desktop version but I can't get labwc to display my chromium browsers on the two screens in the way I need (programmatically). I feel X gives me more control

So I'm not sure if chromium is optimised with Wayland and X11 is now completely legacy or I'm missing some packages or something?

Code:

startx -- :1 -layout TFT &export DISPLAY=:1x11vnc -ncache -ncache_cr -noxfixes -noxdamage -display :1 -forever -shared -bg -rfbport 5901 &rm -rf /home/pi/.config/chromium/Singleton*chromium-browser "http://localhost:5200" --autoplay-policy=no-user-gesture-required --noerrdialogs --disable-translate --always-authorize-plugins --incognito  --kiosk
gpu flags enabled.jpg

Statistics: Posted by MaryShah — Thu Nov 21, 2024 8:57 pm



Viewing all articles
Browse latest Browse all 4848

Trending Articles