Skip to content

X11 at Raspberry Pi5 #1471

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

X11 at Raspberry Pi5 #1471

wants to merge 2 commits into from

Conversation

vermaete
Copy link
Contributor

The X11 was not working for my Raspberry Pi5 at master of meta-raspberrypi and meta-openembedded.

All credits for the the contributors of #1426

@kraj @agherzan Please review this PR careful please.

vermaete added 2 commits May 11, 2025 11:30
See: agherzan#1426

Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
@@ -24,7 +24,7 @@ RPI_KERNEL_DEVICETREE = " \
SDIMG_KERNELIMAGE ?= "kernel_2712.img"
SERIAL_CONSOLES ?= "115200;ttyAMA10"

VC4DTBO ?= "vc4-kms-v3d"
VC4DTBO ?= "vc4-kms-v3d-pi5"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is a common change that will affect wayland/weston or eglfs images as well. Can you see if core-image-weston boots for your case on pi5 ?

@@ -336,6 +336,11 @@ do_deploy:append:raspberrypi3-64() {
echo "dtparam=audio=on" >> $CONFIG
}

do_deploy:append:raspberrypi5() {
echo "max_framebuffers=2" >> $CONFIG
echo "disable_fw_kms_setup=1" >> $CONFIG
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here, it becomes effective for all kind of graphics stacks on top of pi5

@@ -4,6 +4,11 @@ SRC_URI:append:rpi = " \
file://xorg.conf.d/98-pitft.conf \
file://xorg.conf.d/99-calibration.conf \
"

SRC_URI:append:raspberrypi5 = " \
file://99-vc4.conf \
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does it need to be pi5 specific ?

do_install:append:raspberrypi5 () {
install -d ${D}/${sysconfdir}/X11/xorg.conf.d/
install -m 0644 ${S}/99-vc4.conf ${D}/${sysconfdir}/X11/xorg.conf.d/
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same question as one above, can it be more generic ?

@marcinkowskip
Copy link

I went through the #1426, and nothing from here was needed for pure EGL KMS case - I use Qt6. I had the same issue on Qt6 and #1426 helped me to solve that issue.

The only thing was needed from #1426 was Mesa update (I based on the description from the issue). Another thing is that there is PR !1395 which bumps Mesa above 24.2.8 mentioned in the #1426. Question is if !1395 fixes the rendering issues or not.

Things which I was not needed:

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

Successfully merging this pull request may close these issues.

3 participants