Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't find files for AMDGPU WANI in linux-firmware
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Duke Owlington
n00b
n00b


Joined: 01 Nov 2020
Posts: 3

PostPosted: Sun Nov 01, 2020 7:02 am    Post subject: Can't find files for AMDGPU WANI in linux-firmware Reply with quote

Hello! I'm trying to setup AMDGPU drivers on HP 15-ba579ur laptop. I'm following AMDGPU wiki page: https://wiki.gentoo.org/wiki/AMDGPU. Currently I'm trying to put the right string into kernel configuration. But I can't find files for WANI GPU in /lib/firmware/amdgpu/ directory.

Here is my lspci output:

Code:
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Root Complex
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) I/O Memory Management Unit
00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Wani [Radeon R5/R6/R7 Graphics] (rev ca)
00:01.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Kabini HDMI/DP Audio
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Host Bridge
00:02.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Root Port
00:02.4 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Root Port
00:03.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Host Bridge
00:03.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Root Port
00:08.0 Encryption controller: Advanced Micro Devices, Inc. [AMD] Carrizo Platform Security Processor
00:09.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Carrizo Audio Dummy Host Bridge
00:09.2 Audio device: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Audio Controller
00:10.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB XHCI Controller (rev 20)
00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 49)
00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller (rev 49)
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 4a)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 11)
00:14.7 SD Host controller: Advanced Micro Devices, Inc. [AMD] FCH SD Flash Controller (rev 01)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Function 5
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL810xE PCI Express Fast Ethernet controller (rev 07)
02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8723BE PCIe Wireless Network Adapter
05:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Topaz XT [Radeon R7 M260/M265 / M340/M360 / M440/M445 / 530/535 / 620/625 Mobile] (rev 83)


Maybe I don't understand something. I see that there is also a Topaz XT in lspci output. I think the laptop that I have has switchable graphics between integrated and discrete GPUs but I'm not sure. Can you help me? Thanks in advance.
Back to top
View user's profile Send private message
ali3nx
l33t
l33t


Joined: 21 Sep 2003
Posts: 731
Location: Winnipeg, Canada

PostPosted: Sun Nov 01, 2020 8:22 am    Post subject: Reply with quote

If the firmware files do exist they should load from userland if you configure the amdgpu driver as a module. The amdgpu wiki guide directions implying the amdgpu driver must be compiled into the kernel are not always accurate nor necessary.

I'm running a 5500XT with amdgpu configured as a kernel module and it's worked fantastic since the first day it was powered on.

There have been some scenarios where compiling the amdgpu driver and firmware into the kernel binary are and have been beneficial however in several years experiences using amdgpu those were only when opencl compute capability was desired for crypto coin mining or running folding from home as two common examples.

if your going to use it for video games or watching a movie those use case scenarios shouldn't concern you :)

Try allowing the kernel to figure it out for you. if it still doesn't work or there are firmware load failure errors or warnings in dmesg file a bug report and reply here with the error message related to the amdgpu driver.
_________________
Compiling Gentoo since version 1.4
Thousands of Gentoo Installs Completed
Emerged on every continent but Antarctica
Compile long and Prosper!
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54577
Location: 56N 3W

PostPosted: Sun Nov 01, 2020 9:52 am    Post subject: Reply with quote

Duke Owlington,

Welcome to Gentoo.

We need the Vendor and Device IDs for your
Code:
00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Wani [Radeon R5/R6/R7 Graphics] (rev ca)

Code:
lspci -nnk
will tell what we need.
The Vendor is AMD, that's 1002:

As ali3nx says there are merits to both built in and modular GPU drivers.
Built in means you get an earlier console than with modular but the required firmware files do change on occasion, then things break.

Modular means that it just works ... most of the time.

Both ways need the firmware.

Poking about in startpage.com, it appears that you have a carrizo GPU, if its PCI ID is 1002:9874, so you need at least
Code:
ls /lib/firmware/amdgpu/carr*
/lib/firmware/amdgpu/carrizo_ce.bin  /lib/firmware/amdgpu/carrizo_mec2.bin  /lib/firmware/amdgpu/carrizo_pfp.bin  /lib/firmware/amdgpu/carrizo_sdma1.bin  /lib/firmware/amdgpu/carrizo_uvd.bin
/lib/firmware/amdgpu/carrizo_me.bin  /lib/firmware/amdgpu/carrizo_mec.bin   /lib/firmware/amdgpu/carrizo_rlc.bin  /lib/firmware/amdgpu/carrizo_sdma.bin   /lib/firmware/amdgpu/carrizo_vce.bin

_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Duke Owlington
n00b
n00b


Joined: 01 Nov 2020
Posts: 3

PostPosted: Mon Nov 02, 2020 2:06 pm    Post subject: Reply with quote

Here is lspci -nnk output:

Code:
00:00.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Root Complex [1022:1576]
        Subsystem: Hewlett-Packard Company Family 15h (Models 60h-6fh) Processor Root Complex [103c:81fa]
00:00.2 IOMMU [0806]: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) I/O Memory Management Unit [1022:1577]
        Subsystem: Hewlett-Packard Company Family 15h (Models 60h-6fh) I/O Memory Management Unit [103c:81fa]
00:01.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Wani [Radeon R5/R6/R7 Graphics] [1002:9874] (rev ca)
        DeviceName: ATI EG BROADWAY
        Subsystem: Hewlett-Packard Company Wani [Radeon R5/R6/R7 Graphics] [103c:81fa]
00:01.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Kabini HDMI/DP Audio [1002:9840]
        Subsystem: Hewlett-Packard Company Kabini HDMI/DP Audio [103c:81fa]
        Kernel driver in use: snd_hda_intel
00:02.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Host Bridge [1022:157b]
00:02.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Root Port [1022:157c]
        Kernel driver in use: pcieport
00:02.4 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Root Port [1022:157c]
        Kernel driver in use: pcieport
00:03.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Host Bridge [1022:157b]
00:03.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Root Port [1022:157c]
        Kernel driver in use: pcieport
00:08.0 Encryption controller [1080]: Advanced Micro Devices, Inc. [AMD] Carrizo Platform Security Processor [1022:1578]
        Subsystem: Hewlett-Packard Company Carrizo Platform Security Processor [103c:81fa]
00:09.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Carrizo Audio Dummy Host Bridge [1022:157d]
00:09.2 Audio device [0403]: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Audio Controller [1022:157a]
        Subsystem: Hewlett-Packard Company Family 15h (Models 60h-6fh) Audio Controller [103c:81fa]
        Kernel driver in use: snd_hda_intel
00:10.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] FCH USB XHCI Controller [1022:7914] (rev 20)
        Subsystem: Hewlett-Packard Company FCH USB XHCI Controller [103c:81fa]
        Kernel driver in use: xhci_hcd
00:11.0 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] [1022:7904] (rev 49)
        Subsystem: Hewlett-Packard Company FCH SATA Controller [AHCI mode] [103c:81fa]
        Kernel driver in use: ahci
00:12.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller [1022:7908] (rev 49)
        Subsystem: Hewlett-Packard Company FCH USB EHCI Controller [103c:81fa]
        Kernel driver in use: ehci-pci
00:14.0 SMBus [0c05]: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller [1022:790b] (rev 4a)
        Subsystem: Hewlett-Packard Company FCH SMBus Controller [103c:81fa]
00:14.3 ISA bridge [0601]: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge [1022:790e] (rev 11)
        Subsystem: Hewlett-Packard Company FCH LPC Bridge [103c:81fa]
00:14.7 SD Host controller [0805]: Advanced Micro Devices, Inc. [AMD] FCH SD Flash Controller [1022:7906] (rev 01)
        Subsystem: Hewlett-Packard Company FCH SD Flash Controller [103c:81fa]
00:18.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Function 0 [1022:1570]
00:18.1 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Function 1 [1022:1571]
00:18.2 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Function 2 [1022:1572]
00:18.3 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Function 3 [1022:1573]
00:18.4 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Function 4 [1022:1574]
00:18.5 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Function 5 [1022:1575]
01:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL810xE PCI Express Fast Ethernet controller [10ec:8136] (rev 07)
        Subsystem: Hewlett-Packard Company RTL810xE PCI Express Fast Ethernet controller [103c:81fa]
        Kernel driver in use: r8169
02:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8723BE PCIe Wireless Network Adapter [10ec:b723]
        DeviceName: Sanji2
        Subsystem: Hewlett-Packard Company RTL8723BE PCIe Wireless Network Adapter [103c:81c1]
        Kernel driver in use: rtl8723be
        Kernel modules: rtl8723be
05:00.0 Display controller [0380]: Advanced Micro Devices, Inc. [AMD/ATI] Topaz XT [Radeon R7 M260/M265 / M340/M360 / M440/M445 / 530/535 / 620/625 Mobile] [10... (rev 83)
        Subsystem: Hewlett-Packard Company Topaz XT [Radeon R7 M260/M265 / M340/M360 / M440/M445 / 530/535 / 620/625 Mobile] [103c:81fa]


You were right NeddySeagoon. It's PCI ID is 1002:9874. Thank you all very much for your answers! :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum