Comments (4)
Splitted-Desktop Systems VDPAU backend for VA-API
This is VA-API driver that uses VDPAU. It should be used when your drivers natively provide VDPAU interface, but you have an application, that can only use VA-API. One of such combination was previous versions of VLC player and nVidia hardware with proprietary drivers. I guess /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
on your system is a symlink to something like vdpau_drv_video.so
.
On the contrary, this project, libvdpau-va-gl
is a VDPAU driver that uses VA-API. Intel drivers provide only VA-API interface, so if you have an application that only can use VDPAU, such translation layer could be used.
So, wrapping up. When you override driver by setting environment variable VDPAU_DRIVER
to va_gl
, libvdpau-va-gl gets loaded. It tries to open VA, asks libva to load appropriate driver, which after all symlinks resolving is vdpau_drv_video.so
. It in turn tries to open VDPAU driver, which is forced to libvdpau-va-gl, which tries to load VA-API driver and so on. You short-circuited it. (There are no infinite cycle, but just trying to lock the same mutex twice on a second lap.)
from libvdpau-va-gl.
And I also don't understand why you are trying to use libvdpau-va-gl at all. Open source radeon drivers (in Mesa) have native VDPAU support. There are also native VA-API support, which is probably not enabled in that binary repo.
So, for mpv you just have mpv --> VDPAU driver (Mesa) --> hardware
.
For gstreamer-vaapi you have gst --> VA-API driver (vdpau_drv_video.so) --> VDPAU driver (Mesa) --> hardware
.
from libvdpau-va-gl.
thanks for the explanation about the deadlock.
I was trying to use this backend because i have some problems with gstreamer-vaapi + opengl + vdpau-va-driver. I was thinking this backend could be an alternative backend, because vdpau-va-driver has not been maintained/updated for a long time as far as i know.
So this backend does not make any sense at all for radeon, sInce radeon already has native VDPAU support with the existing backend? Ok, i didn't understand this backend 's purpose correctly, we can probably close the ticket.
from libvdpau-va-gl.
So this backend does not make any sense at all for radeon, sInce radeon already has native VDPAU support with the existing backend?
Correct.
However, I heard about (but didn't actually try) VA-API interface in Gallium3D drivers. So you could try to use native VA-API interface, and exclude vdpau-va-driver from the chain. Perhaps, you'll need to reconfigure and build Mesa from sources.
from libvdpau-va-gl.
Related Issues (20)
- cmake issue HOT 5
- Unable to play some video with VLC (hardware accelerator failed to decode picture) HOT 15
- Segmentation fault in dri2_unbind_context HOT 5
- Change license to MIT (expat) HOT 7
- Wrong scaling in fullscreen VLC (was: Problems playing videos in VLC) HOT 24
- Vlc using vdpau, no decoding HOT 6
- Unable to compile HOT 12
- cppcheck errors HOT 3
- Build failure with clang/libc++ on Linux HOT 2
- GPU memory leak in VLC on Intel HOT 4
- Archlinux integration !
- When playing .webm files with video-output default (VDPAU) VLC ends up consuming a lot of RAM (using lib64vdpau-va-gl1-0.4.0-1.mga6 on Intel Graphics) HOT 5
- VLC with "--vout vdpau" won't play the video of a certain .mp4 file (generates an error) HOT 11
- flash video freezes the whole system HOT 3
- VLC's memory consumption steadily increases after switching to next videos HOT 4
- Some videos cause complete system hang with 0.4.0 HOT 7
- Create lists of supported hardware and software. HOT 2
- Discrepancy in decoder capabilities reported by `vainfo` and `vdpauinfo` wrt Kabylake. HOT 1
- vdpauinfo crash with VDPAU_DRIVER=va_gl on nouveau drivers HOT 1
- hardware accelerator failed to decode picture HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libvdpau-va-gl.