• 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 Troubleshooting SOLVED: Transcoding not working (i have RX5700 Win10)

    Pages (2): 1 2 Next »

     
    • 0 Vote(s) - 0 Average

    SOLVED: Transcoding not working (i have RX5700 Win10)

    touhami _dz
    Offline

    Junior Member

    Posts: 5
    Threads: 1
    Joined: 2024 Jan
    Reputation: 0
    #1
    2024-01-25, 10:12 PM (This post was last modified: 2024-01-25, 10:21 PM by touhami _dz. Edited 1 time in total.)
    Hi
    short question : im trying to do transcoding after following the documentaions im getting this picture on my phone :
    https://i.imgur.com/3aW32ac.jpeg

    more details :
    im rly new to Homeserver stuff im rly exited about it and i choose jellyfin to do the job 
    i have RX5700 with last driver adrenaline clean install and a windows 10 64 bit and i have last version of jellyfin that i downloaded from Github i am using a second smartphone for testing it has android 12.0.18 it's a Redmi 9A has jellyfin 2.6.0 when transcoding is off everything works fine but this old device cant run 4k60fps youtube videos that i downloaded so i decided to run activate AMD MF Transcoding and here is some pictures 

    https://i.imgur.com/pgAMSfZ.png
    https://i.imgur.com/TV0A0Az.png
    https://i.imgur.com/5CobKLP.png
    the video im trying to transcode : 
    https://i.imgur.com/gnzZHTZ.png
    i edited the gpedit.msc (i disabled that just like documentations said)
    so where is the problem ?
    Go to solution
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-01-25, 10:23 PM
    There are a couple extra steps you need to do for setting up transcoding on Windows.

    https://jellyfin.org/docs/general/admini...ows-setups
    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]
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #3
    2024-01-25, 10:41 PM
    Didn't see your edit. Can you share your ffmpeg and jellyfin logs with us?
    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]
    touhami _dz
    Offline

    Junior Member

    Posts: 5
    Threads: 1
    Joined: 2024 Jan
    Reputation: 0
    #4
    2024-01-26, 02:05 AM (This post was last modified: 2024-01-26, 02:06 AM by touhami _dz. Edited 1 time in total.)
    https://www.mediafire.com/file/xnid4yd7o...indows.rar
    i downloaded https://github.com/jellyfin/jellyfin-ffmpeg
    and changed the folder but same problem so i switched back to the default and the default files for ffmpeg i use are :
    https://www.mediafire.com/file/34r3wedby..._files.rar
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #5
    2024-01-26, 05:13 AM (This post was last modified: 2024-01-26, 05:13 AM by TheDreadPirate.)
    I have never seen the error in your ffmpeg log before. Run DDU and reinstall the latest drivers.

    https://www.guru3d.com/download/display-...-download/
    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
    Online

    Team Member

    Posts: 262
    Threads: 0
    Joined: 2023 Jun
    Reputation: 11
    #6
    2024-01-26, 10:20 AM
    There is a regression in AMD's OpenCL runtime. Please stick with 23.x.x driver until it's fixed.

    I will try to report this to AMD stuffs.

    For details:

    The error Failed to release texture: -60 happened in clEnqueueReleaseD3D11ObjectsKHR(), which is used to release the DX11->OpenCL interop texture.

    It returns -60 which is ridiculous. Because -60 (CL_INVALID_GL_OBJECT) is used exclusively in OpenGL/CL sharing, not DX11/CL sharing. According to the OpenCL documentation, this value is also not within the return value range of this function.

    After digging deeper into AMD's OpenCL runtime (clr), I found that the return code -60 only used by OpenGL/CL interop does appear on the return path of this DX11/CL sharing function. And they refactored this part of the code not long ago.

    https://github.com/ROCm/clr/blame/8ff39a....cpp#L1597
    https://github.com/ROCm/clr/blame/8ff39a....cpp#L1583
    https://github.com/ROCm/clr/blame/8ff39a....cpp#L1708
    https://github.com/ROCm/clr/blame/8ff39a....cpp#L1693
    https://github.com/ROCm/clr/blob/8ff39a5...#L388-L395


    Code:
    // jellyfin-ffmpeg/libavutil/hwcontext_opencl.c
    static void opencl_unmap_from_d3d11(AVHWFramesContext *dst_fc,
                                        HWMapDescriptor *hwmap)
    {
        AVOpenCLFrameDescriptor    *desc = hwmap->priv;
        OpenCLDeviceContext *device_priv = dst_fc->device_ctx->internal->priv;
        OpenCLFramesContext *frames_priv = dst_fc->internal->priv;
        cl_event event;
        cl_int cle;

        cle = device_priv->clEnqueueReleaseD3D11ObjectsKHR(
            frames_priv->command_queue, desc->nb_planes, desc->planes,
            0, NULL, &event);
        if (cle != CL_SUCCESS) {
            av_log(dst_fc, AV_LOG_ERROR, "Failed to release texture "
                  "handle: %d.\n", cle);
        }

        opencl_wait_events(dst_fc, &event, 1);
    }
    nyanmisaka
    Online

    Team Member

    Posts: 262
    Threads: 0
    Joined: 2023 Jun
    Reputation: 11
    #7
    2024-01-26, 10:56 AM
    Reported it here. https://github.com/ROCm/clr/issues/50
    nyanmisaka
    Online

    Team Member

    Posts: 262
    Threads: 0
    Joined: 2023 Jun
    Reputation: 11
    #8
    2024-01-26, 11:48 AM (This post was last modified: 2024-01-26, 11:48 AM by nyanmisaka.)
    I've made some progress. Please download to unzip this jellyfin-ffmpeg6 and put it into the Jellyfin installation directory. Then try again in Jellyfin. Let me know if it works.

    https://drive.google.com/file/d/1jiHpyR0...SlWhpVwZi/
    touhami _dz
    Offline

    Junior Member

    Posts: 5
    Threads: 1
    Joined: 2024 Jan
    Reputation: 0
    #9
    2024-01-26, 04:07 PM (This post was last modified: 2024-01-26, 04:15 PM by touhami _dz. Edited 2 times in total.)
    i didnt change the driver i downloaded the ffmpeg u provided and it didnt work sadly :
    https://www.mediafire.com/file/56ousv4ge...24.1.1.rar
    when i edit the ffmpeg path after restart it goes back to default path i dont know why
    i put the new ffmpeg u provided on the default just like in this picture
    https://i.imgur.com/1BRHbni.png
    i tried to put it on another folder and changed the path saved and tried same problem
    touhami _dz
    Offline

    Junior Member

    Posts: 5
    Threads: 1
    Joined: 2024 Jan
    Reputation: 0
    #10
    2024-01-26, 04:53 PM
    I used amdcleanuputility.exe to unistall old driver and than installed ADRENALINE 23.12.1
    Now it works but it's extremely slow i waited 1 min to watch 6sec than it stopped after 24 sec i get like 2 sec more it's unwatchable
    the Gpu seems like he is not working much
    https://i.imgur.com/KpQ0aea.png
    note i have i3-4160 but i dont think the cpu is the problem cuz im using AMD AMF and he doesnt go 100%
    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