Seriphim Posted July 7 Share Posted July 7 @seb_k I have the same issue as you. Even added --device /dev/dri and --device=/dev/dri to the extra parameters, add Device variable with dev/dri, changed permissions to root on the container nothing works to get the automated conversion working. Just figured I'd add another voice to the issue in the hopes that it may get some attention. Quote Link to comment
spxlabs Posted July 28 Share Posted July 28 (edited) Cannot figure out how to get quicksync to work. Hardware: Intel N5105 quicksync is supported Gen: 11 JasperLake Unraid Version: 7.0.0-beta.2 2024-07-12 Issue After passing igpu through to container, the container/handbrake still fails to use QSV. Errors [10:16:45] Compile-time hardening features are enabled Cannot load libnvidia-encode.so.1 libva info: VA-API version 1.21.0 libva info: Trying to open /usr/lib/dri/iHD_drv_video.so libva info: Found init function __vaDriverInit_1_21 libva info: va_openDriver() returns 0 [10:16:45] hb_display_init: attempting VA driver 'iHD' libva info: VA-API version 1.21.0 libva info: User environment variable requested driver 'iHD' libva info: Trying to open /usr/lib/dri/iHD_drv_video.so libva info: Found init function __vaDriverInit_1_21 libva info: va_openDriver() returns 0 libva info: VA-API version 1.21.0 libva info: User environment variable requested driver 'iHD' libva info: Trying to open /usr/lib/dri/iHD_drv_video.so libva info: Found init function __vaDriverInit_1_21 libva info: va_openDriver() returns 0 [10:16:45] hb_display_init: using VA driver 'iHD' libva info: VA-API version 1.21.0 libva info: User environment variable requested driver 'iHD' libva info: Trying to open /usr/lib/dri/iHD_drv_video.so libva info: Found init function __vaDriverInit_1_21 libva info: va_openDriver() returns 0 [10:16:45] qsv: is available on this system [10:16:45] hb_init: starting libhb thread [10:16:45] hb_init: starting libhb thread [10:16:45] hb_init: starting libhb thread [10:18:09] gtkgui: Excluded extension jpg [10:18:09] gtkgui: Excluded extension png [10:18:09] gtkgui: Excluded extension srt [10:18:09] gtkgui: Excluded extension ssa [10:18:09] gtkgui: Excluded extension ass [10:18:09] gtkgui: Excluded extension txt [10:18:09] CPU: Intel(R) Celeron(R) N5105 @ 2.00GHz [10:18:09] - logical processor count: 4 [10:18:09] Intel Quick Sync Video support: no Current Docker Run Settings docker run -d --name='HandBrake' --net='bridge' --pids-limit 2048 --privileged=true -e TZ="America/Chicago" -e HOST_OS="Unraid" -e HOST_HOSTNAME="n1nas" -e HOST_CONTAINERNAME="HandBrake" -e 'AUTOMATED_CONVERSION_PRESET'='Hardware/H.265 QSV 1080p' -e 'AUTOMATED_CONVERSION_FORMAT'='mp4' -e 'AUTOMATED_CONVERSION_KEEP_SOURCE'='1' -e 'AUTOMATED_CONVERSION_NON_VIDEO_FILE_ACTION'='ignore' -e 'AUTOMATED_CONVERSION_OUTPUT_DIR'='/output' -e 'AUTOMATED_CONVERSION_OUTPUT_SUBDIR'='' -e 'USER_ID'='99' -e 'GROUP_ID'='100' -e 'UMASK'='0000' -e 'APP_NICENESS'='0' -e 'DISPLAY_WIDTH'='1920' -e 'DISPLAY_HEIGHT'='1080' -e 'DARK_MODE'='0' -e 'WEB_AUDIO'='0' -e 'WEB_AUTHENTICATION'='0' -e 'WEB_AUTHENTICATION_USERNAME'='' -e 'WEB_AUTHENTICATION_PASSWORD'='' -e 'SECURE_CONNECTION'='0' -e 'SECURE_CONNECTION_VNC_METHOD'='SSL' -e 'SECURE_CONNECTION_CERTS_CHECK_INTERVAL'='60' -e 'WEB_LISTENING_PORT'='5800' -e 'VNC_LISTENING_PORT'='5900' -e 'HANDBRAKE_GUI'='1' -e 'AUTOMATED_CONVERSION'='1' -e 'AUTOMATED_CONVERSION_VIDEO_FILE_EXTENSIONS'='' -e 'AUTOMATED_CONVERSION_NON_VIDEO_FILE_EXTENSIONS'='jpg jpeg bmp png gif txt nfo' -e 'AUTOMATED_CONVERSION_OVERWRITE_OUTPUT'='0' -e 'AUTOMATED_CONVERSION_SOURCE_STABLE_TIME'='5' -e 'AUTOMATED_CONVERSION_SOURCE_MIN_DURATION'='10' -e 'AUTOMATED_CONVERSION_SOURCE_MAIN_TITLE_DETECTION'='0' -e 'AUTOMATED_CONVERSION_CHECK_INTERVAL'='5' -e 'AUTOMATED_CONVERSION_MAX_WATCH_FOLDERS'='5' -e 'AUTOMATED_CONVERSION_NO_GUI_PROGRESS'='0' -e 'AUTOMATED_CONVERSION_HANDBRAKE_CUSTOM_ARGS'='' -e 'AUTOMATED_CONVERSION_INSTALL_PKGS'='' -e 'AUTOMATED_CONVERSION_USE_TRASH'='0' -l net.unraid.docker.managed=dockerman -l net.unraid.docker.webui='http://[IP]:[PORT:5800]' -l net.unraid.docker.icon='https://raw.githubusercontent.com/jlesage/docker-templates/master/jlesage/images/handbrake-icon.png' -p '7803:5800/tcp' -p '7903:5900/tcp' -v '/mnt/user':'/storage':'ro' -v '/mnt/user/watch/':'/watch':'rw' -v '/mnt/user/recordings/':'/output':'rw' -v '/mnt/user/appdata/HandBrake':'/config':'rw' --device='/dev/dri' 'jlesage/handbrake' 19be8d8fae17f09f13f2591817f99c33f9e6e0ba799f82ad47b77d3d9735df38 Troubleshooting I've done Enable & Disabled Privileged mode added --device /dev/dri to extra parameters added Device through the UI with /dev/dri Tried --device /dev/dri/renderD128:/dev/dri/renderD128 --device /dev/dri/card0:/dev/dri/card0 in extra parameters did the chmod -R 777 /dev/dri thing inside of /boot/config/go added modprobe i915 to /boot/config/go (isn't necessary but tried anyway) Tried another container -> docker pull zocker160/handbrake-nvenc but QSV also doesn't work. Modified the container to force use i965 driver but I get libva info: va_openDriver() returns -1 instead of 0 Changed -e 'USER_ID'='99' to -e 'USER_ID'='0' Not sure what else to try or do? Edited July 28 by spxlabs Quote Link to comment
netall Posted July 30 Share Posted July 30 (edited) Hello, I have an Unraid server based on an i7-7700k CPU. I use it mainly as NAS but want to start encoding and arranging my video file collection. Mostly I'm talking about 4K or 1080p sources, I won't change the resolution and want to use the Intel QSV H.265 10-bit. The actual speed I can reach with the 7700k is around 25fps during 4K encoding. On a i7-12700k the speed is almost double (48-50fps). I was thinking of acquiring an Intel Arc A380 (120 EUR) to increase the encoding speed, but I couldn't find any comparisons between any of the i7s and an A380... so I'm not sure if that's a good idea. Does anyone have experience and can share some feedback about ARC QSV H265 encoding? Also, I know that Intel ARC GPUs had (have?) issues with Linux due to their drivers... were they fixed, are they running OK on Unraid? Thanks a lot! LE. I can't use ReBAR on the Unraid server as the MB has an Intel Z270 chipset that does not have the ReBAR capability. Edited July 30 by netall LE Quote Link to comment
randommonth Posted August 7 Share Posted August 7 Hi guys, I have Handbrake 1.8 Docker container. When I login to Handbrake's WebUI on my android phone I get a very limited experience in the browser. Finger presses move a cursor around the screen and I can't rotate or zoom in. Is there an Android app that can act as a go-between? Quote Link to comment
netall Posted August 20 Share Posted August 20 I'm following up on my above post: I have acquired the ARC380 and installed it on my server. I encoded a few files (1080p, H.265 on Intel QSV 10-bit) but to my surprise, the encoding time on the ARC 380 is the same as the one from the i7-7700K, double of the 12700K encoding time - using the same settings (I'm talking about ~125fps for i7-7700K/UHD630 and ARC 380 vs ~250fps for i7-12700K. So, I'm left with a couple of questions: - how can I check what hardware is used for encoding: ARC 380 or UHD 630? I think Handbrake is, somehow, still using the iGPU even if I disabled it from the BIOS! - since I can't activate ReBAR (not available for 7700K/Z270 chipset), might this be the most I can get from ARC 380? Thanks! Quote Link to comment
Delfinos Posted August 20 Share Posted August 20 I would expect more, but i didnt get one yet so cannot be sure really. To test if it uses the uhd 630, you could try to encode in qsv av1. If it uses the uhd 630 you should only have option for svt-av1. Quote Link to comment
mg3299 Posted August 29 Share Posted August 29 I am using Handbrake-for-Nvidia and I notice that it uses my CPU instead of my GPU. I am using the profile preset of Hardware->H.265 NVENC 1080p and do I have the NVidia Driver plugin/app. Any suggestions? Quote Link to comment
alturismo Posted August 30 Share Posted August 30 10 hours ago, mg3299 said: I am using Handbrake-for-Nvidia as this is the thread for this docker which doesnt support nvenc, may ask in the proper part or open a issue at the github from the maintainer for the docker you use. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.