public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Alan Mackenzie <acm@muc.de>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Do I need firmware for an integrated graphics unit?
Date: Wed, 21 Aug 2024 12:04:44 +0000	[thread overview]
Message-ID: <ZsXX3JSadSTtj423@ACM> (raw)
In-Reply-To: <2196376.irdbgypaU6@rogueboard>

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).


  reply	other threads:[~2024-08-21 12:04 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-20 20:05 [gentoo-user] Do I need firmware for an integrated graphics unit? Alan Mackenzie
2024-08-20 21:16 ` Peter Böhm
2024-08-21 10:32   ` Wol
2024-08-21 10:59     ` Alan Mackenzie
2024-08-21 13:03       ` [gentoo-user] " Grant Edwards
2024-08-21 11:15   ` [gentoo-user] " Alan Mackenzie
2024-08-21 11:37     ` Michael
2024-08-21 12:04       ` Alan Mackenzie [this message]
2024-08-21 13:49         ` Michael
2024-08-21 15:22           ` Wol
2024-08-21 15:47             ` Peter Humphrey
2024-08-21 15:49             ` [gentoo-user] " Grant Edwards
2024-08-21 14:43       ` Grant Edwards
2024-08-21 12:03     ` [gentoo-user] " Peter Böhm
2024-08-21 17:26       ` Alan Mackenzie
2024-08-21 18:10         ` Peter Böhm
2024-08-22 11:57           ` Alan Mackenzie
2024-08-22 14:46             ` Peter Humphrey
2024-08-22 15:05               ` Michael
2024-08-22 16:37                 ` Alan Mackenzie
2024-08-22 23:22                   ` Peter Humphrey
2024-08-23  9:42                   ` Wol
2024-08-23 16:41                     ` Alan Mackenzie
2024-08-21  0:30 ` [gentoo-user] " Grant Edwards
2024-08-21 11:39   ` Alan Mackenzie
2024-08-21 11:54     ` Michael
2024-08-21 13:02     ` Grant Edwards
2024-08-23 16:28       ` Alan Mackenzie
2024-08-23 21:28         ` Grant Edwards
2024-08-22  0:34 ` [gentoo-user] " corbin bird
2024-08-22  8:28   ` Michael

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZsXX3JSadSTtj423@ACM \
    --to=acm@muc.de \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox