Skip to contentSkip to conversation

New: nouveau causes lockup and reboot on GT215

Bug 79518 [email protected] 1 participant 12 messages Jun 2, 2014 – Dec 4, 2019 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

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

Priority: medium
Bug ID: 79518
Assignee: [email protected]
Summary: nouveau causes lockup and reboot on GT215
QA Contact: [email protected]
Severity: normal
Classification: Unclassified
OS: Linux (All)
Reporter: [email protected]
Hardware: x86-64 (AMD64)
Status: NEW
Version: 7.7 (2011)
Component: Driver/nouveau
Product: xorg

Created attachment 100258
--> https://bugs.freedesktop.org/attachment.cgi?id=100258&action=edit
kernel log via a serial console

On my system, with nvidia GT215/240, nouveau causes random crashes on the order of 1 hour. Typically, there's a lockup followed by a reboot a few seconds later. With the proprietary driver, the system is stable. The crash happens on both old and new kernels, up to 3.15-rc.

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

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

A message that is not in the archive (sent off-list or not yet received): bug-79518-8800-V0hAGp6uBxMKqLRl/[email protected]/

#2 lore raw

[Bug 79518] nouveau causes lockup and reboot on GT215

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

--- Comment #1 from Adam Borowski <[email protected]> --- Created attachment 100259
--> https://bugs.freedesktop.org/attachment.cgi?id=100259&action=edit
another log, with DRM=debug

TJK on IRC suggested to boot with: nouveau.debug=DRM=debug drm.debug=0xe Here's a log with these settings. This time, there was no delay between the lockup and reboot. The log contains some stack traces, but they apparently come from the serial console being unable to cope with big bursts of debug info, and thus are unrelated to the problem at hand.

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

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#3 lore raw

[Bug 79518] nouveau causes lockup and reboot on GT215

In reply to a message not in the archive

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

--- Comment #2 from Adam Borowski <[email protected]> --- Created attachment 122750
--> https://bugs.freedesktop.org/attachment.cgi?id=122750&action=edit
syslog with kernel 4.6-rc2

With kernel 4.6-rc2, there's some new output, including a stack trace. The frequency of crashes seems to be lower, before it crashed reliably after no longer than an hour, here's the first and so far only crash after ~2 days of trying nouveau instead of proprietary.

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

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#4 lore raw

[Bug 79518] nouveau causes lockup and reboot on GT215

In reply to a message not in the archive

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

--- Comment #3 from Adam Borowski <[email protected]> --- Created attachment 122773
--> https://bugs.freedesktop.org/attachment.cgi?id=122773&action=edit
a non-tainted dump (serial console)

Found a way to trigger it: while on 4.6-rc2 nothing during normal work or GL stuff causes the crash anymore, something Chromium does always causes a crash nearly instantly. So here's a non-tainted serial console dump.

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

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#5 lore raw

[Bug 79518] nouveau causes lockup and reboot on GT215

In reply to a message not in the archive

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

--- Comment #4 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- Was there anything before the tlb flush timeout error? Unfortunately I have no clue why those timeouts happen... basically it's an indication that the GPU is "done". You could disable GL stuff for chromium, either launching it with LIBGL_ALWAYS_SOFTWARE=1 or by disabling stuff in about:flags.

Perhaps the memory comes up in a (slightly) funny state? You could try reclocking it and see if that improves matters, have a look in /sys/kernel/debug/dri/0/pstate for the available perf levels, you can echo those values in to change states.

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

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#6 lore raw

[Bug 79518] nouveau causes lockup and reboot on GT215

In reply to a message not in the archive

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

--- Comment #5 from Adam Borowski <[email protected]> --- Created attachment 122779
--> https://bugs.freedesktop.org/attachment.cgi?id=122779&action=edit
including boot with nouveau.debug=DRM=debug drm.debug=0xe

Quoted 1 line

Was there anything before the tlb flush timeout error?

Nothing since boot. I don't know what messages are interesting to you, so here's a dump since boot, this time with nouveau.debug=DRM=debug drm.debug=0xe

Quoted 1 line

Unfortunately I have no clue why those timeouts happen... basically it's an indication that the GPU is "done".

I believe my hardware itself is ok, at least as in "never had any issue with the proprietary driver". Those bastards dropped support for GT215 though...

Quoted 1 line

You could disable GL stuff for chromium, either launching it with LIBGL_ALWAYS_SOFTWARE=1 or by disabling stuff in about:flags.

I don't care about chromium, I got a better browser :p But whatever GL calls it does can be invoked by some other program later...

Quoted 1 line

Perhaps the memory comes up in a (slightly) funny state? You could try reclocking it and see if that improves matters, have a look in /sys/kernel/debug/dri/0/pstate for the available perf levels, you can echo those values in to change states.

What values would you suggest? I'm afraid I did not find documentation that's idiot-proof -- and I sadly got exactly 0 clue about this kind of stuff so I require some handholding to give you useful debug info.

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

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#7 lore raw

[Bug 79518] nouveau causes lockup and reboot on GT215

In reply to a message not in the archive

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

--- Comment #6 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- (In reply to Adam Borowski from comment #5)

Quoted 4 lines
Quoted 1 line

Unfortunately I have no clue why those timeouts happen... basically it's an indication that the GPU is "done".

I believe my hardware itself is ok, at least as in "never had any issue with the proprietary driver". Those bastards dropped support for GT215 though...

Yeah, I'm sure your HW is fine. But it just stops responding (reasonably) to nouveau when this happens, and we don't know what to do about it. Perhaps this is "normal" and the blob drivers know how to kick it in that case. Or perhaps we're doing something wrong to push the hw over the brink of sanity.

Quoted 5 lines
Quoted 1 line

Perhaps the memory comes up in a (slightly) funny state? You could try reclocking it and see if that improves matters, have a look in /sys/kernel/debug/dri/0/pstate for the available perf levels, you can echo those values in to change states.

What values would you suggest? I'm afraid I did not find documentation that's idiot-proof -- and I sadly got exactly 0 clue about this kind of stuff so I require some handholding to give you useful debug info.

cat /sys/kernel/debug/dri/0/pstate

I can provide more instructions when you give me the output of that.

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

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#8 lore raw

[Bug 79518] nouveau causes lockup and reboot on GT215

In reply to a message not in the archive

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

--- Comment #7 from Adam Borowski <[email protected]> --- 03: core 135 MHz shader 270 MHz memory 135 MHz
07: core 405 MHz shader 810 MHz memory 324 MHz
0f: core 600 MHz shader 1460 MHz memory 800 MHz
AC: core 405 MHz shader 810 MHz memory 324 MHz

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

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#9 lore raw

[Bug 79518] nouveau causes lockup and reboot on GT215

In reply to a message not in the archive

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

--- Comment #8 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- (In reply to Adam Borowski from comment #7)

Quoted 4 lines

03: core 135 MHz shader 270 MHz memory 135 MHz 07: core 405 MHz shader 810 MHz memory 324 MHz 0f: core 600 MHz shader 1460 MHz memory 800 MHz
AC: core 405 MHz shader 810 MHz memory 324 MHz

try

echo 07 > /sys/kernel/debug/dri/0/pstate

This should try to normalize the parameters while keeping the same perf level. You can also try 03 and 0f (for low and high pstates).

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

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#10 lore raw

[Bug 79518] nouveau causes lockup and reboot on GT215

In reply to a message not in the archive

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

--- Comment #9 from Adam Borowski <[email protected]> --- Created attachment 122781
--> https://bugs.freedesktop.org/attachment.cgi?id=122781&action=edit
log with 07 pstate

With the 07 pstate, the lockup was different: chromium worked for a longish time (instead of causing a crash almost immediately). When finally the lockup happened, the machine remained operative (sans display) -- but this might be randomness inherent in such failures.

I'll try 03.

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

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#11 lore raw

[Bug 79518] nouveau causes lockup and reboot on GT215

In reply to a message not in the archive

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

--- Comment #10 from Adam Borowski <[email protected]> --- Nah, it looks like it was random luck: with 03 pstate it crashed immediately, without even a single message on the serial console.

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

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#12 lore raw

[Bug 79518] nouveau causes lockup and reboot on GT215

In reply to a message not in the archive

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

Martin Peres <[email protected]> changed:

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

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

--- Comment #11 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/xorg/driver/xf86-video-nouveau/issues/110.

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

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau