Fedora 39, Blender doesn't detect AMD Radeon RX 6800 XT Graphics Card

Blender, whether installed from repository or flatpak or downloaded directly doesn’t detect my graphics card. My understanding is that it should. After some perhaps misguided commands from the forums here (fedora 36-37) and this guide here: SIGs/HC - Fedora Project Wiki my Blender now freezes when I open it and try to get into the Preferences.

Some system details below, but any leads appreciated. Happy to provide whatever output would be helpful.

System Details Report


Report details

  • Date generated: 2023-11-17 13:26:19

Hardware Information:

  • Hardware Model: ASUS TUF GAMING X570-PRO WI-FI
  • Memory: 32.0 GiB
  • Processor: AMD Ryzen™ 7 5800X × 16
  • Graphics: AMD Radeon™ RX 6800 XT
  • Disk Capacity: 13.5 TB

Software Information:

  • Firmware Version: 4802
  • OS Name: Fedora Linux 39 (Workstation Edition)
  • OS Build: (null)
  • OS Type: 64-bit
  • GNOME Version: 45.1
  • Windowing System: Wayland
  • Kernel Version: Linux 6.5.11-300.fc39.x86_64

Hello @kylerconway ,
Does rocminfo show your card?

It seems to, yes. Agent #2: Marketing Name: AMD Radeon RX 6800 XT

ROCk module is loaded
=====================    
HSA System Attributes    
=====================    
Runtime Version:         1.1
System Timestamp Freq.:  1000.000000MHz
Sig. Max Wait Duration:  18446744073709551615 (0xFFFFFFFFFFFFFFFF) (timestamp count)
Machine Model:           LARGE                              
System Endianness:       LITTLE                             
Mwaitx:                  DISABLED
DMAbuf Support:          YES

==========               
HSA Agents               
==========               
*******                  
Agent 1                  
*******                  
  Name:                    AMD Ryzen 7 5800X 8-Core Processor 
  Uuid:                    CPU-XX                             
  Marketing Name:          AMD Ryzen 7 5800X 8-Core Processor 
  Vendor Name:             CPU                                
  Feature:                 None specified                     
  Profile:                 FULL_PROFILE                       
  Float Round Mode:        NEAR                               
  Max Queue Number:        0(0x0)                             
  Queue Min Size:          0(0x0)                             
  Queue Max Size:          0(0x0)                             
  Queue Type:              MULTI                              
  Node:                    0                                  
  Device Type:             CPU                                
  Cache Info:              
    L1:                      32768(0x8000) KB                   
  Chip ID:                 0(0x0)                             
  ASIC Revision:           0(0x0)                             
  Cacheline Size:          64(0x40)                           
  Max Clock Freq. (MHz):   4200                               
  BDFID:                   0                                  
  Internal Node ID:        0                                  
  Compute Unit:            16                                 
  SIMDs per CU:            0                                  
  Shader Engines:          0                                  
  Shader Arrs. per Eng.:   0                                  
  WatchPts on Addr. Ranges:1                                  
  Features:                None
  Pool Info:               
    Pool 1                   
      Segment:                 GLOBAL; FLAGS: FINE GRAINED        
      Size:                    32744948(0x1f3a5f4) KB             
      Allocatable:             TRUE                               
      Alloc Granule:           4KB                                
      Alloc Alignment:         4KB                                
      Accessible by all:       TRUE                               
    Pool 2                   
      Segment:                 GLOBAL; FLAGS: KERNARG, FINE GRAINED
      Size:                    32744948(0x1f3a5f4) KB             
      Allocatable:             TRUE                               
      Alloc Granule:           4KB                                
      Alloc Alignment:         4KB                                
      Accessible by all:       TRUE                               
    Pool 3                   
      Segment:                 GLOBAL; FLAGS: COARSE GRAINED      
      Size:                    32744948(0x1f3a5f4) KB             
      Allocatable:             TRUE                               
      Alloc Granule:           4KB                                
      Alloc Alignment:         4KB                                
      Accessible by all:       TRUE                               
  ISA Info:                
*******                  
Agent 2                  
*******                  
  Name:                    gfx1030                            
  Uuid:                    GPU-9b4b2a38fbaeb55b               
  Marketing Name:          AMD Radeon RX 6800 XT              
  Vendor Name:             AMD                                
  Feature:                 KERNEL_DISPATCH                    
  Profile:                 BASE_PROFILE                       
  Float Round Mode:        NEAR                               
  Max Queue Number:        128(0x80)                          
  Queue Min Size:          64(0x40)                           
  Queue Max Size:          131072(0x20000)                    
  Queue Type:              MULTI                              
  Node:                    1                                  
  Device Type:             GPU                                
  Cache Info:              
    L1:                      16(0x10) KB                        
    L2:                      4096(0x1000) KB                    
    L3:                      131072(0x20000) KB                 
  Chip ID:                 29631(0x73bf)                      
  ASIC Revision:           1(0x1)                             
  Cacheline Size:          64(0x40)                           
  Max Clock Freq. (MHz):   2575                               
  BDFID:                   3072                               
  Internal Node ID:        1                                  
  Compute Unit:            72                                 
  SIMDs per CU:            2                                  
  Shader Engines:          4                                  
  Shader Arrs. per Eng.:   2                                  
  WatchPts on Addr. Ranges:4                                  
  Features:                KERNEL_DISPATCH 
  Fast F16 Operation:      TRUE                               
  Wavefront Size:          32(0x20)                           
  Workgroup Max Size:      1024(0x400)                        
  Workgroup Max Size per Dimension:
    x                        1024(0x400)                        
    y                        1024(0x400)                        
    z                        1024(0x400)                        
  Max Waves Per CU:        32(0x20)                           
  Max Work-item Per CU:    1024(0x400)                        
  Grid Max Size:           4294967295(0xffffffff)             
  Grid Max Size per Dimension:
    x                        4294967295(0xffffffff)             
    y                        4294967295(0xffffffff)             
    z                        4294967295(0xffffffff)             
  Max fbarriers/Workgrp:   32                                 
  Packet Processor uCode:: 115                                
  SDMA engine uCode::      83                                 
  IOMMU Support::          None                               
  Pool Info:               
    Pool 1                   
      Segment:                 GLOBAL; FLAGS: COARSE GRAINED      
      Size:                    16760832(0xffc000) KB              
      Allocatable:             TRUE                               
      Alloc Granule:           4KB                                
      Alloc Alignment:         4KB                                
      Accessible by all:       FALSE                              
    Pool 2                   
      Segment:                 GLOBAL; FLAGS:                     
      Size:                    16760832(0xffc000) KB              
      Allocatable:             TRUE                               
      Alloc Granule:           4KB                                
      Alloc Alignment:         4KB                                
      Accessible by all:       FALSE                              
    Pool 3                   
      Segment:                 GROUP                              
      Size:                    64(0x40) KB                        
      Allocatable:             FALSE                              
      Alloc Granule:           0KB                                
      Alloc Alignment:         0KB                                
      Accessible by all:       FALSE                              
  ISA Info:                
    ISA 1                    
      Name:                    amdgcn-amd-amdhsa--gfx1030         
      Machine Models:          HSA_MACHINE_MODEL_LARGE            
      Profiles:                HSA_PROFILE_BASE                   
      Default Rounding Mode:   NEAR                               
      Default Rounding Mode:   NEAR                               
      Fast f16:                TRUE                               
      Workgroup Max Size:      1024(0x400)                        
      Workgroup Max Size per Dimension:
        x                        1024(0x400)                        
        y                        1024(0x400)                        
        z                        1024(0x400)                        
      Grid Max Size:           4294967295(0xffffffff)             
      Grid Max Size per Dimension:
        x                        4294967295(0xffffffff)             
        y                        4294967295(0xffffffff)             
        z                        4294967295(0xffffffff)             
      FBarrier Max Size:       32                                 
*** Done ***

I’m sorry I can’t really help much with this, my AMD is integrated (5600G CPU) so it doesn’t come up as being hardware that rocminfo is happy about. But, the Blender issue is more related to the OpenGL driver in use is it not?

1 Like

No worries. Thanks for helping me get more useful info in there. On OpenGL, I don’t know. If there’s something to try there I’ll certainly try it.

Well, the last time I played with blender, I had to load OpenGL drivers for it to even think about my card, but this was back 2007 ish so … Otherwise I just got software rendering which was entirely unsatisfactory. I think I got them from the AMD site though.

I still haven’t figured this out :frowning: but appreciate your help!

I’d read on an earlier version that the AMDGPU driver worked, and I noticed that it’s X11 so I switched to X11 but still get the same error.

image

image

Does anyone in Fedora-land know what I’m missing here?

Installing rocm-hip from this thread: 7950X build with Radeon 6800 card - proper drivers for Fedora 37? - #9 by ozeszty

After reboot blender now freezes when opening preferences in X11.

It also freezes in Wayland. So with rocm-hip package blender is un-useable now.

This thread seems to outline at least part of the issue. It’s possible that I have drivers installed fine, but Blender itself is having an issues with this series of card. Seems like 1 year and no progress? I’m skimming, but putting this here for anyone else trying to track things down.

This thread seems very productive and informative, but I can’t tell if things apply to f39 or not. How can I get started with Blender Cycles/HIP Rendering? - #30 by mystro256

My versions seem to be updated (rocm-hip @ 5.7.1, hip-devel @ 5.7.1, rocm-hip-devel @ 5.7.1), but maybe I need the copr repo?

@mystro256 - Have things changed in f39 or am I just experiencing some bad luck?

What’s your HW? What AMD product are you using?

System Details Report


Report details

  • Date generated: 2023-11-24 10:34:39

Hardware Information:

  • Hardware Model: ASUS TUF GAMING X570-PRO WI-FI
  • Memory: 32.0 GiB
  • Processor: AMD Ryzen™ 7 5800X × 16
  • Graphics: AMD Radeon™ RX 6800 XT
  • Disk Capacity: 13.5 TB

Software Information:

  • Firmware Version: 4802
  • OS Name: Fedora Linux 39 (Workstation Edition)
  • OS Build: (null)
  • OS Type: 64-bit
  • GNOME Version: 45.1
  • Windowing System: Wayland
  • Kernel Version: Linux 6.5.12-300.fc39.x86_64

my entire system crashes when trying to use rocm-hip in blender on an rx 6750 xt. Any ideas on what might help?

System details report


Report Details

  • Date it was generated: 2023-11-28 22:12:58

Hardware Information:

  • Hardware model: SOYO SY-YL B550M
  • Memory: 32.0 GiB
  • Processor: AMD Ryzen™ 5 5600X × 12
  • Graphics: AMD Radeon™ RX 6750 XT
  • Disk capacity: 1.7 TB

Software Information:

  • Firmware version: 5.17
  • OS Name: Fedora Linux 39 (Workstation Edition)
  • OS Build: (null)
  • OS Type: 64-bit
  • GNOME Version: 45.1
  • Window system: Wayland
  • Kernel check: Linux 6.5.12-300.fc39.x86_64

my hardware is also broken, I suspect rocm 5.7 has problems. I didn’t have the opportunity to test it on another distro.

Hello @kylerconway ,I see you’re still having issue with this. Did you try the last bit of the solution of the posting you linked (I bet you did but I ask anyway)? Specifically this one … “For every new Blender session, before rendering with Cycles, opened Blender’s Preferences menu.” . This would seem to mean something with Blender is not recognizing the card until the preferences dialogue is opened. Possibly Blender is the actual culprit or at least how it expects your hardware to represent itself. Does an older kernel help? or a newer one from rawhide maybe?

1 Like

Thanks for reaching out! I did indeed try that.

Even right now I’m still seeing the following in blender (that it’s not seeing the card). It’s doesn’t seem to crash anymore, but it’s not fast.

I have not experimented with older or newer kernels, though I’d be willing to if it made sense to try (but as you say, I have no idea where the issue is here).

image

This is even though the system does see the card.

System Details Report


Report details

  • Date generated: 2023-12-07 20:12:03

Hardware Information:

  • Hardware Model: ASUS TUF GAMING X570-PRO WI-FI
  • Memory: 32.0 GiB
  • Processor: AMD Ryzen™ 7 5800X × 16
  • Graphics: AMD Radeon™ RX 6800 XT
  • Disk Capacity: 13.5 TB

Software Information:

  • Firmware Version: 4802
  • OS Name: Fedora Linux 39 (Workstation Edition)
  • OS Build: (null)
  • OS Type: 64-bit
  • GNOME Version: 45.1
  • Windowing System: Wayland
  • Kernel Version: Linux 6.6.2-201.fc39.x86_64

Thanks so much for sharing. I may go down this road if needed. Sadly one of the primary reasons I was interested in an AMD card was not having to use the official, EULA’d drivers, but perhaps that will be the solution. I’ll hold out for a bit longer in case we can learn more, but it’s awesome that you posted a solution that worked for you here! I’m glad to see that others are having/have had problems as well!

Hi @kylerconway ,
This would seem to be an AMD driver thing according to this … Radeon RX6800 XT should be supported but not recognized by Blender 3.5 in both Ubuntu and Windows - User Feedback - Developer Forum. I wonder whether the amdgpu-install -y is available for you. This seems to be the reason though …
rendering - What is the technical reason that Blender cannot use OpenCL on AMD graphics cards? - Blender Stack Exchange.
There is also a version of blender which has luxcorerender support using the cards hardware, but it is a version 2.x not 3.x of Blender. It’s available at the Download – LuxCoreRender

Hi, I’m just adding myself to this thread in hope of some future updates.

I am in a very similar situation. Got a new AMD card (6700 XT) specifically because didn’t want the trouble of having to mess with drivers, only to find out that Blender will not detect the card without some tinkering first…

Sadly I can’t add more info on top of what has been said. @sippnonacorona made a very well explained and thorough walk-through of the process needed to make Blender detect the card. However, the success of this process just leads to a dead end, making Blender freeze and crash, just like @kylerconway showed on his 3rd post

The issue is hard to track down for various factors. Blender might have borked the support of HIP for newer versions on linux. The AMD official drivers don’t have “official” support on fedora 39 since running the amdgpu-install script gives a kernel incompatibility error. That also might be the reason we have to edit the yum repos.

I also found out that there is a new-ish distro called Nobara that claims to be

a modified version of Fedora Linux with user-friendly fixes added to it.

Interestingly, one of the claimed fixes is related to Blender. Specifically:

  • Blender:
    – available with ffmpeg support (allows H264 render output)
    – available with HIP support for AMD GPU rendering

I gave it a try on a live system (i didn’t want to commit the distro hop until i saw some definitive proof that it works). But when trying to install the special blender package hosted on nobara’s repos dnf couldn’t find it. The only blender packages found were from flatpak.

I have found many other posts and guides on how to make this work but listing them here would be a waste of everyone’s time since they all come down to this issues i described above. I hope we can find a way to fix this.