Skip to contentSkip to conversation

New: [NVE4] Random GPU lockups

Bug 95031 [email protected] 1 participant 11 messages Apr 20, 2016 – May 26, 2016 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

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

Bug ID: 95031
Summary: [NVE4] Random GPU lockups
Product: xorg
Version: unspecified
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: Driver/nouveau
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]

Created attachment 123085
--> https://bugs.freedesktop.org/attachment.cgi?id=123085&action=edit
nouveau bugs

Having random lockups on a GTX 660 Ti (NVE4), since kernel 4.1 I guess, using DRI2.

[    0.267666] nouveau 0000:02:00.0: NVIDIA GK104 (0e4030a2)
[    0.378583] nouveau 0000:02:00.0: bios: version 80.04.4b.00.1a
[    0.379302] nouveau 0000:02:00.0: fb: 2048 MiB GDDR5

Now on gentoo ~amd64 using:

sys-kernel/gentoo-sources-4.5.1
x11-base/xorg-server-1.18.3
x11-drivers/xf86-video-nouveau-1.0.12

Also tried Karol Herbst reclocking branch v4
(https://github.com/karolherbst/nouveau/tree/stable_reclocking_kepler_v4),
reclocked to pstate 07 and tried all 3 boost states. All hang sooner or later.

Will continue testing other pstates and boost configurations.

Sometimes the kernel log becomes corrupted, but I managed to get a working log (attached).

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

#2 lore raw

[Bug 95031] [NVE4] Random GPU lockups

In reply to a message not in the archive

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

--- Comment #1 from Lucas Ribeiro <[email protected]> --- Forgot to add: did not try earlier kernels, so this behaviour might exist since the card was supported. On Windows it works well.

It hangs on normal browsing or opening a video on VLC.

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

#3 lore raw

[Bug 95031] [NVE4] 660 Ti Random GPU lockups

In reply to a message not in the archive

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

Lucas Ribeiro <[email protected]> changed:

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

            Summary|[NVE4] Random GPU lockups   |[NVE4] 660 Ti Random GPU
                   |                            |lockups
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 95031] [NVE4] 660 Ti Random GPU lockups

In reply to a message not in the archive

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

--- Comment #2 from Lucas Ribeiro <[email protected]> --- Different kernel log with some nouveau info.

So far tried pstate 07 with boost 0, 1 and 2.

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 95031] [NVE4] 660 Ti Random GPU lockups

In reply to a message not in the archive

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

--- Comment #3 from Lucas Ribeiro <[email protected]> --- Created attachment 123098
--> https://bugs.freedesktop.org/attachment.cgi?id=123098&action=edit
another log with different 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

#6 lore raw

[Bug 95031] [NVE4] 660 Ti Random GPU lockups

In reply to a message not in the archive

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

--- Comment #4 from Lucas Ribeiro <[email protected]> --- OK, some interesting findings.

07 pstate on Linux has:
core 324 MHz memory 648 MHz AC DC
GPU core: +0.99 V
Increasing GPU core voltage to 1.09V has wielded a stable system so far.

On Windows, the idle state has (checked with gpu-z):
core 324 MHz memory 162MHz
GPU core voltage: 0.99V
It has never managed to hang.

So maybe 07 pstate on Linux has a memory clock too high for its voltage. Also, as it is the lowest pstate, maybe memory clock could be reduced further to 162MHz (as in Windows).

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 95031] [NVE4] 660 Ti Random GPU lockups

In reply to a message not in the archive

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

--- Comment #5 from Lucas Ribeiro <[email protected]> --- Created attachment 123105
--> https://bugs.freedesktop.org/attachment.cgi?id=123105&action=edit
vbios

Yea, finally managed to hang the system at 07 pstate with 1.09V (+0.1V), with a corrupted kernel log as well. I dunno what else to do. I'm attaching the vbios.

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 95031] [NVE4] 660 Ti Random GPU lockups

In reply to a message not in the archive

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

--- Comment #6 from Lucas Ribeiro <[email protected]> --- Created attachment 123106
--> https://bugs.freedesktop.org/attachment.cgi?id=123106&action=edit
kernel log 3

This time running pstate 0f with +0.1V, total 1.15V. Hangs, corrupts kernel log and then starts flooding it with a different error.

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 95031] [NVE4] 660 Ti Random GPU lockups

In reply to a message not in the archive

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

--- Comment #7 from Karol Herbst <[email protected]> --- (In reply to Lucas Ribeiro from comment #4)

Quoted 4 lines

So maybe 07 pstate on Linux has a memory clock too high for its voltage. Also, as it is the lowest pstate, maybe memory clock could be reduced further to 162MHz (as in Windows).

And maybe not. There are other issues which aren't exactly voltage related. If such a high votlage won't help, then it is usually something else, we just have to figure out what it is.

Also regarding the lower clocks: yeah I know that sometimes nvidia clocks further down, but there is no real value in doing so if there is no voltage information for those low clocks and it doesn't make any difference regarding power consumption as far as I know.

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 95031] [NVE4] 660 Ti Random GPU lockups

In reply to a message not in the archive

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

--- Comment #8 from Lucas Ribeiro <[email protected]> --- (In reply to Karol Herbst from comment #7)

Quoted 6 lines

(In reply to Lucas Ribeiro from comment #4)

Quoted 4 lines

So maybe 07 pstate on Linux has a memory clock too high for its voltage. Also, as it is the lowest pstate, maybe memory clock could be reduced further to 162MHz (as in Windows).

Quoted 8 lines

And maybe not. There are other issues which aren't exactly voltage related. If such a high votlage won't help, then it is usually something else, we just have to figure out what it is.

Also regarding the lower clocks: yeah I know that sometimes nvidia clocks further down, but there is no real value in doing so if there is no voltage information for those low clocks and it doesn't make any difference regarding power consumption as far as I know.

Thanks for clearing that up.

I'm out of ideas, should I capture a mmiotrace?

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 95031] [NVE4] 660 Ti Random GPU lockups

In reply to a message not in the archive

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

Lucas Ribeiro <[email protected]> changed:

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

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

--- Comment #9 from Lucas Ribeiro <[email protected]> --- Running kernel 4.6 has improved the driver. I don't know what changed, but I have yet to see lockups on this card. No out of tree patches applied.

Will post again if I experience a freeze.

Thanks!

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