agherzan / meta-raspberrypi

Yocto/OE BSP layer for the Raspberry Pi boards
https://www.yoctoproject.org/
MIT License
546 stars 417 forks source link

terrible GUI performance on Raspberry Pi 4 and Raspberry Pi 5 #1357

Open bartiszosti opened 3 months ago

bartiszosti commented 3 months ago

Description

I have terrible GUI performance on Raspberry Pi 4 and Raspberry Pi 5 with Wayland and Weston. Everything lagging independently on screen resolution. I use screen connected by HDMI. Only fkms works.

Steps to reproduce the issue:

MACHINE = "raspberrypi4-64" ENABLE_UART = "1" DISABLE_SPLASH = "1" DISABLE_RPI_BOOT_LOGO = "1" VC4DTBO = "vc4-fkms-v3d" IMAGE_FEATURES:append = " splash debug-tweaks" IMAGE_INSTALL = "vim htop wayland weston weston-xwayland" INIT_MANAGER = "systemd" SYSTEMD_DEFAULT_TARGET = "graphical.target"

airjason13 commented 3 months ago

What's the version of Mesa? I have hit the image lagging problem on Pi 5 due to the older version of Mesa.

joshturge commented 2 months ago

I'm getting a similar issue using the vc4-kms-v3d driver, vc4-fkms-v3d works fine for me. Here's the config.txt, dmesg and glxinfo output.

You'll notice I'm getting a bunch of warnings related to the kms driver. I'm using a Raspberry Pi Compute Module 4S

The Mesa version is 24.0.7

Also observed the screen go blank and unresponsive after a while on the vc4-kms-v3d driver

carpajr commented 1 month ago

I'm also getting the same poor results with wayland.

bartiszosti, did you find a solution?