first commit

This commit is contained in:
Ward 2023-02-23 22:24:47 +02:00
commit 64665e1bf1
9 changed files with 144 additions and 0 deletions

View File

@ -0,0 +1,42 @@
nvidia-vaapi-driver (10:0.0.8-99pika1) kinetic; urgency=medium
* Upgrade to release 0.0.8 and switch to direct backend
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
nvidia-vaapi-driver (10:0.0.7-99pika2) kinetic; urgency=medium
* Fix profile script
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
nvidia-vaapi-driver (10:0.0.7-99pika1) kinetic; urgency=medium
* Rebrand to PikaOS
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
nvidia-vaapi-driver (10:0.0.7-99nobara3) kinetic; urgency=medium
* Make profile.d only export egl over-ride on wayland, and xsession not override at all .
-- Ward Nakchbandi <hotrod.master@hotmail.com> Thu, 04 Oct 2022 17:50:00 +0300
nvidia-vaapi-driver (10:0.0.7-99nobara2) kinetic; urgency=medium
* Fix broken env-var scripts.
-- Ward Nakchbandi <hotrod.master@hotmail.com> Thu, 04 Oct 2022 17:50:00 +0300
nvidia-vaapi-driver (10:0.0.7-99nobara1) kinetic; urgency=medium
* Upgrade to 0.0.7 & and add env-var scripts.
-- Ward Nakchbandi <hotrod.master@hotmail.com> Thu, 04 Oct 2022 17:50:00 +0300
nvidia-vaapi-driver (10:0.0.6-99nobara1) kinetic; urgency=medium
* Initial release.
-- Ward Nakchbandi <hotrod.master@hotmail.com> Thu, 04 Oct 2022 17:50:00 +0300

View File

@ -0,0 +1,25 @@
Source: nvidia-vaapi-driver
Section: video
Priority: optional
Maintainer: Ward Nakchbandi <hotrod.master@hotmail.com>
Build-Depends: debhelper-compat (= 13),
dh-sequence-libva,
libffmpeg-nvenc-dev (>= 11.1.5.1~),
libgstreamer-plugins-bad1.0-dev,
meson (>= 0.58.0~),
Standards-Version: 4.6.0
Homepage: https://github.com/elFarto/nvidia-vaapi-driver
Vcs-Browser: https://salsa.debian.org/Dami/nvidia-vaapi-driver
Vcs-Git: https://salsa.debian.org/Dami/nvidia-vaapi-driver.git
Rules-Requires-Root: no
Package: nvidia-vaapi-driver
Architecture: any
Multi-Arch: same
Depends: ${misc:Depends}, ${shlibs:Depends}
Suggests: libcuda1
Description: VA-API implementation that uses NVDEC as a backend
nvidia-vaapi-driver is an VA-API(Video Acceleration API)
implementation that uses NVDEC as a backend. This implementation is
specifically designed to be used by Firefox for accelerated decode of
web content.

View File

@ -0,0 +1,31 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: nvidia-vaapi-driver
Upstream-Contact: Stephen <elfarto@elfarto.com>
Source: https://github.com/elFarto/nvidia-vaapi-driver
Files: *
Copyright: 2022 Stephen <elfarto@elfarto.com>
License: MIT
Files: debian/*
Copyright: 2022 Lu YaNing <dluyaning@gmail.com>
License: MIT
License: MIT
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following conditions:
.
The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.
.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View File

@ -0,0 +1,28 @@
#! /bin/bash
# Check system for NVIDIA card and set vaapi env vars
nvgpu=$(lspci | grep -iE 'VGA|3D' | grep -i nvidia | cut -d ":" -f 3)
nvkernmod=$(lspci -k | grep -iEA3 '^[[:alnum:]]{2}:[[:alnum:]]{2}.*VGA|3D' | grep -iA3 nvidia | grep -i 'kernel driver' | grep -iE 'vfio-pci|nvidia')
apply_env() {
if [[ ! -z $nvkernmod ]]
then
echo "NVIDIA Driver detected. setting env-v vars for va-api."
export LIBVA_DRIVER_NAME=nvidia
export MOZ_DISABLE_RDD_SANDBOX=1
export NVD_BACKEND=direct
export EGL_PLATFORM=$XDG_SESSION_TYPE
else
echo "No NVIDIA Driver detected. No env vars set for va-api."
fi
}
if [[ ! -z $nvgpu ]]
then
echo "NVIDIA GPU detected. Checking for NVIDIA Driver."
apply_env
else
echo "No NVIDIA GPU detected. No env vars set for va-api."
fi

View File

@ -0,0 +1 @@
nvidia-vaapi-driver_0.0.6_source.buildinfo video optional

View File

@ -0,0 +1,11 @@
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
%:
dh $@
override_dh_install:
dh_install
mkdir -p debian/nvidia-vaapi-driver/etc/profile.d
cp debian/env-scripts/nvidia-vaapi-env.sh debian/nvidia-vaapi-driver/etc/profile.d/

View File

@ -0,0 +1 @@
3.0 (quilt)

View File

@ -0,0 +1,3 @@
version=4
https://github.com/elFarto/nvidia-vaapi-driver/tags \
.*/v?(\d\S+)\.tar\.gz debian uupdate

2
orig.source.txt Normal file
View File

@ -0,0 +1,2 @@
nvidia-vaapi-driver_0.0.8.orig.tar.xz
#https://github.com/elFarto/nvidia-vaapi-driver