There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

Help with a AMD GPU in truenas scale

Hello c/Selfhosted!

Although I’m still new with truenas, I’ve been a happy truenas scale hoster for a year more or less and I’ve been increasing the reach of my self hosted server little by little.

The problem came when I decided to add jellyfin and a GPU for encoding. My server is mostly made of old parts and the GPU is not different. The GPU is recognized by truenas scale as a “Advanced Micro Devices, Inc. [AMD/ATI] Cape Verde PRO [Radeon HD 7750/8740 R7 250E”, which AFAIK has hardware encoding/decoding as per Jellyfin wiki.

But the only place I can see the GPU is in lspci and in System Settings/Isolated GPU PCI Ids (and it’s not isolated). Whenever I try to change the configuration of an app to allocate the GPU I can only select “Allocate 0 amd.com/gpu GPU”, there are no more options.

I’ve searched for this a lot but I found very little info about AMD GPUs and how to debug this issue.

I’am missing something? Could anybody point me in the right direction? Any commands I can run to diagnose?

Thanks for reading!

just_another_person ,

Which driver is currently enabled? Radeon or amdgpu?

Also, in the context of what “Allocate 0” means, that IS your graphics card, if you only have one. Data types like arrays and lists start at 0 (ex: 0,1,2,3…)

Fenixin OP ,

Thanks for the answer.

Just checked with lspci -v and it says radeon:


<span style="color:#323232;">03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cape Verde PRO [Radeon HD 7750/8740 / R7 250E] (prog-if 00 [VGA controller])
</span><span style="color:#323232;">        Subsystem: PC Partner Limited / Sapphire Technology Cape Verde PRO [Radeon HD 7750/8740 / R7 250E]
</span><span style="color:#323232;">        Flags: bus master, fast devsel, latency 0, IRQ 28, NUMA node 0
</span><span style="color:#323232;">        Memory at d0000000 (64-bit, prefetchable) [size=256M]
</span><span style="color:#323232;">        Memory at fbf80000 (64-bit, non-prefetchable) [size=256K]
</span><span style="color:#323232;">        I/O ports at e000 [size=256]
</span><span style="color:#323232;">        Expansion ROM at 000c0000 [disabled] [size=128K]
</span><span style="color:#323232;">        Capabilities: [48] Vendor Specific Information: Len=08 <?>
</span><span style="color:#323232;">        Capabilities: [50] Power Management version 3
</span><span style="color:#323232;">        Capabilities: [58] Express Legacy Endpoint, MSI 00
</span><span style="color:#323232;">        Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
</span><span style="color:#323232;">        Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
</span><span style="color:#323232;">        Capabilities: [150] Advanced Error Reporting
</span><span style="color:#323232;">        Capabilities: [270] Secondary PCI Express
</span><span style="color:#323232;">        Kernel driver in use: radeon
</span><span style="color:#323232;">        Kernel modules: radeon, amdgpu
</span>

Is that the one it’s supposed to be active?

About the allocate thing, I think that is a number and not an index in an array. I think that you can allocate as many gpus you want:

https://sh.itjust.works/pictrs/image/7681bc38-2962-45c3-96c5-bdea2fc7ace5.png

I’ve seen that same menu in screenshots and I’m supposed to be able to choose something different from zero.

vikingtons ,
@vikingtons@lemmy.world avatar

Since this is GCN based, you may be able to use the newer AMDGPU kernel driver? I’m not sure about that specific SKU, however. I remember that using AMDGPU on, for example, Hawaii (like the R9 290) was particularly finicky

Fenixin OP ,

Not sure how to change the driver to AMDGPU, I blacklisted the Radeon driver but the kernel didn’t load the other one. I read somewhere that I have to do a initframs update but the command doens’t exist in truenas scale. How do I force to load the other driver?

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines