Re: Fedora 28 with the "grate-driver" for (older) Tegra

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2018-09-12 17:13 GMT+02:00 Peter Robinson <pbrobinson@xxxxxxxxx>:
>> In short, this FLOSS driver allows to enable video acceleration with
>> vdpau on older tegra soc.
>
> How does this relate to the tegr-vde driver for video acceleration
> that's already in the upstream kernel[1] , albeit in staging, that
> supports tegra20-114 now.
The tegra-vde driver is used unmodified by the tegra vdpau backend
But the libvdpau-tegra backend requires few missing patches from the
grate-driver modified libdrm.
That's the patches I hope to see merged once the kernel ABI for tegra
drm is unstaged.

Then there is a need for a video output. Without a good opengl driver,
the best choice is currently to use the legacy Xv video output.
This can be granted by using the opentegra DDX which also requires the
modified libdrm.
Using the modified libdrm, libvdpau-tegra and modified
xorg-x11-drv-opentegra is enough to get video acceleration.
Using the modified mesa will allow to use the DRI2 framework to
autodetect the appropriate vdpau backend.

>> There is also a very basic mesa driver, but it only advertise opengl
>> 1.4 and gles 2.0 (probably not really conformant even). At least it
>> doesn't crash with glxgears.
>> There is support up to Tegra114, Tegra K1 may comes later using the
>> same framework.
>
> There's also a patch series to add 124 AKA TK1 support [2] and once
> they add support for the v4l requests API [3] this should all work
> OOTB with standard mesa AFAICT. So my question is how does grate fit
> into / relate to the upstream work?
I've only tested this patch WRT older hardware and it breaks video acceleration.

v4l requests API is the way forward indeed, I haven't seen any code for Tegra,
There are plans. I don't know yet about the userspace, but at least
there is a bridge for vaapi enabled applications.

About grate and upstream, it's still un-clear if there will be two
drivers or only one within mesa


-- 
-

Nicolas (kwizart)
_______________________________________________
arm mailing list -- arm@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to arm-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/arm@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux ARM (Vger)]     [Linux ARM]     [ARM Kernel]     [Fedora User Discussion]     [Older Fedora Users Discussion]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Maintainers]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [Linux Apps]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

Powered by Linux