Radeon GPU not working (Can't access Vram?)

My Setup

[master-andreas@master-pc ~]$ inxi -G
Graphics:  Device-1: Intel HD Graphics 520 driver: i915 v: kernel 
           Device-2: AMD Sun XT [Radeon HD 8670A/8670M/8690M / R5 M330 / M430 / Radeon 520 Mobile] driver: radeon v: kernel 
           Display: x11 server: X.Org 1.20.10 driver: loaded: ati,intel,radeon unloaded: modesetting resolution: 1366x768~60Hz 
           OpenGL: renderer: Mesa Intel HD Graphics 520 (SKL GT2) v: 4.6 Mesa 20.3.4 
[master-andreas@master-pc ~]$ uname -a
Linux master-pc 5.10.15-1-MANJARO #1 SMP PREEMPT Wed Feb 10 10:42:47 UTC 2021 x86_64 GNU/Linux
[master-andreas@master-pc ~]$ mhwd --listinstalled
> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
           video-linux            2018.05.04                true            PCI


Warning: No installed USB configs!

I have 2 gpus on my laptops as shown which i will refer to as intelhd and radeon from now on. I do not have the ability to disable the intelhd (from the BIOS).
I have tested my readon on my windows10 partion with gpu stress test programs like fur mark and it exhibits correct bevaiour.
My intelhd is working with no problems, while my radeon expiriences multiples bugs


Issue

When i tried running 3d programs (games) on my radeon i expirienced the following issues (depends on program)

  • Total kernel Panick (Caps/Num Lock do not even respond)
  • Program Launched but flickers and is very unrepsonive
  • Xorg becomes really unrepsonive (can take up to over 60 sec to change the screen), other ttys work fine

one intresting obervetion that i have made, from radeontop
image
(this screenshot is taken with no program using the radeon DRI_PRIME=0)
here we can see that it does not register Mem CLK and shader clock is constant .

another thing (which i can not show with a screenshot) is that when a program is using radeon (DRI_PRIME=1) VRAM usage remains at 4M/2048M while GTT increases instead

update/edit:
image
DRI_PRIME=1 glxgears appears to work fine, but gtt usage looks ubnormal to me


this issue has be prevelant for over 1 year at this point
i can provide any logs or perform any actions requested, i am very comfortable with CLI, but i do not know much regarding GPU architecture

Thanks! :slight_smile: