All Projects → i-rinat → Libvdpau Va Gl

i-rinat / Libvdpau Va Gl

Licence: mit
VDPAU driver with OpenGL/VAAPI backend

Projects that are alternatives of or similar to Libvdpau Va Gl

Ocquirks
A work-in-progress attempt to port OpenCore's boot quirks to Clover in order to replace AptioMemoryFix.
Stars: ✭ 134 (-3.6%)
Mutual labels:  driver
Borealis
Hardware accelerated, controller and TV oriented UI library for PC and Nintendo Switch (libnx).
Stars: ✭ 135 (-2.88%)
Mutual labels:  opengl
Hidguardian
Windows kernel-mode driver for controlling access to various input devices.
Stars: ✭ 138 (-0.72%)
Mutual labels:  driver
Opengl texture widget example
Demo Flutter plugin to present OpenGL render in widgets tree
Stars: ✭ 133 (-4.32%)
Mutual labels:  opengl
Splash
Unix Data Splashing Tool
Stars: ✭ 136 (-2.16%)
Mutual labels:  opengl
Shibari
Gaming input peripherals test platform for Windows
Stars: ✭ 136 (-2.16%)
Mutual labels:  driver
Gocraft
A Minecraft like game written in go
Stars: ✭ 1,704 (+1125.9%)
Mutual labels:  opengl
Diligentsamples
Sample projects demonstrating the usage of Diligent Engine
Stars: ✭ 138 (-0.72%)
Mutual labels:  opengl
Three.kt
Three.js port for the JVM (desktop)
Stars: ✭ 136 (-2.16%)
Mutual labels:  opengl
Create robot
ROS driver for iRobot Create 1 and 2.
Stars: ✭ 137 (-1.44%)
Mutual labels:  driver
Shadows
Shädows - A Shadows & Lights engine for löve
Stars: ✭ 134 (-3.6%)
Mutual labels:  opengl
Kitty
Cross-platform, fast, feature-rich, GPU based terminal
Stars: ✭ 13,011 (+9260.43%)
Mutual labels:  opengl
Daemon
The Dæmon game engine. With some bits of ioq3 and XreaL.
Stars: ✭ 136 (-2.16%)
Mutual labels:  opengl
Mapbox Gl Native Android
Interactive, thoroughly customizable maps in native Android powered by vector tiles and OpenGL
Stars: ✭ 135 (-2.88%)
Mutual labels:  opengl
Awesome Android Ndk
🔥 全面深入地掌握NDK技术,成为下一波5G时代的浪潮儿~
Stars: ✭ 138 (-0.72%)
Mutual labels:  opengl
Opensr
Open Sketch Recognize
Stars: ✭ 133 (-4.32%)
Mutual labels:  opengl
Galacritty
WIP GTK terminal emulator based on Alacritty
Stars: ✭ 136 (-2.16%)
Mutual labels:  opengl
Ore Infinium
Ore Infinium, Open Source multiplayer Terraria-inspired Sci-fi game, focused on technology, devices and researching. Written in Kotlin (JVM), LibGDX. Cross platform
Stars: ✭ 139 (+0%)
Mutual labels:  opengl
Diligentengine
A modern cross-platform low-level graphics library and rendering framework
Stars: ✭ 2,142 (+1441.01%)
Mutual labels:  opengl
Pyglfw
Python bindings for GLFW
Stars: ✭ 136 (-2.16%)
Mutual labels:  opengl

About

Briefly, this is the VDPAU driver with VA-API/OpenGL backend.

There are applications exists that can use VDPAU. Amongst them are Adobe Flash Player and Mplayer. They both can use VDPAU, but since there is no VDPAU available on Intel chips, they fall back to different drawing techniques. And while Mplayer can use XVideo extension to offload scaling to GPU, Flash Player can not and does all scaling in software. If there was VDPAU available, CPU usage could be significantly lower.

VDPAU is not vendor-locked technology. Even official documentation mentions possibility of other drivers. They should be named as libvdpau_drivername.so.1 and placed where linker could find them. /usr/lib usually works fine. Which driver to use is determined by asking X server about current driver name or by using VDPAU_DRIVER environment variable.

Here is one. Named libvdpau_va_gl.so.1, it uses OpenGL under the hood to accelerate drawing and scaling and VA-API (if available) to accelerate video decoding. For now VA-API is available on some Intel chips, and on some AMD video adapters with help of xvba-va-driver. OpenGL is available, you know, on systems with OpenGL available.

Install

  1. sudo apt-get install cmake libva-dev libgl1-mesa-dev
  2. mkdir build; cd build
  3. cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr ..
  4. sudo make install
  5. Add VDPAU_DRIVER=va_gl to your environment

Commands above should work for any Debian-based distro. Fedora names packages in a different way, so package installation step will look like: sudo yum install cmake libva-devel mesa-libGL-devel.

Run time configuration

Besides VDPAU_DRIVER variable which selects which driver to use there are other variables that control runtime behavior of va_gl driver.

VDPAU_QUIRKS contains comma-separated list of enabled quirks. Here is the list:

  • XCloseDisplay Disables calling of XCloseDisplay which may segfault on some video drivers
  • ShowWatermark Enables displaying string "va_gl" in bottom-right corner of window
  • AvoidVA Makes libvdpau-va-gl NOT use VA-API

Parameters of VDPAU_QUIRKS are case-insensetive.

Copying

libvdpau-va-gl is distributed under the terms of the MIT license. See LICENSE file for details.

Contact

Author can be reached at email ibragimovrinat-at-mail.ru or at github: https://github.com/i-rinat/

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].