Unmanic / unmanic

Unmanic - Library Optimiser
GNU General Public License v3.0
1.66k stars 82 forks source link

Unmanic only works with dri/card0 and breaks using AV1 codec #475

Closed casperse closed 7 months ago

casperse commented 7 months ago

Description

Just became a patron to start encoding with AV1, but I quickly ran into some problems.

It looks like unmanic as a docker in Unraid only works if your HW card is located as card0 I your great discord forum I got help from user: soultaco83 to use a workaround.

Described in more details here: https://forums.unraid.net/topic/76878-support-josh5-unmanic-library-optimiser/?do=findComment&comment=1403378

Unfortunately this only works for encoding in HEVC/h264 using the iGPU, any attempt to use AV1 breaks it.

Steps to Reproduce

  1. Install Unmanic on Unraid and have your iGPU listed as card1
  2. Make workaround to swap card1 to card0 in the docker setup
  3. Try to encode any file to AV1

Expected behavior: - To work like HEVC & H264 encoding with the same plugin

Actual behaviour: - Breaks no encoding see logfile in Unraid post above.

Reproduces how often: 100% never works with AV1 but works fine with HEVC & h264

Versions

Unraid 6.12.10 Unmanic Version: 0.2.6~41346cb

Installation Method Used

https://docs.unmanic.app/docs/installation/unraid/

Manually installed and run or run through Docker? Docker

Additional Information

None.

This is the only docker that has a problem with my iGPU listed as dri/card1 Only Unmanic has it hardcoded to use card0, would be great if this was changed

casperse commented 7 months ago

Link to discord discussion : https://discord.com/channels/819327740279914516/1228274107863269406

casperse commented 7 months ago

Seems the confusion is that the 14th gen is only supporting AV1 decoding so need to buy a GPU :-)