Re: [R300] patches wanted !

2005-09-17 Thread Aapo Tahkola
On Fri, 19 Aug 2005 14:22:43 -0400 (EDT)
Vladimir Dergachev [EMAIL PROTECTED] wrote:

 
 Hi all,
 
As you probably know the code from r300.sf.net got merged into main Mesa 
 and DRM trees.
 
This is great, but it looks like everyone thinks they should check in 
 only the perfect patches. This won't work as few people (if any) can 
 spend days focused on the same issue.

Perhaps we should just finish the driver for now.
I should have some time next month.

 Well, you get the idea - there is still much fun to be had with this 
 driver :)

Sure, much fun would come from a proper memory manager *if* it never gets done.

-- 
Aapo Tahkola


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42 plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: [R300] patches wanted !

2005-09-17 Thread Dave Airlie

 I should have some time next month.

  Well, you get the idea - there is still much fun to be had with this
  driver :)

 Sure, much fun would come from a proper memory manager *if* it never gets 
 done.


I'm hoping to get s3tc/texrect support for r300 over the next while, the
texture upload code from r200 doesn't seem to work on my r300, which I
think means that the minimum aligment/size requirements may have changed,
as large textures seem okay, just the smaller ones looked broken...

Just in case I've overlapping with someone elses work...

Dave.

-- 
David Airlie, Software Engineer
http://www.skynet.ie/~airlied / airlied at skynet.ie
Linux kernel - DRI, VAX / pam_smb / ILUG



---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42 plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: [R300] patches wanted !

2005-09-17 Thread Michel Dänzer
On Sat, 2005-09-17 at 15:49 +0100, Dave Airlie wrote:
  I should have some time next month.
 
   Well, you get the idea - there is still much fun to be had with this
   driver :)
 
  Sure, much fun would come from a proper memory manager *if* it never gets 
  done.
 
 I'm hoping to get s3tc/texrect support for r300 over the next while, the
 texture upload code from r200 doesn't seem to work on my r300, which I
 think means that the minimum aligment/size requirements may have changed,
 as large textures seem okay, just the smaller ones looked broken...

I was going to suggest that this might be related to Paul MacKerras'
texture upload fixes for r300 on big endian machines, but they don't
seem to be in DRM CVS yet. Are they only in the kernel yet? Which DRM
are you using?


-- 
Earthling Michel Dänzer  | Debian (powerpc), X and DRI developer
Libre software enthusiast|   http://svcs.affero.net/rm.php?r=daenzer


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42 plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: [R300] patches wanted !

2005-09-17 Thread Dave Airlie


 I was going to suggest that this might be related to Paul MacKerras'
 texture upload fixes for r300 on big endian machines, but they don't
 seem to be in DRM CVS yet. Are they only in the kernel yet? Which DRM
 are you using?


They should be in DRM CVS, they came along with the r300 import,
http://cvs.freedesktop.org/dri/drm/shared-core/radeon_state.c?r1=1.51r2=1.52

should be them, they don't seem to have had a negative effect on my r200
card, and I've ported the r200 s3tc support to r300 locally, granted I
still need to add a lot more debugging to see what might potentially be
going wrong,

Dave.

-- 
David Airlie, Software Engineer
http://www.skynet.ie/~airlied / airlied at skynet.ie
Linux kernel - DRI, VAX / pam_smb / ILUG



---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42 plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: [R300] patches wanted !

2005-08-21 Thread Jaakko Niemi
On Sat, 20 Aug 2005, Dave Airlie wrote:
   In for a penny in for a pound, (old saying..) i.e. if I could do that I
   would have working 3D... the CP crashes on startup...
 
  I assume that you have a version of PCIGART working, right ? You can test 
  this
  using MMIO by doing bitblt from GART memory to video memory, for example.
 
 nope a working PCIEGART isn't the same as a working PCIGART, I have
 all the information I think I need (though an R42x 2D programmers guide as
 opposed to the R42x regref would help a bit), I just can't connect the
 dots... I also suffer from the fact that fglrx doesn't work on my PCIE
 system either (though I've talked to ATI engineers about those issues)

 Hangs your box when X starts up? I noticed if I start the stock 
 xorg server without fglrx once, and then restart with it, it
 works. Otherwise my box hangs hard. This is straight after boot.

 New version of fglrx came out the other day, have to re-test with that.

--j



---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: [R300] patches wanted !

2005-08-21 Thread Dave Airlie

  nope a working PCIEGART isn't the same as a working PCIGART, I have
  all the information I think I need (though an R42x 2D programmers guide as
  opposed to the R42x regref would help a bit), I just can't connect the
  dots... I also suffer from the fact that fglrx doesn't work on my PCIE
  system either (though I've talked to ATI engineers about those issues)

  Hangs your box when X starts up? I noticed if I start the stock
  xorg server without fglrx once, and then restart with it, it
  works. Otherwise my box hangs hard. This is straight after boot.


Michel let me know about the new fglrx version and it seems to fix my
issues with 1GB RAM and PCIE cards

on the r300 front I've stopped the NMI from happening by allocing the
PCIGART table down in GFP_DMA as opposed to GFP_KERNEL, the drm now goes
into an infinite loop on the first access to the ring buffer.. I'd bet the
ring buffer or DMA setups aren't correct...

Dave.

-- 
David Airlie, Software Engineer
http://www.skynet.ie/~airlied / airlied at skynet.ie
Linux kernel - DRI, VAX / pam_smb / ILUG



---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: [R300] patches wanted !

2005-08-20 Thread Vladimir Dergachev



On Sat, 20 Aug 2005, Dave Airlie wrote:





What I meant is to get 2d working using DRI driver (i.e. submitting commands
using CP engine, rather than MMIO registers as happens without DRM driver
loaded).


In for a penny in for a pound, (old saying..) i.e. if I could do that I
would have working 3D... the CP crashes on startup...


I assume that you have a version of PCIGART working, right ? You can test 
this using MMIO by doing bitblt from GART memory to video memory, for 
example.




just don't add PCIE pciids to the drm until I or someone else gets it
working...


Can we add them in a commented out way ?

 best

Vladimir Dergachev



Dave.

--
David Airlie, Software Engineer
http://www.skynet.ie/~airlied / airlied at skynet.ie
Linux kernel - DRI, VAX / pam_smb / ILUG




---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: [R300] patches wanted !

2005-08-20 Thread Dave Airlie

 
  In for a penny in for a pound, (old saying..) i.e. if I could do that I
  would have working 3D... the CP crashes on startup...

 I assume that you have a version of PCIGART working, right ? You can test this
 using MMIO by doing bitblt from GART memory to video memory, for example.

nope a working PCIEGART isn't the same as a working PCIGART, I have
all the information I think I need (though an R42x 2D programmers guide as
opposed to the R42x regref would help a bit), I just can't connect the
dots... I also suffer from the fact that fglrx doesn't work on my PCIE
system either (though I've talked to ATI engineers about those issues)

  just don't add PCIE pciids to the drm until I or someone else gets it
  working...

 Can we add them in a commented out way ?

Not presently but I'll see if I can come up with a way...

Dave.


-- 
David Airlie, Software Engineer
http://www.skynet.ie/~airlied / airlied at skynet.ie
Linux kernel - DRI, VAX / pam_smb / ILUG



---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: [R300] patches wanted !

2005-08-19 Thread Jaakko Niemi
On Fri, 19 Aug 2005, Vladimir Dergachev wrote:
* Can you get PCI-Express cards to do a tiny bit more (like get
  2d working) than they do now - patch is fine.

 I'm writing this from a screen run on a Radeon X700 Pro, 
 on pci-e bus, with the xorg packages from Debian unstable.
 Are there pci-e cards that do not even work in 2d?

 As for 3d, just let me know what register dumps are
 needed... Unfortunately I don't have time to dig into
 the driver.

--j



---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: [R300] patches wanted !

2005-08-19 Thread Vladimir Dergachev



On Fri, 19 Aug 2005, Jaakko Niemi wrote:


On Fri, 19 Aug 2005, Vladimir Dergachev wrote:

   * Can you get PCI-Express cards to do a tiny bit more (like get
 2d working) than they do now - patch is fine.


I'm writing this from a screen run on a Radeon X700 Pro,
on pci-e bus, with the xorg packages from Debian unstable.
Are there pci-e cards that do not even work in 2d?


Does the log file say DRI enabled ?

What I meant is to get 2d working using DRI driver (i.e. submitting 
commands using CP engine, rather than MMIO registers as happens without 
DRM driver loaded).




As for 3d, just let me know what register dumps are
needed... Unfortunately I don't have time to dig into
the driver.


Someone else would have to answer this - there are a ton of registers and 
I don't know which ones are important for PCIe.


 thank you !

  Vladimir Dergachev



--j




---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: [R300] patches wanted !

2005-08-19 Thread Dave Airlie


 What I meant is to get 2d working using DRI driver (i.e. submitting commands
 using CP engine, rather than MMIO registers as happens without DRM driver
 loaded).

In for a penny in for a pound, (old saying..) i.e. if I could do that I
would have working 3D... the CP crashes on startup...

just don't add PCIE pciids to the drm until I or someone else gets it
working...

Dave.

-- 
David Airlie, Software Engineer
http://www.skynet.ie/~airlied / airlied at skynet.ie
Linux kernel - DRI, VAX / pam_smb / ILUG



---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel