site  contact  subhomenews

No video at first, Pi2 and Pi3

July 04, 2017 — BarryK
Testing my new Pyro build on the Pi, currently at version 0.3.2, X fails to start and it stays at the commandline. Then, I type "xwin" and X starts.

So, what's the problem? I found from /var/log/Xorg.0.log, that '/dev/dri/card0' is missing. Or rather it takes awhile to appear.
I put a wait-loop at the end of /etc/rc.d/rc.sysinit, and found that it takes 4 seconds for /dev/dri/card0 to appear!!!!

I discovered why, not the delay, but why we have this new issue. Pyro is compiled in OpenEmbedded with support for VC4 video acceleration. Read about it here:

In 'config.txt':
# Enable VC4 Graphics

So, looks like I need to put in a permanent wait-loop somewhere, before starting X.


Useful info here:

Tags: oe