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
Please attach the /var/log/Xorg.0.log file and the output of dmesg, preferably captured after the problem occurred.
Created attachment 116476 [details] Xorg.0.log
Nothing has been logged into /var/log/dmesg. Do you need "dmesg | grep -i 'something'"?
(In reply to Artivision from comment #3) > Nothing has been logged into /var/log/dmesg. How about /var/log/kern.log*? > Do you need "dmesg | grep -i 'something'"? Just the unfiltered output of dmesg, if the above doesn't help. Might be worth capturing that once already before reproducing the problem, in case doing so fills up the kernel message ring buffer.
Created attachment 116518 [details] kernel.log
Created attachment 116519 [details] gpu-manager.log
I hope those help. If not i need further instructions.
Officially the Dgpu works fine at power_level_2 at 400mhz, if i force "battery" level. There is no way to test power_level_3. Finally, before or after the game is start, if i force "performance", terminal shows power_level_4 and 850mhz for only two seconds and everything hangs.
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/619.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.