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

rluglio

New Member
Joined
Apr 28, 2021
Messages
20
Reaction score
4
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.
 


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

  • manjaro-5.10.30-not-working.txt
    115.8 KB · Views: 316
  • ubuntu-5.10.12-custom-working-with-messages.txt
    127.3 KB · Views: 511
  • ubuntu-5.10.12-working-with-messages.txt
    107.9 KB · Views: 439
Last edited:
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:".
 
Sure!

Please, find attached the output for lspci -nn | grep VGA
I'll get now the lspci -v
Give me a second please.
 

Attachments

  • lspci-nn.txt
    332 bytes · Views: 345
the output for lscpi -v is attached, the driver in use is amdgpu.
 

Attachments

  • lspci-v.txt
    29 KB · Views: 416
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!
 
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.
 
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.
 
Try booting Manjaro and/or Ubuntu with these kernel boot parameters.
Code:
1. Add to your kernel boot parameters: idle=nomwait and iommu=soft - KERNEL PANIC (img attached)
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.
 

Attachments

  • A76A2080-814F-4B5B-B907-20114EE7547B.jpeg
    A76A2080-814F-4B5B-B907-20114EE7547B.jpeg
    2.3 MB · Views: 303
Which boot option did you get the kernel panic with?
 
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?
 
the output for lscpi -v is attached, the driver in use is amdgpu.
Is this before you install the amdgpu pro driver when you were booted in Ubuntu?
 
This one is from the Manjaro live boot, open source driver
What happens when you boot Manjaro with the proprietary boot option?
 
Last edited:
What happens when you boot Manjaro with the proprietary boot option?
It is the same behavior, it freezes if I’m not mistaken the proprietary is only for nvidia..
 

Attachments

  • C0AAB1B6-1D5E-4DB4-BAC7-EB63499BA038.jpeg
    C0AAB1B6-1D5E-4DB4-BAC7-EB63499BA038.jpeg
    1.3 MB · Views: 269
  • B060AC1A-3A80-4AF1-BFAA-EA643CE774AA.jpeg
    B060AC1A-3A80-4AF1-BFAA-EA643CE774AA.jpeg
    931.6 KB · Views: 257
And which flavor of Manjaro are you live booting from as in which DE?
 
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

  • amdgpu.noretry0.txt
    102.5 KB · Views: 343
  • amdiommu-iommu.txt
    102.9 KB · Views: 414

Members online


Top