[Solved] AMD Radepon pro Vega 20 (Aka vega12)

rluglio

New Member
Credits
128
I have a macbook pro with vega 20 which uses the amdgpu firmware vega12 and when i boot any distro the graphics glitch and the computer freezes. If i install amdgpu pro on ubuntu it works flawlessly.

Please, excuse me if this is not the right place for me to ask this kind of thing, and please if you can, kindly redirect me to the right place.
 


f33dm3bits

Gold Member
Gold Supporter
Credits
18,443
You shouldn't need amdgpu pro, the only you thing you need for and AMD GPU to work is that the correct firmware is present on your system which is installed through the linux-firmware package and the mesa package. Is this during liveboot while trying to install or after you have already installed the system and which distributions have you tried?
 

rluglio

New Member
Credits
128
I tried all of then... :(

the correct firmware if there...at least I think it is, the vega12 firmware. Even with the latest distress that have latest version of mesa it fails.

It happens during liveboot. The only way I can get it to work is with ubuntu 20.04 starting with nomodeset and installing the amdgpu-pro driver.

I collected some dmesg, if I install the pro driver on ubuntu it works...I have to start with nomodeset, then install the pro driver. After that it works even if I upgrade to an unsupported kernel by the pro driver.

Please, take a look at the attached dmesg outputs.
 

Attachments

Last edited:

f33dm3bits

Gold Member
Gold Supporter
Credits
18,443
Can you liveboot into your system, run the following and share the output.
Code:
lspci -nn | grep VGA
As well as find out which "kernel driver" it's using during live boot by running lscpi -v and then going to the VGA section where it says "Kernel driver in use:".
 

rluglio

New Member
Credits
128
i'm now in the ubuntu which is working...after i installed the pro driver, even after updating the kernel to 5.10 in which the dkms portions of the driver does not compile.
Is there anything i can get from here that might help to understand why it doesnt work on the opensource?

And again, thanks for all your attention!
 

f33dm3bits

Gold Member
Gold Supporter
Credits
18,443
Try booting Manjaro and/or Ubuntu with these kernel boot parameters.
Code:
1. Add to your kernel boot parameters: idle=nomwait and iommu=soft
2. Add to your kernel boot parameters: amdgpu.noretry=0"
3. Add to your kernel boot parameters: amd_iommu=on iommu=pt
First try 1, then try 2 and then try 3.
 

f33dm3bits

Gold Member
Gold Supporter
Credits
18,443
Is there anything i can get from here that might help to understand why it doesnt work on the opensource?
It's hard to say right now, if would be useful to see what driver loads before you install and load de amdgpu pro driver when booting Ubuntu.
 

f33dm3bits

Gold Member
Gold Supporter
Credits
18,443
Which boot option did you get the kernel panic with?
 

rluglio

New Member
Credits
128
will do it now, starting with manjaro live boot, ok?
Which boot option did you get the kernel panic with?
The first one, sorry for the delay, i was collecting the dmesg output for options 2 and 3, which unfortunately did not worked, i got the same freeze... and i just see that the files came with 0 bytes....should i try to get it again?
 

f33dm3bits

Gold Member
Gold Supporter
Credits
18,443
This one is from the Manjaro live boot, open source driver
What happens when you boot Manjaro with the proprietary boot option?
 
Last edited:

f33dm3bits

Gold Member
Gold Supporter
Credits
18,443
And which flavor of Manjaro are you live booting from as in which DE?
 

rluglio

New Member
Credits
128
Try booting Manjaro and/or Ubuntu with these kernel boot parameters.
Code:
1. Add to your kernel boot parameters: idle=nomwait and iommu=soft
2. Add to your kernel boot parameters: amdgpu.noretry=0"
3. Add to your kernel boot parameters: amd_iommu=on iommu=pt
First try 1, then try 2 and then try 3.
I was able to retrieve the dmesg output for the options 2 and 3. Please find them attached.
 

Attachments

$100 Digital Ocean Credit
Get a free VM to test out Linux!

Members online


Latest posts

Top