Skip to contentSkip to conversation

CPU/GPU incoherency

Bug 26345 [email protected] 1 participant 27 messages Sep 8, 2011 – Jul 14, 2017 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=26345

Eugeni Dodonov <[email protected]> changed:

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

         AssignedTo|[email protected]    |[email protected]
                   |                            |.org

--- Comment #136 from Eugeni Dodonov <[email protected]> 2011-09-08 15:55:37 PDT --- This issue is affecting a hardware component which is not being actively worked on anymore.

Moving the assignee to the dri-devel list as contact, to give this issue a better coverage.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#2 lore raw
In reply to a message not in the archive

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

Chris Wilson <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #137 from Chris Wilson <[email protected]> 2011-09-09 02:11:19 PDT --- *** Bug 34868 has been marked as a duplicate of this bug. ***

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#3 lore raw
In reply to a message not in the archive

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

--- Comment #138 from Daniel Vetter <[email protected]> 2011-09-20 06:00:31 PDT --- Created an attachment (id=51401)
View: https://bugs.freedesktop.org/attachment.cgi?id=51401
Review: https://bugs.freedesktop.org/review?bug=26345&attachment=51401

New stab at working around the i845 tlb issues.

I'd be great if anyone with a still-booting i845 could test this. Obviously you need to disable Shadow. Also, expect some slowdown, but hopefully not that bad.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#4 lore raw
In reply to a message not in the archive

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

--- Comment #139 from György Balló <[email protected]> 2011-11-01 15:04:40 PDT --- Created attachment 53024
--> https://bugs.freedesktop.org/attachment.cgi?id=53024
The relevant part of dmesg with Daniel's patch

Daniel's patch not works for me. I tested with 3.1 kernel, and I saw only some dotted line and a cursor when Xorg loadaded. (Attached the relevant part of dmesg.)

Current state of the driver with the 3.1 kernel:
- Still get random GPU hangs without ShadowFB. It works stable with ShadowFB.
- XVideo: contrast and saturation are misconfigured (Bug 42488)
- OpenGL without ShadowFB: it's fast and stable until a GPU hang. Once GPU hang occurred, OpenGL apps are no longer works.
- OpenGL with enabled ShadowFB: it works, but very slow, slower than llvmpipe.
- Trying to run GNOME Shell always cause an immediate GPU hang, even if ShadowFB enabled.

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- 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 a message not in the archive

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

Mike Ranweiler <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #141 from Mike Ranweiler <[email protected]> 2011-12-08 10:35:22 PST --- Hi, I've hit this too with:
00:02.0 VGA compatible controller: Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device (rev 03)

I tried the patch in comment #138 against 3.2.0-rc4, and I had similar results as comment #139 - the display wasn't usable.

Is there anything else I can try? I have the system readily available.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#7 lore raw
In reply to a message not in the archive

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

Chris Wilson <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #142 from Chris Wilson <[email protected]> 2012-04-14 06:37:05 PDT --- *** Bug 40960 has been marked as a duplicate of this bug. ***

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#8 lore raw
In reply to a message not in the archive

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

Chris Wilson <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #143 from Chris Wilson <[email protected]> 2012-04-14 06:41:39 PDT --- *** Bug 40181 has been marked as a duplicate of this bug. ***

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#9 lore raw
In reply to a message not in the archive

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

Chris Wilson <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #144 from Chris Wilson <[email protected]> 2012-04-14 07:45:12 PDT --- *** Bug 19068 has been marked as a duplicate of this bug. ***

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#10 lore raw
In reply to a message not in the archive

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

--- Comment #145 from Chris Wilson <[email protected]> 2012-04-16 04:27:15 PDT --- I've put some recent patches into
http://cgit.freedesktop.org/~ickle/linux-2.6/commit/?h=845g which makes my 845g much more stable, though I'm still getting spurious GPU hangs under memory pressure. In that regard SNA is performing better (not only to being a more complete acceleration architecture) as it is thrashing the GTT far less.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#12 lore raw
In reply to a message not in the archive

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

Chris Wilson <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #147 from Chris Wilson <[email protected]> 2012-08-03 12:18:44 UTC --- *** Bug 53065 has been marked as a duplicate of this bug. ***

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#13 lore raw
In reply to a message not in the archive

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

Chris Wilson <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #148 from Chris Wilson <[email protected]> 2012-08-26 19:24:34 UTC --- *** Bug 54093 has been marked as a duplicate of this bug. ***

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#15 lore raw
In reply to a message not in the archive

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

Chris Wilson <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #150 from Chris Wilson <[email protected]> --- *** Bug 55934 has been marked as a duplicate of this bug. ***

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

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

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

Chris Wilson <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #151 from Chris Wilson <[email protected]> --- *** Bug 56933 has been marked as a duplicate of this bug. ***

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

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

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

Chris Wilson <[email protected]> changed:

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

         QA Contact|[email protected]       |[email protected]
                   |                            |sktop.org
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

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

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

Chris Wilson <[email protected]> changed:

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

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

--- Comment #152 from Chris Wilson <[email protected]> --- Woohoo!

commit c7f7dd61fd07dbf938fc6ba711de07986d35ce1f

Author: Chris Wilson <[email protected]>
Date:   Wed Dec 12 19:43:19 2012 +0000

sna: Pin some batches to avoid CS incoherence on 830/845

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

I can't promise the incoherence won't show up elsewhere as render corruption, but my 845g is finally surviving wtf stress tests.

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

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

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

--- Comment #153 from Chris Wilson <[email protected]> --- Now in kernel form as well:

commit b75e53bac7f4164e1c53a636352faa3d177b4beb

Author: Daniel Vetter <[email protected]>
Date:   Sun Dec 16 18:08:07 2012 +0100

drm/i915: Implement workaround for broken CS tlb on i830/845

Now that Chris Wilson demonstrated that the key for stability on early gen 2 is to simple _never_ exchange the physical backing storage of batch buffers I've tried a stab at a kernel solution. Doesn't look too nefarious imho, now that I don't try to be too clever for my own good any more.

v2: After discussing the various techniques, we've decided to always blit batches on the suspect devices, but allow userspace to opt out of the kernel workaround assume full responsibility for providing coherent batches. The principal reason is that avoiding the blit does improve performance in a few key microbenchmarks and also in cairo-trace replays.

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

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

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

--- Comment #154 from Trey Ramsay <[email protected]> ---
These fixes are in the latest 3.8 kernel. Have the GPU hangs been fixed in
earlier versions of the kernel?

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

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

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

--- Comment #155 from Chris Wilson <[email protected]> --- (In reply to comment #154)

Quoted 2 lines

These fixes are in the latest 3.8 kernel. Have the GPU hangs been fixed in
earlier versions of the kernel?

The sna fixes work with any KMS/GEM (i.e. 2.6.29+) kernel. The kernel w/a is being backported by Julien Cristau for the debian kernel.

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

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

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

--- Comment #156 from Trey Ramsay <[email protected]> --- Thanks... We are using 2.6.32 kernel. We had problems with the 845G hanging but I don't think we were using SNA acceleration at the time. What patches do you think we need?

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

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

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

--- Comment #157 from Trey Ramsay <[email protected]> --- In regards to comment 145, is it recommended to use SNA? We are not using SNA
and have seen GPU hangs on the 845G. Is it better to use SNA and apply the
SNA patch to xorg-x11-drv-intel?

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

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

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

--- Comment #158 from Chris Wilson <[email protected]> --- (In reply to comment #157)

Quoted 3 lines

In regards to comment 145, is it recommended to use SNA? We are not using
SNA and have seen GPU hangs on the 845G. Is it better to use SNA and apply
the SNA patch to xorg-x11-drv-intel?

comment 145 is stale, superseded by the genuine fixes in comments 152 and 153. I would recommend using SNA on gen2 as UXA pales in comparison.

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

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

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

--- Comment #159 from György Balló <[email protected]> --- Something is broken in the 3.8 kernel. When I'm using it, the colour depth is low, and my system freezes when I try to suspend the computer. I don't know if it caused by the applied workaround or not, but the problem gone if I downgrade to kernel version 3.7.

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

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

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

--- Comment #160 from Jani Nikula <[email protected]> --- (In reply to comment #159)

Quoted 4 lines

Something is broken in the 3.8 kernel. When I'm using it, the colour depth is low, and my system freezes when I try to suspend the computer. I don't know if it caused by the applied workaround or not, but the problem gone if I downgrade to kernel version 3.7.

Please file a new bug with a detailed description of your symptoms instead of cluttering this one.

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

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

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

Ленар <[email protected]> changed:

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

      i915 platform|                            |ALL
           Hardware|x86 (IA32)                  |All
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