-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing profiles for encoding/decoding with hwaccel for ffmpeg inside lxc container #4334
Comments
With ffmpeg, I can decode/encode with all profiles but not inside lxc: Launching this command: ffmpeg -vaapi_device /dev/dri/renderD128 -i infile.mkv -vf 'format=nv12,hwupload'
-map 0:0 -c:v hevc_vaapi -map 0:a -c:a copy -rc_mode CQP -global_quality 20 -profile:v main -v verbose outfile.mkv
Works ok and recode with hw acceleration at 4x (checked with intel_gpu_top).
Fail and exit |
Hi Miguel, unfortunately I can't give a specific instructions for your case. But I can give you a hint that allows to find a way :) First of all you need to understand what your application needs and does, easiest way is to use |
If you find the fix for your issue, please do detail it here for the next person (https://xkcd.com/979/) |
Required information
lxc-start --version
4.0.12
lxc-checkconfig
uname -a
cat /proc/self/cgroup
cat /proc/1/mounts
Issue description
I have less profiles on vainfo inside lxc container.
vainfo output on main machine (ubuntu 20.04):
vainfo output on lxc container (ubuntu 20.04)
I have a Intel® Iris® 540 integrated GPU (i5-6260U Skylake)
I have tried several configurations for lxc container:
I always have the same result.
I have check on another container with the jammy version (22.04) of ubuntu with same exact result.
On all machines I always use the root user
Steps to reproduce
lxc-create -n ffmpeg -t ubuntu -B dir -- --release focal --arch amd64 -- user ffmpeg --packages "htop,net-tools,nano,screen,wget,curl,bind9-dnsutils"
Information to attach
dmesg
)Container log (The file from running
lxc-start -n <c> -l TRACE -o <logfile>
)lxc-start.log
The containers configuration file
The text was updated successfully, but these errors were encountered: