Closed TravisRoy closed 1 year ago
Video settings from autoProcess.ini:
[Video]
codec = hevc_vaapi
max-bitrate = 0
bitrate-ratio =
crf = 28
crf-profiles =
preset = slower
codec-parameters =
dynamic-parameters = False
max-width = 0
profile =
max-level = 0.0
pix-fmt =
prioritize-source-pix-fmt = True
filter =
force-filter = False
Related note, sonarr-sma is still working fine.
FFMPEG will throw this error when you don't have permission to access the device you're passing (/dev/dri/renderD128)
I would verify permissions and see if you run the command as root if it changes at all. I haven't made any changes that should have impacted this
I would also check the docker logs on container start up and see if it's throwing a permission error
Disregard this, I did a file that didn't need video encoding, so of course it worked. Running more tests.
Changed the permissions, and that fixed the issue in radarr-sma, but they were the same permissions as sonarr-sma before I changed them, and sonar-sma works fine without any changes.
I'll try a recreate and pull latest image.
Testing again with a correct file, and the above comment is correct, even after using the latest image.
Container build logs:
media:~$ docker logs radarr-sma
[mod-init] Attempting to run Docker Modification Logic
[mod-init] Applying gilbn/theme.park:radarr files to container
[mod-init] gilbn/theme.park:radarr applied to container
[mod-init] Applying linuxserver/mods:universal-package-install files to container
[mod-init] linuxserver/mods:universal-package-install applied to container
[migrations] started
cont-init: info: running /etc/cont-init.d/50-gid-video
[migrations] no migrations found
**** adding /dev/dri/renderD128 to video group video with id 27 ****
usermod: lock /etc/passwd.lock already used by PID 122
usermod: cannot lock /etc/passwd; try again later.
**** adding /dev/dri/card0 to video group video with id 27 ****
usermod: lock /etc/passwd.lock already used by PID 122
usermod: cannot lock /etc/passwd; try again later.
cont-init: info: /etc/cont-init.d/50-gid-video exited 0
cont-init: info: running /etc/cont-init.d/90-sma-config
-------------------------------------
_ ()
| | ___ _ __
| | / __| | | / \
| | \__ \ | | | () |
|_| |___/ |_| \__/
Brought to you by linuxserver.io
-------------------------------------
To support the app dev(s) visit:
Radarr: https://opencollective.com/radarr
To support LSIO projects visit:
https://www.linuxserver.io/donate/
-------------------------------------
GID/UID
-------------------------------------
User uid: 1000
User gid: 1000
-------------------------------------
cont-init: info: /etc/cont-init.d/90-sma-config exited 0
**** Adding libva-intel-driver to OS package install list ****
**** Adding mesa-dri-gallium to OS package install list ****
---------------------------
**** Adding tmdbsimple to pip install list ****
| Radarr theme.park Mod |
---------------------------
**** Adding guessit to pip install list ****
Variables set:
'TP_DOMAIN'=
'TP_COMMUNITY_THEME'=
'TP_SCHEME'=
'TP_ADDON'=
'TP_THEME'=
**** Adding mutagen to pip install list ****
No domain set, defaulting to theme-park.dev
**** Adding qtfaststart to pip install list ****
No scheme set, defaulting to https
No theme set, defaulting to organizr
[mod-init] **** Installing all mod packages ****
fetch http://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz
---------------------------
| Adding the stylesheet |
---------------------------
Stylesheet set to organizr
fetch http://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz
(1/11) Installing libva-intel-driver (2.4.1-r0)
(2/11) Installing mesa (22.2.5-r1)
(3/11) Installing libxml2 (2.10.3-r1)
(4/11) Installing zstd-libs (1.5.2-r9)
(5/11) Installing llvm15-libs (15.0.7-r0)
(6/11) Installing musl-fts (1.2.7-r3)
(7/11) Installing libelf (0.187-r2)
(8/11) Installing mesa-glapi (22.2.5-r1)
(9/11) Installing mesa-dri-gallium (22.2.5-r1)
(10/11) Installing pkgconf (1.9.4-r0)
(11/11) Installing python3-dev (3.10.9-r1)
Executing busybox-1.35.0-r29.trigger
OK: 439 MiB in 149 packages
[mod-init] **** Installing all pip packages ****
Requirement already satisfied: pip in /usr/lib/python3.10/site-packages (22.3.1)
Collecting wheel
Downloading wheel-0.38.4-py3-none-any.whl (36 kB)
Requirement already satisfied: setuptools in /usr/lib/python3.10/site-packages (65.6.0)
Collecting setuptools
Downloading setuptools-66.1.1-py3-none-any.whl (1.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.3/1.3 MB 9.0 MB/s eta 0:00:00
Installing collected packages: wheel, setuptools
Attempting uninstall: setuptools
Found existing installation: setuptools 65.6.0
Uninstalling setuptools-65.6.0:
Successfully uninstalled setuptools-65.6.0
Successfully installed setuptools-66.1.1 wheel-0.38.4
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Looking in links: https://wheel-index.linuxserver.io/alpine-3.17/
Collecting tmdbsimple
Downloading tmdbsimple-2.9.1-py3-none-any.whl (38 kB)
Collecting guessit
Downloading guessit-3.5.0-py3-none-any.whl (167 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 167.9/167.9 kB 2.4 MB/s eta 0:00:00
Collecting mutagen
Downloading mutagen-1.46.0-py3-none-any.whl (193 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 193.6/193.6 kB 3.8 MB/s eta 0:00:00
Collecting qtfaststart
Downloading qtfaststart-1.8.tar.gz (7.7 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Collecting requests
Downloading requests-2.28.2-py3-none-any.whl (62 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.8/62.8 kB 1.7 MB/s eta 0:00:00
Collecting rebulk>=3.1.0
Downloading rebulk-3.1.0-py3-none-any.whl (56 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 56.4/56.4 kB 1.3 MB/s eta 0:00:00
Collecting python-dateutil
Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 247.7/247.7 kB 4.2 MB/s eta 0:00:00
Collecting babelfish>=0.6.0
Downloading babelfish-0.6.0-py3-none-any.whl (93 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 93.6/93.6 kB 1.4 MB/s eta 0:00:00
Requirement already satisfied: six>=1.5 in /usr/lib/python3.10/site-packages (from python-dateutil->guessit) (1.16.0)
Collecting charset-normalizer<4,>=2
Downloading charset_normalizer-3.0.1-cp310-cp310-musllinux_1_1_x86_64.whl (192 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 192.3/192.3 kB 3.7 MB/s eta 0:00:00
Collecting idna<4,>=2.5
Downloading idna-3.4-py3-none-any.whl (61 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.5/61.5 kB 143.7 kB/s eta 0:00:00
Collecting urllib3<1.27,>=1.21.1
Downloading urllib3-1.26.14-py2.py3-none-any.whl (140 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 140.6/140.6 kB 2.2 MB/s eta 0:00:00
Collecting certifi>=2017.4.17
Downloading certifi-2022.12.7-py3-none-any.whl (155 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 155.3/155.3 kB 1.8 MB/s eta 0:00:00
Building wheels for collected packages: qtfaststart
Building wheel for qtfaststart (setup.py): started
Building wheel for qtfaststart (setup.py): finished with status 'done'
Created wheel for qtfaststart: filename=qtfaststart-1.8-py3-none-any.whl size=8531 sha256=94bfd341a4d4a27aa2118c2691fbbf613972e455e59b90648df7991b05e7461d
Stored in directory: /root/.cache/pip/wheels/32/df/ee/af775ee0624647f51ff020174ec98d9ac9fd3a4e9537a1db50
Successfully built qtfaststart
Installing collected packages: rebulk, qtfaststart, charset-normalizer, urllib3, python-dateutil, mutagen, idna, certifi, babelfish, requests, guessit, tmdbsimple
Successfully installed babelfish-0.6.0 certifi-2022.12.7 charset-normalizer-3.0.1 guessit-3.5.0 idna-3.4 mutagen-1.46.0 python-dateutil-2.8.2 qtfaststart-1.8 rebulk-3.1.0 requests-2.28.2 tmdbsimple-2.9.1 urllib3-1.26.14
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
[custom-init] No custom files found, skipping...
[Info] Bootstrap: Starting Radarr - /app/radarr/bin/Radarr - Version 4.3.2.6857
[Info] AppFolderInfo: Data directory is being overridden to [/config]
[Debug] Bootstrap: Console selected
[Info] AppFolderInfo: Data directory is being overridden to [/config]
[Info] AppFolderInfo: Data directory is being overridden to [/config]
[Info] MigrationController: *** Migrating data source=/config/radarr.db;cache size=-20000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***
[Info] MigrationController: *** Migrating data source=/config/logs.db;cache size=-20000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***
[ls.io-init] done.
Looks like this may be related to linuxserver migrating s6 to s6v3 and restructuring how these startup scripts work (including the script that sets the permissions for the video devices), I'll see if I can get a quick fix out, Sonarr hasn't migrated over yet which is probably why its not impacted
https://github.com/linuxserver/docker-radarr/commit/f1b05cdfb6e36d9425002417f0ffacf3e16ba21f
Alright looks like I finally got things working, I've only updated the 'latest' container thus far and not the dev/nightly ones but it looks like that's what you're using, give it a fresh pull and see if its resolved
Went ahead and migrated the change to develop and nightly tag as well just since these have been migrated to the same s6v3 system along with sonarr develop tag
Looks like the sonarr latest tag is the only one that hasn't moved over to this system yet
Still failing after recreating docker container.
[mod-init] Attempting to run Docker Modification Logic
[mod-init] Applying gilbn/theme.park:radarr files to container
[mod-init] gilbn/theme.park:radarr applied to container
[mod-init] Applying linuxserver/mods:universal-package-install files to container
[mod-init] linuxserver/mods:universal-package-install applied to container
[migrations] started
[migrations] no migrations found
-------------------------------------
_ ()
| | ___ _ __
| | / __| | | / \
| | \__ \ | | | () |
|_| |___/ |_| \__/
Brought to you by linuxserver.io
-------------------------------------
To support the app dev(s) visit:
Radarr: https://opencollective.com/radarr
To support LSIO projects visit:
https://www.linuxserver.io/donate/
-------------------------------------
GID/UID
-------------------------------------
User uid: 1000
User gid: 1000
-------------------------------------
**** adding /dev/dri/renderD128 to video group video with id 27 ****
---------------------------
| Radarr theme.park Mod |
---------------------------
Variables set:
'TP_DOMAIN'=
'TP_COMMUNITY_THEME'=
'TP_SCHEME'=
'TP_ADDON'=
'TP_THEME'=
**** Adding libva-intel-driver to OS package install list ****
No domain set, defaulting to theme-park.dev
No scheme set, defaulting to https
**** Adding mesa-dri-gallium to OS package install list ****
No theme set, defaulting to organizr
**** Adding tmdbsimple to pip install list ****
**** Adding guessit to pip install list ****
**** Adding mutagen to pip install list ****
**** Adding qtfaststart to pip install list ****
[mod-init] **** Installing all mod packages ****
---------------------------
| Adding the stylesheet |
---------------------------
Stylesheet set to organizr
**** permissions for /dev/dri/card0 are good ****
ERROR: Unable to lock database: temporary error (try again later)
ERROR: Failed to open apk database: temporary error (try again later)
[mod-init] **** Installing all pip packages ****
Requirement already satisfied: pip in /usr/lib/python3.10/site-packages (22.3.1)
Collecting wheel
Downloading wheel-0.38.4-py3-none-any.whl (36 kB)
Requirement already satisfied: setuptools in /usr/lib/python3.10/site-packages (65.6.0)
Collecting setuptools
Downloading setuptools-66.1.1-py3-none-any.whl (1.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.3/1.3 MB 6.4 MB/s eta 0:00:00
Installing collected packages: wheel, setuptools
Attempting uninstall: setuptools
Found existing installation: setuptools 65.6.0
Uninstalling setuptools-65.6.0:
Successfully uninstalled setuptools-65.6.0
Successfully installed setuptools-66.1.1 wheel-0.38.4
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Looking in links: https://wheel-index.linuxserver.io/alpine-3.17/
Collecting tmdbsimple
Downloading tmdbsimple-2.9.1-py3-none-any.whl (38 kB)
Collecting guessit
Downloading guessit-3.5.0-py3-none-any.whl (167 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 167.9/167.9 kB 1.1 MB/s eta 0:00:00
Collecting mutagen
Downloading mutagen-1.46.0-py3-none-any.whl (193 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 193.6/193.6 kB 974.1 kB/s eta 0:00:00
Collecting qtfaststart
Downloading qtfaststart-1.8.tar.gz (7.7 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Collecting requests
Downloading requests-2.28.2-py3-none-any.whl (62 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.8/62.8 kB 988.8 kB/s eta 0:00:00
Collecting rebulk>=3.1.0
Downloading rebulk-3.1.0-py3-none-any.whl (56 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 56.4/56.4 kB 416.4 kB/s eta 0:00:00
Collecting babelfish>=0.6.0
Downloading babelfish-0.6.0-py3-none-any.whl (93 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 93.6/93.6 kB 699.7 kB/s eta 0:00:00
Collecting python-dateutil
Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 247.7/247.7 kB 2.0 MB/s eta 0:00:00
Requirement already satisfied: six>=1.5 in /usr/lib/python3.10/site-packages (from python-dateutil->guessit) (1.16.0)
Collecting certifi>=2017.4.17
Downloading certifi-2022.12.7-py3-none-any.whl (155 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 155.3/155.3 kB 913.8 kB/s eta 0:00:00
Collecting charset-normalizer<4,>=2
Downloading charset_normalizer-3.0.1-cp310-cp310-musllinux_1_1_x86_64.whl (192 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 192.3/192.3 kB 2.4 MB/s eta 0:00:00
Collecting urllib3<1.27,>=1.21.1
Downloading urllib3-1.26.14-py2.py3-none-any.whl (140 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 140.6/140.6 kB 1.6 MB/s eta 0:00:00
Collecting idna<4,>=2.5
Downloading idna-3.4-py3-none-any.whl (61 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.5/61.5 kB 728.5 kB/s eta 0:00:00
Building wheels for collected packages: qtfaststart
Building wheel for qtfaststart (setup.py): started
Building wheel for qtfaststart (setup.py): finished with status 'done'
Created wheel for qtfaststart: filename=qtfaststart-1.8-py3-none-any.whl size=8531 sha256=0d99634345fb69d796ebf39edcd86b70c7c19c9bb423a1bf5091c140de0d28eb
Stored in directory: /root/.cache/pip/wheels/32/df/ee/af775ee0624647f51ff020174ec98d9ac9fd3a4e9537a1db50
Successfully built qtfaststart
Installing collected packages: rebulk, qtfaststart, charset-normalizer, urllib3, python-dateutil, mutagen, idna, certifi, babelfish, requests, guessit, tmdbsimple
Successfully installed babelfish-0.6.0 certifi-2022.12.7 charset-normalizer-3.0.1 guessit-3.5.0 idna-3.4 mutagen-1.46.0 python-dateutil-2.8.2 qtfaststart-1.8 rebulk-3.1.0 requests-2.28.2 tmdbsimple-2.9.1 urllib3-1.26.14
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
[custom-init] No custom files found, skipping...
[Info] Bootstrap: Starting Radarr - /app/radarr/bin/Radarr - Version 4.3.2.6857
[Info] AppFolderInfo: Data directory is being overridden to [/config]
[Debug] Bootstrap: Console selected
[Info] AppFolderInfo: Data directory is being overridden to [/config]
[Info] AppFolderInfo: Data directory is being overridden to [/config]
[Info] MigrationController: *** Migrating data source=/config/radarr.db;cache size=-20000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***
[Info] MigrationController: *** Migrating data source=/config/logs.db;cache size=-20000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***
[Info] CommandExecutor: Starting 2 threads for tasks.
[ls.io-init] done.
FFmpeg command:
======================
/usr/bin/ffmpeg -hwaccel vaapi -i "Morning Light (2008) - Bluray-1080p.mp4.original" -vcodec hevc_vaapi -map 0:0 -field_order progressive -metadata:s:v title=FHD -metadata:s:v handler_name=FHD -preset slower -tag:v hvc1 -qp 28 -vaapi_device /dev/dri/renderD128 -vf "format=nv12|vaapi,hwupload" -c:a:0 ac3 -map 0:1 -ac:a:0 6 -b:a:0 224k -metadata:s:a:0 BPS=224000 -metadata:s:a:0 BPS-eng=224000 -metadata:s:a:0 "title=5.1 Channel" -metadata:s:a:0 "handler_name=5.1 Channel" -metadata:s:a:0 language=eng -disposition:a:0 +default-dub-original-comment-lyrics-karaoke-forced-hearing_impaired-visual_impaired-captions -f mp4 -threads 0 -metadata:g encoding_tool=SMA -y "/media/merged/Media/NEW-Movies/Morning Light (2008)/Morning Light (2008) - Bluray-1080p.mp4"
======================
[ ] 0% Error converting file, FFMPEG error.
Traceback (most recent call last):
File "/usr/local/sma/resources/mediaprocessor.py", line 2292, in convert
for timecode, debug in conv:
File "/usr/local/sma/converter/__init__.py", line 329, in convert
for timecode, debug in self.ffmpeg.convert(outfile,
File "/usr/local/sma/converter/ffmpeg.py", line 795, in convert
raise FFMpegConvertError('Exited with code %d' % p.returncode, cmd,
converter.ffmpeg.FFMpegConvertError: <unprintable FFMpegConvertError object>
/usr/bin/ffmpeg -hwaccel vaapi -i Morning Light (2008) - Bluray-1080p.mp4.original -vcodec hevc_vaapi -map 0:0 -field_order progressive -metadata:s:v title=FHD -metadata:s:v handler_name=FHD -preset slower -tag:v hvc1 -qp 28 -vaapi_device /dev/dri/renderD128 -vf format=nv12|vaapi,hwupload -c:a:0 ac3 -map 0:1 -ac:a:0 6 -b:a:0 224k -metadata:s:a:0 BPS=224000 -metadata:s:a:0 BPS-eng=224000 -metadata:s:a:0 title=5.1 Channel -metadata:s:a:0 handler_name=5.1 Channel -metadata:s:a:0 language=eng -disposition:a:0 +default-dub-original-comment-lyrics-karaoke-forced-hearing_impaired-visual_impaired-captions -f mp4 -threads 0 -metadata:g encoding_tool=SMA -y /media/merged/Media/NEW-Movies/Morning Light (2008)/Morning Light (2008) - Bluray-1080p.mp4
ffmpeg version 5.1.2 Copyright (c) 2000-2022 the FFmpeg developers
built with gcc 12.2.1 (Alpine 12.2.1_git20220924-r3) 20220924
configuration: --prefix=/usr --enable-avfilter --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-gnutls --enable-gpl --enable-libass --enable-libmp3lame --enable-libpulse --enable-libvorbis --enable-libvpx --enable-libxvid --enable-libx264 --enable-libx265 --enable-libtheora --enable-libv4l2 --enable-libdav1d --enable-lto --enable-postproc --enable-pic --enable-pthreads --enable-shared --enable-libxcb --enable-librist --enable-libsrt --enable-libssh --enable-libvidstab --disable-stripping --disable-static --disable-librtmp --disable-lzma --enable-libaom --enable-libopus --enable-libsoxr --enable-libwebp --enable-vaapi --enable-vdpau --enable-vulkan --enable-libdrm --enable-libzmq --optflags=-O2 --disable-debug --enable-libsvtav1
libavutil 57. 28.100 / 57. 28.100
libavcodec 59. 37.100 / 59. 37.100
libavformat 59. 27.100 / 59. 27.100
libavdevice 59. 7.100 / 59. 7.100
libavfilter 8. 44.100 / 8. 44.100
libswscale 6. 7.100 / 6. 7.100
libswresample 4. 7.100 / 4. 7.100
libpostproc 56. 6.100 / 56. 6.100
[AVHWDeviceContext @ 0x7fb52f666e40] Failed to initialise VAAPI connection: -1 (unknown libva error).
Device creation failed: -5.
Failed to set value '/dev/dri/renderD128' for option 'vaapi_device': I/O error
Error parsing global options: I/O error
Changing permissions on /dev/dri/renderD128 doesn't fix the issue anymore as well.
Looks like at least the permission are appropriately being applied and the startup scripts are working. No idea why you're getting this new unknown libva error
Are there any major differences to your target codecs or encoding parameters between this and sonarr that's working? Just trying to look for outliers cause it looks like the permissions are appropriately applied now
the settings for my encoding for sonarr-sma and radarr-sma are exactly the same.
I tried nightly and develop tags as well, same issue, and permissions changing manually doesn't fix it on any of them.
Does rolling back to the previous versions fix the issue?
What version would you suggest? Since I was running latest, I'm not sure what the actual container version was.
Looks like this might also be related to the return back to Alpine, does bashing into the container and manually adding the package intel-media-driver
help?
apk add intel-media-driver
I'm able to convert using VAAPI after installing that package
Using
environment:
- PUID=${PUID}
- PGID=${PGID}
- TZ=${TZ}
- SMA_UPDATE=true
- SMA_USE_REPO=true
- SMA_HWACCEL=true
after latest update to include intel-media-driver
using the HWACCEL package collection with a clean image VAAPI is working
Also just a quick question, I notice you're using
- INSTALL_PACKAGES=libva-intel-driver|mesa-dri-gallium
- INSTALL_PIP_PACKAGES=tmdbsimple|guessit|mutagen|qtfaststart
Any reason why? The PIP packages are all installed in the virtual python environment and the hwaccel packages are installed using the SMA_HWACCEL
environment variable
I installed those pip packages because before I did, I got errors about them missing when I tried to run sma from the cli when getting to the console
apk add intel-media-driver doesn't help, same issue.
Example:
abc@901373c9b748:/media/merged/Media/NEW-Movies/Get Out (2017)$ /usr/local/sma/manual.py -a -i Get\ Out\ (2017)\ -\ Remux-1080p.mkv
Traceback (most recent call last):
File "/usr/local/sma/manual.py", line 5, in
You need to use the python virtual environment not just the generic python installation inside the container
/usr/local/sma/venv/bin/python3 /usr/local/sma/manual.py -a -i Get\ Out\ (2017)\ -\ Remux-1080p.mkv
But for the main issue at hand...
I would try a fresh container pull and try to mirror my environment variable configuration listed above, I would drop install/pip package environment variables at least for testing and use the intended package variables and see if that makes things work, cause I'm able to use VAAPI on a clean install using those options (SMA_HWACCEL includes a few more VAAPI packages you may be missing)
- SMA_USE_REPO=true
- SMA_HWACCEL=true
adding
seems to have done the issue. :)
Thanks for all your help, sorry for any inconvenience.
All good, glad you brought this up cause there was a couple issues related to the recent linuxserver parent container changes that I hadn't been aware of that would have eventually caused more problems, now I just need to keep a close eye out for whenever they migrate the main sonarr tag
Glad its working though
Latest update is causing hardware encoding to fail. Was working fine before update with same docker compose.
Docker Compose: