https://bugs.freedesktop.org/show_bug.cgi?id=90926
Bug ID: 90926 Summary: Unusable GPU Product: DRI Version: XOrg git Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: blocker Priority: medium Component: DRM/Radeon Assignee: dri-devel@lists.freedesktop.org Reporter: artivision3@gmail.com
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
https://bugs.freedesktop.org/show_bug.cgi?id=90926
Artivision artivision3@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Priority|medium |high
https://bugs.freedesktop.org/show_bug.cgi?id=90926
--- Comment #1 from Michel Dänzer michel@daenzer.net --- Please attach the /var/log/Xorg.0.log file and the output of dmesg, preferably captured after the problem occurred.
https://bugs.freedesktop.org/show_bug.cgi?id=90926
--- Comment #2 from Artivision artivision3@gmail.com --- Created attachment 116476 --> https://bugs.freedesktop.org/attachment.cgi?id=116476&action=edit Xorg.0.log
https://bugs.freedesktop.org/show_bug.cgi?id=90926
--- Comment #3 from Artivision artivision3@gmail.com --- Nothing has been logged into /var/log/dmesg. Do you need "dmesg | grep -i 'something'"?
https://bugs.freedesktop.org/show_bug.cgi?id=90926
--- Comment #4 from Michel Dänzer michel@daenzer.net --- (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.
https://bugs.freedesktop.org/show_bug.cgi?id=90926
--- Comment #5 from Artivision artivision3@gmail.com --- Created attachment 116518 --> https://bugs.freedesktop.org/attachment.cgi?id=116518&action=edit kernel.log
https://bugs.freedesktop.org/show_bug.cgi?id=90926
--- Comment #6 from Artivision artivision3@gmail.com --- Created attachment 116519 --> https://bugs.freedesktop.org/attachment.cgi?id=116519&action=edit gpu-manager.log
https://bugs.freedesktop.org/show_bug.cgi?id=90926
--- Comment #7 from Artivision artivision3@gmail.com --- I hope those help. If not i need further instructions.
https://bugs.freedesktop.org/show_bug.cgi?id=90926
--- Comment #8 from Artivision artivision3@gmail.com --- 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.
https://bugs.freedesktop.org/show_bug.cgi?id=90926
Martin Peres martin.peres@free.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |MOVED
--- Comment #9 from Martin Peres martin.peres@free.fr --- -- 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.
dri-devel@lists.freedesktop.org