[Mesa-dev] [PATCH v2 0/6] NVIDIA Tegra support
Hector Martin 'marcan'
marcan at marcan.st
Mon Feb 26 07:55:35 UTC 2018
On 2018-02-23 03:26, Thierry Reding wrote:
> From: Thierry Reding <treding at nvidia.com>
> This series of patches implements initial support for Tegra. The first
> two patches import DRM UAPI from v4.16-rc1 that provide framebuffer
> modifiers that can be used to specify buffers shared between Nouveau
> and the Tegra DRM driver.
> Patches 3 and 4 add support for framebuffer modifiers to Nouveau and
> patch 5 build on top of those to provide initial Tegra support in Mesa.
> The current patches allow running common use-cases such as Wayland,
> kmscube, etc.
> Patch 6 adds the Tegra driver to the list of gallium drivers built
> during a `make distcheck'.
> Some people have been using earlier versions of these patches to run a
> completely open-source graphics stack on various Tegra210 devices. I've
> Cc'ed some of them so that they can provide feedback.
> This series is also available in a git repository here:
> https://cgit.freedesktop.org/~tagr/mesa #tegra-v2
> though that also contains the Nouveau syncfd patches that are still work
> in progress and which require new kernel/userspace ABI. The patches here
> work on top of a vanilla recent (v4.16-rc1) Linux kernel.
I'm not having any luck getting this patch series to work with Xorg.
Glamor seems to work, but glxinfo hangs and glxgears aborts with:
# DRI_PRIME=1 DISPLAY=:0 glxgears
X Error of failed request: BadAlloc (insufficient resources for operation)
Major opcode of failed request: 149 ()
Minor opcode of failed request: 2
Serial number of failed request: 37
Current serial number in output stream: 38
I have tried:
- libdrm #master + mesa #master + v1 patchset
- libdrm #master + mesa #master + v2 patchset
- ~tagr/drm #master + ~tagr/mesa #tegra-v2
- ~tagr/drm #master + ~tagr/mesa #master
Only the last combination works. Is there something extra in the master
branch that is required to make X clients work?
Hector Martin "marcan" (marcan at marcan.st)
Public Key: https://mrcn.st/pub
More information about the mesa-dev