<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									Run h264_nvenc.mp4 via Nvidia GPU in Nvidia Prime mode (GPU offload) - Hardware				            </title>
            <link>https://cinelerra-gg.org/ja/forum/forum-hardware/run-h264_nvenc-mp4-via-nvidia-gpu-in-nvidia-prime-mode-gpu-offload/</link>
            <description>The artists\&#039; meeting place for creative exchange and discussion.</description>
            <language>ja</language>
            <lastBuildDate>Wed, 11 Mar 2026 18:46:14 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>Answer to: Run h264_nvenc.mp4 via Nvidia GPU in Nvidia Prime mode (GPU offload)</title>
                        <link>https://cinelerra-gg.org/ja/forum/forum-hardware/run-h264_nvenc-mp4-via-nvidia-gpu-in-nvidia-prime-mode-gpu-offload/#post-2624</link>
                        <pubDate>Sun, 31 Dec 2023 17:06:45 +0000</pubDate>
                        <description><![CDATA[@cinuzer
@Andrew_r

So i can&#039;t reproduce nvenc fail to render for now

Interesting, I am at a loss for an explanation.
&quot;Failed to open backend VDPAU&quot; as well as all of the other errors...]]></description>
                        <content:encoded><![CDATA[<p>@cinuzer</p>
<p>@Andrew_r</p>
<blockquote>
<p>So i can't reproduce nvenc fail to render for now</p>
</blockquote>
<p>Interesting, I am at a loss for an explanation.</p>
<p>"Failed to open backend VDPAU" as well as all of the other errors would be due to the AppImage being created on a computer with different graphics hardware that does not have that capability.</p>]]></content:encoded>
						                            <category domain="https://cinelerra-gg.org/ja/forum/forum-hardware/">Hardware</category>                        <dc:creator>phylsmith2004</dc:creator>
                        <guid isPermaLink="true">https://cinelerra-gg.org/ja/forum/forum-hardware/run-h264_nvenc-mp4-via-nvidia-gpu-in-nvidia-prime-mode-gpu-offload/#post-2624</guid>
                    </item>
				                    <item>
                        <title>Answer to: Run h264_nvenc.mp4 via Nvidia GPU in Nvidia Prime mode (GPU offload)</title>
                        <link>https://cinelerra-gg.org/ja/forum/forum-hardware/run-h264_nvenc-mp4-via-nvidia-gpu-in-nvidia-prime-mode-gpu-offload/#post-2623</link>
                        <pubDate>Sun, 31 Dec 2023 06:31:58 +0000</pubDate>
                        <description><![CDATA[@phylsmith2004No, i&#039;m using appimage.Today I ran the CineGG render (after rebooting my laptop).And as far as I can tell from the preview of the rendering process in the Compositor window (it...]]></description>
                        <content:encoded><![CDATA[<p>@phylsmith2004<br />No, i'm using appimage.<br /><br />Today I ran the CineGG render (after rebooting my laptop).<br />And as far as I can tell from the preview of the rendering process in the Compositor window (it's going fast) - Nvidia GPU encoding is working again for me<br /><br />Here is the stdout of a successful render via <strong>nvenc</strong>:</p>
<p><br /></p>
<pre contenteditable="false">export __NV_PRIME_RENDER_OFFLOAD=1
export __GLX_VENDOR_LIBRARY_NAME=nvidia
export __NV_PRIME_RENDER_OFFLOAD_PROVIDER=NVIDIA-G0
export __VK_LAYER_NV_optimus=NVIDIA_only
export LIBVA_DRIVER_NAME=nvidia</pre>
<pre contenteditable="false">firejail --env=__NV_PRIME_RENDER_OFFLOAD=1 --env=__GLX_VENDOR_LIBRARY_NAME=nvidia --env=__NV_PRIME_RENDER_OFFLOAD_PROVIDER=NVIDIA-G0 --env=__VK_LAYER_NV_optimus=NVIDIA_only --env=LIBVA_DRIVER_NAME=nvidia --env=DESKTOPINTEGRATION=appimaged --noprofile --appimage /home/user/Downloads/CinGG-20230331-x86_64.AppImage

Parent pid 89472, child pid 89473

** Warning: dropping all Linux capabilities and setting NO_NEW_PRIVS prctl **

Mounting appimage type 2
Warning: NVIDIA card detected, nogroups command ignored
Child process initialized in 51.93 ms
Cinelerra Infinity - built: Mar 31 2023 08:26:24
git://git.cinelerra-gg.org/goodguy/cinelerra.git
(c) 2006-2019 Heroine Virtual Ltd. by Adam Williams
2007-2020 mods for Cinelerra-GG by W.P.Morrow aka goodguy
Cinelerra is free software, covered by the GNU General Public License,
and you are welcome to change it and/or distribute copies of it under
certain conditions. There is absolutely no warranty for Cinelerra.

audio0 pad 64 0 (64)
Failed to open VDPAU backend libvdpau_va_gl.so: cannot open shared object file: No such file or directory
Failed HW device create.
dev:vdpau
err: Unknown error occurred
HW device init failed, using SW decode.
file:/home/user/Video/1-bad-lightbulb.mp4
err: Operation not permitted
Failed to open VDPAU backend libvdpau_va_gl.so: cannot open shared object file: No such file or directory
Failed HW device create.
dev:vdpau
err: Unknown error occurred
HW device init failed, using SW decode.
file:/home/user/Video/1-bad-lightbulb.mp4
err: Operation not permitted
Failed to open VDPAU backend libvdpau_va_gl.so: cannot open shared object file: No such file or directory
Failed HW device create.
dev:vdpau
err: Unknown error occurred
HW device init failed, using SW decode.
file:/home/user/Video/1-bad-lightbulb.mp4
err: Operation not permitted
Failed to open VDPAU backend libvdpau_va_gl.so: cannot open shared object file: No such file or directory
Failed HW device create.
dev:vdpau
err: Unknown error occurred
HW device init failed, using SW decode.
file:/home/user/Video/1-bad-lightbulb.mp4
err: Operation not permitted
Failed to open VDPAU backend libvdpau_va_gl.so: cannot open shared object file: No such file or directory
Failed HW device create.
dev:vdpau
err: Unknown error occurred
HW device init failed, using SW decode.
file:/home/user/Video/1-bad-lightbulb.mp4
err: Operation not permitted
Failed to open VDPAU backend libvdpau_va_gl.so: cannot open shared object file: No such file or directory
Failed HW device create.
dev:vdpau
err: Unknown error occurred
HW device init failed, using SW decode.
file:/home/user/Video/1-bad-lightbulb.mp4
err: Operation not permitted
Render::render_single: Session finished.
** rendered 3722 frames in 22.803 secs, 163.224 fps
Total excess of backups: -50
Session time: 0:02:37
Cpu time: user: 0:01:03.442 sys: 0:00:03.304

Parent is shutting down, bye...
AppImage detached
</pre>
<p></p>
<p>So i can't reproduce nvenc fail to render for now</p>]]></content:encoded>
						                            <category domain="https://cinelerra-gg.org/ja/forum/forum-hardware/">Hardware</category>                        <dc:creator>cinuzer</dc:creator>
                        <guid isPermaLink="true">https://cinelerra-gg.org/ja/forum/forum-hardware/run-h264_nvenc-mp4-via-nvidia-gpu-in-nvidia-prime-mode-gpu-offload/#post-2623</guid>
                    </item>
				                    <item>
                        <title>Answer to: Run h264_nvenc.mp4 via Nvidia GPU in Nvidia Prime mode (GPU offload)</title>
                        <link>https://cinelerra-gg.org/ja/forum/forum-hardware/run-h264_nvenc-mp4-via-nvidia-gpu-in-nvidia-prime-mode-gpu-offload/#post-2622</link>
                        <pubDate>Thu, 28 Dec 2023 17:11:50 +0000</pubDate>
                        <description><![CDATA[@cinuzer 
@andreapaz
Did you build/compile CinGG yourself or are you using an AppImage or one of the package files at:
    
Unfortunately, I have not found a computer to test nvenc here y...]]></description>
                        <content:encoded><![CDATA[<p>@cinuzer </p>
<p>@andreapaz</p>
<p>Did you build/compile CinGG yourself or are you using an AppImage or one of the package files at:</p>
<p>     https://github.com/einhander/cin-gg-packages/releases</p>
<p>Unfortunately, I have not found a computer to test nvenc here yet but have 1 more I can look at.  I am hoping that Andrea has tested this since we upgraded to ffmpeg 6.1 recently and can verify that it is working.</p>
<p> </p>
<p>When you say it is not using the GPU, have you also looked at the startup window where you started CinGG to see if there is the error message: "Cannot load libcuda.so.1" ?</p>]]></content:encoded>
						                            <category domain="https://cinelerra-gg.org/ja/forum/forum-hardware/">Hardware</category>                        <dc:creator>phylsmith2004</dc:creator>
                        <guid isPermaLink="true">https://cinelerra-gg.org/ja/forum/forum-hardware/run-h264_nvenc-mp4-via-nvidia-gpu-in-nvidia-prime-mode-gpu-offload/#post-2622</guid>
                    </item>
				                    <item>
                        <title>Run h264_nvenc.mp4 via Nvidia GPU in Nvidia Prime mode (GPU offload)</title>
                        <link>https://cinelerra-gg.org/ja/forum/forum-hardware/run-h264_nvenc-mp4-via-nvidia-gpu-in-nvidia-prime-mode-gpu-offload/#post-2621</link>
                        <pubDate>Tue, 26 Dec 2023 14:49:06 +0000</pubDate>
                        <description><![CDATA[Hi,i&#039;m runing my laptop in Nvidia Prime (Nvidia On Demand, Hybrid graphics) mode and trying to run nvenc in CinGG via GPU Offload.Here is my start command:
export __NV_PRIME_RENDER_OFFLOAD=...]]></description>
                        <content:encoded><![CDATA[<p>Hi,<br />i'm runing my laptop in Nvidia Prime (Nvidia On Demand, Hybrid graphics) mode and trying to run <strong>nvenc</strong> in <strong>CinGG</strong> via GPU Offload.<br /><br />Here is my start command:</p>
<pre contenteditable="false">export __NV_PRIME_RENDER_OFFLOAD=1
export __GLX_VENDOR_LIBRARY_NAME=nvidia
export __NV_PRIME_RENDER_OFFLOAD_PROVIDER=NVIDIA-G0
export __VK_LAYER_NV_optimus=NVIDIA_only
export LIBVA_DRIVER_NAME=nvidia

firejail --env=__NV_PRIME_RENDER_OFFLOAD=1 --env=__GLX_VENDOR_LIBRARY_NAME=nvidia --env=__NV_PRIME_RENDER_OFFLOAD_PROVIDER=NVIDIA-G0 --env=__VK_LAYER_NV_optimus=NVIDIA_only --env=LIBVA_DRIVER_NAME=nvidia --env=DESKTOPINTEGRATION=appimaged --noprofile --appimage /home/user/Downloads/CinGG-20230331-x86_64.AppImage</pre>
<p>And i can't get Nvidia GPU utilization.<br />The render runs via CPU.<br /><br />Here is the information that proves I can run applications through the Nvidia GPU:</p>
<pre contenteditable="false">export __NV_PRIME_RENDER_OFFLOAD=1
export __GLX_VENDOR_LIBRARY_NAME=nvidia
export __NV_PRIME_RENDER_OFFLOAD_PROVIDER=NVIDIA-G0
export __VK_LAYER_NV_optimus=NVIDIA_only
export LIBVA_DRIVER_NAME=nvidia

inxi -Gxx

Graphics:
Device-1: Intel HD Graphics 630 vendor: Dell driver: i915 v: kernel ports:
active: eDP-1 empty: DP-1 bus-ID: 00:02.0 chip-ID: 8086:591b
Device-2: NVIDIA GP107M  vendor: Dell
driver: nvidia v: 545.29.06 pcie: speed: 2.5 GT/s lanes: 16 ports:
active: none empty: HDMI-A-1 bus-ID: 01:00.0 chip-ID: 10de:1c8d
Device-3: Sunplus Innovation Integrated_Webcam_HD type: USB
driver: uvcvideo bus-ID: 1-12:4 chip-ID: 1bcf:28c1
Display: x11 server: X.Org v: 1.21.1.3 compositors: 1: xfwm v: 4.18.0
2: Picom v: git-31727 driver: X: loaded: modesetting,nvidia
unloaded: fbdev,nouveau,vesa gpu: i915 display-ID: :0.0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96
Monitor-1: eDP-1 model: AU Optronics res: 1920x1080 dpi: 142
diag: 394mm (15.5")
OpenGL: renderer: NVIDIA GeForce GTX 1050/PCIe/SSE2
v: 4.6.0 NVIDIA 545.29.06 direct render: Yes</pre>
<p> I can successfully run apps with Nvidia GPU utilization, e.g. games on Wine.<br />But <strong>CinGG</strong> doesn't utilize the Nvidia GPU in Nvidia Prime mode via GPU offload if i run the render via <strong>h264_nvenc.mp4</strong> profile</p>
<p> </p>]]></content:encoded>
						                            <category domain="https://cinelerra-gg.org/ja/forum/forum-hardware/">Hardware</category>                        <dc:creator>cinuzer</dc:creator>
                        <guid isPermaLink="true">https://cinelerra-gg.org/ja/forum/forum-hardware/run-h264_nvenc-mp4-via-nvidia-gpu-in-nvidia-prime-mode-gpu-offload/#post-2621</guid>
                    </item>
							        </channel>
        </rss>
		