Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4714

General discussion • Bookworm DPMS without window manager (X11/Wayland)

$
0
0
I'm moving my image to PI5 and bookworm.
My Qt application works with EGLFS so I'm not using X11 or Wayland.

I have a monitor power scheduling so I wish to power-off/power-on the display once or twice times in a day.
For bookworm, I'm using this code:

Code:

    ...int nRet = drmModeConnectorSetProperty(drm_fd, connector->connector_id, prop->prop_id, DRM_MODE_DPMS_OFF);qDebug()  << "Set DPMS "  << nRet;...    
If my app is running I'm getting error -13 and I got the same result if I run

Code:

kmsblank
So, is there a way to dpms in bookworm without window manager?

Statistics: Posted by matzrm — Tue Dec 17, 2024 4:51 pm — Replies 0 — Views 32



Viewing all articles
Browse latest Browse all 4714

Trending Articles