Description ================================= Piglit throws the "piglit does not recognize some tests" error when Ubuntu 17.04 has missing libraries: libprocps.so.4.0.0 & libpng12.so.0.54.0. Versions ====================================== kernel version : 4.13.0-rc3-drm-tip-ww31-commit-fcb630a+ os version : Ubuntu 17.04 intel-gpu-tools (commit) : 0fbe9242 How to reproduce ====================================== Boot a fresh Ubuntu 17.04 image. Try to run any testlist. Piglit will throw an error saying it does not recognize some tests on the testlists. Add both libraries mentioned above and piglit will run Expected Behavior ============================== Piglit should alert about missing libraries Current Behavior ============================== Piglit says it does not recognize some tests
There is some missing information here: Are you compiling piglit on the Ubuntu image, or trying to run a version from somewhere. If you're not compiling yourself, are you installing from a pacakge like a .deb file, or copying a pre-compiled copy of piglit? Dylan
(In reply to Dylan Baker from comment #1) > There is some missing information here: > > Are you compiling piglit on the Ubuntu image, or trying to run a version > from somewhere. If you're not compiling yourself, are you installing from a > pacakge like a .deb file, or copying a pre-compiled copy of piglit? > > Dylan None of them. It is not necessary to compile piglit when using igt. This is what I mean: $ : pwd /home/gfx/intel-graphics/intel-gpu-tools/tests $ : ldd testdisplay | grep -i "not found" libprocps.so.4 => not found libpng12.so.0 => not found
That really sounds more like an igt bug than a piglit bug. Piglit when not compiled only depends on python and six (there are some other optional libraries), but definitely not libpng or libprocps. With IGT piglit is just acting as a wrapper to add additional functionality (dmesg checking, process isolation, resume, etc); either the messages being generated by igt when there are missing dependencies are insufficient, or the wrapper layer in $piglit/tests/igt.py are insufficient, either way this is really an IGT related problem. Dylan
> $ : ldd testdisplay | grep -i "not found" > libprocps.so.4 => not found This here is from IGT - lib/igt_aux.c, in particular. > libpng12.so.0 => not found While this is from piglit - tests/util/piglit-util-png.c Both libraries are optional dependencies. It seems that they were available on the build system yet are missing on the run/test one. Overall this looks like a user/packaging bug.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.