[Bug 23785] NWN crashes after loading or starting game

2009-09-21 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=23785





--- Comment #13 from Nicolai Hähnle nhaeh...@gmail.com  2009-09-21 04:13:04 
PST ---
Okay, I've fixed the obvious problems in our NV_vertex_program support in
mesa_7_6_branch and in master. Could you please re-test?


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 23785] NWN crashes after loading or starting game

2009-09-21 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=23785





--- Comment #14 from Krzysztof A. Sobiecki sob...@gmail.com  2009-09-21 
08:29:11 PST ---
I have tested 92f7a599c7e94b0687d02efef1890e1a8ed2f9f3 again, I was sure that
damn thing rendered well everything. I was wrong. I'm sorry. But I'm sure that
there was no crash.

Now I have tested 7ce0421fb712fd4e595f6c2ecede91c16fb3e133 and there is no
crash or errors in rendering(now for sure, maybe). I will test it more and when
I will be sure, that bug is fixed, I will close this bug. Ok?


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 23785] NWN crashes after loading or starting game

2009-09-21 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=23785


Krzysztof A. Sobiecki sob...@gmail.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Comment #15 from Krzysztof A. Sobiecki sob...@gmail.com  2009-09-21 
08:58:22 PST ---
I will reopen it when I find any problems. I'm closing it for now.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 23785] NWN crashes after loading or starting game

2009-09-21 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=23785





--- Comment #16 from Nicolai Hähnle nhaeh...@gmail.com  2009-09-21 15:34:25 
PST ---
Thank you for the retesting.

Note that if problems do appear, I would recommend to open a new bug (unless a
crash with a very similar backtrace should mysteriously reappear). Be sure to
mention that NWN uses NV_vertex_program in future bug reports that may be
related.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 23785] NWN crashes after loading or starting game

2009-09-20 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=23785





--- Comment #12 from Nicolai Hähnle nhaeh...@gmail.com  2009-09-20 11:40:09 
PST ---
I am somewhat surprised that you say NWN renders correctly before the offending
commit 800f48258623f8caf25d013f44784edb7caa3f93

I have added a number of basic tests for NV_vertex_program to piglit, and those
tests fail long before the commit in question.

In any case, the moral seems to be: Support for NV_vertex_program is pretty
badly broken, and needs to be fixed.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 23785] NWN crashes after loading or starting game

2009-09-10 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=23785





--- Comment #5 from Nicolai Hähnle nhaeh...@gmail.com  2009-09-10 00:15:22 
PST ---
That log must be incomplete. The only way to enter rc_mesa_to_program is
through code paths which first print out the Mesa program if debugging is
enabled. You could try forcing compiler.Base.Debug to 1 by changing the
appropriate line of code in build_program.

The other thing is: If that patch fixes the crash, but then rendering becomes
incorrect, it might be that there is simply another, different bug somewhere
else. Has NWN rendered correctly for you before the offending commit
800f48258623f8caf25d013f44784edb7caa3f93? It's unfortunately possible that a
large commit like that introduces multiple unrelated bugs.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 23785] NWN crashes after loading or starting game

2009-09-10 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=23785





--- Comment #6 from Krzysztof A. Sobiecki sob...@gmail.com  2009-09-10 
02:34:06 PST ---
NWN rendered correctly before 800f48258623f8caf25d013f44784edb7caa3f93(I have
tested several versions while bisecting) it also renders correctly on 7.5.1. 
Setting compiler.Base.Debug to 1 didn't helped at all. I added also several
fprintf, printf, radeon_print without any success.

Apparently it's a shader problem(shader in function names should be a clue).
When I have prepared small library containing:
void glLoadProgramNV(int a, int b, int c, char *sp){}.
Preloading, it had the similar effect as applaying your patch.

Also I have found on NWN forum that this problem is somewhat known.
Disabling GL_NV_vertex_program[1] in Mesa stops crashes. It only hides problem,
so I don't think it's solution.

1. http://nwn.bioware.com/forums/viewtopic.html?topic=659667forum=72
2. http://nwn.bioware.com/forums/viewtopic.html?topic=655705forum=72
3. http://nwn.bioware.com/forums/viewtopic.html?topic=688979forum=72


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 23785] NWN crashes after loading or starting game

2009-09-10 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=23785





--- Comment #7 from Roland Scheidegger srol...@tungstengraphics.com  
2009-09-10 04:54:06 PST ---
(In reply to comment #5)
 That log must be incomplete.
IIRC, you can't get a log like that from nwn, since it redirects all stderr
output.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 23785] NWN crashes after loading or starting game

2009-09-10 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=23785





--- Comment #8 from Krzysztof A. Sobiecki sob...@gmail.com  2009-09-10 
07:08:59 PST ---
Created an attachment (id=29383)
 -- (http://bugs.freedesktop.org/attachment.cgi?id=29383)
Vertex log for compiler.Base.Debug=1;

IIRC, you can't get a log like that from nwn, since it redirects all stderr
output.
I completely forgotten about that. I didn't saw stderr.txt so I assumed that
everything works fine(It was printing some data after all). 

But now I'm attaching log for compiler.Base.Debug set to one.

After Mesa recompile I will submit full output for RADEON_DEBUG=vert.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 23785] NWN crashes after loading or starting game

2009-09-10 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=23785





--- Comment #9 from Krzysztof A. Sobiecki sob...@gmail.com  2009-09-10 
08:08:37 PST ---
Created an attachment (id=29384)
 -- (http://bugs.freedesktop.org/attachment.cgi?id=29384)
Output of RADEON_DEBUG=all last 3000 lines

RADEON_DEBUG=vert still doesn't work as expected. Either I must set
compiler.Base.Debug by hand or use RADEON_DEBUG=all.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 23785] NWN crashes after loading or starting game

2009-09-10 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=23785


Krzysztof A. Sobiecki sob...@gmail.com changed:

   What|Removed |Added

  Attachment #29357|0   |1
is obsolete||




--- Comment #10 from Krzysztof A. Sobiecki sob...@gmail.com  2009-09-10 
08:10:54 PST ---
Created an attachment (id=29385)
 -- (http://bugs.freedesktop.org/attachment.cgi?id=29385)
Full output for RADEON_DEBUG=all

Mirror:
http://rapidshare.com/files/278146525/nwn_alll.log.lzma


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 23785] NWN crashes after loading or starting game

2009-09-10 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=23785





--- Comment #11 from Nicolai Hähnle nhaeh...@gmail.com  2009-09-10 09:43:50 
PST ---
Wow, I totally forgot about NV_vertex_program, and I had no test cases for
that. The fact that those programs use the ENV register file is very probably
related, maybe even the main cause of this bug. I'll look into it.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 23785] NWN crashes after loading or starting game

2009-09-09 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=23785





--- Comment #2 from Nicolai Hähnle nhaeh...@gmail.com  2009-09-09 09:18:37 
PST ---
Thank you for the report.

Could you try running with the environment variable RADEON_DEBUG=vert set?
Warning, this will produce a huge amount of output. Only the last lines before
the crash are interesting (they will contain a dump of the vertex program which
we attempted to compile).

I don't have NWN here, and it would make it easier to understand what's going
wrong.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 23785] NWN crashes after loading or starting game

2009-09-09 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=23785





--- Comment #3 from Nicolai Hähnle nhaeh...@gmail.com  2009-09-09 11:00:18 
PST ---
Created an attachment (id=29354)
 -- (http://bugs.freedesktop.org/attachment.cgi?id=29354)
Potential patch?

Okay, after actually looking at what the line of code actually does, here's a
potential (untested) patch that could fix it. Might be just an extremely silly
bug after all.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 23785] NWN crashes after loading or starting game

2009-09-09 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=23785





--- Comment #4 from Krzysztof A. Sobiecki sob...@gmail.com  2009-09-09 
16:05:31 PST ---
Created an attachment (id=29357)
 -- (http://bugs.freedesktop.org/attachment.cgi?id=29357)
Output of RADEON_DEBUG=all for unpatched Mesa

I might say that patch fixes crash, but unfortunately it also prevent rendering
of some parts of bodies or clothing.

On unpatched Mesa starting NWN with RADEON_DEBUG=vert produces empty log. I'm
attaching what I have produced using RADEON_DEBUG=all. I will also, in next
attachment, post RADEON_DEBUG=vert for patched Mesa.

My speculation:
I think that bugs lay deeper in code path, as seen in backtrace. Something
along produces broken object that is passed to rc_mesa_to_rc_program, with
trips over it. I don't know enough about Mesa code to trace it.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 23785] NWN crashes after loading or starting game

2009-09-07 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=23785





--- Comment #1 from Krzysztof A. Sobiecki sob...@gmail.com  2009-09-07 
16:06:51 PST ---
Created an attachment (id=29325)
 -- (http://bugs.freedesktop.org/attachment.cgi?id=29325)
Backtrace from mesa:800f48258623f8caf25d013f44784edb7caa3f93


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel