Author Topic: Necessary firmware for Navi14  (Read 131 times)

Hasturtium

  • Newbie
  • *
  • Posts: 31
  • Karma: +5/-0
    • View Profile
Necessary firmware for Navi14
« on: July 28, 2022, 12:34:30 pm »
Hey there! Now that I've got my Blackbird motherboard fully working and functional, I've turned my attention to getting my Radeon Pro W5500 up and running. The Skiroot BOOTKERNFW size is around 1.8MB, which doesn't pose any problems for older Radeons whose firmware fits neatly into that space. However, the full size of Navi14-affiliated files /lib/firmware in my Void install is around 3.8 MB, and there are a large number of files. There are a couple that obviously aren't needed for Skiroot - VCN's tied to the video transcoding engine, MEC(2) is for Micro Engine Compute - but I've had real trouble finding which of these would be needed for Skiroot without overflowing the space. Has anyone else wrestled with this themselves?

Woof

  • Newbie
  • *
  • Posts: 33
  • Karma: +3/-0
    • View Profile
Re: Necessary firmware for Navi14
« Reply #1 on: July 29, 2022, 03:09:57 pm »
Hi! I haven't but I'm planning the same for a W5700 which should be identical, so I'm also interested.

Hasturtium

  • Newbie
  • *
  • Posts: 31
  • Karma: +5/-0
    • View Profile
Re: Necessary firmware for Navi14
« Reply #2 on: August 05, 2022, 09:12:41 am »
I'm going to go ahead and say that I won't personally bother with Navi14 firmware in skiroot. With an HDMI connection to the integrated video and a DisplayPort connection running to my Radeon Pro W5500, I have a nice bifurcation between early boot notifications and my fully functioning Linux environment. After some tinkering, I worked out a solid configuration keeping the instructions here in mind, with the AST video component enabled. Specificallly:

- adding GRUB_CMDLINE_LINUX="modprobe.blacklist=ast video=offb:off amdgpu.aspm=0" to /etc/default/grub, then running sudo update-grub. From kernel version 5.18 onward, amdgpu.aspm=0 should not be necessary, but my install of Void comes with kernel 5.13, and out of an abundance of caution I've left it in there.
- running lspci to find the PCI addresses for my Radeon and the AST GPU.
- creating the configuration file /etc/X11/xorg.conf.d/21-gpu-driver.conf with a text editor, in which I placed the following info for easy cut 'n' pasting:

# AST2500
Section "Device"
    Identifier     "GPU0"
    Driver         "modesetting"
    BusID          "PCI:2@5:0:0"
    VendorName     "ASpeed Corporation"
EndSection

# Radeon Pro W5500
Section "Device"
    Identifier     "GPU1"
    Driver         "amdgpu"
    BusID          "PCI:3@0:0:0"
    VendorName     "AMD Corporation"
EndSection

# this is absolutely necessary, it tells xorg which GPU to use for the screen
Section "Screen"
    Identifier     "Screen0"
    Device         "GPU1"
EndSection

Be 100% certain your PCI address is substituted in for the Radeon, and for the AST in case that's different.

Power the system down entirely for 30 seconds, restore power, let the BMC initialize the system, turn the system on, and you'll hopefully be set.

MPC7500

  • Sr. Member
  • ****
  • Posts: 444
  • Karma: +28/-1
    • View Profile
    • Twitter
Re: Necessary firmware for Navi14
« Reply #3 on: August 05, 2022, 11:19:26 am »
The same is written on the Wiki.
On Void you can choose active Kernels like 5.4 / 5.10 / 5.15 / 5.18.
All needed patches on Void are included. Means you don't need "amdgpu.aspm=0" anymore. Apart from Kernel 5.15.x, IIRC.

Edit: Already added in Kernel 5.15.54. 5.16 and 5.17 are already EOL.
« Last Edit: August 05, 2022, 11:36:01 am by MPC7500 »

Hasturtium

  • Newbie
  • *
  • Posts: 31
  • Karma: +5/-0
    • View Profile
Re: Necessary firmware for Navi14
« Reply #4 on: August 05, 2022, 07:33:43 pm »
The same is written on the Wiki.
On Void you can choose active Kernels like 5.4 / 5.10 / 5.15 / 5.18.
All needed patches on Void are included. Means you don't need "amdgpu.aspm=0" anymore. Apart from Kernel 5.15.x, IIRC.

Edit: Already added in Kernel 5.15.54. 5.16 and 5.17 are already EOL.

I’ll update my config soon. Thank you!

MPC7500

  • Sr. Member
  • ****
  • Posts: 444
  • Karma: +28/-1
    • View Profile
    • Twitter
Re: Necessary firmware for Navi14
« Reply #5 on: August 06, 2022, 07:44:47 am »
And one more thing. When you blacklist the AST GPU on boot, then you don't need a xorg config file at all.
You only need the config file when you're using the AST GPU (for high resolution) or if you don't blacklist the amdgpu or AST GPU.

BUT on Void you have to blacklist the other GPU otherwise it won't work. Anyway it's the better solution to blacklist one of the GPUs.