From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 93546] Civilization 5 - Leaders in the diplomatic interactions screen appear completely black
Date: Mon, 25 Jan 2016 18:48:39 +0000 [thread overview]
Message-ID: <bug-93546-502-fesqZns2gZ@http.bugs.freedesktop.org/> (raw)
In-Reply-To: <bug-93546-502@http.bugs.freedesktop.org/>
[-- Attachment #1.1: Type: text/plain, Size: 1513 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=93546
--- Comment #5 from Hadrien <freedesktop@psydk.org> ---
Thanks Nicolai. I've been able to produce a trace file but it is huge and the
replay gives some weird geometry rendering. However I've been able to get to
the point where the character is drawn. The geometry is still incorrect but at
least the pixels are black like during the live run of the game. It allowed me
to perform step-by-step debugging into the r600 Mesa code after I rebuilt it
from source with debugging options.
The TGSI program looks a bit different than when I output it with the
environment variable but I get the same error than with the original mesa
libraries released with Ubuntu.
What it looks like is that the temporary variables of the TGSI program are
nearly directly mapped to registers, but the rv770 "only" have 128 registers.
The TGSI program I dumped uses nearly 400 temporary variables. This might
explain the error.
Maybe some registers could be reused to keep below the limit? I've been
browsing a bit about this kind of problem and it seems to be a typical
computer-science compilation problem. A recurring solution I've read about is a
graph coloring algorithm. However I do not know where any of the register
allocation optimization should occur. In the r600 code or when the TGSI program
is generated so all GPU specific code could benefit of it? In any case it looks
like a tough problem.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2359 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
next prev parent reply other threads:[~2016-01-25 18:48 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-31 10:48 [Bug 93546] Civilization 5 - Leaders in the diplomatic interactions screen appear completely black bugzilla-daemon
2015-12-31 11:12 ` bugzilla-daemon
2016-01-01 19:06 ` bugzilla-daemon
2016-01-01 19:07 ` bugzilla-daemon
2016-01-04 15:38 ` bugzilla-daemon
2016-01-25 18:48 ` bugzilla-daemon [this message]
2018-08-15 19:07 ` bugzilla-daemon
2019-05-15 8:51 ` bugzilla-daemon
2019-05-15 18:36 ` bugzilla-daemon
2019-09-18 19:20 ` 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-93546-502-fesqZns2gZ@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;
as well as URLs for NNTP newsgroup(s).