Pekka Paalanen
2008-Oct-05 14:29 UTC
[Nouveau] Nvidia regs (Re: need help relating your post on freedesktop)
On Fri, 3 Oct 2008 18:03:17 -0400 (EDT) "Kolakkar, Pranay B" <pranay.kolakkar at gatech.edu> wrote:> Hi Paalanen, > > I am a graduate student for Computer Science at Georgia tech and I came > across your page on freedesktop.org/~pq/rules-ng > > It was interesting that you had listed all the registers and addresses of > the nvidia gpu. Please let me know as to where can I find out what does > each of the parameters mean. > > Thanking you in anticipation and awaiting your response. > > Regards, > Pranay.Hi Pranay, I didn't create the page, I only wrote the tools that generate it, and the Nouveau developers have gathered the names and addresses from various sources and reverse engineering efforts. The list is not by any means complete, and likely contains some mistakes. Mind you, the page has not been updated for a while, and most of the "variants" information is bad on the web pages. That's due to my generator being a bit broken. There is no real documentation for the registers available, Nvidia keeps that as their secret. The best you can get is reading the Nouveau source code. Not even the Nouveau developers know the meaning of a large portion of the regs, they just observe how the proprietary driver pokes them, and try to guess how they should be used. I'm CC'ing the Nouveau mailing list, where you can ask further questions. Also, please take a look at the wiki http://nouveau.freedesktop.org/wiki/ May I ask why you are interested? The Nouveau project could use some help, especially if you are thinking about writing code for Nvidia grapchis hardware ;-) According to your home page http://www.cc.gatech.edu/~kolakkar/ you are interested in virtualization and resource monitoring for multicore systems and also GPUs. It would be very cool if Nouveau would support those. I don't think anyone has yet reverse engineered the performance registers. OTOH, the 3D support, too, is still brewing, so there probably isn't too much to monitor. But 2D acceleration does use the card's 3D engine. Do you know about Gallium3D? If not, you should definitely take a look: http://www.tungstengraphics.com/technologies/gallium3d.html And think about it on the virtualization perspective. I don't know how much work has already been done on that, but I bet the people on the Nouveau mailing list know who to contact, if you get interested. Cheers, pq -- Pekka Paalanen http://www.iki.fi/pq/
Pekka Paalanen
2008-Oct-10 18:04 UTC
[Nouveau] Nvidia regs (Re: need help relating your post on freedesktop)
On Thu, 9 Oct 2008 18:09:54 -0400 (EDT) "Kolakkar, Pranay B" <pranay.kolakkar at gatech.edu> wrote:> I have multithreaded jobs to run on GPU using GPUs as GPGPUs and I want to > monitor the amount of free memory over it and the number of threads that > each of the process generates!Okay, so you want to watch the proprietary driver. I'm not sure how possible that is without getting too deep into the driver. Maybe it could be enough to sample the GPU page tables, and memory and context objects?> I am going thru the mailing list as well! I am trying to see how can I > reverse engineer the performance counters. NVidia has NVPerf but the API > doesn't seem to work for 8800 GPUs!!! Tired of doing this now! Need to > come up with something of my own!Hm, I was hoping you could use the NVPerfKit and mmiotrace to find the regs. Or renouveau, depending on if the regs are accessed via MMIO in kernel, or commands via the FIFO. There are also tools to trap MMIO accesses in user space. Are you using the latest NVPrefKit, which was released some time this year, IIRC? I tried that with gf 6600, and the GLExpert part worked, until I had two GL contexts running at the same time. I didn't try PerfSDK, and gDEBugger simply froze, whatever I did. Hmm, it claims GTX 200 support... could they have updated it again?> Ill let you know if I can help you with my tool in the project Noveau! > > Thanks for your support. Good to see im not the only one dying :) > > Regards, > Pranay B. Kolakkar.-- Pekka Paalanen http://www.iki.fi/pq/
Maybe Matching Threads
- End of file reached, while copying large files from modules to client
- freedesktop.org logo fix
- [fdo] Would you host our "immodule for Qt" project on freedesktop.org?
- [fdo] Accessibility list at Freedesktop.org
- [fdo] new Microsoft Outlook mime type for freedesktop.org.xml