Summary: | x11-libs/libvdpau - add support for nouveau | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | gengreen |
Component: | Current packages | Assignee: | Ionen Wolkens <ionen> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | CC: | ionen, pacho |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Ebuild libvdpau + patch for nouveau |
Description
gengreen
2018-11-28 06:31:34 UTC
Created attachment 556990 [details]
Ebuild libvdpau + patch for nouveau
This issue isn't a priority, specially that it doesn't receive any update for few years now... I made small fix that I use in my own overlay, I share it here if someone else is interested by it.
Feel free to close this issue.
I update this issue since x11-libs/libvdpau-1.2 was available as stage in emerge. I emerged libdpau-1.2 and vdpauinfo. Here the output : display: :0.0 screen: 0 Failed to open VDPAU backend Error loading shared library libvdpau_nvidia.so: No such file or directory Error creating VDPAU device: 1 While my system is using nouveau only, which provide his own library /usr/lib/vdpau/libvdpau_nouveau.so Comment on attachment 556990 [details] Ebuild libvdpau + patch for nouveau >----------------------------------------- >nouveau.patch >----------------------------------------- > >--- a/src/vdpau_wrapper.c >+++ b/src/vdpau_wrapper.c >@@ -129,7 +129,7 @@ > _vdp_get_driver_name_from_dri2(display, screen); > } > if (!vdpau_driver) { The real question is, why does this check fail for you? >- vdpau_driver = "nvidia"; >+ vdpau_driver = "nouveau"; This code is intended to default to the case where vdpau_driver is not discovered (as above: why?) and presumably a very old version of nvidia-drivers is assumed. It should not fail for you and supplanting one default for another is not a good solution. I suggest you bring your problem to the attention of the libvdpau developers instead of downstream at the OS distribution level. As jer mentioned, I believe this would be better taken upstream. Furthermore, cases where nouveau can use vdpau acceleration are somewhat limited (old cards + dumped firmware). |