Project

General

Profile

Actions

Action Item #728

open

Review possible DRM with X.org

Added by Hammel about 5 years ago. Updated over 1 year ago.

Status:
In Progress
Priority:
Normal
Assignee:
Category:
04 - Root File System
Target version:
Start date:
28 Oct 2019
Due date:
% Done:

20%

Estimated time:
Severity:
03 - Medium

Actions #1

Updated by Hammel about 5 years 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.

Actions #2

Updated by Hammel about 5 years ago

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

Updated by Hammel about 5 years 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.

Actions #4

Updated by Hammel about 5 years 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.

Actions #5

Updated by Hammel over 4 years ago

  • Priority changed from High to Normal
  • Severity changed from 02 - High to 03 - Medium
Actions #6

Updated by Hammel over 1 year ago

  • Target version changed from 2.0 - Harkonnen to 3.0 - Corrino
Actions

Also available in: Atom PDF