9

After sudo apt-get dist-ugprade I saw following output in my terminal:

Setting up linux-modules-extra-4.18.0-16-generic (4.18.0-16.17) ...
Setting up linux-image-generic (4.18.0.16.17) ...
Setting up linux-headers-generic (4.18.0.16.17) ...
Setting up linux-generic (4.18.0.16.17) ...
Processing triggers for linux-image-4.18.0-16-generic (4.18.0-16.17) ...
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-4.18.0-16-generic
W: Possible missing firmware /lib/firmware/amdgpu/vega12_gpu_info.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vega20_asd.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vega20_sos.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vega12_asd.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vega12_sos.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vega20_rlc.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vega20_mec2.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vega20_mec.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vega20_me.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vega20_pfp.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vega20_ce.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vega12_rlc.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vega12_mec2.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vega12_mec.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vega12_me.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vega12_pfp.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vega12_ce.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vega20_sdma1.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vega20_sdma.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vega12_sdma1.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vega12_sdma.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vega20_uvd.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vega12_uvd.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vega20_vce.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vega12_vce.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vega20_smc.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vega12_smc.bin for module amdgpu
I: The initramfs will attempt to resume from /dev/dm-2
I: (/dev/mapper/ubuntu--vg-swap_1)
I: Set the RESUME variable to override this.
/etc/kernel/postinst.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.18.0-16-generic
Found initrd image: /boot/initrd.img-4.18.0-16-generic
Found linux image: /boot/vmlinuz-4.18.0-15-generic
Found initrd image: /boot/initrd.img-4.18.0-15-generic
Found linux image: /boot/vmlinuz-4.18.0-10-generic
Found initrd image: /boot/initrd.img-4.18.0-10-generic
Adding boot menu entry for EFI firmware configuration
done

Can someone tell me where to find and how to install the missing firmware?

My graphic card is RADEON RX VEGA M

  • 2
    Do you have an AMD graphics adapter? – Pilot6 Mar 9 '19 at 9:43
  • How do I know that? I edited my graphic card I am using – rm -rf Mar 9 '19 at 9:46
20

You can find firmware at linux-firmware git

It looks like the missing firmware files are there.

You can clone git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git and copy the missing files to /lib/firmware/amdgpu.

| improve this answer | |
  • 5
    +1. However, future readers, take into account that you may break your system if you put firmware files for a card that is not yet supported by your MESA driver. That happened to me while putting navi10_* firmware files for my RX 5700 card while having MESA 19.1. It broke my system and had to live-usb-recover it. Solution: Also (in addition to adding firmware files) upgrade MESA, then everything will work. I managed to do that through a chroot from within the live :) – MariusSiuram Sep 29 '19 at 7:45
  • You can't break your system this way. You can always boot in recovery mode and revert if anything is wrong. But it lloks very ullikely to me. – Pilot6 Jan 26 at 15:49
  • Unlikely or not, it happened to me. So I thought that it may be useful to provide that info as a comment; and I also added my anecdotal solution because the recovery mode was not working for me --maybe I was doing something wrong, I don't really remember. – MariusSiuram Jan 27 at 11:29
  • Thank you so much, you saved me after banging my head against a wall for 3 days. – FrontierPsycho Mar 2 at 23:42
1

To save time for new users, and people unfamiliar with the terminal -- the following commands can be copied and pasted directly for ease of use. Please make sure to have git installed, if it's not open a terminal (ctrl + alt + t in most cases) and enter the following command: sudo apt install git -y

If apt complains about updating, update and upgrade with: sudo apt update && sudo apt upgrade -y

then install git with the first command.

The firmware files needed for this can be found at https://kernel.googlesource.com/pub/scm/linux/kernel/git/firmware/linux-firmware.git

if you've already got git installed, this can be done by typing cd ~/Documents && git clone https://kernel.googlesource.com/pub/scm/linux/kernel/git/firmware/linux-firmware.git

After you've cloned the repository using the above command it's important to put the files in the right place so the program "update-initramfs" can find them and make use of them.

To do this simply enter in the terminal the following command (for ubuntu, as of 18.04)

sudo cp ~/Documents/linux-firmware/amdgpu/* /lib/firmware/amdgpu && sudo update-initramfs -k all -u -v

The above commands assumes you are updating your initramfs image and will use all kernel versions available on the system at the time.

With all this done, APT should no longer complain. :D

| improve this answer | |
  • "If apt complains about updating, update and upgrade..." if you don't want to enter dependency hell, best practice is to always precede any apt commands with at least sudo apt update. If your audience is folks unfamiliar with a terminal, I'd put it as the first step. – Nmath May 17 at 4:21
-4

Download files from this repository and place them in your computer

| improve this answer | |
  • 1
    What is the goal of this "solution"? Remove the warning? – Pilot6 Sep 28 '19 at 8:21
  • One day you'll need this file, and your system won't know it's a dummy file there. – Quora Feans Nov 4 '19 at 17:06
  • github.com/M-Bab/linux-kernel-amdgpu-binaries/issues/82 a comment on page "The code status and the binary file support does not always match. Often the code is ahead and already ready to include some firmware binary blobs that are not published yet. This was the case for Raven or Vega. I regularly grep the newest blobs from ..." and so on. A better solution is to wait for that update. But my system works great. – netwazimu Nov 6 '19 at 7:00
  • @netwazimu, I guess you don't wanna fool yourself after ages thinking that there ain't any missing firmware... And then, you'll know better to do with it – Aaron John Sabu Mar 6 at 14:58
  • If I had the time and manpower I could create the library myself and fix the missing firmware. – netwazimu Mar 9 at 6:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.