no DRI card's dev file in rpi-5.4.y
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- c, linux
Research direction
Start with conf/machine/raspberrypi3.conf and the reported VC4DTBO setting, then reproduce the Linux 5.4.29-v7 behavior using kmscube. Compare the image with and without vc4-fkms-v3d; done means /dev/dri/card0 is present and kmscube initializes its EGL surface successfully.
Written by the indexing model from the issue text.
Description
Hi,
In meta-raspberrypi we forcely switched linux-raspberrypi version to 5.4 from 4.19.
In generated image, under /dev directory there is no /dri/card0 device file. Also while try to launch "kmscube" we got below error,
Error:
drmGetDevice2 failed: No such file or directory
could not open drm device
failed to initialize legacy DRM
Later we added VC4DTBO ?= "vc4-fkms-v3d" in conf/machine/raspberrypi3.conf file.
Now /dri/card0 is created in our image. But while try to launch "kmscube" we got,
Error:
Using display 0xbf81f8 with EGL version 1.4
failed to create egl surface
failed to initialize EGL
Note:
Platform : Raspberrypi3
Kernel version : Linux raspberrypi3 5.4.29-v7
- Dominant language
- C
- Stars
- 13.2k
- Forks
- 5.5k
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 21
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from raspberrypi/linux
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
raspberrypi/linux#7415 · 2 comments · 1 reaction ·
-
rp1-cfe doesn't forward V4L2_EVENT_SOURCE_CHANGE event from csi-2 sensor driver to userspace app Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
raspberrypi/linux#7399 · 1 comment ·
-
Difficulty 1/5 Under an hour Newbie friendliness 82/100
raspberrypi/linux#7357 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
raspberrypi/linux#7054 · 2 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
raspberrypi/linux#7634 · 8 comments · 1 reaction ·
All issues in raspberrypi/linux
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
zephyrproject-rtos/zephyr#119726 ·
-
[Bounty proposal] fix(web): memory insights count an evening memory on the next day ($25 proposed) Open
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
BasedHardware/omi#15320 ·
-
[adam] AdamNet network read doesn't cap to MAX_ADAM_PACKET_LEN, overflows client receive buffers Open
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
FujiNetWIFI/fujinet-firmware#1649 · 2 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
HarbourMasters/Shipwright#7229 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
riscv-software-src/riscv-isa-sim#2435 · 1 comment ·