New: UVD microcode fails to load on HD 8970M (Neptune XT -- PITCAIRN)
https://bugs.freedesktop.org/show_bug.cgi?id=77244
Priority: medium
Bug ID: 77244
Assignee: [email protected]
Summary: UVD microcode fails to load on HD 8970M (Neptune XT --
PITCAIRN)
Severity: normal
Classification: Unclassified
OS: All
Reporter: [email protected]
Hardware: Other
Status: NEW
Version: unspecified
Component: DRM/Radeon
Product: DRI
Created attachment 97143
--> https://bugs.freedesktop.org/attachment.cgi?id=97143&action=edit
Linux kernel log
I have a Clevo P150SM based laptop with an Intel HD 4600 iGPU and an AMD Radeon HD 8970M dGPU. I receive the following errors when the Radeon DRI/DRM implementation attempts to initialize the card:
[ 65.525470] [drm:uvd_v1_0_start] *ERROR* UVD not responding, trying to reset the VCPU!!! [ 66.537637] [drm:uvd_v1_0_start] *ERROR* UVD not responding, trying to reset the VCPU!!! [ 67.549797] [drm:uvd_v1_0_start] *ERROR* UVD not responding, trying to reset the VCPU!!! [ 68.561967] [drm:uvd_v1_0_start] *ERROR* UVD not responding, trying to reset the VCPU!!! [ 69.574142] [drm:uvd_v1_0_start] *ERROR* UVD not responding, trying to reset the VCPU!!! [ 70.586334] [drm:uvd_v1_0_start] *ERROR* UVD not responding, trying to reset the VCPU!!! [ 71.598533] [drm:uvd_v1_0_start] *ERROR* UVD not responding, trying to reset the VCPU!!! [ 72.610705] [drm:uvd_v1_0_start] *ERROR* UVD not responding, trying to reset the VCPU!!! [ 73.622877] [drm:uvd_v1_0_start] *ERROR* UVD not responding, trying to reset the VCPU!!! [ 74.635068] [drm:uvd_v1_0_start] *ERROR* UVD not responding, trying to reset the VCPU!!! [ 74.654938] [drm:uvd_v1_0_start] *ERROR* UVD not responding, giving up!!! [ 74.654955] [drm:si_startup] *ERROR* radeon: failed initializing UVD (-1).
This appears to happen on video mode changes or vtty changes, I'm not quite sure really what triggers it other than initial loading. When it does occur, the system appears to hang for a short time (15 seconds or so) while the dGPU is active, and then "comes back" after the dGPU is disabled. The Clevo P150SM has an LED showing the dGPU power state, and debugfs/vgaswitcheroo seems to corroborate this.
I'm also experiencing issues with PRIME (and e.g. xserver seg-faults when building from source to try new code), but this issue exists out of the box on Debian Sid, and seems to persist even with newer Mesa and DRM. I have a bug report for the PRIME/hybrid graphics issue as well, and it may end up that these are related: https://bugs.freedesktop.org/show_bug.cgi?id=77094
Finally, this bug looks similar to mine, though I am not messing with PRIME (at least explicitly; no xrandr --setprovider* calls and no DRI_PRIME env. var. is set): https://bugs.freedesktop.org/show_bug.cgi?id=75234
There is a downstream bug report here:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=743659
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 77244] UVD microcode fails to load on HD 8970M (Neptune XT -- PITCAIRN)
https://bugs.freedesktop.org/show_bug.cgi?id=77244
--- Comment #1 from Christian König <[email protected]> --- Are you sure you are using the right RLC firmware?
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 77244] UVD microcode fails to load on HD 8970M (Neptune XT -- PITCAIRN)
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=77244
--- Comment #2 from Nathan Schulte <[email protected]> ---
Re: RLC firmware: I'm not sure, I'm using whatever Debian packages with Sid, and I have to imagine they're doing a better job than I would, so yes?
How can I tell?
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 77244] UVD microcode fails to load on HD 8970M (Neptune XT -- PITCAIRN)
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=77244
--- Comment #3 from Christian König <[email protected]> --- What is the output of "md5sum /lib/firmware/radeon/PITCAIRN_rlc.bin"?
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 77244] UVD microcode fails to load on HD 8970M (Neptune XT -- PITCAIRN)
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=77244
--- Comment #4 from Nathan Schulte <[email protected]> --- /lib/firmware/radeon/PITCAIRN_rlc.bin has md5 hash 3d2c150b3626419131bbc9a5864c7f1d
$ md5sum /lib/firmware/radeon/PITCAIRN_* /lib/firmware/radeon/TAHITI_uvd.bin a5f07f65a9ef260c0077021ecae43dc7 /lib/firmware/radeon/PITCAIRN_ce.bin 96b18c6f7c74ad4cecb04fca967ca433 /lib/firmware/radeon/PITCAIRN_mc.bin 5e899b3ff3e128453784b8fdacb947bb /lib/firmware/radeon/PITCAIRN_me.bin 6a1f860df54aa4d462339322ba363092 /lib/firmware/radeon/PITCAIRN_pfp.bin 3d2c150b3626419131bbc9a5864c7f1d /lib/firmware/radeon/PITCAIRN_rlc.bin b4b17dd30f14ceab88446c20796767d5 /lib/firmware/radeon/PITCAIRN_smc.bin 201877fa59f2fe4d896d5e6b6c1d2e1c /lib/firmware/radeon/TAHITI_uvd.bin
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 77244] UVD microcode fails to load on HD 8970M (Neptune XT -- PITCAIRN)
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=77244
--- Comment #5 from Christian König <[email protected]> --- (In reply to comment #4)
Quoted 2 lines
/lib/firmware/radeon/PITCAIRN_rlc.binhas md5 hash3d2c150b3626419131bbc9a5864c7f1d
That's the right one, so it isn't an issue with the firmware.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 77244] UVD microcode fails to load on HD 8970M (Neptune XT -- PITCAIRN)
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=77244
--- Comment #6 from Hohahiu <[email protected]> --- (In reply to comment #0)
Quoted 44 lines
Created attachment 97143 [details]
Linux kernel logI have a Clevo P150SM based laptop with an Intel HD 4600 iGPU and an AMD Radeon HD 8970M dGPU. I receive the following errors when the Radeon DRI/DRM implementation attempts to initialize the card:
[ 65.525470] [drm:uvd_v1_0_start] *ERROR* UVD not responding, trying to reset the VCPU!!! [ 66.537637] [drm:uvd_v1_0_start] *ERROR* UVD not responding, trying to reset the VCPU!!! [ 67.549797] [drm:uvd_v1_0_start] *ERROR* UVD not responding, trying to reset the VCPU!!! [ 68.561967] [drm:uvd_v1_0_start] *ERROR* UVD not responding, trying to reset the VCPU!!! [ 69.574142] [drm:uvd_v1_0_start] *ERROR* UVD not responding, trying to reset the VCPU!!! [ 70.586334] [drm:uvd_v1_0_start] *ERROR* UVD not responding, trying to reset the VCPU!!! [ 71.598533] [drm:uvd_v1_0_start] *ERROR* UVD not responding, trying to reset the VCPU!!! [ 72.610705] [drm:uvd_v1_0_start] *ERROR* UVD not responding, trying to reset the VCPU!!! [ 73.622877] [drm:uvd_v1_0_start] *ERROR* UVD not responding, trying to reset the VCPU!!! [ 74.635068] [drm:uvd_v1_0_start] *ERROR* UVD not responding, trying to reset the VCPU!!! [ 74.654938] [drm:uvd_v1_0_start] *ERROR* UVD not responding, giving up!!! [ 74.654955] [drm:si_startup] *ERROR* radeon: failed initializing UVD (-1).This appears to happen on video mode changes or vtty changes, I'm not quite sure really what triggers it other than initial loading. When it does occur, the system appears to hang for a short time (15 seconds or so) while the dGPU is active, and then "comes back" after the dGPU is disabled. The Clevo P150SM has an LED showing the dGPU power state, and debugfs/vgaswitcheroo seems to corroborate this.
I'm also experiencing issues with PRIME (and e.g. xserver seg-faults when building from source to try new code), but this issue exists out of the box on Debian Sid, and seems to persist even with newer Mesa and DRM. I have a bug report for the PRIME/hybrid graphics issue as well, and it may end up that these are related: https://bugs.freedesktop.org/show_bug.cgi?id=77094
Quoted 3 lines
Finally, this bug looks similar to mine, though I am not messing with PRIME (at least explicitly; no xrandr --setprovider* calls and no
DRI_PRIMEenv. var. is set): https://bugs.freedesktop.org/show_bug.cgi?id=75234
It is definitely the duplicate of this bug
https://bugs.freedesktop.org/show_bug.cgi?id=75234 . These error messages appear even without using dGPU just after its initialization. And firmware is also up-to-date.
Quoted 2 lines
There is a downstream bug report here:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=743659
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 77244] UVD microcode fails to load on HD 8970M (Neptune XT -- PITCAIRN)
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=77244
--- Comment #7 from Alex Deucher <[email protected]> --- (In reply to comment #6)
Quoted 2 lines
It is definitely the duplicate of this bug
https://bugs.freedesktop.org/show_bug.cgi?id=75234 .
I'm not so sure. On bug 75234, the UVD initialization only fails after a runtime power management event, while in this case, it fails right from the start.
For this bug, does disabling runtime power management help? Try appending radeon.runpm=0 to the kernel command line in grub.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 77244] UVD microcode fails to load on HD 8970M (Neptune XT -- PITCAIRN)
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=77244
--- Comment #8 from Nathan Schulte <[email protected]> --- Booting with radeon.runpm=0 produces slightly different results. The card doesn't power down ("dGPU LED" is on now), and I still have the UVD error logging, but just once this time; switching vttys does not cause the logging again. As well, the "hang" is much reduced or completely gone when switching
vttys: switching from a "graphic" (not sure of the proper terms) vtty to any console-vtty has a very small delay, but switching to a "graphic" vtty does not.
As well, I tried render offload with radeon.runpm=0, and that still crashes X, but there is no radeon/UVD/DRM logging from the kernel like the was prior.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 77244] UVD microcode fails to load on HD 8970M (Neptune XT -- PITCAIRN)
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=77244
--- Comment #9 from Nathan Schulte <[email protected]> --- Created attachment 97157
--> https://bugs.freedesktop.org/attachment.cgi?id=97157&action=edit
Linux kernel log -- radeon.runpm=0
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 77244] UVD microcode fails to load on HD 8970M (Neptune XT -- PITCAIRN)
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=77244
--- Comment #10 from Nathan Schulte <[email protected]> --- Is there anything else I can do to help get this resolved?
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 77244] UVD microcode fails to load on HD 8970M (Neptune XT -- PITCAIRN)
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=77244
Nathan Schulte <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |WORKSFORME--- Comment #11 from Nathan Schulte <[email protected]> --- This bug seems resolved for me in 3.14.4. UVD initializes fine. PRIME is still having issues, though.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel