# Graphic Card Does not Work

**URL:** <https://forums.sifive.com/t/graphic-card-does-not-work/6507>\
**Category:** HiFive Unmatched\
**Created:** [June 24, 2024, 6:01pm UTC](https://forums.sifive.com/t/graphic-card-does-not-work/6507 "2024-06-24T18:01:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![bigbamboo9](https://avatars.discourse-cdn.com/v4/letter/b/67e7ee/32.png) [@bigbamboo9](https://forums.sifive.com/u/bigbamboo9)\
**Post date:** [June 24, 2024, 6:01pm UTC](https://forums.sifive.com/t/graphic-card-does-not-work/6507/1 "2024-06-24T18:01:27Z")

</div>

I use a SWFT 210 Radeon RX 6600 CORE Gaming Graphics Card for HiFive Unmatched Rev B board. However, nothing is outputted. I looked at the log and found it was not initialized correctly. The related logs are attached as follows:

_FreedomUSDK 2021.03.01 unmatched ttySIF0_

_unmatched login: [94.654709] rcu: INFO: rcu\_sched self-detected stall on CPU_  
\*[94.659534] rcu: 0-…: (5249 ticks this GP) idle=ece/1/0x4000000000000002 softirq=2561/2561 fqs=2067 \*  
_[94.669000] (t=5250 jiffies g=2213 q=27198)_  
_[94.673254] Task dump for CPU 0:_  
_[94.676468] task:systemd-udevd state:R running task stack: 0 pid: 156 ppid: 137 flags:0x00000008_  
_[94.686369] Call Trace:_  
_[94.688802] [] walk\_stackframe+0x0/0xaa_  
_[95.254742] rcu: INFO: rcu\_sched detected expedited stalls on CPUs/tasks: { 0-… } 5398 jiffies s: 125 root: 0x1/._  
_[95.264529] rcu: blocking rcu\_node structures:_  
_[95.268938] Task dump for CPU 0:_  
_[95.272143] task:systemd-udevd state:R running task stack: 0 pid: 156 ppid: 137 flags:0x00000008_  
_[95.282063] Call Trace:_  
_[95.284475] [] \_\_schedule+0x1cc/0x56c_  
_[98.290604] macb 10090000.ethernet eth0: PHY [10090000.ethernet-ffffffff:00] driver [Microsemi VSC8541 SyncE] (irq=POLL)_  
_[98.300803] macb 10090000.ethernet eth0: configuring for phy/gmii link mode_  
_[99.378780] iwlwifi 0000:05:00.0: SecBoot CPU1 Status: 0x55a2, CPU2 Status: 0x3_  
_[99.385400] iwlwifi 0000:05:00.0: UMAC PC: 0x804778b4_  
_[99.390458] iwlwifi 0000:05:00.0: LMAC PC: 0x4f0e12_  
_[99.395283] iwlwifi 0000:05:00.0: WRT: Collecting data: ini trigger 13 fired._  
_[99.403510] iwlwifi 0000:05:00.0: Start IWL Error Log Dump:_  
_[99.408346] iwlwifi 0000:05:00.0: Status: 0x00000000, count: 6_  
_[99.414171] iwlwifi 0000:05:00.0: Loaded firmware version: 59.601f3a66.0 cc-a0-59.ucode_  
\*[99.422164] iwlwifi 0000:05:00.0: 0x00000084 | NMI\_INTERRUPT\_UNKNOWN \*  
_[99.429105] iwlwifi 0000:05:00.0: 0x002022F0 | trm\_hw\_status0_  
_[99.434848] iwlwifi 0000:05:00.0: 0x00000000 | trm\_hw\_status1_  
_[99.440600] iwlwifi 0000:05:00.0: 0x004FAA36 | branchlink2_  
_[99.446061] iwlwifi 0000:05:00.0: 0x004F0E12 | interruptlink1_  
_[99.451788] iwlwifi 0000:05:00.0: 0x004F0E12 | interruptlink2_  
_[99.457520] iwlwifi 0000:05:00.0: 0x004F966E | data1_  
_[99.462472] iwlwifi 0000:05:00.0: 0x01000000 | data2_  
_[99.467416] iwlwifi 0000:05:00.0: 0x00000000 | data3_  
_[99.472369] iwlwifi 0000:05:00.0: 0x00000000 | beacon time_  
_[99.477845] iwlwifi 0000:05:00.0: 0x000F9904 | tsf low_  
_[99.482964] iwlwifi 0000:05:00.0: 0x00000000 | tsf hi_  
_[99.488002] iwlwifi 0000:05:00.0: 0x00000000 | time gp1_  
_[99.493217] iwlwifi 0000:05:00.0: 0x000FEF99 | time gp2_  
_[99.498431] iwlwifi 0000:05:00.0: 0x00000001 | uCode revision type_  
_[99.504599] iwlwifi 0000:05:00.0: 0x0000003B | uCode version major_  
_[99.510762] iwlwifi 0000:05:00.0: 0x601F3A66 | uCode version minor_  
_[99.516932] iwlwifi 0000:05:00.0: 0x00000340 | hw version_  
_[99.522317] iwlwifi 0000:05:00.0: 0x00C89000 | board version_  
_[99.527960] iwlwifi 0000:05:00.0: 0x8005F502 | hcmd_  
_[99.532821] iwlwifi 0000:05:00.0: 0x00020000 | isr0_  
_[99.537688] iwlwifi 0000:05:00.0: 0x00000000 | isr1_  
_[99.542555] iwlwifi 0000:05:00.0: 0x08F00002 | isr2_  
_[99.547414] iwlwifi 0000:05:00.0: 0x00C0001C | isr3_  
_[99.552280] iwlwifi 0000:05:00.0: 0x00000000 | isr4_  
_[99.557145] iwlwifi 0000:05:00.0: 0x00000000 | last cmd Id_  
_[99.562620] iwlwifi 0000:05:00.0: 0x004F966E | wait\_event_  
_[99.568012] iwlwifi 0000:05:00.0: 0x00000000 | l2p\_control_  
_[99.573482] iwlwifi 0000:05:00.0: 0x00000020 | l2p\_duration_  
_[99.579033] iwlwifi 0000:05:00.0: 0x00000000 | l2p\_mhvalid_  
_[99.584504] iwlwifi 0000:05:00.0: 0x00000000 | l2p\_addr\_match_  
_[99.590241] iwlwifi 0000:05:00.0: 0x00000009 | lmpm\_pmg\_sel_  
_[99.595797] iwlwifi 0000:05:00.0: 0x00000000 | timestamp_  
_[99.601097] iwlwifi 0000:05:00.0: 0x0000F820 | flow\_handler_  
_[99.606695] iwlwifi 0000:05:00.0: Start IWL Error Log Dump:_  
_[99.612214] iwlwifi 0000:05:00.0: Status: 0x00000000, count: 7_  
_[99.618038] iwlwifi 0000:05:00.0: 0x20000066 | NMI\_INTERRUPT\_HOST_  
_[99.624111] iwlwifi 0000:05:00.0: 0x00000000 | umac branchlink1_  
_[99.630021] iwlwifi 0000:05:00.0: 0x804568FC | umac branchlink2_  
_[99.635924] iwlwifi 0000:05:00.0: 0x804778B4 | umac interruptlink1_  
_[99.642094] iwlwifi 0000:05:00.0: 0x804778B4 | umac interruptlink2_  
_[99.648259] iwlwifi 0000:05:00.0: 0x01000000 | umac data1_  
_[99.653643] iwlwifi 0000:05:00.0: 0x804778B4 | umac data2_  
_[99.659026] iwlwifi 0000:05:00.0: 0x00000000 | umac data3_  
_[99.664411] iwlwifi 0000:05:00.0: 0x0000003B | umac major_  
_[99.669798] iwlwifi 0000:05:00.0: 0x601F3A66 | umac minor_  
_[99.675179] iwlwifi 0000:05:00.0: 0x000FEF97 | frame pointer_  
_[99.680831] iwlwifi 0000:05:00.0: 0xC0886274 | stack pointer_  
_[99.686480] iwlwifi 0000:05:00.0: 0x00000000 | last host cmd_  
_[99.692134] iwlwifi 0000:05:00.0: 0x00000000 | isr status reg_  
_[99.697871] iwlwifi 0000:05:00.0: Fseq Registers:_  
_[99.702511] iwlwifi 0000:05:00.0: 0x60000000 | FSEQ\_ERROR\_CODE_  
_[99.708332] iwlwifi 0000:05:00.0: 0x80290021 | FSEQ\_TOP\_INIT\_VERSION_  
_[99.714673] iwlwifi 0000:05:00.0: 0x00050008 | FSEQ\_CNVIO\_INIT\_VERSION_  
_[99.721186] iwlwifi 0000:05:00.0: 0x0000A503 | FSEQ\_OTP\_VERSION_  
_[99.727093] iwlwifi 0000:05:00.0: 0x80000003 | FSEQ\_TOP\_CONTENT\_VERSION_  
_[99.733693] iwlwifi 0000:05:00.0: 0x4552414E | FSEQ\_ALIVE\_TOKEN_  
_[99.739600] iwlwifi 0000:05:00.0: 0x00100530 | FSEQ\_CNVI\_ID_  
_[99.745159] iwlwifi 0000:05:00.0: 0x00000532 | FSEQ\_CNVR\_ID_  
_[99.750717] iwlwifi 0000:05:00.0: 0x00100530 | CNVI\_AUX\_MISC\_CHIP_  
_[99.756801] iwlwifi 0000:05:00.0: 0x00000532 | CNVR\_AUX\_MISC\_CHIP_  
_[99.762879] iwlwifi 0000:05:00.0: 0x05B0905B | CNVR\_SCU\_SD\_REGS\_SD\_REG\_DIG\_DCDC\_VTRIM_  
_[99.770696] iwlwifi 0000:05:00.0: 0x0000025B | CNVR\_SCU\_SD\_REGS\_SD\_REG\_ACTIVE\_VDIG\_MIRROR_  
_[99.779043] iwlwifi 0000:05:00.0: WRT: Collecting data: ini trigger 4 fired._  
_[99.785926] ieee80211 phy0: Hardware restart was requested_  
_[99.791411] iwlwifi 0000:05:00.0: Failed to start RT ucode: -110_  
_[99.797407] iwlwifi 0000:05:00.0: Failed to start RT ucode: -110_  
_[100.343611] iwlwifi 0000:05:00.0: WRT: Failed to dump region: id=4, type=5_  
_[100.349815] iwlwifi 0000:05:00.0: WRT: Failed to dump region: id=6, type=5_  
_[103.953572] [drm] amdgpu kernel modesetting enabled._  
_[103.958662] amdgpu 0000:09:00.0: enabling device (0000 → 0003)_  
_[103.963877] [drm] initializing kernel modesetting (DIMGREY\_CAVEFISH 0x1002:0x73FF 0x1EAE:0x6505 0xC7)._  
_[103.973196] amdgpu 0000:09:00.0: amdgpu: Trusted Memory Zone (TMZ) feature not supported_  
_[103.981285] [drm] register mmio base: 0x60500000_  
_[103.985821] [drm] register mmio size: 1048576_  
_[103.990160] [drm] PCI I/O BAR is not found._  
_[103.994346] [drm] PCIE atomic ops is not supported_  
_[104.000953] [drm] add ip block number 0 \<nv\_common\>_  
_[104.005078] [drm] add ip block number 1 \<gmc\_v10\_0\>_  
_[104.009950] [drm] add ip block number 2 \<navi10\_ih\>_  
_[104.014806] [drm] add ip block number 3_   
_[104.019147] [drm] add ip block number 4_   
_[104.023492] [drm] add ip block number 5 \<gfx\_v10\_0\>_  
_[104.028353] [drm] add ip block number 6 \<sdma\_v5\_2\>_  
_[104.033219] [drm] add ip block number 7 \<vcn\_v3\_0\>_  
_[104.037994] [drm] add ip block number 8 \<jpeg\_v3\_0\>_  
_[104.064315] amdgpu 0000:09:00.0: amdgpu: Fetched VBIOS from ROM BAR_  
_[104.072892] amdgpu: ATOM BIOS: 113-23L86HMD2-D02_  
_[104.076913] [drm] VCN(0) decode is enabled in VM mode_  
_[104.081798] [drm] VCN(0) encode is enabled in VM mode_  
_[104.086836] [drm] JPEG decode is enabled in VM mode_  
_[104.091738] [drm] GPU posting now…_  
_[104.095427] [drm] vm size is 262144 GB, 4 levels, block size is 9-bit, fragment size is 9-bit_  
_[104.103892] amdgpu 0000:09:00.0: BAR 2: releasing [mem 0x2010000000-0x20101fffff 64bit pref]_  
_[104.112248] amdgpu 0000:09:00.0: BAR 0: releasing [mem 0x2000000000-0x200fffffff 64bit pref]_  
_[104.120694] pcieport 0000:08:00.0: BAR 15: releasing [mem 0x2000000000-0x2017ffffff 64bit pref]_  
_[104.129313] pcieport 0000:07:00.0: BAR 15: releasing [mem 0x2000000000-0x2017ffffff 64bit pref]_  
_[104.137990] pcieport 0000:02:08.0: BAR 15: releasing [mem 0x2000000000-0x2017ffffff 64bit pref]_  
_[104.146676] pcieport 0000:01:00.0: BAR 15: releasing [mem 0x2000000000-0x2017ffffff 64bit pref]_  
_[104.155360] pcieport 0000:00:00.0: BAR 15: releasing [mem 0x2000000000-0x2017ffffff 64bit pref]_  
_[104.164142] pcieport 0000:00:00.0: BAR 15: assigned [mem 0x2000000000-0x22ffffffff 64bit pref]_  
_[104.172651] pcieport 0000:01:00.0: BAR 15: assigned [mem 0x2000000000-0x22ffffffff 64bit pref]_  
_[104.181250] pcieport 0000:02:08.0: BAR 15: assigned [mem 0x2000000000-0x22ffffffff 64bit pref]_  
_[104.189851] pcieport 0000:07:00.0: BAR 15: assigned [mem 0x2000000000-0x22ffffffff 64bit pref]_  
_[104.198445] pcieport 0000:08:00.0: BAR 15: assigned [mem 0x2000000000-0x22ffffffff 64bit pref]_  
_[104.207044] amdgpu 0000:09:00.0: BAR 0: assigned [mem 0x2000000000-0x21ffffffff 64bit pref]_  
_[104.215404] amdgpu 0000:09:00.0: BAR 2: assigned [mem 0x2200000000-0x22001fffff 64bit pref]_  
_[104.223741] pcieport 0000:00:00.0: PCI bridge to [bus 01-09]_  
_[104.229365] pcieport 0000:00:00.0: bridge window [io 0x0000-0x0fff]_  
_[104.235878] pcieport 0000:00:00.0: bridge window [mem 0x60200000-0x607fffff]_  
_[104.243086] pcieport 0000:00:00.0: bridge window [mem 0x2000000000-0x22ffffffff 64bit pref]_  
_[104.251600] pcieport 0000:01:00.0: PCI bridge to [bus 02-09]_  
_[104.257245] pcieport 0000:01:00.0: bridge window [io 0x0000-0x0fff]_  
_[104.263763] pcieport 0000:01:00.0: bridge window [mem 0x60200000-0x607fffff]_  
_[104.270970] pcieport 0000:01:00.0: bridge window [mem 0x2000000000-0x22ffffffff 64bit pref]_  
_[104.279486] pcieport 0000:02:08.0: PCI bridge to [bus 07-09]_  
_[104.285127] pcieport 0000:02:08.0: bridge window [io 0x0000-0x0fff]_  
_[104.291644] pcieport 0000:02:08.0: bridge window [mem 0x60500000-0x607fffff]_  
_[104.298851] pcieport 0000:02:08.0: bridge window [mem 0x2000000000-0x22ffffffff 64bit pref]_  
_[104.307368] pcieport 0000:07:00.0: PCI bridge to [bus 08-09]_  
_[104.313013] pcieport 0000:07:00.0: bridge window [io 0x0000-0x0fff]_  
_[104.319531] pcieport 0000:07:00.0: bridge window [mem 0x60500000-0x606fffff]_  
_[104.326737] pcieport 0000:07:00.0: bridge window [mem 0x2000000000-0x22ffffffff 64bit pref]_  
_[104.335254] pcieport 0000:08:00.0: PCI bridge to [bus 09]_  
_[104.340633] pcieport 0000:08:00.0: bridge window [io 0x0000-0x0fff]_  
_[104.347152] pcieport 0000:08:00.0: bridge window [mem 0x60500000-0x606fffff]_  
_[104.354358] pcieport 0000:08:00.0: bridge window [mem 0x2000000000-0x22ffffffff 64bit pref]_  
_[104.362906] amdgpu 0000:09:00.0: amdgpu: VRAM: 8176M 0x0000008000000000 - 0x00000081FEFFFFFF (8176M used)_  
_[104.372418] amdgpu 0000:09:00.0: amdgpu: GART: 512M 0x0000000000000000 - 0x000000001FFFFFFF_  
_[104.380756] amdgpu 0000:09:00.0: amdgpu: AGP: 267894784M 0x0000008400000000 - 0x0000FFFFFFFFFFFF_  
_[104.389536] [drm] Detected VRAM RAM=8176M, BAR=8192M_  
_[104.394478] [drm] RAM width 128bits GDDR6_  
_[104.398840] [TTM] Zone kernel: Available graphics memory: 8211620 KiB_  
_[104.405002] [TTM] Zone dma32: Available graphics memory: 2097152 KiB_  
_[104.487266] [drm] amdgpu: 8176M of VRAM memory ready_  
_[104.491542] [drm] amdgpu: 8176M of GTT memory ready._  
_[104.496471] [drm] GART: num cpu pages 131072, num gpu pages 131072_  
_[104.502820] [drm] PCIE GART of 512M enabled (table at 0x0000008000000000)._  
_[104.515858] ------------[cut here]------------_  
_[104.519739] WARNING: CPU: 3 PID: 558 at drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c:258 iwl\_mvm\_mac\_ctxt\_init+0x16a/0x192 [iwlmvm]_  
_[104.549598] Modules linked in: rfcomm amdgpu(+) bnep iwlmvm mac80211 libarc4 btusb iwlwifi btrtl btbcm btintel bluetooth cfg80211 snd\_hda\_codec\_hdmi mfd\_core snd\_hda\_intel gpu\_sched snd\_intel\_dspcfg snd\_hda\_codec backlight drm\_ttm\_helper ttm snd\_hda\_core ecdh\_generic ecc fuse_  
_[104.574036] CPU: 3 PID: 558 Comm: NetworkManager Not tainted 5.11.10 #1_  
_[104.580607] epc: ffffffdf84f82bd8 ra : ffffffdf84f82ae6 sp : ffffffe087dd31b0_  
_[104.587726] gp : ffffffe000e56510 tp : ffffffe083726180 t0 : ffffffe087c292d0_  
_[104.594935] t1 : 0000000000000000 t2 : 0000000000000000 s0 : ffffffe087dd3220_  
_[104.602147] s1 : ffffffe08251b308 a0 : ffffffe08d8a86c0 a1 : 0000000000000003_  
_[104.609357] a2 : ffffffdf84f817c6 a3 : ffffffe087dd31b0 a4 : ffffffe08251b700_  
_[104.616577] a5 : 0000000000000001 a6 : 0000000000000006 a7 : 0000000000010e36_  
_[104.623773] s2 : ffffffe08d8a9de8 s3 : ffffffe000e5a0a8 s4 : ffffffe08251b5e8_  
_[104.630988] s5 : ffffffe08d8a9e18 s6 : ffffffe08d8a86c0 s7 : ffffffe08251b5e8_  
_[104.638190] s8 : 0000000000000000 s9 : ffffffdf84120888 s10: ffffffe087dd3710_  
_[104.645401] s11: 0000000000000000 t3 : bdce7bd103067000 t4 : 0000000000000014_  
_[104.652610] t5 : 0000000000000000 t6 : ffffffe08e16144c_  
_[104.657907] status: 0000000200000120 badaddr: 0000000000000004 cause: 0000000000000003_  
_[104.665811] —[end trace 54b97ddf8e413b81]—_  
_[104.676563] amdgpu 0000:09:00.0: Direct firmware load for amdgpu/dimgrey\_cavefish\_sos.bin failed with error -2_  
_[104.685853] amdgpu 0000:09:00.0: amdgpu: failed to init sos firmware_  
_[104.692171] [drm:psp\_sw\_init [amdgpu]] ERROR Failed to load psp firmware!_  
_[104.829768] [drm:amdgpu\_device\_init [amdgpu]] ERROR sw\_init of IP block failed -2_  
_[104.966901] amdgpu 0000:09:00.0: amdgpu: amdgpu\_device\_ip\_init failed_  
_[104.973409] amdgpu 0000:09:00.0: amdgpu: Fatal error during GPU init_  
_[104.979840] amdgpu: probe of 0000:09:00.0 failed with error -2_

_FreedomUSDK 2021.03.01 unmatched ttySIF0_

_unmatched login:_

Could anyone tell me how to fix this problem? Thanks!

---

<div class="post-metadata">

**Author:** ![sholland](https://avatars.discourse-cdn.com/v4/letter/s/b5a626/32.png) [@sholland](https://forums.sifive.com/u/sholland)\
**Post date:** [June 24, 2024, 10:28pm UTC](https://forums.sifive.com/t/graphic-card-does-not-work/6507/2 "2024-06-24T22:28:21Z")

</div>

You need a patch series that was merged in Linux version 6.10 in order to use RX 6000-series graphics cards with a RISC-V CPU.

> **[Newer AMD Radeon Graphics Cards Now Work On RISC-V With Linux 6.10](https://www.phoronix.com/news/Linux-6.10-Non-MM-Patches)**
>
> Andrew Morton sent out more patches on Wednesday that have been pulled into the Linux 6.10 kernel

[https://lore.kernel.org/linux-riscv/20240329072441.591471-1-samuel.holland@sifive.com/](https://lore.kernel.org/linux-riscv/20240329072441.591471-1-samuel.holland@sifive.com/)

---

<div class="post-metadata">

**Author:** ![bigbamboo9](https://avatars.discourse-cdn.com/v4/letter/b/67e7ee/32.png) [@bigbamboo9](https://forums.sifive.com/u/bigbamboo9)\
**Post date:** [June 25, 2024, 2:17pm UTC](https://forums.sifive.com/t/graphic-card-does-not-work/6507/3 "2024-06-25T14:17:20Z")

</div>

Thanks for this helpful information!

---

<div class="post-metadata">

**Author:** ![bigbamboo9](https://avatars.discourse-cdn.com/v4/letter/b/67e7ee/32.png) [@bigbamboo9](https://forums.sifive.com/u/bigbamboo9)\
**Post date:** [June 25, 2024, 2:48pm UTC](https://forums.sifive.com/t/graphic-card-does-not-work/6507/4 "2024-06-25T14:48:38Z")

</div>

Could you provide some hints on how to patch this on the existing system on the SD card? Do I need to rebuild the whole system? Thanks!
