<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Thanks. That will give me something to look into over the
weekend.<br>
</p>
<div class="moz-cite-prefix">On 4/5/24 17:34, Ryan Petris wrote:<br>
</div>
<blockquote type="cite"
cite="mid:2a7be79d-72ad-4dbd-be6d-b73af2fb4e3f@app.fastmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title></title>
<style type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}</style>
<div>There's likely some setting you have to enable or change to
enable hardware acceleration. You'll probably have to poke
around or google for that as I'm not that familiar with those
settings in Handbrake.<br>
</div>
<div><br>
</div>
<div>That said, depending on what you're trying to do, you may
just want to use CPU encoding anyway. You have a lot more
control over what the final product looks like with CPU encoding
that you do hardware encoding. With hardware encoding you can
give it some parameters but ultimately you get whatever the
encoder spits out, while you have many more knobs to turn for
CPU encoding. You'll spend more time encoding but you'll likely
end up with a better quality and smaller file with CPU encoding.<br>
</div>
<div><br>
</div>
<div>On Fri, Apr 5, 2024, at 4:42 PM, Jim via PLUG-discuss wrote:<br>
</div>
<blockquote type="cite" id="qt" style="">
<p>Thanks Ryan for the advice. You mentioned the mesa and vdpau
drivers for hardware video acceleration. I'm testing
handbrake now by having it transcode the same video (25
minutes) and same settings I mentioned earlier. ( H264
1440x1080 to 640x480). This time it's also using around 95%
of the cpu and transcoding at around 80 fps. Is it using the
hardware acceleration?<br>
</p>
<p><br>
</p>
<p>Thanks<br>
</p>
<div class="qt-moz-cite-prefix">On 4/5/24 15:37, Ryan Petris via
PLUG-discuss wrote:<br>
</div>
<blockquote type="cite"
cite="mid:ce3b6102-fd18-42df-a987-4d1e4e673620@app.fastmail.com">
<div>Yeah, I wouldn't use the proprietary AMD drivers. Jim,
undo whatever it is that you did with the amdgpu-pro drivers
and install the "xserver-xorg-video-amdgpu" (if you're on
debian or a debian based distro, which I assume you are
based on the mentioning of a deb package) and restart. That
should be all you need.<br>
</div>
<div><br>
</div>
<div>If you're wanting hardware video acceleration you can
also install the following packages:<br>
</div>
<div><br>
</div>
<div>mesa-va-drivers<br>
</div>
<div>vdpau-driver-all<br>
</div>
<div><br>
</div>
<div>Those are listed on this wiki page: <a
href="https://wiki.debian.org/HardwareVideoAcceleration"
class="qt-moz-txt-link-freetext moz-txt-link-freetext"
moz-do-not-send="true">https://wiki.debian.org/HardwareVideoAcceleration</a><br>
</div>
<div><br>
</div>
<div>On Fri, Apr 5, 2024, at 3:29 PM, z via PLUG-discuss
wrote:<br>
</div>
<blockquote type="cite" id="qt-qt" style="">
<div><span dir="ltr"
style="margin-top:0px;margin-bottom:0px;">I also don't
think I made it clear that mesa is probably better than
the proprietary AMD drivers on linux. The same is untrue
on NVIDIA.</span><br>
</div>
<div>
<div dir="ltr">
<p>Apr 5, 2024 15:11:16 z via PLUG-discuss <a
class="qt-moz-txt-link-rfc2396E"
href="mailto:plug-discuss@lists.phxlinux.org"
moz-do-not-send="true"><plug-discuss@lists.phxlinux.org></a>:<br>
</p>
</div>
<blockquote
style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;border-left-width:3px;border-left-style:solid;border-left-color:rgb(204, 204, 204);padding-left:10px;">
<div><span dir="ltr"
style="margin-top:0px;margin-bottom:0px;">Do you
truly need proprietary drivers? That card is one of
the best supported by open source software. So I
would just install mesa, which should be easily
installed from your distro's package manager, if
it's not installed already.</span><br>
</div>
<div><br>
</div>
<div><span dir="ltr"
style="margin-top:0px;margin-bottom:0px;">Assuming
you do need proprietary, maybe try a reboot if you
haven't already? It's giving a missing binary error
and sometimes I get those after a kernel update and
not rebooting.</span><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><span dir="ltr"
style="margin-top:0px;margin-bottom:0px;">Zack</span><br>
</div>
<div>
<div dir="ltr">
<p>Apr 5, 2024 14:43:44 Jim via PLUG-discuss <a
class="qt-moz-txt-link-rfc2396E"
href="mailto:plug-discuss@lists.phxlinux.org"
moz-do-not-send="true"><plug-discuss@lists.phxlinux.org></a>:<br>
</p>
</div>
<blockquote
style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;border-left-width:3px;border-left-style:solid;border-left-color:rgb(204, 204, 204);padding-left:10px;">
<p>Today the Radeon RX580 graphics card I bought
arrived. To get the drivers for the card, I went
here<br>
</p>
<p><span style="text-wrap-mode:wrap;"><a
class="qt-qt-moz-txt-link-freetext qt-moz-txt-link-freetext moz-txt-link-freetext"
href="https://www.amd.com/en/support"
moz-do-not-send="true">https://www.amd.com/en/support</a>
where I downloaded <span
style="text-wrap-mode:wrap;">amdgpu-install_6.0.60002-1_all.deb</span></span><br>
</p>
<p><span style="text-wrap-mode:wrap;"><span
style="text-wrap-mode:wrap;">Next I started
following the instructions at <a
class="qt-qt-moz-txt-link-freetext qt-moz-txt-link-freetext moz-txt-link-freetext"
href="https://amdgpu-install.readthedocs.io/en/latest/"
moz-do-not-send="true">https://amdgpu-install.readthedocs.io/en/latest/</a>
then I started running into problems.</span></span><br>
</p>
<p>amdgpu-install --vulkan=amdvlk,pro gave me 2
errors:<br>
</p>
<p>E: Unable to locate package vulkan-amdgpu-pro and
the same for vulkan-amdgpu-pro:i386<br>
</p>
<p>I kept going and entered amdgpu-install -y
--usecase=workstation<br>
</p>
<p>That returned the errors Unable to locate package
amdgpu-pro and amdgpu-pro-lib32<br>
</p>
<p>With the error messages I figured I'd have
problems, but I tried to find out if I could use
the hardware acceleration so I entered<code>:</code><br>
</p>
<p><code><span class="font"
style="font-family:Helvetica, Arial, sans-serif;">ffmpeg -i input.mp4
-c:v h264_amf -c:a copy output.mp4<br>
<br>
That gave me several errors. The first one
was [h264_amf @ 0x562e1f855380] DLL
libamfrt64.so.1 failed to open</span></code></p>
<p><code><span class="font"
style="font-family:Helvetica, Arial, sans-serif;">So I tried sudo
updatedb and locate libamfrt64.so.1 which
returned nothing. That told me the file
wasn't there.</span></code><br>
</p>
<p><code><span class="font"
style="font-family:Helvetica, Arial, sans-serif;">I tried to transcode a
file with Handbrake but it didn't show
h264_amf among the available codec options.</span></code><br>
</p>
<p><code><span class="font"
style="font-family:Helvetica, Arial, sans-serif;">I tried searching for
how to install libamfrt64.so.1 but all I got
was references to steps I already tried.</span></code><br>
</p>
<p><code><span class="font"
style="font-family:Helvetica, Arial, sans-serif;">Did I make a mistake
somwhere or does AMD need to fix something?</span></code><br>
</p>
<p><code><span class="font"
style="font-family:Helvetica, Arial, sans-serif;">Thank for your help.</span></code><br>
</p>
<p><code><span class="font"
style="font-family:Helvetica, Arial, sans-serif;">Jim</span></code><br>
</p>
<p><br>
</p>
</blockquote>
</div>
</blockquote>
</div>
<div>---------------------------------------------------<br>
</div>
<div>PLUG-discuss mailing list: <a
href="mailto:PLUG-discuss@lists.phxlinux.org"
class="qt-moz-txt-link-freetext moz-txt-link-freetext"
moz-do-not-send="true">PLUG-discuss@lists.phxlinux.org</a><br>
</div>
<div>To subscribe, unsubscribe, or to change your mail
settings:<br>
</div>
<div><a
href="https://lists.phxlinux.org/mailman/listinfo/plug-discuss"
class="qt-moz-txt-link-freetext moz-txt-link-freetext"
moz-do-not-send="true">https://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br>
</div>
<div><br>
</div>
</blockquote>
<div><br>
</div>
<div><br>
</div>
<pre class="qt-moz-quote-pre">---------------------------------------------------
PLUG-discuss mailing list: <a
class="qt-moz-txt-link-abbreviated moz-txt-link-freetext"
href="mailto:PLUG-discuss@lists.phxlinux.org"
moz-do-not-send="true">PLUG-discuss@lists.phxlinux.org</a>
To subscribe, unsubscribe, or to change your mail settings:
<a class="qt-moz-txt-link-freetext moz-txt-link-freetext"
href="https://lists.phxlinux.org/mailman/listinfo/plug-discuss"
moz-do-not-send="true">https://lists.phxlinux.org/mailman/listinfo/plug-discuss</a>
</pre>
</blockquote>
<div>---------------------------------------------------<br>
</div>
<div>PLUG-discuss mailing list: <a
href="mailto:PLUG-discuss@lists.phxlinux.org"
moz-do-not-send="true" class="moz-txt-link-freetext">PLUG-discuss@lists.phxlinux.org</a><br>
</div>
<div>To subscribe, unsubscribe, or to change your mail settings:<br>
</div>
<div><a
href="https://lists.phxlinux.org/mailman/listinfo/plug-discuss"
moz-do-not-send="true" class="moz-txt-link-freetext">https://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br>
</div>
<div><br>
</div>
</blockquote>
<div><br>
</div>
</blockquote>
</body>
</html>