[Mesa-dev] Profiling video driver
Michel Dänzer
michel at daenzer.net
Wed Oct 12 23:44:27 PDT 2011
On Mit, 2011-10-12 at 22:54 +0200, Martin Stolpe wrote:
>
> I'm using the Gallium R300 driver with the Xorg state tracker on my system.
> Everything is running very smoothly when I'm using OpenGL ES 2.0 composited
> mode of kwin. Running for example Notepad++ in wine on the other hand is
> painfully slow. I've tried to profile a Notepad++ session using oprofile but
> it seems that the reason why for example scrolling is so slow is not catched
> by oprofile. At least there is nothing which catches my eyes. I would have
> expected that "r300_dri.so" or "r300_drv.so" would pop up in the profile log.
> Is there a special way to profile graphics drivers?
Not really, but in the likely case that the slowness is relaeted to
software rendering fallbacks, a lot of cycles may be spent in X server
or libpixman code.
I prefer sysprof or perf over oprofile, YMMV.
--
Earthling Michel Dänzer | http://www.amd.com
Libre software enthusiast | Debian, X and DRI developer
More information about the mesa-dev
mailing list