[Piglit] Building current piglit on ubuntu 12.04?

Ilia Mirkin imirkin at alum.mit.edu
Sun Sep 4 03:59:23 UTC 2016

piglit does not require python3, it is meant to be able to run with
either python2.7 or python3.3+. If you find that something *requires*
python3, please report that separately. (Oh hm, the fairly useless
'piglit' script appears to want it. Just don't use it and you'll be
fine.) The way I run piglit is at
https://people.freedesktop.org/~imirkin/ -- note that with those
options it will run single-threaded. Remove -1 --dmesg if you want to
run tests concurrently.

Drivers shouldn't allow userspace programs to crash their hardware.
Contact your vendor for an updated driver. (Except there isn't one, as
that line of hardware is out of support, you have chosen your vendor

Last I checked [which admittedly was a while ago], NVIDIA implements a
bunch of stuff incorrectly, and trips over how some piglit tests are
written. I recall a time when something like half of piglit tests
failed that way.

Any time you run a new test suite against a driver you will find a lot
of simple issues in the driver that prevent large swaths of the test
suite from running. I don't think NVIDIA runs against piglit, so such
issues are to be expected. I did for a while a few years ago and tried
to report issues to them, but the process was not particularly
rewarding, so I stopped.


On Sat, Sep 3, 2016 at 11:47 PM, Dan Kegel <dank at kegel.com> wrote:
> Is there an up to date recipe for how to build and run current piglit
> on ubuntu 12.04?
> For another month or two, I need to support Ubuntu 12.04.
> I tried building current piglit on it, but there was much pain
> (partly because of python3), so I resorted to just running the
> relatively ancient 1.0.0~git20140426.5702e43~edgers~ubuntu12.04.1
> from https://launchpad.net/~xorg-edgers/+archive/ubuntu/piglit
> (which suffers from
> https://bugs.launchpad.net/plainbox-provider-checkbox/+bug/1400769 )
> It's good enough to expose problems... crashed the machine on
> the first run.  Last line recorded by buildbot was:
> [01708/16718] crash: 23, fail: 403, pass: 971, skip: 310, warn: 1
> Running Test(s): 01708 ... 01724
> This is with Ubuntu 12.04.5 LTS,
> OpenGL renderer string: Quadro NVS 295/PCIe/SSE2
> OpenGL version string: 3.3.0 NVIDIA 340.96
> and I'll probably be trying newer kernel + driver soon.
> And maybe a beefier graphics card, this was just what was laying
> around in the bin.
> ubuntu 16.04 can easily run current piglit and is much less painful,
> as you can imagine, but still fails a lot of tests.
> _______________________________________________
> Piglit mailing list
> Piglit at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/piglit

More information about the Piglit mailing list