• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support General Questions hardware acceleration for windows docker

    Pages (2): 1 2 Next »

     
    • 0 Vote(s) - 0 Average

    hardware acceleration for windows docker

    hardware acceleration for windows docker
    iwishiknewmore
    Offline

    Junior Member

    Posts: 18
    Threads: 3
    Joined: 2024 Mar
    Reputation: 0
    Country:Netherlands
    #1
    2024-03-20, 10:22 AM
    As the title states, is there a way to get hardware acceleration to work in windows 10/11 on docker (running WSL2)?
    I believe the jellyfin wiki says that this isnt supported and i just wanted to confirm this as this really is the ideal solution for me.
    If this in fact doesnt work what would you recommend i do instead? Should i just install jellyfin, prowlarr etc on windows or go with an ubuntu server?

    Thanks for your help!!
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-03-20, 03:37 PM
    I've found some GPU "wrapper" options, but it is unclear if they allow the media engines to be passed through or if these are only compute/graphics.

    IMO, it is probably easier to just install Jellyfin and your other apps directly on Windows. If you are familiar with Linux, install Ubuntu/Debian and run Jellyfin in docker.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    nyanmisaka
    Offline

    Team Member

    Posts: 252
    Threads: 0
    Joined: 2023 Jun
    Reputation: 10
    #3
    2024-03-20, 03:54 PM
    The only way to use HWA with virtualization (Docker/WSL2) on Windows is to use NVENC/CUDA, which is officially supported by NVIDIA. For other vendors you have to run on the host.
    iwishiknewmore
    Offline

    Junior Member

    Posts: 18
    Threads: 3
    Joined: 2024 Mar
    Reputation: 0
    Country:Netherlands
    #4
    2024-03-20, 03:57 PM (This post was last modified: 2024-03-20, 03:59 PM by iwishiknewmore.)
    (2024-03-20, 03:37 PM)TheDreadPirate Wrote: I've found some GPU "wrapper" options, but it is unclear if they allow the media engines to be passed through or if these are only compute/graphics.

    IMO, it is probably easier to just install Jellyfin and your other apps directly on Windows.  If you are familiar with Linux, install Ubuntu/Debian and run Jellyfin in docker.

    Thanks for the reply, i would preferably not install directly on windows, the reason being i like the convenience of remote management with docker/portainer and the fact that things are easier to troubleshoot. alternatively i should maybe use an ubuntu server? because i would like to have my media server run on my main pc, while also being able to use it as a normal pc. so a dual boot option wont work as only one can be active at the same time

    (2024-03-20, 03:54 PM)nyanmisaka Wrote: The only way to use HWA with virtualization (Docker/WSL2) on Windows is to use NVENC/CUDA, which is officially supported by NVIDIA. For other vendors you have to run on the host.

    okay, thanks! id like to stock with an all AMD build, its much better price/performance here so i suppose ill have to either run it on windows or use linux
    nyanmisaka
    Offline

    Team Member

    Posts: 252
    Threads: 0
    Joined: 2023 Jun
    Reputation: 10
    #5
    2024-03-20, 05:20 PM
    Instead of switching to Linux, you might be interested in this project. https://github.com/jamesstringerparsec/Easy-GPU-PV

    With Hyper-V you can access the GPU in a virtual Windows environment.
    iwishiknewmore
    Offline

    Junior Member

    Posts: 18
    Threads: 3
    Joined: 2024 Mar
    Reputation: 0
    Country:Netherlands
    #6
    2024-03-20, 08:53 PM (This post was last modified: 2024-03-20, 08:56 PM by iwishiknewmore.)
    (2024-03-20, 05:20 PM)nyanmisaka Wrote: Instead of switching to Linux, you might be interested in this project. https://github.com/jamesstringerparsec/Easy-GPU-PV

    With Hyper-V you can access the GPU in a virtual Windows environment.

    Thnx! ill have a look at that that could work

    ive been looking into this a little more, is it possible to have windows 10/11 on one ssd, and install ubuntu server on another ssd? Would this kind of setup allow me to have the ubuntu server active while i also have windows active? that way i could install docker on ubuntu server, run the containers i already have and hopefully get hardware acceleration to work. is this doable? apologies if this is a noob question lol, im new to ubuntu and shared os's.
    thanks in advance!!
    Efficient_Good_5784
    Offline

    Community Moderator

    Posts: 1,168
    Threads: 3
    Joined: 2023 Jun
    Reputation: 50
    #7
    2024-03-20, 10:45 PM
    (2024-03-20, 08:53 PM)iwishiknewmore Wrote: ive been looking into this a little more, is it possible to have windows 10/11 on one ssd, and install ubuntu server on another ssd? Would this kind of setup allow me to have the ubuntu server active while i also have windows active? that way i could install docker on ubuntu server, run the containers i already have and hopefully get hardware acceleration to work. is this doable? apologies if this is a noob question lol, im new to ubuntu and shared os's.
    thanks in advance!!
    You could have multiple drives installed on a system (each with a different OS installed) and choose to boot with a specific drive upon each restart. However, you can't boot up multiple at once. A "system" (motherboard + cpu + ram) can only handle one OS at a time.

    If you want to use both at the same time, you'll basically need two full systems to run both.

    The closest you'll get to something like this is by using Virtual Machines or something similar to VMs. That's how you're able to use Windows Subsystem for Linux (WSL) within Windows itself. You can see more about this here: https://canonical-ubuntu-wsl.readthedocs...en/latest/

    If you have an NVIDIA GPU, you could try this for WSL: https://canonical-ubuntu-wsl.readthedocs.../gpu-cuda/
    iwishiknewmore
    Offline

    Junior Member

    Posts: 18
    Threads: 3
    Joined: 2024 Mar
    Reputation: 0
    Country:Netherlands
    #8
    2024-03-21, 12:05 AM
    (2024-03-20, 10:45 PM)Efficient_Good_5784 Wrote:
    (2024-03-20, 08:53 PM)iwishiknewmore Wrote: ive been looking into this a little more, is it possible to have windows 10/11 on one ssd, and install ubuntu server on another ssd? Would this kind of setup allow me to have the ubuntu server active while i also have windows active? that way i could install docker on ubuntu server, run the containers i already have and hopefully get hardware acceleration to work. is this doable? apologies if this is a noob question lol, im new to ubuntu and shared os's.
    thanks in advance!!
    You could have multiple drives installed on a system (each with a different OS installed) and choose to boot with a specific drive upon each restart. However, you can't boot up multiple at once. A "system" (motherboard + cpu + ram) can only handle one OS at a time.

    If you want to use both at the same time, you'll basically need two full systems to run both.

    The closest you'll get to something like this is by using Virtual Machines or something similar to VMs. That's how you're able to use Windows Subsystem for Linux (WSL) within Windows itself. You can see more about this here: https://canonical-ubuntu-wsl.readthedocs...en/latest/

    If you have an NVIDIA GPU, you could try this for WSL: https://canonical-ubuntu-wsl.readthedocs.../gpu-cuda/


    Thank you for the reply! id like to stick to amd cpu and gpu because of local prices. darnit that sucks, i was hoping i could use windows while ubuntu was active in the background with scheduled/system tasks? would a VM be any better in terms of hardware acceleration support? since windows docker with wsl2 doesnt support it i believe.
    Efficient_Good_5784
    Offline

    Community Moderator

    Posts: 1,168
    Threads: 3
    Joined: 2023 Jun
    Reputation: 50
    #9
    2024-03-21, 12:39 AM
    If you're comfortable with the idea, you could switch over entirely to Linux and ditch Windows. Like, you could try an easy-to-use distro like Linux Mint. This way, you could now run Jellyfin with Docker and pass it the AMD GPU since it would be on a Linux platform instead of Windows.

    However, I'm going to say the that your easiest path right now would be to directly install Jellyfin onto your Windows PC. This should pretty much pick up the GPU on your system and allow for HWA.
    iwishiknewmore
    Offline

    Junior Member

    Posts: 18
    Threads: 3
    Joined: 2024 Mar
    Reputation: 0
    Country:Netherlands
    #10
    2024-03-23, 08:47 PM (This post was last modified: 2024-03-23, 08:51 PM by iwishiknewmore.)
    (2024-03-21, 12:39 AM)Efficient_Good_5784 Wrote: If you're comfortable with the idea, you could switch over entirely to Linux and ditch Windows. Like, you could try an easy-to-use distro like Linux Mint. This way, you could now run Jellyfin with Docker and pass it the AMD GPU since it would be on a Linux platform instead of Windows.

    However, I'm going to say the that your easiest path right now would be to directly install Jellyfin onto your Windows PC. This should pretty much pick up the GPU on your system and allow for HWA.

    i could potentially do that but would rather not as it would be worse for me in terms of gaming and work

    (2024-03-20, 05:20 PM)nyanmisaka Wrote: Instead of switching to Linux, you might be interested in this project. https://github.com/jamesstringerparsec/Easy-GPU-PV

    With Hyper-V you can access the GPU in a virtual Windows environment.

    this is a great project, and i found a guide using it for hyper v, i cant get it to work however, its here: https://www.tenforums.com/virtualization...st-vm.html

    i get stuck at step 4 as it cant find the drive letter.
    Pages (2): 1 2 Next »

    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode