Unusable GPU
Submitted by Artivision
Assigned to Default DRI bug account
Description
Laptop with A6-6310 CPU and R5-M230 dedicated GPU. When using DRI_PRIME=1 the DGPU hangs in "power level 4" at 850mhz. It doesn't hang in "power level 0" at 300mhz. Disable DPM doesn't solve the problem. Disable Dynamic_Frequency_Scaling and start at 850mhz doesn't solve the problem. Kernel version, DRI version, Mesa version "Oibaf PPA or not", composition level (GL, XRender, or not), Apps 32-64bit, they don't make a difference. Everything hangs and so i cannot take terminal output from the almost all Apps. Wine hangs alone, but the terminal doesn't show any errors and then i have to close the terminal to kill Wine window. PCSX2 shows:
radeon: size : 128 bytes
radeon: alignment : 4096 bytes
radeon: domains : 4
radeon: va : 0x000000000553a000
radeon: Failed to allocate virtual address for buffer:
radeon: size : 128 bytes
radeon: alignment : 4096 bytes
radeon: domains : 4
radeon: va : 0x000000000553a000
radeon: Failed to allocate virtual address for buffer:
radeon: size : 128 bytes
radeon: alignment : 4096 bytes
radeon: domains : 4
radeon: va : 0x000000000553a000
radeon: Failed to allocate virtual address for buffer:
radeon: size : 128 bytes
radeon: alignment : 4096 bytes
radeon: domains : 4
radeon: va : 0x000000000553a000
Configuration:
$ sudo cat /var/log/Xorg.0.log | grep -i dri3
[ 20.305] () RADEON(0): Option "DRI3" "on"
[ 23.069] () RADEON(G0): Option "DRI3" "on"
[ 23.076] () RADEON(G0): DRI3 enabled
[ 23.210] () RADEON(0): DRI3 enabled
$ xrandr --listproviders
Providers: number : 3
Provider 0: id: 0x74 cap: 0x9, Source Output, Sink Offload crtcs: 2 outputs: 3 associated providers: 2 name:radeon
Provider 1: id: 0x3f cap: 0x6, Sink Output, Source Offload crtcs: 0 outputs: 0 associated providers: 2 name:radeon
Provider 2: id: 0x3f cap: 0x6, Sink Output, Source Offload crtcs: 0 outputs: 0 associated providers: 2 name:radeon
$ DRI_PRIME=1 glxinfo | grep "OpenGL renderer"
OpenGL renderer string: Gallium 0.4 on AMD HAINAN