Skip to contentSkip to conversation

Shader crashes radeon driver and brings the whole system down

Bug 97643 [email protected] 1 participant 9 messages Sep 9, 2016 – Nov 4, 2016 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

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

Michel Dänzer <[email protected]> changed:

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

          Component|Mesa core                   |Drivers/Gallium/radeonsi
         QA Contact|[email protected]. |[email protected]
                   |org                         |.org
           Assignee|[email protected]. |[email protected]
                   |org                         |.org
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

#2 lore raw
In reply to a message not in the archive

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

--- Comment #5 from smoki <[email protected]> ---

You can try both mesa and llvm from git, as that is what Iaroslav probably
using.

12.0.1 mesa and llvm 3.8-rc2 does not sound current, even for stable mesa/llvm
branches.

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

#3 lore raw
In reply to a message not in the archive

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

--- Comment #6 from Nicolai Hähnle <[email protected]> --- Cris, do please try with more recent Mesa + LLVM as well.

If that still crashes, can you provide a backtrace of where mpv crashes? dmesg output from the crash could also give some context.

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

#4 lore raw
In reply to a message not in the archive

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

Cris <[email protected]> changed:

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

         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #7 from Cris <[email protected]> --- (In reply to Nicolai Hähnle from comment #6)

Quoted 4 lines

Cris, do please try with more recent Mesa + LLVM as well.

If that still crashes, can you provide a backtrace of where mpv crashes? dmesg output from the crash could also give some context.

I did, I upgraded to llvm-3.9.0 and mesa-git, and the issue went away. Most conservative distros might have a hard time though.

Thanks anyway.

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

#5 lore raw
In reply to a message not in the archive

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

--- Comment #8 from almos <[email protected]> --- (In reply to Cris from comment #7)

Quoted 10 lines

(In reply to Nicolai Hähnle from comment #6)

Quoted 4 lines

Cris, do please try with more recent Mesa + LLVM as well.

If that still crashes, can you provide a backtrace of where mpv crashes? dmesg output from the crash could also give some context.

I did, I upgraded to llvm-3.9.0 and mesa-git, and the issue went away. Most conservative distros might have a hard time though.

Thanks anyway.

Doesn't that mean that a userspace code can crash the kernel, but the most recent version of that code doesn't do it? Ideally, the kernel should be more resilient than that IMHO.

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

#6 lore raw
In reply to a message not in the archive

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

Cris <[email protected]> changed:

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

         Resolution|FIXED                       |---
             Status|RESOLVED                    |REOPENED

--- Comment #9 from Cris <[email protected]> --- (In reply to almos from comment #8)

Quoted 7 lines

(In reply to Cris from comment #7)

Quoted 6 lines

(In reply to Nicolai Hähnle from comment #6)

Quoted 4 lines

Cris, do please try with more recent Mesa + LLVM as well.

If that still crashes, can you provide a backtrace of where mpv crashes? dmesg output from the crash could also give some context.

Quoted 8 lines
Quoted 4 lines

I did, I upgraded to llvm-3.9.0 and mesa-git, and the issue went away. Most conservative distros might have a hard time though.

Thanks anyway.

Doesn't that mean that a userspace code can crash the kernel, but the most recent version of that code doesn't do it? Ideally, the kernel should be more resilient than that IMHO.

It's crashing now and I'm using -git (llvm, mesa, radeon). When it doesn't, it's unbearably slow. It definitely shouldn't happen.

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

#7 lore raw
In reply to a message not in the archive

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

Cris <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Version|12.0 |git

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

#8 lore raw
In reply to a message not in the archive

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

--- Comment #10 from Cris <[email protected]> ---
Can confirm this is no longer happening and the performance is BEARABLE. I still get dropped frames here and there though, which definitely shouldn't be happening.

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

#9 lore raw
In reply to a message not in the archive

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

Cris <[email protected]> changed:

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

         Resolution|---                         |FIXED
             Status|REOPENED                    |RESOLVED

--- Comment #11 from Cris <[email protected]> ---
No longer an issue. Recompiled llvm-git and mesa-git and everything works fine with no frame drops, including lower resolution videos (which were grinding everything to a halt).

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