Re: [Dri-devel] Re: [PATCH] Savage streams re-work

2004-03-22 Thread Felix Kühling
On Sun, 21 Mar 2004 14:24:41 -0800 (PST)
Alex Deucher [EMAIL PROTECTED] wrote:

 --- Felix K_hling [EMAIL PROTECTED] wrote:
  On the Savage IX it freezes now, when the 3D window gets too close to
  the bottom of the screen. There is an extra allocation of 128kb at
  the
  end of the frame buffer that is not included in RamNeedeFor3D. It
  doesn't seem to be used though.
  
  Also the computation of the HW cursor location is off by one.
  
  The attached patch fixes these problems on the SavageIX. It also
  removes
  a few obviously useless lines of code.
  
  Finally I wonder why the case for disableCOB looks pretty much the
  same
  as the case with COB enabled. I guess the cobIndex will be ignored
  later, so setting it doesn't do any harm at least. But do we really
  have
  to allocate those 128KB?
 
 I guess that's what I get for using S3's code.  Thanks for catching
 these.  The patch looks good.  I don't see why we would would have to
 allocate the 128K for the disable case, especially since it never even
 gets written to the cob regs.  How does the attached patch look
 (untested - it's basically just yours with some further cleanups and
 removes the 128K allocation)?

Works ok on ProSavageDDR and SavageIX. I also tried to disable the COB
on the SavageIX but that lead to lockups pretty quickly, even with 2D
only. I think the problem is the hard-coded MAXFIFO that is used in the
WaitQueue* functions. The current value is 32K-256 entries, which
corresponds to the 128KB COB and leaves some entries free as a
precaution. It seems that Savage4 and ProSavage throttle BCI access
automatically when the queue is full. On SavageIX the driver really has
to make sure that there is enough space on the queue before submitting
commands.

 
 Alex
 

Felix


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
--
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Dri-devel] [PATCH] AGPMode and AGPSize support for savage

2004-03-22 Thread Alex Deucher
Subject says it all.  Doesn't seem to break anything in basic testing
here, but I'm not too familiar with the agp code.  lowering the agp
mode may help lockups on flakey agp chipsets.  Also for the AGP
aperture size, the old driver defaulted to 16 MB, so I did the same in
the patch.  Any thoughts on what it should be?  Patch is attached and
also available here:
http://www.botchco.com/alex/savage/agp.diff

Alex

__
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html

agp.diff
Description: agp.diff


[Dri-devel] Weekly IRC meeting reminder

2004-03-22 Thread Ian Romanick

This is just a friendly reminder that the weekly dri-devel IRC meeting will
be starting in the #dri-devel channel on irc.freenode.net at 2100 UTC (or
4:00PM EST or 1:00PM PST, if you prefer).

Time zone conversion available at:

http://www.timezoneconverter.com/cgi-bin/tzc.tzc

Logs of previous IRC meetings are available at:

http://dri.sourceforge.net/IRC-logs/


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
--
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Dri-devel] [Bug 314] 3D support for Radeon IGP chips

2004-03-22 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 your comments there.  
 
http://bugs.xfree86.org/show_bug.cgi?id=314   
   

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|FIXED   |




--- Additional Comments From [EMAIL PROTECTED]  2004-03-22 15:08 ---
(In reply to comment #271)
 Hi all,
 
 I have XFree86 v. 4.3.99.902 built with the radeon patch (id 862 in the list
 above) on a gentoo laptop with kernel 2.6.3-rc2-mm1.  My laptop is an HP ze5300
 with an ATI Radeon IGP 340M chip.
 
 Using the patched radeon driver has enabled direct rendering, and I get ~500
 with glxgears.  However, in trying to run ut2003 or tuxracer, I receive:
 
 drmCommandWrite: -22
 drmRadeonCmdBuffer: -22 (exiting)
 
 I cannot seem to find documentation on this sort of behaviour anywhere.
 
 It would be very appreciated to hear some comments on this.  Perhaps I should
 repatch with the new XFree86-4.4.0?
 
 

On my HP pavilion 4288, IGP320 patch works fine for Xfree 4.3.99.14, but when i
installa xfree 4.4.0 with the patch, glxgears works, glxinfo tells me that there
is DRI but Unreal Tournament and Quake 3 don't work (try to load and i obtain
just a black screen -- crash).
I'll don't use xfree 4.4.0 for the moment.   
   
--
Configure bugmail: http://bugs.xfree86.org/userprefs.cgi?tab=email   
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
--
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: [Dri-devel] [PATCH] AGPMode and AGPSize support for savage

2004-03-22 Thread Felix Kühling
Works ok on ProSavageDDR and SavageIX. Except, the AGP texture size that
is passed to the 3D driver is still hard-coded to 16MB. You need to fix
that in savage_dri.c. ATM it would be ok to use all AGP memory for
textures. In the future we may use part of it for DMA buffers.

Felix

On Mon, 22 Mar 2004 09:20:30 -0800 (PST)
Alex Deucher [EMAIL PROTECTED] wrote:

 Subject says it all.  Doesn't seem to break anything in basic testing
 here, but I'm not too familiar with the agp code.  lowering the agp
 mode may help lockups on flakey agp chipsets.  Also for the AGP
 aperture size, the old driver defaulted to 16 MB, so I did the same in
 the patch.  Any thoughts on what it should be?  Patch is attached and
 also available here:
 http://www.botchco.com/alex/savage/agp.diff
 
 Alex
 
 __
 Do you Yahoo!?
 Yahoo! Finance Tax Center - File online. File on time.
 http://taxes.yahoo.com/filing.html


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
--
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Dri-devel] [Bug 314] 3D support for Radeon IGP chips

2004-03-22 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 your comments there.  
 
http://bugs.xfree86.org/show_bug.cgi?id=314   
   




--- Additional Comments From [EMAIL PROTECTED]  2004-03-22 20:02 ---
(In reply to comment #272)
 This bug has been obsolete for a while. Get the code from DRI CVS. Most if not
 all of the patches attached to this bug are incomplete and not expected to work
 with the current DRM.


I rebuilt the radeon.o module using the latest DRI CVS source, but upon
restarting the X server I no longer get direct rendering capability.  Is there a
patch required, or some source-specific settings I need to configure in order to
enable this?


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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
--
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: [Dri-devel] [PATCH] AGPMode and AGPSize support for savage

2004-03-22 Thread Alex Deucher
--- Felix Kühling [EMAIL PROTECTED] wrote:
 Works ok on ProSavageDDR and SavageIX. Except, the AGP texture size
 that
 is passed to the 3D driver is still hard-coded to 16MB. You need to
 fix
 that in savage_dri.c. ATM it would be ok to use all AGP memory for
 textures. In the future we may use part of it for DMA buffers.
 

D'OH.  how did I miss that?  it was right in front of me. argh...
fixed. although I probably missed something else.  
It shouldn't be too hard to add support for DMA buffers later.
New patch:
http://www.botchco.com/alex/savage/agp.diff

Alex


 Felix
 
 On Mon, 22 Mar 2004 09:20:30 -0800 (PST)
 Alex Deucher [EMAIL PROTECTED] wrote:
 
  Subject says it all.  Doesn't seem to break anything in basic
 testing
  here, but I'm not too familiar with the agp code.  lowering the agp
  mode may help lockups on flakey agp chipsets.  Also for the AGP
  aperture size, the old driver defaulted to 16 MB, so I did the same
 in
  the patch.  Any thoughts on what it should be?  Patch is attached
 and
  also available here:
  http://www.botchco.com/alex/savage/agp.diff
  
  Alex
  
  __
  Do you Yahoo!?
  Yahoo! Finance Tax Center - File online. File on time.
  http://taxes.yahoo.com/filing.html

__
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html

agp.diff
Description: agp.diff