Skip to contentSkip to conversation

New: NVE6 (GK106) memory re-clocking breaks GpuTest plot3d benchmark

Bug 111724 [email protected] 1 participant 14 messages Sep 17, 2019 – Dec 4, 2019 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

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

Bug ID: 111724
Summary: NVE6 (GK106) memory re-clocking breaks GpuTest plot3d
benchmark
Product: xorg
Version: unspecified
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: not set
Component: Driver/nouveau
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]

I have stepped upon a problem with NVE6 (GK106) in GpuTest
https://www.geeks3d.com/gputest/ plot3d benchmark that occurs only in plot3d and nowhere else. There are visible glitches and when left for a longer time Nouveau seems to crash.

The GPU has 4 profiles:
07: core 324 MHz memory 648 MHz
0a: core 324-862 MHz memory 1620 MHz
0d: core 549-1228 MHz memory 6008 MHz
0f: core 549-1228 MHz memory 6008 MHz

The problem occurs when switching re-clocking profile directly from 648 MHz to 6008 MHz skipping the 0xA 1620 MHz profile. If gone through 0xA profile everything works fine.

If the memory re-clocking is disabled, it works fine. If there is 0xF profile set directly (breaking the benchmark) with memory re-clocking enabled, then the nouveau gets unloaded, and nouveau gets loaded back with memory re-clocking disabled, when changing re-clocking profiles it still glitches. Which implies something that breaks this is only touched when the memory re-clocking is enabled.

I have gone through all nouveau pmu scripts traces, checked every difference (of the scripts) with Nvidia driver and nothing seemed to affect this problem that has different values than Nvidia. Actual code which was changing the values for 0xf profile to be same as Nvidia is here:
https://github.com/mmenzyns/nouveau/tree/linux-5.2_gk106_memory_issues. The scripts for the highest-profile should be almost identical between Nvidia and Nouveau.

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

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

#2 lore raw

[Bug 111724] NVE6 (GK106) memory re-clocking breaks GpuTest plot3d benchmark

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

--- Comment #1 from Mark Menzynski <[email protected]> --- Created attachment 145395
--> https://bugs.freedesktop.org/attachment.cgi?id=145395&action=edit
mmiotrace log when changing directly from 0x7 to 0xf

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 111724] NVE6 (GK106) memory re-clocking breaks GpuTest plot3d benchmark

In reply to a message not in the archive

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

--- Comment #2 from Mark Menzynski <[email protected]> --- Created attachment 145396
--> https://bugs.freedesktop.org/attachment.cgi?id=145396&action=edit
pmu log from dmesg when changing directly from 0x7 to 0xf

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 111724] NVE6 (GK106) memory re-clocking breaks GpuTest plot3d benchmark

In reply to a message not in the archive

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

--- Comment #3 from Mark Menzynski <[email protected]> --- Created attachment 145397
--> https://bugs.freedesktop.org/attachment.cgi?id=145397&action=edit
pmu log from dmesg with noveau code modified so the values are same as with nvidia driver

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 111724] NVE6 (GK106) memory re-clocking breaks GpuTest plot3d benchmark

In reply to a message not in the archive

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

--- Comment #4 from Mark Menzynski <[email protected]> --- Created attachment 145398
--> https://bugs.freedesktop.org/attachment.cgi?id=145398&action=edit
mmiotrace log when changing from 0x7 to 0xa and then to 0xf, benchmark works in this case

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 111724] NVE6 (GK106) memory re-clocking breaks GpuTest plot3d benchmark

In reply to a message not in the archive

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

--- Comment #5 from Mark Menzynski <[email protected]> --- Created attachment 145399
--> https://bugs.freedesktop.org/attachment.cgi?id=145399&action=edit
pmu log from dmesg when changin from 0x7 to 0xa and then to 0xf, benchmark working

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 111724] NVE6 (GK106) memory re-clocking breaks GpuTest plot3d benchmark

In reply to a message not in the archive

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

--- Comment #6 from Mark Menzynski <[email protected]> --- Created attachment 145400
--> https://bugs.freedesktop.org/attachment.cgi?id=145400&action=edit
mmiotrace log from nvidia driver

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 111724] NVE6 (GK106) memory re-clocking breaks GpuTest plot3d benchmark

In reply to a message not in the archive

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

--- Comment #7 from Mark Menzynski <[email protected]> --- Created attachment 145401
--> https://bugs.freedesktop.org/attachment.cgi?id=145401&action=edit
strap_peek

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 111724] NVE6 (GK106) memory re-clocking breaks GpuTest plot3d benchmark

In reply to a message not in the archive

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

--- Comment #8 from Mark Menzynski <[email protected]> --- Created attachment 145402
--> https://bugs.freedesktop.org/attachment.cgi?id=145402&action=edit
vbios.rom

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 111724] NVE6 (GK106) memory re-clocking breaks GpuTest plot3d benchmark

In reply to a message not in the archive

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

--- Comment #9 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- Mark - try using blob ctxsw firmware. Perhaps ours misses something. There are some GK106's which just die immediately with out firmware... (See VideoAcceleration wiki page for how to extract firmware from blob drivers.)

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 111724] NVE6 (GK106) memory re-clocking breaks GpuTest plot3d benchmark

In reply to a message not in the archive

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

--- Comment #10 from Mark Menzynski <[email protected]> --- Created attachment 145403
--> https://bugs.freedesktop.org/attachment.cgi?id=145403&action=edit
part of dmesg when running plot3d fullscreen

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 111724] NVE6 (GK106) memory re-clocking breaks GpuTest plot3d benchmark

In reply to a message not in the archive

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

--- Comment #11 from Mark Menzynski <[email protected]> --- Created attachment 145404
--> https://bugs.freedesktop.org/attachment.cgi?id=145404&action=edit
screenshot from the glitchy benchmark

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

#13 lore raw

[Bug 111724] NVE6 (GK106) memory re-clocking breaks GpuTest plot3d benchmark

In reply to a message not in the archive

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

--- Comment #12 from Mark Menzynski <[email protected]> --- (In reply to Ilia Mirkin from comment #9)

Quoted 3 lines

Mark - try using blob ctxsw firmware. Perhaps ours misses something. There are some GK106's which just die immediately with out firmware... (See VideoAcceleration wiki page for how to extract firmware from blob drivers.)

Doesn't work. Same problem.

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

#14 lore raw

[Bug 111724] NVE6 (GK106) memory re-clocking breaks GpuTest plot3d benchmark

In reply to a message not in the archive

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

Martin Peres <[email protected]> changed:

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

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

--- Comment #13 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/503.

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