dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 89944] GPU crash in Civilization 5
Date: Fri, 10 Apr 2015 15:25:36 +0000	[thread overview]
Message-ID: <bug-89944-502-cxYXzLDM5s@http.bugs.freedesktop.org/> (raw)
In-Reply-To: <bug-89944-502@http.bugs.freedesktop.org/>


[-- Attachment #1.1: Type: text/plain, Size: 2548 bytes --]

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

--- Comment #5 from Tom Stellard <tstellar@gmail.com> ---
(In reply to Sami Liedes from comment #3)
> I bisected this down to this commit:
> 
> ------------------------------------------------------------
> commit 30f51f1a1a70bc838d5bed449daff0dd9f2e8ef2
> Author: Kenneth Graunke <kenneth@whitecape.org>
> Date:   Wed Oct 22 20:48:21 2014 -0700
> 
>     glsl: Optimize "if (cond) discard;" to a conditional discard.           
> 
>                                                                             
> 
>     st_glsl_to_tgsi and ir_to_mesa have handled conditional discards for a  
> 
>     long time; the previous patch added that capability to i965.            
> 
>                                                                             
> 
>     i965 (Haswell) shader-db stats:                                         
> 
>                                                                             
> 
>     Without NIR:                                                            
> 
>     total instructions in shared programs: 5792133 -> 5776360 (-0.27%)      
> 
>     instructions in affected programs:     737585 -> 721812 (-2.14%)        
> 
>     helped:                                6300                             
> 
>     HURT:                                  68                               
> 
>     GAINED:                                2                                
> 
>                                                                             
> 
>     With NIR:                                                               
> 
>     total instructions in shared programs: 5787538 -> 5769569 (-0.31%)      
> 
>     instructions in affected programs:     767843 -> 749874 (-2.34%)
>     helped:                                6522
>     HURT:                                  35
>     GAINED:                                6
>     
>     Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
>     Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
>     Reviewed-by: Matt Turner <mattst88@gmail.com>
>     Reviewed-by: Eric Anholt <eric@anholt.net>
> ------------------------------------------------------------
> 
> I can also confirm that reverting that commit on top of recent HEAD
> (4deca127) fixes the issue.
> 
> I can attach R600_DEBUG=ps,gs,vs output from the offending commit and its
> parent if you think comparing them is of any use

That would be useful.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 3796 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

  parent reply	other threads:[~2015-04-10 15:25 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-07 20:18 [Bug 89944] GPU crash in Civilization 5 bugzilla-daemon
2015-04-07 20:19 ` bugzilla-daemon
2015-04-07 20:20 ` bugzilla-daemon
2015-04-08 21:52 ` bugzilla-daemon
2015-04-09  2:04 ` bugzilla-daemon
2015-04-10 15:25 ` bugzilla-daemon [this message]
2015-04-10 16:18 ` bugzilla-daemon
2015-04-10 16:19 ` bugzilla-daemon
2015-04-10 16:25 ` bugzilla-daemon
2015-04-14 15:05 ` bugzilla-daemon
2015-04-14 21:52 ` bugzilla-daemon
2015-04-22 10:04 ` bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-89944-502-cxYXzLDM5s@http.bugs.freedesktop.org/ \
    --to=bugzilla-daemon@freedesktop.org \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox