From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6A6AC15852A for ; Wed, 21 Aug 2024 12:04:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 40D06E2ACF; Wed, 21 Aug 2024 12:04:47 +0000 (UTC) Received: from mail.muc.de (mail.muc.de [193.149.48.3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A8E50E2AAC for ; Wed, 21 Aug 2024 12:04:46 +0000 (UTC) Received: (qmail 99714 invoked by uid 3782); 21 Aug 2024 14:04:45 +0200 Received: from muc.de (pd953a387.dip0.t-ipconnect.de [217.83.163.135]) (using STARTTLS) by colin.muc.de (tmda-ofmipd) with ESMTP; Wed, 21 Aug 2024 14:04:45 +0200 Received: (qmail 6172 invoked by uid 1000); 21 Aug 2024 12:04:44 -0000 Date: Wed, 21 Aug 2024 12:04:44 +0000 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Do I need firmware for an integrated graphics unit? Message-ID: References: <4943397.31r3eYUQgx@sun> <2196376.irdbgypaU6@rogueboard> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <2196376.irdbgypaU6@rogueboard> X-Submission-Agent: TMDA/1.3.x (Ph3nix) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-Archives-Salt: 4bbe2da7-126c-4eb6-afaf-b37156b19d1c X-Archives-Hash: e5eb5df52448a986642d70ba6dd58fbd Hello, Michael. On Wed, Aug 21, 2024 at 12:37:53 +0100, Michael wrote: > On Wednesday, 21 August 2024 12:15:22 BST Alan Mackenzie wrote: > > Hello, Peter. > > On Tue, Aug 20, 2024 at 23:16:39 +0200, Peter Böhm wrote: > > > Hello Alan, > > > > Anyhow, I'm up to the stage of configuring the kernel, and I'm stuck at > > > > the bit where I need to specify the firmware to be incorporated into the > > > > kernel for the integrated graphics processor. > > > Yes, you surely will need some firmware files for your GPU of your AMD > > > CPU. The easiest way to find out what you need is: > > > Boot with our GentooLiveCD (*) and ask: > > > "dmesg | grep firmware" > > I've done that, and see just three firmware files: > > regulatory.db > > regulatory.db.p7s > > rtl_nic/rtl8125b-2.fw > > .. The first, according to file, is a wireless regulatory database file. > > The second is some variant of this, I think a signed version or > > something. The third is surely firmware for my Realtek 8125 Ethernet > > chip. > > That's not yet got me very far. > You'll need the above if you using WiFi, but for your graphics can you please > take a look/share the output of: > lspci | grep -i VGA I've tried that already. I get VGA compatible controller, Advanced Micro Devices, Inc [AMD/ATI] Raphael (rev c4) , which fails to identify the GPU cores. Raphael, I believe, is just the code name for the entire processor. > and > lshw -C cpu > lshw -C display They don't give me any more information, either. > The above will show which APU you are using and its GPU cores. Then it is a > matter of looking here for the corresponding GPU chipset and microarchitecture > you need to enable in the kernel: > https://wiki.gentoo.org/wiki/AMDGPU#Feature_support I've tried that already. "Raphael" does not appear in that document. > before you check what firmware blobs you also need to include, from this > table: > https://wiki.gentoo.org/wiki/AMDGPU#Firmware_blobs_for_a_known_card_model That is my problem - discovering the "known card model" for my Ryzen 7900. The Gentoo documentation doesn't appear to deal with this case, and my three hour web search yesterday turned up nothing useful. > Alternatively, as Wol mentioned, you can set up your kernel graphics drivers > as modules (temporarily) and inspect dmesg to find out what firmware is being > loaded. Then use this information to add the firmware file names to be built > in the kernel and also configure to be built-in any kernel graphics drivers. That would involve me learning how to make and handle a modular kernel, something I'd really rather not have to do. Why is the identity of the necessary firmware for Ryzen APUs such a closely guarded secret? -- Alan Mackenzie (Nuremberg, Germany).