Re: [R300] Undefined symbols in Mesa compile

2005-02-03 Thread Jacob Gorm Hansen
Vladimir Dergachev wrote: No special tinkering is required beyound recent Xorg CVS. Will version 6.8.1.902 (from Gentoo) be recent enough? Jacob --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source datab

Re: [R300] Undefined symbols in Mesa compile

2005-02-03 Thread Vladimir Dergachev
On Thu, 3 Feb 2005, Jacob Gorm Hansen wrote: Roland Scheidegger wrote: Jacob Gorm Hansen wrote: I still get an error in r300, using the freedesktop drm: Well yes. For radeon and r200 drivers (and apparently savage), you need the freedesktop drm, since the one from the r300 driver is too old. For

[Bug 1731] Savage: Stray scissoring

2005-02-03 Thread bugzilla-daemon
Please do not reply to this email: if you want to comment on the bug, go to the URL shown below and enter yourcomments there. https://bugs.freedesktop.org/show_bug.cgi?id=1731 --- Additional Comments From [EMAIL PROTECTED] 2005-02-03 20:13 --- (In

Re: [R300] Undefined symbols in Mesa compile

2005-02-03 Thread Jacob Gorm Hansen
Roland Scheidegger wrote: Jacob Gorm Hansen wrote: I still get an error in r300, using the freedesktop drm: Well yes. For radeon and r200 drivers (and apparently savage), you need the freedesktop drm, since the one from the r300 driver is too old. For the r300 driver, you need the r300 drm, as th

Re: [R300] Undefined symbols in Mesa compile

2005-02-03 Thread Roland Scheidegger
Jacob Gorm Hansen wrote: I still get an error in r300, using the freedesktop drm: Well yes. For radeon and r200 drivers (and apparently savage), you need the freedesktop drm, since the one from the r300 driver is too old. For the r300 driver, you need the r300 drm, as the freedesktop does not co

[Bug 1731] Savage: Stray scissoring

2005-02-03 Thread bugzilla-daemon
Please do not reply to this email: if you want to comment on the bug, go to the URL shown below and enter yourcomments there. https://bugs.freedesktop.org/show_bug.cgi?id=1731 --- Additional Comments From [EMAIL PROTECTED] 2005-02-03 17:44 --- Unfo

Re: [R300] Undefined symbols in Mesa compile

2005-02-03 Thread Jacob Gorm Hansen
Vladimir Dergachev wrote: On Thu, 3 Feb 2005, Jacob Gorm Hansen wrote: hi, trying to compile mesa with the r300 driver I get the following error: r200_ioctl.c: In function `r200PageFlip': r200_ioctl.c:571: error: structure has no member named `tiling_enabled' r200_ioctl.c: In function `r200Clear

Re: [R300] Undefined symbols in Mesa compile

2005-02-03 Thread Vladimir Dergachev
On Thu, 3 Feb 2005, Jacob Gorm Hansen wrote: hi, trying to compile mesa with the r300 driver I get the following error: r200_ioctl.c: In function `r200PageFlip': r200_ioctl.c:571: error: structure has no member named `tiling_enabled' r200_ioctl.c: In function `r200Clear': r200_ioctl.c:635: error:

[Bug 1731] Savage: Stray scissoring

2005-02-03 Thread bugzilla-daemon
Please do not reply to this email: if you want to comment on the bug, go to the URL shown below and enter yourcomments there. https://bugs.freedesktop.org/show_bug.cgi?id=1731 --- Additional Comments From [EMAIL PROTECTED] 2005-02-03 17:25 --- (In

[Bug 1735] SAVAGEDRIMoveBuffers not implemented

2005-02-03 Thread bugzilla-daemon
Please do not reply to this email: if you want to comment on the bug, go to the URL shown below and enter yourcomments there. https://bugs.freedesktop.org/show_bug.cgi?id=1735 [EMAIL PROTECTED] changed: What|Removed |Added -

Re: [R300] Undefined symbols in Mesa compile

2005-02-03 Thread Jacob Gorm Hansen
Roland Scheidegger wrote: For the Mesa radeon and r200 driver, you need a very recent drm from dri.freedesktop.org. I've no idea what's in the drm from r300_driver, but it might be possible it does not contain all recent changes of the drm from dri.freedesktop.org. With the latest drm (CVS HEAD)

Re: [R300] Undefined symbols in Mesa compile

2005-02-03 Thread Rune Petersen
Jacob Gorm Hansen wrote: hi, trying to compile mesa with the r300 driver I get the following error: r200_ioctl.c: In function `r200PageFlip': r200_ioctl.c:571: error: structure has no member named `tiling_enabled' r200_ioctl.c: In function `r200Clear': r200_ioctl.c:635: error: `RADEON_USE_COMP_ZBUF

Re: [R300] Undefined symbols in Mesa compile

2005-02-03 Thread Roland Scheidegger
Jacob Gorm Hansen wrote: Dave Airlie wrote: r200_ioctl.c: In function `r200PageFlip': r200_ioctl.c:571: error: structure has no member named `tiling_enabled' r200_ioctl.c: In function `r200Clear': r200_ioctl.c:635: error: `RADEON_USE_COMP_ZBUF' undeclared (first use in this function) r200_ioctl.c:6

Re: [R300] Undefined symbols in Mesa compile

2005-02-03 Thread Jacob Gorm Hansen
Dave Airlie wrote: r200_ioctl.c: In function `r200PageFlip': r200_ioctl.c:571: error: structure has no member named `tiling_enabled' r200_ioctl.c: In function `r200Clear': r200_ioctl.c:635: error: `RADEON_USE_COMP_ZBUF' undeclared (first use in this function) r200_ioctl.c:635: error: (Each undeclar

Re: [R300] Undefined symbols in Mesa compile

2005-02-03 Thread Dave Airlie
> r200_ioctl.c: In function `r200PageFlip': > r200_ioctl.c:571: error: structure has no member named `tiling_enabled' > r200_ioctl.c: In function `r200Clear': > r200_ioctl.c:635: error: `RADEON_USE_COMP_ZBUF' undeclared (first use in > this function) > r200_ioctl.c:635: error: (Each undeclared iden

[R300] Undefined symbols in Mesa compile

2005-02-03 Thread Jacob Gorm Hansen
hi, trying to compile mesa with the r300 driver I get the following error: r200_ioctl.c: In function `r200PageFlip': r200_ioctl.c:571: error: structure has no member named `tiling_enabled' r200_ioctl.c: In function `r200Clear': r200_ioctl.c:635: error: `RADEON_USE_COMP_ZBUF' undeclared (first use i

Re: [patch] Fair usage of all texture heaps

2005-02-03 Thread Felix Kühling
Am Freitag, den 04.02.2005, 01:57 +0530 schrieb Rajsekar Manokaran: > seems to improve the perfomance in quake Thanks for the feedback. Could you provide some more info, though? Which quake version? Which hardware and driver? How much local and AGP texture memory are available in your configurati

Re: [patch] Fair usage of all texture heaps

2005-02-03 Thread Rajsekar Manokaran
seems to improve the perfomance in quake On Wed, 02 Feb 2005 17:38:21 +0100, Felix Kühling <[EMAIL PROTECTED]> wrote: > I attached an updated patch that applies to latest CVS and includes a > fix along the lines of the one I just committed to texmem.c. > > I havn't heard any feedback in over a

Re: [R300] jump_and_click retagged.

2005-02-03 Thread Rune Petersen
Rune Petersen wrote: Alex Deucher wrote: On Thu, 03 Feb 2005 19:44:57 +0100, Rune Petersen <[EMAIL PROTECTED]> wrote: Do you know who is responsible for the DVI-code? lots of people have touched that. it could be related to the display buffer watermark code. perhaps it needs some tweaks for you

Re: [R300] jump_and_click retagged.

2005-02-03 Thread Rune Petersen
Alex Deucher wrote: On Thu, 03 Feb 2005 19:44:57 +0100, Rune Petersen <[EMAIL PROTECTED]> wrote: Do you know who is responsible for the DVI-code? lots of people have touched that. it could be related to the display buffer watermark code. perhaps it needs some tweaks for your chip. take a look at

Re: [R300] jump_and_click retagged.

2005-02-03 Thread Alex Deucher
On Thu, 03 Feb 2005 19:44:57 +0100, Rune Petersen <[EMAIL PROTECTED]> wrote: > Vladimir Dergachev wrote: > > > > > > On Thu, 3 Feb 2005, Rune Petersen wrote: > > > >> Vladimir Dergachev wrote: > >> > > X is 1280x1024 and the lessons uses 640x480 in full screen. > >>> > >>> > >>> > >>> I p

Re: [R300] jump_and_click retagged.

2005-02-03 Thread Vladimir Dergachev
Does this fix things for you ? No, I need 2. Do you still see the same problem by stretching the window as large as it can be ? there are no problems with stretching the window I've experimented and found that 2 NOPs doesn't really help. if I set full screen to be the LCDs native resolution it ha

Re: [R300] jump_and_click retagged.

2005-02-03 Thread Rune Petersen
Vladimir Dergachev wrote: On Thu, 3 Feb 2005, Rune Petersen wrote: Vladimir Dergachev wrote: X is 1280x1024 and the lessons uses 640x480 in full screen. I put back a single PFS_NOP as the syntax does not allow for less than 1 instruction (alu_end==0 corresponds to 1 instruction). You are right,

Re: [R300] jump_and_click retagged.

2005-02-03 Thread Rune Petersen
Vladimir Dergachev wrote: Yes, except we have only one instruction to begin with. Rune, does the fix with alu_offset=0 work for you ? Yes this is my fault. I forgot to put it in writing. yes the alu_offset fixed the problem. Rune Petersen --- This

Re: [R300] jump_and_click retagged.

2005-02-03 Thread Vladimir Dergachev
On Thu, 3 Feb 2005, Ian Romanick wrote: Rune Petersen wrote: looks like a NOP ( it basically does reg0<-reg0*1+0.0 ). with some more testing I found: - FLAT_COLOR_PIXEL_SHADER needs 2 NOP when resizing window->full screen to avoid corruption. Can you add these NOPs only when resizing? =) - SINGL

Re: [R300] jump_and_click retagged.

2005-02-03 Thread Vladimir Dergachev
On Thu, 3 Feb 2005, Rune Petersen wrote: Vladimir Dergachev wrote: X is 1280x1024 and the lessons uses 640x480 in full screen. I put back a single PFS_NOP as the syntax does not allow for less than 1 instruction (alu_end==0 corresponds to 1 instruction). You are right, but why do we get away wit

Re: [R300] jump_and_click retagged.

2005-02-03 Thread Chad Page
On Thu, 3 Feb 2005, Rune Petersen wrote: > > You are quite right - also the following instruction: > > > > { > > EASY_PFS_INSTR0(MAD, SRC0C_XYZ, ONE, ZERO), > > EASY_PFS_INSTR1(0, 0, 0 | PFS_FLAG_CONST, 0 | PFS_FLAG_CONST, NONE, > > ALL), > > EASY_PFS_INSTR2(MAD, SRC0A, ONE, ZER

Re: [R300] jump_and_click retagged.

2005-02-03 Thread Ian Romanick
Rune Petersen wrote: looks like a NOP ( it basically does reg0<-reg0*1+0.0 ). with some more testing I found: - FLAT_COLOR_PIXEL_SHADER needs 2 NOP when resizing window->full screen to avoid corruption. Can you add these NOPs only when resizing? =) - SINGLE_TEXTURE_VERTEX_SHADER needs 1 NOP to ge

Re: [R300] jump_and_click retagged.

2005-02-03 Thread Rune Petersen
Vladimir Dergachev wrote: X is 1280x1024 and the lessons uses 640x480 in full screen. I put back a single PFS_NOP as the syntax does not allow for less than 1 instruction (alu_end==0 corresponds to 1 instruction). You are right, but why do we get away with having 0 tex instruction? It should be

Re: [R300] jump_and_click retagged.

2005-02-03 Thread Vladimir Dergachev
On Thu, 3 Feb 2005, Rune Petersen wrote: Vladimir Dergachev wrote: with some more testing I found: - FLAT_COLOR_PIXEL_SHADER needs 2 NOP when resizing window->full screen to avoid corruption. Can you add these NOPs only when resizing? =) Not really, but this might indicate a sort of bandwidth is

Re: [R300] jump_and_click retagged.

2005-02-03 Thread Rune Petersen
Vladimir Dergachev wrote: with some more testing I found: - FLAT_COLOR_PIXEL_SHADER needs 2 NOP when resizing window->full screen to avoid corruption. Can you add these NOPs only when resizing? =) Not really, but this might indicate a sort of bandwidth issue - one part is issuing pixels faster t

Re: [R300] jump_and_click retagged.

2005-02-03 Thread Vladimir Dergachev
On Thu, 3 Feb 2005, Rune Petersen wrote: You are quite right - also the following instruction: { EASY_PFS_INSTR0(MAD, SRC0C_XYZ, ONE, ZERO), EASY_PFS_INSTR1(0, 0, 0 | PFS_FLAG_CONST, 0 | PFS_FLAG_CONST, NONE, ALL), EASY_PFS_INSTR2(MAD, SRC0A, ONE, ZERO), EASY_PFS_INSTR3(0, 0,

Re: [R300] jump_and_click retagged.

2005-02-03 Thread Rune Petersen
You are quite right - also the following instruction: { EASY_PFS_INSTR0(MAD, SRC0C_XYZ, ONE, ZERO), EASY_PFS_INSTR1(0, 0, 0 | PFS_FLAG_CONST, 0 | PFS_FLAG_CONST, NONE, ALL), EASY_PFS_INSTR2(MAD, SRC0A, ONE, ZERO), EASY_PFS_INSTR3(0, 0, 0 | PFS_FLAG_CONST, 0 | PFS_FLAG_CONST, O

Re: [R300] jump_and_click retagged.

2005-02-03 Thread Vladimir Dergachev
On Thu, 3 Feb 2005, Keith Whitwell wrote: Rune Petersen wrote: Vladimir Dergachev wrote: I couldn't find a combination that makes alpha look any better and got angry at the identical instructions which didn't do anything. So I removed them. I don't se any problem without these innstuctions. unles

Re: [R300] jump_and_click retagged.

2005-02-03 Thread Alex Deucher
On Thu, 03 Feb 2005 08:51:31 +, Keith Whitwell <[EMAIL PROTECTED]> wrote: > Rune Petersen wrote: > > Vladimir Dergachev wrote: > > > >> > >> One thing you might try is to exchange the order of arguments or do > >> something similar. There are some comments by Nicolai on ordering of > >> argumen

Re: Dying X server / Apps with linux-core.

2005-02-03 Thread Thomas Hellström
Hi! >> >> Good point. That's my change in non-core which hasn't been propogated >> to >> core. It's just a cleanup & I wouldn't have expected either version to >> be >> crash-prone. >> >> I don't think the irq handler gets much of a workout unless you >> sync-to-vblank >> at the moment. > > it m

Re: [R300] jump_and_click retagged.

2005-02-03 Thread Keith Whitwell
Rune Petersen wrote: Vladimir Dergachev wrote: One thing you might try is to exchange the order of arguments or do something similar. There are some comments by Nicolai on ordering of arguments in r300_reg.h, these might reflect actual hardware limitations. For example, I do not understand why i

Re: render_inputs and vertex programs

2005-02-03 Thread Keith Whitwell
Vladimir Dergachev wrote: Would anyone know whether tnl->render_inputs is still valid when using a vertex shader program (in particular, arbvptorus) ? I don't think the work has been done to calculate it correctly for vertex programs. Keith