AnsweredAssumed Answered

Running kmscube as init

Question asked by Michael Kainz on Feb 4, 2019
Latest reply on Feb 15, 2019 by Michael Kainz


I'm currently trying to optimize boottime of the IMX8MQ-EVK.

For this i wanted to use kmscube on a monitor connected with HDMI as an example application to replace init.

So far i have a bashscript which executes instead of init and launches kmscube (and after that init).


But when kmscube should execute  it prints 

could not open drm device
failed to initialize legacy DRM

I tried to give it other devices from /dev/dri but with the same outcome.

So i thought about "attaching" the monitor before executing the script.

Unfortunately i have no idea how to do that.

Any ideas?