<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - libvdpau backend detection under Xwayland"
href="https://bugs.freedesktop.org/show_bug.cgi?id=98453">98453</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>libvdpau backend detection under Xwayland
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr>
<tr>
<th>Version</th>
<td>git
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Other
</td>
</tr>
<tr>
<th>Assignee</th>
<td>aplattner@nvidia.com
</td>
</tr>
<tr>
<th>Reporter</th>
<td>kwizart@gmail.com
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=127552" name="attach_127552" title="Return earlier if not vdpau_driver">attachment 127552</a> <a href="attachment.cgi?id=127552&action=edit" title="Return earlier if not vdpau_driver">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=98453&attachment=127552'>[review]</a>
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
<a href="https://bugzilla.redhat.com/show_bug.cgi?id=1305699">https://bugzilla.redhat.com/show_bug.cgi?id=1305699</a>
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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>