New: Cogs: GPU hang
https://bugs.freedesktop.org/show_bug.cgi?id=39572
Summary: Cogs: GPU hang
Product: Mesa
Version: git
Platform: Other
URL: http://www.humblebundle.com/
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/r600
AssignedTo: [email protected]
ReportedBy: [email protected]
Created an attachment (id=49589)
--> (https://bugs.freedesktop.org/attachment.cgi?id=49589)
dmesg output
The game Cogs (from the Humble Indie Bundle) is causing a GPU hang. Unless the process is killed quickly the reset functionality doesn't seem to work so a full reboot is necessary.
The hang only happens if shadows is turned on in the game options, which it is by default so the hang happens right after launching the game.
No difference between 7.11 and git master.
Something else seems to be wrong with the game as it's pegging the CPU at 100% and performance is just a few frames per second.
System environment:
-- system architecture: 32-bit
-- Linux distribution: Debian unstable
-- GPU: REDWOOD
-- Model: XFX Radeon HD 5670 1GB
-- Display connector: DVI
-- xf86-video-ati: 6.14.2
-- xserver: 1.10.2.902
-- mesa: 860c51d82711936d343b55aafb46befc8c032fe6
-- drm: 2.4.26
-- kernel: 3.0
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.
[Bug 39572] Cogs: GPU hang
https://bugs.freedesktop.org/show_bug.cgi?id=39572
Alex Deucher <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #1 from Alex Deucher <[email protected]> 2011-07-28 06:42:37 PDT --- *** Bug 39617 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.
[Bug 39572] Cogs: GPU hang
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=39572
--- Comment #2 from Vadim <[email protected]> 2011-07-28 07:13:43 PDT --- Created an attachment (id=49666)
View: https://bugs.freedesktop.org/attachment.cgi?id=49666
Review: https://bugs.freedesktop.org/review?bug=39572&attachment=49666
[PATCH] r600g: fix vs export count
Does this patch help?
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.
[Bug 39572] Cogs: GPU hang
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=39572
--- Comment #3 from Sven Arvidsson <[email protected]> 2011-07-28 13:12:37 PDT --- (In reply to comment #2)
Quoted 1 line
Created an attachment (id=49666)
View: https://bugs.freedesktop.org/attachment.cgi?id=49666
Review: https://bugs.freedesktop.org/review?bug=39572&attachment=49666
Quoted 3 lines
[PATCH] r600g: fix vs export count
Does this patch help?
It does! Thank you :)
The game is still really slow, but I'll open another bug about that, possibly first see if it's only on r600g or something common to all Mesa/G3D drivers.
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.
[Bug 39572] Cogs: GPU hang
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=39572
Alex Deucher <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED--- Comment #4 from Alex Deucher <[email protected]> 2011-07-28 16:57:29 PDT --- Pushed:95ee961f77119826382cfbc617334aed986b72e5
Thanks!
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.
[Bug 39572] Cogs: GPU hang
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=39572
--- Comment #5 from Vadim <[email protected]> 2011-07-29 03:04:49 PDT --- Created an attachment (id=49707)
View: https://bugs.freedesktop.org/attachment.cgi?id=49707
Review: https://bugs.freedesktop.org/review?bug=39572&attachment=49707
[PATCH] gallium: vertex buffer optimization
This experimental patch should help with performance in cogs, though it needs more work and testing. I'm not sure if it's the right way to implement such optimization at all.
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.
[Bug 39572] Cogs: GPU hang
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=39572
--- Comment #6 from Sven Arvidsson <[email protected]> 2011-07-29 05:23:56 PDT --- (In reply to comment #5)
Quoted 3 lines
This experimental patch should help with performance in cogs, though it needs more work and testing. I'm not sure if it's the right way to implement such optimization at all.
It seems to work fine here. There's a night-and-day difference with and without this patch!
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.
[Bug 39572] Cogs: GPU hang
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=39572
Pavel Ondračka <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #7 from Pavel Ondračka <[email protected]> 2011-07-29 07:14:03 PDT --- Just wondering, will this optimization be possible for r300g too?
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
[Bug 39572] Cogs: GPU hang
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=39572
--- Comment #8 from Vadim <[email protected]> 2011-07-29 21:16:52 PDT --- Created an attachment (id=49735)
View: https://bugs.freedesktop.org/attachment.cgi?id=49735
Review: https://bugs.freedesktop.org/review?bug=39572&attachment=49735
r300g support for previous patch (not tested)
(In reply to comment #7)
Quoted 1 line
Just wondering, will this optimization be possible for r300g too?
I think it should be rewritten in more generic way, so that the specific drivers won't need to care about it. I'll look into it.
But if you want to test this in its current state, then you could try attached patch for r300g, it needs to be applied after the previous patch. I can't test without r300 hw though, so I'm not sure it'll work.
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.
[Bug 39572] Cogs: GPU hang
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=39572
--- Comment #9 from Pavel Ondračka <[email protected]> 2011-07-30 00:14:38 PDT --- (In reply to comment #8)
Quoted 1 line
Created an attachment (id=49735)
View: https://bugs.freedesktop.org/attachment.cgi?id=49735
Review: https://bugs.freedesktop.org/review?bug=39572&attachment=49735
Quoted 11 lines
r300g support for previous patch (not tested)
(In reply to comment #7)
Quoted 1 line
Just wondering, will this optimization be possible for r300g too?
I think it should be rewritten in more generic way, so that the specific drivers won't need to care about it. I'll look into it.
But if you want to test this in its current state, then you could try attached patch for r300g, it needs to be applied after the previous patch. I can't test without r300 hw though, so I'm not sure it'll work.
It works fine with my RV530 card.
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