From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 98687] Discrete R5 M330 GPU stopped working completely Date: Fri, 11 Nov 2016 17:35:58 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1757604853==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 30D8E6E947 for ; Fri, 11 Nov 2016 17:35:58 +0000 (UTC) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1757604853== Content-Type: multipart/alternative; boundary="14788857580.aA61ad.8026"; charset="UTF-8" --14788857580.aA61ad.8026 Date: Fri, 11 Nov 2016 17:35:58 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D98687 Bug ID: 98687 Summary: Discrete R5 M330 GPU stopped working completely Product: DRI Version: DRI git Hardware: Other OS: All Status: NEW Keywords: bisected, regression Severity: normal Priority: medium Component: DRM/Radeon Assignee: dri-devel@lists.freedesktop.org Reporter: pavel.ondracka@email.cz CC: alexdeucher@gmail.com Created attachment 127916 --> https://bugs.freedesktop.org/attachment.cgi?id=3D127916&action=3Dedit dmesg After Fedora updated the kernel to 4.8 my discrete AMD GPU stopped working. Even the most simple commands like DRI_PRIME=3D1 glxinfo produce: radeon: Failed to allocate virtual address for buffer: radeon: size : 65536 bytes radeon: alignment : 4096 bytes radeon: domains : 4 radeon: va : 0x0000000000800000 radeon: Failed to deallocate virtual address for buffer: radeon: size : 65536 bytes radeon: va : 0x800000 .......... radeonsi: Failed to create a context. X Error of failed request: GLXBadContext Major opcode of failed request: 154 (GLX) Minor opcode of failed request: 6 (X_GLXIsDirect) Serial number of failed request: 44 Current serial number in output stream: 43 Dmesg from booting and attempting to run glxinfo is attached. I managed to bisect it to: b817634276f7f68c9d1d6d4a27117ff3c2f16956 is the first bad commit commit b817634276f7f68c9d1d6d4a27117ff3c2f16956 Author: Alex Deucher Date: Tue Aug 9 00:21:45 2016 -0400 Revert "drm/radeon: work around lack of upstream ACPI support for D3col= d" This reverts commit bdfb76040068d960cb9e226876be8a508d741c4a. Now that d3cold is upstream, there is no more need for this workaround. Reverting this commit from top of the current linux git fixes things for me. This might be duplicate of bug 98505, however this is with radeon driver instead of the amdgpu, so filling separately. This is Lenovo G50-80 laptop=20 discrete GPU: 04:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Sun XT [Radeon HD 8670A/8670M/8690M / R5 M330 / M430] (rev ff) integrated GPU: 00:02.0 VGA compatible controller: Intel Corporation HD Graphics 5500 (rev 09) Mesa: 12.0.3-2.fc24 Libdrm: 2.4.71-2.fc24 --=20 You are receiving this mail because: You are the assignee for the bug.= --14788857580.aA61ad.8026 Date: Fri, 11 Nov 2016 17:35:58 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated
Bug ID 98687
Summary Discrete R5 M330 GPU stopped working completely
Product DRI
Version DRI git
Hardware Other
OS All
Status NEW
Keywords bisected, regression
Severity normal
Priority medium
Component DRM/Radeon
Assignee dri-devel@lists.freedesktop.org
Reporter pavel.ondracka@email.cz
CC alexdeucher@gmail.com

Created attachment 127916 [details]<=
/span>
dmesg

After Fedora updated the kernel to 4.8 my discrete AMD GPU stopped working.
Even the most simple commands like DRI_PRIME=3D1 glxinfo produce:
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 65536 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 4
radeon:    va        : 0x0000000000800000
radeon: Failed to deallocate virtual address for buffer:
radeon:    size      : 65536 bytes
radeon:    va        : 0x800000
..........
radeonsi: Failed to create a context.
X Error of failed request:  GLXBadContext
  Major opcode of failed request:  154 (GLX)
  Minor opcode of failed request:  6 (X_GLXIsDirect)
  Serial number of failed request:  44
  Current serial number in output stream:  43

Dmesg from booting and attempting to run glxinfo is attached.

I managed to bisect it to:
b817634276f7f68c9d1d6d4a27117ff3c2f16956 is the first bad commit
commit b817634276f7f68c9d1d6d4a27117ff3c2f16956
Author: Alex Deucher <a=
lexander.deucher@amd.com>
Date:   Tue Aug 9 00:21:45 2016 -0400

    Revert "drm/radeon: work around lack of upstream ACPI support for =
D3cold"

    This reverts commit bdfb76040068d960cb9e226876be8a508d741c4a.

    Now that d3cold is upstream, there is no more need for this workaround.

Reverting this commit from top of the current linux git fixes things for me.
This might be duplicate of bug 98505, however this is with rad=
eon driver
instead of the amdgpu, so filling separately.

This is Lenovo G50-80 laptop=20
discrete GPU: 04:00.0 Display controller: Advanced Micro Devices, Inc.
[AMD/ATI] Sun XT [Radeon HD 8670A/8670M/8690M / R5 M330 / M430] (rev ff)
integrated GPU: 00:02.0 VGA compatible controller: Intel Corporation HD
Graphics 5500 (rev 09)
Mesa: 12.0.3-2.fc24
Libdrm: 2.4.71-2.fc24


You are receiving this mail because:
  • You are the assignee for the bug.
= --14788857580.aA61ad.8026-- --===============1757604853== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1757604853==--