public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Michael <confabulate@kintzios.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Do I need firmware for an integrated graphics unit?
Date: Wed, 21 Aug 2024 14:49:13 +0100	[thread overview]
Message-ID: <2621935.Lt9SDvczpP@rogueboard> (raw)
In-Reply-To: <ZsXX3JSadSTtj423@ACM>

[-- Attachment #1: Type: text/plain, Size: 2567 bytes --]

On Wednesday, 21 August 2024 13:04:44 BST Alan Mackenzie wrote:
> Hello, Michael.
> 
> On Wed, Aug 21, 2024 at 12:37:53 +0100, Michael wrote:
[snip ...]
> > 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.

Try a different liveUSB, as already suggested.  It could come with the 
necessary modules/firmware and will load them, making it easy to identify 
firmware file names to copy over.


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

Yes, Raphael is not listed in the wiki page.  :-(

If you're happy to experiment, you could try configuring your kernel for 
RDNA2, or even RDNA3, before you boot with it and see what firmware the kernel 
complains is missing in dmesg.  The error message of missing firmware will 
point to the relevant chipset's firmware you should add to your kernel.


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

Well, there's nothing to it really.  Just configure your kernel with the 
drivers needed by your graphics card, but set them as modules.  Then boot with 
it and check dmesg.  The kernel will load the modules and try to fetch the 
requisite firmware.

Once you know what you need to configure in the kernel switch over the drivers 
to be built in-kernel and add your firmware files.


> Why is the identity of the
> necessary firmware for Ryzen APUs such a closely guarded secret?

I agree, you should not have to guess which driver and firmware you need for 
your graphics.  Perhaps the Wiki page has not caught up with the latest 
hardware - something to contribute to once you get yours running.  ;-)

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2024-08-21 13:49 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
2024-08-21 13:49         ` Michael [this message]
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=2621935.Lt9SDvczpP@rogueboard \
    --to=confabulate@kintzios.com \
    --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