Action Item #728
Review possible DRM with X.org
|Status:||In Progress||Start date:||28 Oct 2019|
|Category:||04 - Root File System|
|Target version:||2.0 - Harkonnen|
|Severity:||02 - High|
Not sure if Cairo will make use of this to speed display but it might.
Here are some links to review.
- Requires removing fbturbo driver from xorg.conf
- Status changed from New to In Progress
- % Done changed from 0 to 10
An initial try, based on a Manjaro example didn't provide much. First, removing xorg.conf just got me the fbdev driver even though the dtoverlay did load the vc4 driver. Second, X overtook pspslash during boot so you don't see all of the bootsplash progress. Finally, omxplayer plays HDMI audio (analog audio was not tested) but there is no video.
So there would need to be more work to get this installed. I suspect I may need to get mesa support installed which may be more than Buildroot currently offers.
I also didn't verify that /dev/dri/card0 existed. Maybe that needs to be created manually given my setup vs off-the-shelf distros.
The device file is there, so that's not the problem.One more thing to try: use the fake overlay. The fkms is better than kms because the former can do rotation with xrandr. See also:
Also, it seems that the mesa3D package may have, in the upcoming release (2019.11), the updates required to really get this working - which may mean I can get windowed omxplayer support (maybe), which would be good (for example) for home security cameras.
- % Done changed from 10 to 20
I switch to fkms and that allows video to display properly now, with audio through hdmi (analog is still not tested). But when a video completes and the xterm exits to return to the videofe app the display is reduced in size. This may be an issue with using the xterm to launch omxplayer or perhaps it's a general DRM issue related to how I'm running full screen. In any case, this is still only partially working and will need a bit more work before I can switch from the fbturbo X.org driver.