Action Item #728
openReview possible DRM with X.org
20%
Description
Not sure if Cairo will make use of this to speed display but it might.
Here are some links to review.
- https://wiki.gentoo.org/wiki/Raspberry_Pi_VC4
- Requires removing fbturbo driver from xorg.conf
- https://archlinuxarm.org/forum/viewtopic.php?f=60&t=10988
- https://raspberrypi.stackexchange.com/questions/64079/how-can-i-setup-the-video-graphics-on-the-raspberry-pi-3
- https://forum.manjaro.org/t/rpi3-3b-vc4-manjaro-arm-19-04-hack/90518
- https://www.raspberrypi.org/forums/viewtopic.php?t=228012
- https://wiki.gentoo.org/wiki/Xorg/Hardware_3D_acceleration_guide
- https://github.com/anholt/linux/tree/vc4-kms-squash
- https://wiki.alpinelinux.org/wiki/Raspberry_Pi
Updated by Hammel almost 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.
Updated by Hammel almost 5 years ago
- Priority changed from Immediate to High
- Severity changed from 03 - Medium to 02 - High
Updated by Hammel almost 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.
Updated by Hammel almost 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.
Updated by Hammel over 4 years ago
- Priority changed from High to Normal
- Severity changed from 02 - High to 03 - Medium
Updated by Hammel over 1 year ago
- Target version changed from 2.0 - Harkonnen to 3.0 - Corrino