You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This error happens most of the times but seems to change between reboots.
Sometimes, seemingly randomly, after reboot it doesen't give the error and the app starts, but it still doesen't display any window even then.
This behavior is consistent until the raspi is rebooted again, then we're back to "Unable to get DRM Resources", again consistently untile reboot.
I followed the instructions from the readme thoroughly (Fake KMS Drivers enabled, edited both ofAppRunner and config.linuxarmv6l.default.mk ) on a fresh openFrameworks install,
My main.cpp file looks pretty much identical to the one in the various examples.
I'm running this on a Rpi CM4 (8 gb eMMC, WI-FI, 1 GB RAM) with Raspbian Buster and an HDMI display connected.
This might have to do with the validity of card0 and card1 changing between reboots, but I could be off track since I'm not very familiar with this. It seems odd since not everyone seems to be experiencing this issue
The text was updated successfully, but these errors were encountered:
Hi @meltdream I had the same problem and it turned out to be a permission problem for me. Excuse my lack of technical knowhow, but the driver required for OpenGL rendering for this addon wasn't being used, and instead it was using the llvm-pipe software renderer.
I found this link really helpful in sorting this out. Hope it helps!
Hi,
on Bullseye with RPi 4, i had to change back to /dev/dri/card0 instead of /dev/dri/card1
line 75 of ofxRPI4Window.cpp to fix the Unable to get DRM Resources error
I also had to cast two variables:
line 144: display = eglGetDisplay( (EGLNativeDisplayType) gbmDevice);
line 214: surface = eglCreateWindowSurface(display, config, (int)gbmSurface, NULL);
This error happens most of the times but seems to change between reboots.
Sometimes, seemingly randomly, after reboot it doesen't give the error and the app starts, but it still doesen't display any window even then.
This behavior is consistent until the raspi is rebooted again, then we're back to "Unable to get DRM Resources", again consistently untile reboot.
I followed the instructions from the readme thoroughly (Fake KMS Drivers enabled, edited both ofAppRunner and config.linuxarmv6l.default.mk ) on a fresh openFrameworks install,
My main.cpp file looks pretty much identical to the one in the various examples.
I'm running this on a Rpi CM4 (8 gb eMMC, WI-FI, 1 GB RAM) with Raspbian Buster and an HDMI display connected.
This might have to do with the validity of card0 and card1 changing between reboots, but I could be off track since I'm not very familiar with this. It seems odd since not everyone seems to be experiencing this issue
The text was updated successfully, but these errors were encountered: