Re: enable hw vertex programs by default causes lockups on R420 - was Re: [r300] NWN - one map per reboot on R420

2006-03-21 Thread Aapo Tahkola
On Mon, 13 Mar 2006 20:23:29 +0100 Rune Petersen [EMAIL PROTECTED] wrote: Aapo Tahkola wrote: On Sun, 12 Mar 2006 17:51:16 +0100 Rune Petersen [EMAIL PROTECTED] wrote: Aapo Tahkola wrote: On Sat, 11 Mar 2006 22:48:49 +0100 Rune Petersen [EMAIL PROTECTED] wrote: All this is just

Re: enable hw vertex programs by default causes lockups on R420 - was Re: [r300] NWN - one map per reboot on R420

2006-03-13 Thread Rune Petersen
Aapo Tahkola wrote: On Sun, 12 Mar 2006 17:51:16 +0100 Rune Petersen [EMAIL PROTECTED] wrote: Aapo Tahkola wrote: On Sat, 11 Mar 2006 22:48:49 +0100 Rune Petersen [EMAIL PROTECTED] wrote: All this is just a symptom of dri tex heap manager. nwn will reload textures but they will be given

Re: enable hw vertex programs by default causes lockups on R420 - was Re: [r300] NWN - one map per reboot on R420

2006-03-13 Thread Aapo Tahkola
On Sun, 12 Mar 2006 17:51:16 +0100 Rune Petersen [EMAIL PROTECTED] wrote: Aapo Tahkola wrote: On Sat, 11 Mar 2006 22:48:49 +0100 Rune Petersen [EMAIL PROTECTED] wrote: All this is just a symptom of dri tex heap manager. nwn will reload textures but they will be given different

Re: enable hw vertex programs by default causes lockups on R420 - was Re: [r300] NWN - one map per reboot on R420

2006-03-12 Thread Aapo Tahkola
On Sat, 11 Mar 2006 22:48:49 +0100 Rune Petersen [EMAIL PROTECTED] wrote: Aapo Tahkola wrote: On Fri, 10 Mar 2006 21:58:50 +0100 Rune Petersen [EMAIL PROTECTED] wrote: The best images this time were in the menu (grows upwards this time): http://megahurts.dk/rune/stuff/nwn_menu_1.png

Re: enable hw vertex programs by default causes lockups on R420 - was Re: [r300] NWN - one map per reboot on R420

2006-03-12 Thread Rune Petersen
Aapo Tahkola wrote: On Sat, 11 Mar 2006 22:48:49 +0100 Rune Petersen [EMAIL PROTECTED] wrote: All this is just a symptom of dri tex heap manager. nwn will reload textures but they will be given different locations on vram. You can print out t-offset at around line 506 of r300_texmem.c if you

Re: enable hw vertex programs by default causes lockups on R420 - was Re: [r300] NWN - one map per reboot on R420

2006-03-11 Thread Rune Petersen
Aapo Tahkola wrote: On Fri, 10 Mar 2006 21:58:50 +0100 Rune Petersen [EMAIL PROTECTED] wrote: The best images this time were in the menu (grows upwards this time): http://megahurts.dk/rune/stuff/nwn_menu_1.png http://megahurts.dk/rune/stuff/nwn_menu_2.png

Re: enable hw vertex programs by default causes lockups on R420 - was Re: [r300] NWN - one map per reboot on R420

2006-03-10 Thread Rune Petersen
Aapo Tahkola wrote: On Sat, 04 Mar 2006 20:55:50 +0100 Rune Petersen [EMAIL PROTECTED] wrote: Update: The Free temps when possible patch makes NWN lockup again. It would appear that hw tcl is very fragile on some cards. Sorry, I missed your mail. I just added option that will

Re: enable hw vertex programs by default causes lockups on R420 - was Re: [r300] NWN - one map per reboot on R420

2006-03-10 Thread Aapo Tahkola
On Fri, 10 Mar 2006 18:27:51 +0100 Rune Petersen [EMAIL PROTECTED] wrote: Aapo Tahkola wrote: On Sat, 04 Mar 2006 20:55:50 +0100 Rune Petersen [EMAIL PROTECTED] wrote: Update: The Free temps when possible patch makes NWN lockup again. It would appear that hw tcl is very fragile on

Re: enable hw vertex programs by default causes lockups on R420 - was Re: [r300] NWN - one map per reboot on R420

2006-03-10 Thread Rune Petersen
Aapo Tahkola wrote: On Fri, 10 Mar 2006 18:27:51 +0100 Rune Petersen [EMAIL PROTECTED] wrote: I tried it, it had no effect, I don't think its the temp registers. I suspect there is something broken with the vp code or it triggers a bug somewhere else. Do I recall correctly that you have

Re: enable hw vertex programs by default causes lockups on R420 - was Re: [r300] NWN - one map per reboot on R420

2006-03-10 Thread kfs1
On Fri, 10 Mar 2006 21:58:50 +0100, Rune Petersen [EMAIL PROTECTED] wrote: Aapo Tahkola wrote: On Fri, 10 Mar 2006 18:27:51 +0100 Rune Petersen [EMAIL PROTECTED] wrote: I tried it, it had no effect, I don't think its the temp registers. I suspect there is something broken with the vp code

Re: enable hw vertex programs by default causes lockups on R420 - was Re: [r300] NWN - one map per reboot on R420

2006-03-09 Thread Aapo Tahkola
On Sat, 04 Mar 2006 20:55:50 +0100 Rune Petersen [EMAIL PROTECTED] wrote: Update: The Free temps when possible patch makes NWN lockup again. It would appear that hw tcl is very fragile on some cards. Sorry, I missed your mail. I just added option that will initialize all temps in vertex

Re: enable hw vertex programs by default causes lockups on R420 - was Re: [r300] NWN - one map per reboot on R420

2006-03-04 Thread Rune Petersen
Update: The Free temps when possible patch makes NWN lockup again. It would appear that hw tcl is very fragile on some cards. Rune Petersen Rune Petersen wrote: I made a mistake, and did not use clean Mesa source. sorry about the noise. with: int future_hw_tcl_on=1; int hw_tcl_on=1;

Re: enable hw vertex programs by default causes lockups on R420 - was Re: [r300] NWN - one map per reboot on R420

2006-03-02 Thread Rune Petersen
I didn't get the best shot, but I didn't want to risk a lockup at the time. Try looking closer at the bot. When I exited to the menu most of the background was corrupted. Rune Petersen Aapo Tahkola wrote: Quake3: map0: Texture corruption (random changing garbage). this corruption

Re: enable hw vertex programs by default causes lockups on R420 - was Re: [r300] NWN - one map per reboot on R420

2006-03-02 Thread Felix Kühling
This looks somewhat familiar. I saw this on a Radeon 7500 where AGP writes from the card to system memory did not work reliably. So uploading textures to AGP memory (through DMA) was corrupting textures. Reducing the AGP speed to 2x solved the problem on that card. The problem only occurred after

Re: enable hw vertex programs by default causes lockups on R420 - was Re: [r300] NWN - one map per reboot on R420

2006-03-02 Thread Rune Petersen
I doubt it since it is triggered by disabling hw tcl in the driver. Rune Petersen Felix Kühling wrote: This looks somewhat familiar. I saw this on a Radeon 7500 where AGP writes from the card to system memory did not work reliably. So uploading textures to AGP memory (through DMA) was

Re: enable hw vertex programs by default causes lockups on R420 - was Re: [r300] NWN - one map per reboot on R420

2006-03-01 Thread Aapo Tahkola
On Tue, 28 Feb 2006 22:04:49 +0100 Rune Petersen [EMAIL PROTECTED] wrote: This also fixes the lockup I've been having in Quake3 map0. There is still corruption which spreads to include the menu, and is persistent even when restarting the game. But hay it's an improvement. Can you get a

Re: enable hw vertex programs by default causes lockups on R420 - was Re: [r300] NWN - one map per reboot on R420

2006-03-01 Thread Rune Petersen
I made a mistake, and did not use clean Mesa source. sorry about the noise. with: int future_hw_tcl_on=1; int hw_tcl_on=1; nwn: Texture corruption (random changing garbage) on some items/doors. this corruption will bleed into other games started after nwn is closed (like Quake3).

Re: enable hw vertex programs by default causes lockups on R420 - was Re: [r300] NWN - one map per reboot on R420

2006-02-28 Thread Rune Petersen
Appears to fix it, thank you. The r300_lit.diff by the way is broken. Rune Petersen Aapo Tahkola wrote: On Mon, 27 Feb 2006 19:47:35 +0100 Rune Petersen [EMAIL PROTECTED] wrote: Hi, Found the cause the patch: enable hw vertex programs by default. The only fix I've found is to disable it

Re: enable hw vertex programs by default causes lockups on R420 - was Re: [r300] NWN - one map per reboot on R420

2006-02-28 Thread Rune Petersen
This also fixes the lockup I've been having in Quake3 map0. There is still corruption which spreads to include the menu, and is persistent even when restarting the game. But hay it's an improvement. Rune Petersen Rune Petersen wrote: Appears to fix it, thank you. The r300_lit.diff by the

enable hw vertex programs by default causes lockups on R420 - was Re: [r300] NWN - one map per reboot on R420

2006-02-27 Thread Rune Petersen
Hi, Found the cause the patch: enable hw vertex programs by default. The only fix I've found is to disable it (attached patch). I am willing to test better solutions, but until then can it be disabled by default? Rune Petersen Rune Petersen wrote: Hi, I've been out of it lately, and I

Re: enable hw vertex programs by default causes lockups on R420 - was Re: [r300] NWN - one map per reboot on R420

2006-02-27 Thread Aapo Tahkola
On Mon, 27 Feb 2006 19:47:35 +0100 Rune Petersen [EMAIL PROTECTED] wrote: Hi, Found the cause the patch: enable hw vertex programs by default. The only fix I've found is to disable it (attached patch). I am willing to test better solutions, but until then can it be disabled by