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

I’m using Fedora 39 KDE and Blender 4.0.

Blender would not see my Radeon RX 6400 card. I was able to resolve this with the following steps. I’m pretty much a noob with the technical side of drivers. I had plenty of frustrating failures and freezes in Blender before I came this sequence of steps.

(as a side note, I didn’t actually use amdgpu-install in this process)

I reviewed this info: https://www.reddit.com/r/linuxquestions/comments/126d951/amd_rocmhip_support_on_fedora_37

DOWNLOAD RHEL AMDGPU REPOS:
amdgpu-install-5.7.50702-1.el8.noarch.rpm
amdgpu-install-5.7.50702-1.el9.noarch.rpm
from https://www.amd.com/en/support/linux-drivers

After download, I right-clicked and selected install with dnfdragoria.
(I have to appologize here. I don’t remember which of the two downloads worked. See below)
This installed the necessary RHEL repos for F39 to use.

I then changed the .repo files:

EDIT: /etc/yum.repos.d/rocm.repo
[rocm]
name=ROCm 5.4.3 repository
baseurl=Index of /rocm/rhel9/5.4.3/main/
enabled=1
gpgcheck=1
priority=50
gpgkey=file:///etc/amdgpu-install/rocm.gpg.key

EDIT: /etc/yum.repos.d/amdgpu.repo
[amdgpu]
name=AMDGPU 5.4.3 repository
baseurl=Index of /amdgpu/5.4.3/rhel/9.1/main/x86_64/
enabled=1
gpgcheck=1
gpgkey=file:///etc/amdgpu-install/rocm.gpg.key

[amdgpu-src]
name=AMDGPU 5.4.3 repository
baseurl=https://repo.radeon.com/amdgpu/5.4.3/rhel/9.1/main/source
enabled=0
gpgcheck=1
gpgkey=file:///etc/amdgpu-install/rocm.gpg.key

EDIT: /etc/yum.repos.d/andgpu-proprietary.repo

Enabling this repository requires acceptance of the following license:

/usr/share/amdgpu-install/AMDGPUPROEULA

[amdgpu-proprietary]
name=AMDGPU 5.4.3 Proprietary repository
baseurl=Index of /amdgpu/5.4.3/rhel/9.1/proprietary/x86_64/
enabled=0
gpgcheck=1
gpgkey=file:///etc/amdgpu-install/rocm.gpg.key

I then ran the following commands:
sudo dnf update
sudo dnf install rocm-hip-runtime rocm-hip-runtime-devel

NOTE: This is where I can into errors. DNF complained about conflicts.
I ran sudo dnf remove rocm-hip-runtime rocm-hip-runtime-devel
I then right-clicked on the other downloaded file and installed it with dnfdragoria.

sudo dnf update
sudo dnf install rocm-hip-runtime rocm-hip-runtime-devel

After this, Blender was happy:
BLENDER > Edit > Preferences > System > HIP
It displayed a drop-down confirming my AMD Radeon RX 6400

For those that are technically savy, please feel free to recommend other thoughts on improving what I did above. I’m always interested in looking at a variety of ideas and learning something new.

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