My laptop is old and have 2 GPU. Integrated Intel® HD Graphics 5500 while Dedicated is AMD R5 M300. Dedicated always shown in the system as llvmpipe for some reason. I found out amdgpu didn’t load and instead using radeon. So, I tried to do what I found there like using grub and now the drivers from AMD is missing.
I am not entirely sure, so take that with a grain of salt, but AFAIK, that card is not officially supported by amdgpu as it is very, very old (GCN 1).
Support for GCN 1.x can be enabled using the following kernel parameters: radeon.si_support=0 radeon.cik_support=0 amdgpu.si_support=1 amdgpu.cik_support=1, but AFAIK, it is still experimental and likely will not work well.
The radeon driver is the correct driver for your card.
If you want to test whether this helps your discrete card actually be used, then you can add radeon.si_support=0 radeon.cik_support=0 amdgpu.si_support=1 amdgpu.cik_support=1 to the kernel parameters at boot time.
When grub display the list of kernels to boot from, select your usual kernel and hit e to edit this line.
Move to the end of the line which contains “vmlinuz” and add those flags onto the end. There will already be some parameters listed so move your cursor to the end and type those entries in, just as they are - separated by spaces.
When you boot that kernel you’ll be able to check if they made any difference. If they help, then shout up and we can add them permanently so they are always applied to this kernel and any future kernels.
Adjusting kernel parameters is often necessary to work around issues. It requires some familiarity with linux command-line procedures: editing system files, using quotation marks, etc. If you are not familiar with command-line work you should look at Linux Command, which has a book written by an actual human and tested by many users over a period of years. There are also several translations if English is not your native language.
Temporary changes allow you to test kernel command-line options to verify that your issue is fixed. If they work, you should “customize” your configuration. In this case, you will need to edit the /etc/default/grub file to add the new entries to the line that starts with GRUB_CMDLINE_LINUX=. If your system doesn’t have any entries, the new line would be:
Note that the list of arguments needs to be inside a pair of double-quotes. After editing /etc/default/grub you need to run sudo grub2-mkconfig -o /etc/grub.cfg .
This is only a visual bug and it is not using llvmpipe.
It appears because old GPUs don’t have Vulkan drivers, and the check for the GPU is relying on Vulkan, so it shows llvmpipe instead of your GPU even if it’s used.
AMDGPU driver support for GCN 1 and 2 is coming and it will soon replace by default the old radeon driver, which doesn’t support vulkan.