Open oxoocoffee opened 5 months ago
KMS is enabled, right?
grep dtoverlay=vc4-kms-v3d /boot/config.txt
Did you start the test program from within a desktop session? I don't know what it is doing, where "device" and "fd" (file descriptor?) are coming from, but maybe it requires a context or input to know which of the 2 DRI devices it should use?
Did you test this with RPi OS Bookworm?
@MichaIng
Yes. All tests were performed with
dtoverlay=vc4-kms-v3d
While looking into this issue some more today I found this #5049
Change the config.txt file to dtoverlay=vc4-kms-v3d-pi4
Creating a bug report/issue
Required Information
bookworm 0
Linux DietPi 6.6.20+rpt-rpi-2712 #1 SMP PREEMPT Debian 1:6.6.20-1+rpt1 (2024-03-07) aarch64 GNU/Linux
RPi 5 Model B (aarch64)
or (EG: RPi3)200W multi-port USB charger
SanDisk 64G
Additional Information (if applicable)
Discovered DRI when researching ticket
#7029My test program which fais
Yes
echo $G_HW_UUID
Steps to reproduce
Boot from a fresh image on rPi 5 and complete installation with our desktop selected.
Install build tools
sudo apt install build-essential git cmake pkg-config libdrm-dev drm_info
ls /dev/dri/
Uncompress dri-test.tgz
cd dri-test/build && cmake .. && make
Expected behaviour
Actual behaviour
open
which isdevice.resources = drmModeGetResources(device.fd)
with and errorFailed to get DRM resources. Operation not supported
Extra details
groups
producedtty dialout sudo audio video users input render netdev gpio i2c spi