Action Item #728

Review possible DRM with X.org

Added by Hammel 3 months ago. Updated 2 months ago.

Status:In ProgressStart date:28 Oct 2019
Priority:HighDue date:
Assignee:Hammel% Done:

20%

Category:04 - Root File System
Target version:2.0 - Harkonnen
Severity:02 - High

History

#1 Updated by Hammel 2 months ago

  • 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.

#2 Updated by Hammel 2 months ago

  • Priority changed from Immediate to High
  • Severity changed from 03 - Medium to 02 - High

#3 Updated by Hammel 2 months ago

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.

#4 Updated by Hammel 2 months ago

  • % 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.

Also available in: Atom PDF