<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">чт, 25 апр. 2024 г., 21:44 Andrea paz <<a href="mailto:gamberucci.andrea@gmail.com">gamberucci.andrea@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I use system monitor from KDE.<br>
I tried loading into CinGG an 8k video; 60 fps; AV1<br>
(supported by vaapi) and mkv. I ran the playback, but I do not detect<br>
GPU utilization.<br>
The GPU load varies from 0 to 10%, but these are normal variations<br>
that are repeated even<br>
with GPU at rest. The CPU has a load of about 30%.<br>
With the appimage I have: GPU = Same values. CPU = about 60%.<br>
<br>
Confirmation is the terminal message:<br>
"Decoder libdav1d does not support device type vaapi."<br>
<br>
I also tried vdpau (which for AMD GPU is a wrapper that leads to vaapi) and the<br>
result is the same:<br>
"Decoder libdav1d does not support device type vdpau."<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">Interesting, so av1 does not decode in hw in our case ... something to investigate, but I have no relevant hardware ...</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
I tried a second video: 4k; 60 fps; HEVC; mp4. The video does not load<br>
and I have numerous<br>
errors like:<br>
<br>
"file: /home/paz/video_editing/free_video/Life Untouched 4K Demo.mp4<br>
int FFVideoConvert::convert_picture_vframe(VFrame*, AVFrame*, AVFrame*):<br>
Error retrieving data from GPU to CPU"<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">hm, ah, second error! Was it 10bit hevc by the way?</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
With appimage I have no loading errors, but still the GPU is not engaged:<br>
<br>
"file:/home/paz/video_editing/free_video/Life Untouched 4K Demo.mp4<br>
err: Operation not permitted<br>
Failed HW device create.<br>
dev:vaapi<br>
err: Input/output error<br>
HW device init failed, using SW decode."<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">I think appimage may have outdated libva inside it, so course of action was to unpack it and delete this library ....</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
Finally using mpv from the command line (set to vaapi):<br>
<br>
$ mpv 'Life Untouched 4K Demo.mp4'<br>
<br>
GPU = 30-60%<br>
CPU = 0-2%<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">Well, finally it works :) But not for us .... I'll try to add a bit more debug at least temporarily</div><div dir="auto"><br></div><div dir="auto">Thanks for testing!</div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
</blockquote></div></div></div>