[Mesa-dev] [Bug 98453] libvdpau backend detection under Xwayland

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Oct 26 12:28:06 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=98453

            Bug ID: 98453
           Summary: libvdpau backend detection under Xwayland
           Product: Mesa
           Version: git
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Other
          Assignee: aplattner at nvidia.com
          Reporter: kwizart at gmail.com
        QA Contact: mesa-dev at lists.freedesktop.org

Created attachment 127552
  --> https://bugs.freedesktop.org/attachment.cgi?id=127552&action=edit
Return earlier if not vdpau_driver

This issue was previously reported as
[Wayland] libvdpau fails on (X)Wayland, trying to load libvdpau_nvidia.so on
non-nvidia systems
https://bugzilla.redhat.com/show_bug.cgi?id=1305699

Also note that there is no libvdpau Product in this bugzilla, I think it should
be requested from the product owner to the freedesktop infra.

There is an issue with the way libvdpau tries (fails) to detect the appropriate
backend if relevant:
1/ Under Xwayland. I have not tested myslef but according to the report, it
should be possible to have vdpau acceleration under Xwayland (not native
wayland even for gallium vdpau backends).
But the support is totally missing in libvdpau, so the default backend is tried
(aka nvidia which for other reason doesn't work at all under current upstream
XWayland).


2/ With recent Xorg-server (with DRI2 vdpau autodetection), it should be
possible that there is no appropriate vdpau backend to choose and error with
VDP_STATUS_NO_IMPLEMENTATION instead of trying nvidia and failing.

The problem with the attached patch is that it doesn't take the case where
there is no DRI2 vdpau autodetection and defaulting to nvidia is better than
nothing. (Hence the RFC tag).
The main benefit is that is will avoid a spurious message about nvidia,
specially relevant when there is no nvidia hardware/driver at all.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20161026/aeaf9f42/attachment.html>


More information about the mesa-dev mailing list