Announcement

Collapse
No announcement yet.

Mesa 24.1-rc2 Released With More Graphics Driver Fixes

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Brisse
    replied
    Originally posted by [TV] View Post

    There seems to be a cutoff point somewhere between Sea Islands (GCN 2) and Polaris (GCN 4) cards using Vulkan decode. A Polaris card (RX 480) works with Mesa 23.1.2-1->, FFmpeg 6.1.1-1-> and mpv 0.37->, but the Sea Island ones (R7 260x/360) segfault. I haven't come across any mentions of a specific hardware requirement for AMD cards other than the GPU must support the RADV driver, which should then mean all GCN based cards.
    Yea, I have an R9 Fury (aka. fiji, gfx803, GCN 3.0) so it's somewhat old but not ancient. Been searching through some mesa commits to try and find whether it's supposed to be supported or not but haven't found a good answer yet. Hoping it will work eventually but VAAPI works fine in the meantime.

    Haven't bothered making a bug report either because I would like to understand better what is going on first. There are certain complications involved, like I have an Nvidia-GPU and their proprietary driver on the same system and I can't rule out the possibility that there's some conflict there.

    I will also mention that the issue doesn't present the same way between h264 and h265. With the former I get a bunch of errors in the terminal and even in my dmesg log. With the latter I actually don't read any errors and there's even a picture coming up while the file plays but it's just a corrupted mess, so it's not really working.

    Leave a comment:


  • bosslog
    replied
    Originally posted by aviallon View Post

    Yep, vulkan av1 video decode is very very recent, and only implemented in Mesa 24.1 iirc.
    Interesting, will try again with Mesa 24.1 then.

    Leave a comment:


  • [TV]
    replied
    Originally posted by Brisse View Post

    Interesting. Every now and then I give Vulkan Video Decode a try out of curiosity but it's still failing for me when using my Radeon as of Mesa 24.1-rc1, mpv 0.38 and ffmpeg 6.1.1.

    I did get it running with my Nvidia-card (535.161.08) for the first time the other day though, but only with --gpu-context=x11vk, not waylandvk.
    There seems to be a cutoff point somewhere between Sea Islands (GCN 2) and Polaris (GCN 4) cards using Vulkan decode. A Polaris card (RX 480) works with Mesa 23.1.2-1->, FFmpeg 6.1.1-1-> and mpv 0.37->, but the Sea Island ones (R7 260x/360) segfault. I haven't come across any mentions of a specific hardware requirement for AMD cards other than the GPU must support the RADV driver, which should then mean all GCN based cards.

    Leave a comment:


  • aviallon
    replied
    Originally posted by bosslog View Post

    Just found out it works (for H264 and H265) if I set
    Code:
    RADV_PERFTEST=video_decode
    But for some reason AV1 hardware decoding only works with vaapi, not with vulkan.
    Yep, vulkan av1 video decode is very very recent, and only implemented in Mesa 24.1 iirc.

    Leave a comment:


  • bosslog
    replied
    Originally posted by Rauros View Post

    Yep that was the error I was getting on plasma. It works with Gnome though.
    Just found out it works (for H264 and H265) if I set
    Code:
    RADV_PERFTEST=video_decode
    But for some reason AV1 hardware decoding only works with vaapi, not with vulkan.
    Last edited by bosslog; 02 May 2024, 02:18 PM.

    Leave a comment:


  • Rauros
    replied
    Originally posted by bosslog View Post

    Weird, I get the following error
    Code:
    Device does not support the VK_KHR_video_decode_queue extension!​
    even though I'm on Mesa 24.0.6 with an RX 6650 XT.
    Yep that was the error I was getting on plasma. It works with Gnome though.

    Leave a comment:


  • bosslog
    replied
    Originally posted by Rauros View Post
    Its working for me with gpu-api=vulkan and hwdec=vulkan on Gnome. Mesa version is 24.0.6 and mpv 0.38. I couldn't manage to make it work with Plasma.
    And its great. Somehow with vulkan decode gpu consumes 40-45 watt. With vaapi it consumes 70-80 watt. So I'm quiet happy with it.
    Weird, I get the following error
    Code:
    Device does not support the VK_KHR_video_decode_queue extension!​
    even though I'm on Mesa 24.0.6 with an RX 6650 XT.

    Edit: it works if I set
    Code:
    RADV_PERFTEST=video_decode
    Last edited by bosslog; 02 May 2024, 02:06 PM.

    Leave a comment:


  • Rauros
    replied
    Originally posted by Brisse View Post

    Interesting. Every now and then I give Vulkan Video Decode a try out of curiosity but it's still failing for me when using my Radeon as of Mesa 24.1-rc1, mpv 0.38 and ffmpeg 6.1.1.

    I did get it running with my Nvidia-card (535.161.08) for the first time the other day though, but only with --gpu-context=x11vk, not waylandvk.
    Its working for me with gpu-api=vulkan and hwdec=vulkan on Gnome. Mesa version is 24.0.6 and mpv 0.38. I couldn't manage to make it work with Plasma.
    And its great. Somehow with vulkan decode gpu consumes 40-45 watt. With vaapi it consumes 70-80 watt. So I'm quiet happy with it.

    Leave a comment:


  • dimko
    replied
    I wonder if i have 6.10 and said mesa and older gnome 44, will i reap any benefits right now? or do i need to wait till proton can take advantage of this feature or?

    Leave a comment:


  • galgo
    replied
    Noob question, will 24.1 be on Ubuntu 24.04 or do I have to go with a PPA? https://gitlab.freedesktop.org/mesa/...requests/26165 it's all I need (unlocks hardware acceleration on chromium based browsers for amdgpu) If it doesn't, how can I check if this patch will be backported? Thanks.

    Leave a comment:

Working...
X