Action Item #728
open
Review possible DRM with X.org
Added by Hammel about 5 years ago.
Updated over 1 year ago.
Category:
04 - Root File System
Description
Not sure if Cairo will make use of this to speed display but it might.
Here are some links to review.
- 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.
- Priority changed from Immediate to High
- Severity changed from 03 - Medium to 02 - High
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.
- Priority changed from High to Normal
- Severity changed from 02 - High to 03 - Medium
- Target version changed from 2.0 - Harkonnen to 3.0 - Corrino
Also available in: Atom
PDF