[Pkg-fglrx-devel] stresstest for the driver?

Andreas Beckmann debian at abeckmann.de
Thu Feb 16 21:59:53 UTC 2012


Hi,

is there something that can do a stress test of the driver, utilize as
many of the internal methods as possible?

I'd like to stress test the module built with ld.gold ... it's a bit
smaller than the one from ld.bfd, probably because some duplicate
constant data elements (strings ...) have been merged (something that
made nvidia.ko fail badly - probably const was not really const and
collapsable).
So far I had two crashes (but no logs etc.), but probably in a unclean
environment (linux-image and linux-headers might have had non-matching
debian-revision). Now I have matching versions and set up netconsole and
try to reproduce a crash without success.

Now I'm running a loop

while true
  invoke-rc.d gdm stop
  randomly switch between working and not working fglrx_drv.so
    (depending on the rpl substitution ...)
  randomly unload the module
  invoke-rc.d gdm start
  sleep 10
done
(stopping X, exchanging fglrx_drv.so, eventually unloading fglrx.ko -
that was the activity while testing for the correct rpl recipe that
somehow lead to these 2 crashes)

and in parallel

while true
  DISPLAY=:0 fgl_glxgears
  sleep 1
done

(there is a xhost + or similar since the machine is mostly used remotely
for opencl applications)


Andreas



More information about the Pkg-fglrx-devel mailing list