[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: OSMesa problems with proprietary NVIDIA 304 drivers on Debian Jessie
From: |
Julien Bect |
Subject: |
Re: OSMesa problems with proprietary NVIDIA 304 drivers on Debian Jessie |
Date: |
Fri, 15 May 2015 08:29:25 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 |
Le 14/05/2015 23:13, Andreas Weber a écrit :
I've created a minimalistic function which shows the problem, detailed
infos from my system at the end and build instructions for
Debian GNU/Linux 8.0 (jessie) amd64 below:
$ apt-get install octave liboctave-dev octave-pkg-dev
My minimalistic example:
$ wget http://www.tech-chat.de/files/debug-osmesa-octave.tar.gz
$ tar xzf debug-osmesa-octave.tar.gz
$ cd debug-osmesa-octave
$ make
$ make check
This should create a debug_osmesa.png which is identically to
debug_osmesa_reference_image.png
Here is what I get:
$ make check
octave -q -f --no-gui --eval "test debug_osmesa"
glXGetProcAddress 0xb3e36240
GL_DEPTH_BITS = 24
GL_STENCIL_BITS = -1427721648
GL_ACCUM_RED_BITS = -1237157654
GL_ACCUM_GREEN_BITS = -1218736132
GL_ACCUM_BLUE_BITS = 32
warning: your version of GraphicsMagick limits images to 8 bits per pixel
cnt =
0
0
0
***** test
img = debug_osmesa();
imwrite (img, "debug_osmesa.png");
assert (size (img), [480 640 3])
# count ratio of pixels over 20% threshold as fingerprint
cnt = squeeze (sum ( sum (img>50)) / numel (img) * 3)
# allow 10% tolerance
assert (cnt, [0.11259; 0.10842; 0.12163], -0.1)
!!!!! test failed
ASSERT errors for: assert (cnt,[0.11259; 0.10842; 0.12163],-0.1)
Location | Observed | Expected | Reason
(1) 0 0.11259 Rel err 1 exceeds tol 0.1
(2) 0 0.10842 Rel err 1 exceeds tol 0.1
(3) 0 0.12163 Rel err 1 exceeds tol 0.1
my testing system and how I installed the Nvidia driver:
$ uname -a
Linux bect-laptop 3.16.0-37-generic #51-Ubuntu SMP Tue May 5 13:46:54
UTC 2015 i686 i686 i686 GNU/Linux
$ lsb_release -a
... Description: Ubuntu 14.10
$ apt-cache policy libosmesa6-dev
libosmesa6-dev:
Installé : 10.3.2-0ubuntu0.1
Candidat : 10.3.2-0ubuntu0.1
Table de version :
*** 10.3.2-0ubuntu0.1 0
500 http://fr.archive.ubuntu.com/ubuntu/ utopic-updates/main
i386 Packages
100 /var/lib/dpkg/status
10.3.0-0ubuntu3 0
500 http://fr.archive.ubuntu.com/ubuntu/ utopic/main i386 Packages
$ glxheads
...
GL_VERSION: 3.3.0 NVIDIA 331.113
GL_VENDOR: NVIDIA Corporation
GL_RENDERER: Quadro FX 880M/PCIe/SSE2