Index | Thread | Search

From:
izzy Meyer <izder456@disroot.org>
Subject:
Document Libva support in faq13
To:
tech@openbsd.org
Date:
Thu, 17 Apr 2025 16:56:23 -0500

Download raw body.

Thread
As mentioned in [1], I think we should document Libva support in faq13.

Attached is a diff that does this. Feedback?

1. https://marc.info/?l=openbsd-misc&m=174491858907311&w=2

-- 
iz (she/her)

> i like to say mundane things,
> there are too many uninteresting things
> that go unnoticed.

izder456 (dot) neocities (dot) org
diff --git a/faq/faq13.html b/faq/faq13.html
index 8d23ea8..dc7010c 100644
--- a/faq/faq13.html
+++ b/faq/faq13.html
@@ -67,6 +67,7 @@ FAQ - Multimedia
   <li><a href="#audioprob"  >Debugging Audio Problems</a>
   <li><a href="#midi"       >Using MIDI Instruments</a>
   <li><a href="#webcam"     >Using a Webcam</a>
+  <li><a href="#libva"      >Video Playback Acceleration with Libva</a>
   <!-- XXX
   <li><a href="#playDVD"    >Playing DVDs</a>
   <li><a href="#burnCD"     >Burning CDs and DVDs</a>
@@ -660,6 +661,18 @@ by default.
 To allow Firefox to access other video devices, the device paths must be
 added to <code>/etc/firefox/unveil.main</code>.
 
+<h2 id="libva">Video Playback Acceleration with Libva</h3>
+
+Xenocara has Libva support since <a href="../76.html">OpenBSD 7.6</a>.
+On AMD cards with Libva support, no work is needed to enable it. However, for supported Intel cards, you will need one of two packages:
+<ul>
+  <li><code>intel-media-driver</code> for supported Intel GPUs generation 5 or newer</li>
+  <li><code>intel-vaapi-driver</code> for supported Intel GPUs older than generation 5</li>
+</ul>
+
+You can use the binary package tools documented in
+<a href="faq15.html">faq15</a> to install these packages.
+
 <!-- XXX
 To record MIDI files, you can use the <code>smfrec</code> utility bundled in
 the <code>audio/midish</code> port.
diff --git a/faq/index.html b/faq/index.html
index ee3b57a..d5825ce 100644
--- a/faq/index.html
+++ b/faq/index.html
@@ -181,6 +181,7 @@ XXX  -->
 <li><a href="faq13.html#audioprob"  >Debugging Audio Problems</a>
 <li><a href="faq13.html#midi"       >Using MIDI Instruments</a>
 <li><a href="faq13.html#webcam"     >Using a Webcam</a>
+<li><a href="faq13.html#libva"      >Video Playback Acceleration with Libva</a>
 </ul>
 
 <h3><a href="faq16.html">Virtualization</a></h3>