Skip to contentSkip to conversation

GPU lockup and kernel OOPS when using PRIME

Bug 89536 [email protected] 1 participant 12 messages Mar 11, 2015 – Nov 19, 2019

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=89536

Bug ID: 89536
Summary: GPU lockup and kernel OOPS when using PRIME
Product: DRI
Version: XOrg git
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: DRM/Radeon
Assignee: [email protected]
Reporter: [email protected]

Created attachment 114225
--> https://bugs.freedesktop.org/attachment.cgi?id=114225&action=edit
Two of the kernel hangs, note one is an OOPS, while the other is not, I was able to shut down the machine normally after the first OOPS as the kernel was still responsive to power button events.

When running OpenGL applications with PRIME, the screen freezes and a kernel OOPS is generated. This seems to happen either when the application starts, or the window of the application is re-drawn (moving workspaces, minimizing/maximizing) Crashes seem to be inconsistent as sometimes the kernel just freezes and no OOPS is generated.

OS Details:
Archlinux with kernel 3.19.1-1
xorg-server 1.17.1-3
xf86-video-intel 2.99.917-4
xf86-video-ati 1:7.5.0-2
libdrm 2.4.59-1

Below is an attached kernel log with _TWO_ separate kernel hang, both caused by running an OpenGL application with PRIME.

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

#2 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=89536

--- Comment #2 from Rafael Ristovski <[email protected]> --- Created attachment 114226
--> https://bugs.freedesktop.org/attachment.cgi?id=114226&action=edit
lspci output

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

#3 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=89536

--- Comment #3 from Rafael Ristovski <[email protected]> --- Created attachment 114227
--> https://bugs.freedesktop.org/attachment.cgi?id=114227&action=edit
Xorg log

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

#4 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=89536

--- Comment #4 from Rafael Ristovski <[email protected]> --- Created attachment 114228
--> https://bugs.freedesktop.org/attachment.cgi?id=114228&action=edit
dmesg, ends when login prompt appears (non-graphical)

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

#5 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=89536

--- Comment #5 from Rafael Ristovski <[email protected]> --- Created attachment 114265
--> https://bugs.freedesktop.org/attachment.cgi?id=114265&action=edit
Another crash, this time with running 4.0.0 kernel, which also gave me a trace.

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

#6 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=89536

Rafael Ristovski <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

           Priority|medium                      |high
           Severity|normal                      |critical
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

#7 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=89536

--- Comment #6 from Rafael Ristovski <[email protected]> --- Created attachment 114503
--> https://bugs.freedesktop.org/attachment.cgi?id=114503&action=edit
Same crash, this time with 3.19.2-1 kernel. Notice the mention of i915

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

#8 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=89536

--- Comment #7 from Rafael Ristovski <[email protected]> --- I just downgraded, PRIME worked flawlessly up until 3.19, I was able to test up until 3.17.6-1 since the next one after that was the latest kernel in the [testing] repo aka 3.19.2-1

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

#9 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=89536

--- Comment #8 from Michel Dänzer <[email protected]> --- (In reply to Rafael Ristovski from comment #7)

Quoted 3 lines

I just downgraded, PRIME worked flawlessly up until 3.19, I was able to test up until 3.17.6-1 since the next one after that was the latest kernel in the [testing] repo aka 3.19.2-1

Can you narrow it down further, ideally bisect?

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

#10 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=89536

--- Comment #9 from Rafael Ristovski <[email protected]> --- (In reply to Michel Dänzer from comment #8)

Quoted 6 lines

(In reply to Rafael Ristovski from comment #7)

Quoted 3 lines

I just downgraded, PRIME worked flawlessly up until 3.19, I was able to test up until 3.17.6-1 since the next one after that was the latest kernel in the [testing] repo aka 3.19.2-1

Can you narrow it down further, ideally bisect?

I guess I could try, but not in the near future as I lack free time. Will report back once done or when any progress is made.

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

#11 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=89536

Martin Peres <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |MOVED

--- Comment #10 from Martin Peres <[email protected]> --- -- 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/593.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel