You are not logged in.

#1 2022-04-06 18:06:36

mamograg17
Member
From: Kingdom of Morocco
Registered: 2022-02-08
Posts: 40

DRI_PRIME causes a system freeze for amd radeon R5 M330 card

i have dual graphics card, one intel and the other one is Amd Radeon R5 M330, when i launch any application like OBS-STUDIO with DRI_PRIME=1 ,my system freezes for a while and it returns to be somehow normal for 4 seconds, but again it freezes,
when i watched my gpu's frequency before running the command, it's 300MHz but after i ran the command DRI_PRIME=1 obs 
i found that it changed to 1030MHz and it's more than my GPU's one, according to amd, my card's max frequency is 300MHz,

this is the lspci -k output:

01:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Sun XT [Radeon HD 8670A/8670M/8690M / R5 M330 / M430 / Radeon 520 Mobile] (rev 83)
        DeviceName: AMD Radeon R5 M430
        Subsystem: Hewlett-Packard Company Device 833d
        Kernel driver in use: amdgpu
        Kernel modules: radeon, amdgpu
 

this is uname -r

5.17.1-zen1-1-zen

and this is my  xrandr --listproviders output:

╰─ sudo xrandr --listproviders                                                                                                                                             ─╯
Providers: number : 2
Provider 0: id: 0x43 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 3 outputs: 2 associated providers: 1 name:modesetting
Provider 1: id: 0xbb cap: 0xd, Source Output, Source Offload, Sink Offload crtcs: 0 outputs: 0 associated providers: 1 name:AMD Radeon R5 M330 @ pci:0000:01:00.0
 

and this is my  /etc/modeprob.d/amdgpu.conf 
 

options amdgpu si_support=1
options amdgpu cik_support=1
 

and this is my  /etc/modeprob.d/radeon.conf 
 

options radeon si_support=0
options radeon cik_support=0
 

So when I checked the journal, i found this error:

drm: amd job timedout [amdgpu] ] ERROR* ring gfx timeout, signaled seq-66, emitted seq=68

drm: amd job_timedout [amdgpu]] *ERROR* Process information: process obs pid 14188 thread obs; cso

Last edited by mamograg17 (2022-04-06 19:52:45)

Offline

Board footer

Powered by FluxBB