|
From: | Philip Nienhuis |
Subject: | osmesa FAIL [WAS: Testing octave-4.0.1-rc4] |
Date: | Fri, 11 Mar 2016 18:24:06 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux i686 on x86_64; rv:41.0) Gecko/20100101 Firefox/41.0 SeaMonkey/2.38 |
Andreas Weber wrote:
Hi Philip, Am 11.03.2016 um 15:30 schrieb PhilipNienhuis:On Mageia-5 Linux I get only two FAILs for osmesa: :processing /home/philip/devel/octdev/oct4.0.0-rc4/libinterp/dldfcn/__osmesa_print__.cc-tst***** testif HAVE_OSMESA, HAVE_GL2PS_H if (isunix ()) h = figure ("visible", "off"); fn = tempname (); sombrero (); __osmesa_print__ (h, fn, "svg"); assert (stat (fn).size, 2692270, -0.1); unlink (fn); img = __osmesa_print__ (h); assert (size (img), [get(h, "position")([4, 3]), 3]) ## Use pixel sum per RGB channel as fingerprint img_fp = squeeze (sum (sum (img), 2)); assert (img_fp, [52942515; 54167797; 56158178], -0.05); endif !!!!! test failed ASSERT errors for: assert (stat (fn).size,2692270,-0.1) Location | Observed | Expected | Reason () 2798 2692270 Rel err 0.99896 exceeds tol 0.1 ***** testif HAVE_OSMESA, HAVE_GL2PS_H if (isunix ()) h = figure ("visible", "off"); fn = tempname (); plot (sin (0:0.1:2*pi)); __osmesa_print__ (h, fn, "svgis2d"); assert (stat (fn).size, 7438, -0.1); unlink (fn); img = __osmesa_print__ (h); assert (size (img), [get(h, "position")([4, 3]), 3]) ## Use pixel sum per RGB channel as fingerprint img_fp = squeeze (sum (sum (img), 2)); assert (img_fp, [59281711; 59281711; 59482179], -0.05); endif !!!!! test failed ASSERT errors for: assert (stat (fn).size,7438,-0.1) Location | Observed | Expected | Reason () 2120 7438 Rel err 0.71498 exceeds tol 0.1 :Can you run the test manually (without unlink which deletes the images) in Octave and check the generated images? You should see the sombrero and a simple sin plot.
No the files are only 2798 (oct-z2vuOE) and 2120 (oct-s9ez4U) bytes, resp. Much too small for sombrero and a plot. I'll attach them.
When I entered (set (h, "visible", "on") I didn't see the sombrero, just the axis ticks. But when I replaced <visible> "off" with "on" in the test sequence, I did see a complete sombrero plot appear but nevertheless __osmesa_print__ didn't make a full svg drawing, it was the same as the attached.
Which version of libosmesa-dev is installed and do you use proprietary GPU drivers which doesn't use mesa?
lib64osmesa8 (+ -devel) are version 10.5.9.My desktop system has NVidia graphics (proprietary I think), so maybe it doesn't use osmesa? (as you can guess I know beans about the lower level graphics SW). My laptop (w. Intel graphics) has essentially the same results (also running Mageia-5 64bit).
Philip
oct-s9ez4U
Description: Text Data
oct-z2vuOE
Description: Text Data
[Prev in Thread] | Current Thread | [Next in Thread] |