On 4/16/12, Alexey Loukianov <[email protected]> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > 16.04.2012 04:28, Vitaliy Margolen wrote: >> Of course it won't - they are binary blobs from Nvidia. Not much to see >> there. All you really looking for are time spent in that library. >> > > Vitaliy, I don't expect oprofile to find hidden COFF or DWARF 2 debug infos > inside nVIDIA binary blob, it's obvious that there are nothing like that > there > :-). > > What I was expecting to find in oprofile output is a libGL.so subdivision > like > may be seen in "objdump -T /usr/lib/libGL.so.295.40" output. Thinking a bit > more about it makes it clear that my expectations were wrong as the export > table doesn't have all the required info for oprofile to act as a poors man > substitute for real symbols map file (for example, it can't be determined > for > sure from exports table what are the actual proc boundaries for any given > exported symbol). > > What might be useful for profiling in this case is a "proxy" wrapper for > libGL > that sits between Wine and real libGL and collects call timing stats. A > wrapper of such kind wouldn't be as devastating to FPS as apitrace, and it > would provide a fine-grained picture on per-proc timing stats which are > extremely helpful when one is trying to catch a GPU driver bug. I have no > idea > if there's such a wrapper already implemented out in a wild.
Something equivalent exists and is in Wine. When compiling wined3d compile it with -DUSE_WIN32_OPENGL to route all GL calls through wine's opengl32.dll. It may give some more clues. About all Nvidia driver calls end up in libGLcore.so where libGL.so is a thin wrapper. You likely won't see that much more, but it is easy to try. Roderick > > - -- > Best regards, > Alexey Loukianov mailto:[email protected] > System Engineer, Mob.:+7(926)218-1320 > *nix Specialist > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.16 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iQEcBAEBAgAGBQJPi20tAAoJEPB9BOdTkBULPo4IAKFYIbPvg0Znv6AOiZt+C2yV > +uiq1+FZcdeMedfGZrA8lelOvUEp9h8/wuDEmZ2YEW28+S/qkMA0EL0MaJY7hqZz > ac3vdt/wVxxDpwAm1Jjl0YjmzhZP4dE8fyB42Clh5+McIG7MvsO7sHfGmQk9Jbye > d+KvoOWbOFaB5fNrXr+lQMGqkNTSMas3TQS3KIVeiCFitDzXwDHoK7dGykeiJ340 > q0MxqRRa7XvGSZNtw9Q043ZeywaNMFD/k6tSUkIXwP/FlZsTBPHhr7M37h+gjt84 > 2w26KE7cncoUKl1l3w7WfUMN9/MgEKmtX5O0nsP0S8EBCdehfVhOlUcUI48Kkgk= > =Kkgh > -----END PGP SIGNATURE----- > > >
