softhddevice mit AMD Ryzen

  • Try please test branch of softhddevice

    I have never built softhddevice before, but I hope I can get it to work.


    I think I now understand your comment:

    but I always thought that AMD broken vaapi in their GPU.

    I have tested the brand new radeon driver 20.20 LINK

    va-api does not work, not with vdr or kodi, vdpau with vdr is ok, kodi has recognized it, but do not use it.

    Maybe I will test again with a fresh Ubuntu, but I don't hink it is working very well.

    VDR User: 2127
    YaVDR-bionic , Case: HFX Classic, Mainboard: ASUS H97M-E, CPU: Intel Celeron CPU G1840T, GPU: GeForce GT 1030, DVB-S: Digital Devices Cine S2 V6
    YaVDR-bionic (24/7), Case: Akasa, Mainboard: NUC D34010WYB, DVB-S: SkyTV Ultimate VIII, Miscellaneous: epgd, pihole

    YaVDR-bionic (headless), System: HP 260 G2 DM, DVB-S: Sundtek SkyTV Ultimate IV

    YaVDR-focal (TEST), Mainboard: Gigabyte Aorus Pro B450, CPU: Ryzen 5 3400G, IPTV

  • Use -v va-api-glx, without disable-ogl-osd.

    The OSD looks good, but not the video.

    syslog_vdr_va-api-glx_e715d86.txt


    While building I saw no error messages.

    Maybe something is missing.:/

    VDR User: 2127
    YaVDR-bionic , Case: HFX Classic, Mainboard: ASUS H97M-E, CPU: Intel Celeron CPU G1840T, GPU: GeForce GT 1030, DVB-S: Digital Devices Cine S2 V6
    YaVDR-bionic (24/7), Case: Akasa, Mainboard: NUC D34010WYB, DVB-S: SkyTV Ultimate VIII, Miscellaneous: epgd, pihole

    YaVDR-bionic (headless), System: HP 260 G2 DM, DVB-S: Sundtek SkyTV Ultimate IV

    YaVDR-focal (TEST), Mainboard: Gigabyte Aorus Pro B450, CPU: Ryzen 5 3400G, IPTV

  • Hi,

    it looks the similar on Intel i965 va-api-glx only with va-api and the i965 driver the osd and picture is right.

    There is no video with the Intel iHD driver, so I do a "export LIBVA_DRIVER_NAME=i965".

    But this has nothing to do with AMD.

    CU

    9000h

  • 9000H , what distro do you use, also unbuntu 20.04 focal?


    lnj , is it possible that this is a version problem of ffmpeg and dependencies?
    Which driver do you use, free amdgpu (mesa) or radeon?

    VDR User: 2127
    YaVDR-bionic , Case: HFX Classic, Mainboard: ASUS H97M-E, CPU: Intel Celeron CPU G1840T, GPU: GeForce GT 1030, DVB-S: Digital Devices Cine S2 V6
    YaVDR-bionic (24/7), Case: Akasa, Mainboard: NUC D34010WYB, DVB-S: SkyTV Ultimate VIII, Miscellaneous: epgd, pihole

    YaVDR-bionic (headless), System: HP 260 G2 DM, DVB-S: Sundtek SkyTV Ultimate IV

    YaVDR-focal (TEST), Mainboard: Gigabyte Aorus Pro B450, CPU: Ryzen 5 3400G, IPTV

  • Hi,

    9000H , what distro do you use, also unbuntu 20.04 focal?


    lnj , is it possible that this is a version problem of ffmpeg and dependencies?
    Which driver do you use, free amdgpu (mesa) or radeon?

    yes it's on 20.04 focal

    CU

    9000h

    Es ist eagl in wlehcer Reiehnfogle die Bchustebaen in Woeretrn vokrmomen. Huapstache der estre und leztte Bchustbae sitmmen.

  • I also tested the new code. Starting vdr from command line, vdr crashes and I get this:

    Code
    1. mesa: for the --simplifycfg-sink-common option: may only occur zero or one times!
    2. mesa: for the --global-isel-abort option: may only occur zero or one times!
    3. mesa: for the --amdgpu-atomic-optimizations option: may only occur zero or one times!
    4. LLVM failed to compile a shader correctly: SGPR:VGPR usage is 56:12, but the hw limit is 128:7
    5. fish: 'vdr' terminated by signal SIGABRT (Abort)

    ASROCK Deskmini A300+AMD Athlon 3000G (7-Watt-Spar-Mini aus C't 24/2019)+Arch-Linux+vdr4arch (vdr 2.4.1, Softhddevice 856fb47)

  • lnj , I make a guess what the problem is.

    I am not very familiar with programming, but I took a look at the source code.

    I have seen something like VaapiBuggyXvBA.

    As I understand it, XvBA (X-Video Bitstream Acceleration API) is not being developed anymore and newer AMD GPUs don't support it anymore.

    I think this is also the reason why this exa option in xorg.conf does not work for newer cards, they use Glamor.

    VDR User: 2127
    YaVDR-bionic , Case: HFX Classic, Mainboard: ASUS H97M-E, CPU: Intel Celeron CPU G1840T, GPU: GeForce GT 1030, DVB-S: Digital Devices Cine S2 V6
    YaVDR-bionic (24/7), Case: Akasa, Mainboard: NUC D34010WYB, DVB-S: SkyTV Ultimate VIII, Miscellaneous: epgd, pihole

    YaVDR-bionic (headless), System: HP 260 G2 DM, DVB-S: Sundtek SkyTV Ultimate IV

    YaVDR-focal (TEST), Mainboard: Gigabyte Aorus Pro B450, CPU: Ryzen 5 3400G, IPTV

  • You can try use vdpau without disable-ogl-osd now, see git.

    Branch vdpau+vaapi+cuvid

    X is running with 3840x2160 60Hz

    Start parameter are:

    Code
    1. [softhddevice]
    2. -D
    3. -v vdpau
    4. -w alsa-driver-broken
    5. -l 3

    OSD, video and sound are OK, no error visible or hearable.

    The syslog shows many messages like: (regardlless if it's IPTV or a DVB recording)

    If I change the deinterlacer, it look like it have no effect, nothing changed visible.

    The scaling mode also show no change excapt HighQuality. If I use this, the video will be zoomed to the upper left corner and then only approx. 1/4 (or less) of the image is visible. The OSD stays in the correct size.


    Denois is working.

    A little bit strange are the stripes I see whithin the video. It look like bad deinterlacing, but the source is progressive and even this is not visible with vlc, mpv or on another vdr with cuvid. (Hope the difference is visible on the pictures)


    Thank you very, very much for all of this improvements:welle

    VDR User: 2127
    YaVDR-bionic , Case: HFX Classic, Mainboard: ASUS H97M-E, CPU: Intel Celeron CPU G1840T, GPU: GeForce GT 1030, DVB-S: Digital Devices Cine S2 V6
    YaVDR-bionic (24/7), Case: Akasa, Mainboard: NUC D34010WYB, DVB-S: SkyTV Ultimate VIII, Miscellaneous: epgd, pihole

    YaVDR-bionic (headless), System: HP 260 G2 DM, DVB-S: Sundtek SkyTV Ultimate IV

    YaVDR-focal (TEST), Mainboard: Gigabyte Aorus Pro B450, CPU: Ryzen 5 3400G, IPTV

  • Unfortunately not, no difference if I use 3840x2160 60Hz, 3840x2160 50Hz or 1920x1080 50 Hz


    But I can test it with a TV tomorrow, maybe it'll make a difference.

    VDR User: 2127
    YaVDR-bionic , Case: HFX Classic, Mainboard: ASUS H97M-E, CPU: Intel Celeron CPU G1840T, GPU: GeForce GT 1030, DVB-S: Digital Devices Cine S2 V6
    YaVDR-bionic (24/7), Case: Akasa, Mainboard: NUC D34010WYB, DVB-S: SkyTV Ultimate VIII, Miscellaneous: epgd, pihole

    YaVDR-bionic (headless), System: HP 260 G2 DM, DVB-S: Sundtek SkyTV Ultimate IV

    YaVDR-focal (TEST), Mainboard: Gigabyte Aorus Pro B450, CPU: Ryzen 5 3400G, IPTV

    The post was edited 1 time, last by minixjr: add TV test ().

  • No difference, it's the same on TV.

    VDR User: 2127
    YaVDR-bionic , Case: HFX Classic, Mainboard: ASUS H97M-E, CPU: Intel Celeron CPU G1840T, GPU: GeForce GT 1030, DVB-S: Digital Devices Cine S2 V6
    YaVDR-bionic (24/7), Case: Akasa, Mainboard: NUC D34010WYB, DVB-S: SkyTV Ultimate VIII, Miscellaneous: epgd, pihole

    YaVDR-bionic (headless), System: HP 260 G2 DM, DVB-S: Sundtek SkyTV Ultimate IV

    YaVDR-focal (TEST), Mainboard: Gigabyte Aorus Pro B450, CPU: Ryzen 5 3400G, IPTV

  • Yes, on all, DVB-S, IPTV both HD/SD.

    But on a UHD recording, downloaded from another thread, it was not visible.

    VDR User: 2127
    YaVDR-bionic , Case: HFX Classic, Mainboard: ASUS H97M-E, CPU: Intel Celeron CPU G1840T, GPU: GeForce GT 1030, DVB-S: Digital Devices Cine S2 V6
    YaVDR-bionic (24/7), Case: Akasa, Mainboard: NUC D34010WYB, DVB-S: SkyTV Ultimate VIII, Miscellaneous: epgd, pihole

    YaVDR-bionic (headless), System: HP 260 G2 DM, DVB-S: Sundtek SkyTV Ultimate IV

    YaVDR-focal (TEST), Mainboard: Gigabyte Aorus Pro B450, CPU: Ryzen 5 3400G, IPTV

  • ...

    I have tested the brand new radeon driver 20.20 LINK

    ...

    You installed the proprietary amdgpu-pro? If you did, why?

    MLD 5.5 mit VDR 2.4.1.219.4-219.4 & Kodi 18.6 - Gigabyte GA-F2A88XM-HD3 - AMD A8-7600 - 4 Gb RAM - Ausgabe via MSI N220GT-MD1GZ mit softhddevice & vdpau - 19.2E & 28.2E Empfang via Linux4Media L4M-Twin S2 ver 6.5 - Terratec Aureon 5.1 Fun TTP8 - Crucial m4 CT064M4SSD2 - Seagate Exos 7E8 - Medion X10 RF Remote Control 20016398

  • I thought it might help solve the problems.

    Unfortunately, it didn't, which is why I uninstalled it.

    VDR User: 2127
    YaVDR-bionic , Case: HFX Classic, Mainboard: ASUS H97M-E, CPU: Intel Celeron CPU G1840T, GPU: GeForce GT 1030, DVB-S: Digital Devices Cine S2 V6
    YaVDR-bionic (24/7), Case: Akasa, Mainboard: NUC D34010WYB, DVB-S: SkyTV Ultimate VIII, Miscellaneous: epgd, pihole

    YaVDR-bionic (headless), System: HP 260 G2 DM, DVB-S: Sundtek SkyTV Ultimate IV

    YaVDR-focal (TEST), Mainboard: Gigabyte Aorus Pro B450, CPU: Ryzen 5 3400G, IPTV

  • Ah ok, thanks for clarification! I thought I may have missed some recent changes from AMD's side, since to my knowledge amdgpu-pro was recommended by AMD only for Radeon Pro GPUs and I've read reports in the past that amdgpu-pro has worse performance (in gaming) than amdgpu.

    MLD 5.5 mit VDR 2.4.1.219.4-219.4 & Kodi 18.6 - Gigabyte GA-F2A88XM-HD3 - AMD A8-7600 - 4 Gb RAM - Ausgabe via MSI N220GT-MD1GZ mit softhddevice & vdpau - 19.2E & 28.2E Empfang via Linux4Media L4M-Twin S2 ver 6.5 - Terratec Aureon 5.1 Fun TTP8 - Crucial m4 CT064M4SSD2 - Seagate Exos 7E8 - Medion X10 RF Remote Control 20016398