| Message ID | 20250426131331.2479358-1-gael.portay+rtone@gmail.com |
|---|---|
| State | Not Applicable |
| Headers | show |
| Series | [1/1] configs/raspberrypi3_qt5we: switch to mesa3d | expand |
Hi Gaël, On 4/26/25 15:13, Gaël PORTAY wrote: > The package rpi-userland has been marked as ancient and deprecated[1]. > > It contains code using proprietary APIs to interface to the VideoCore > firmware. It has moved to standard linux APIs. > > It is recommended to use DRM/KMS and Mesa instead. > > This switches to the mesa3d OpenGLES backend instead of the deprecated > one provided by rpi-userland. It implies the load for the vc4-kms-v3d > device-tree overlay. > > [1]: https://github.com/raspberrypi/userland/commit/96a7334ae9d5fc9db7ac92e59852377df63f1848 > > Signed-off-by: Gaël PORTAY <gael.portay+rtone@gmail.com> > --- > board/raspberrypi/config_3_qt5we.txt | 3 +++ This defconfig has been removed in https://gitlab.com/buildroot.org/buildroot/-/commit/1721206b35d6b2b39ce337759674b5ab7123005e so the patch has been marked as "Not applicable" in patchwork. [...] Marcus
diff --git a/board/raspberrypi/config_3_qt5we.txt b/board/raspberrypi/config_3_qt5we.txt index 3d81a4e5da..ed188d73fe 100644 --- a/board/raspberrypi/config_3_qt5we.txt +++ b/board/raspberrypi/config_3_qt5we.txt @@ -24,3 +24,6 @@ gpu_mem_1024=200 # Enable UART0 for serial console on ttyAMA0 dtoverlay=miniuart-bt + +# Enable DRM VC4 V3D driver +dtoverlay=vc4-kms-v3d diff --git a/configs/raspberrypi3_qt5we_defconfig b/configs/raspberrypi3_qt5we_defconfig index dc8160711d..b86c33043f 100644 --- a/configs/raspberrypi3_qt5we_defconfig +++ b/configs/raspberrypi3_qt5we_defconfig @@ -20,6 +20,9 @@ BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y BR2_PACKAGE_XZ=y BR2_PACKAGE_LIBERATION=y +BR2_PACKAGE_MESA3D=y +BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VC4=y +BR2_PACKAGE_MESA3D_OPENGL_ES=y BR2_PACKAGE_QT5=y BR2_PACKAGE_QT5BASE_EXAMPLES=y BR2_PACKAGE_QT5BASE_GIF=y @@ -29,7 +32,6 @@ BR2_PACKAGE_RPI_FIRMWARE=y BR2_PACKAGE_RPI_FIRMWARE_BOOTCODE_BIN=y BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI=y BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE="board/raspberrypi3/config_3_qt5we.txt" -BR2_PACKAGE_RPI_USERLAND=y BR2_PACKAGE_CA_CERTIFICATES=y BR2_PACKAGE_NTP=y BR2_PACKAGE_KMOD_TOOLS=y
The package rpi-userland has been marked as ancient and deprecated[1]. It contains code using proprietary APIs to interface to the VideoCore firmware. It has moved to standard linux APIs. It is recommended to use DRM/KMS and Mesa instead. This switches to the mesa3d OpenGLES backend instead of the deprecated one provided by rpi-userland. It implies the load for the vc4-kms-v3d device-tree overlay. [1]: https://github.com/raspberrypi/userland/commit/96a7334ae9d5fc9db7ac92e59852377df63f1848 Signed-off-by: Gaël PORTAY <gael.portay+rtone@gmail.com> --- board/raspberrypi/config_3_qt5we.txt | 3 +++ configs/raspberrypi3_qt5we_defconfig | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-)