octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #44478] test __osmesa_print__.cc-tst crashes w


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #44478] test __osmesa_print__.cc-tst crashes with Nvidia drivers
Date: Wed, 11 May 2016 17:40:05 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:44.0) Gecko/20100101 Firefox/44.0 Iceweasel/44.0

Follow-up Comment #80, bug #44478 (project octave):

I don't think this is about threads.  As far as I can tell, the problem is
that nvidia's OpenGL library doesn't play well with the OSMesa library.

Please try the attached very simple program.  No threads.  Just two calls to
GL functions after setting up an OSMesa context.

I compiled with


g++ osmesa-foo.cc -lGL -lOSMesa 


On a system with the Mesa OpenGL libraries, I see


GL_DEPTH_BITS: 16
GL_STENCIL_BITS: 0


as expected.

On the same system, after installing the nvidia OpenGL library (as a
dependency of the Debian nvidia-legacy-340xx-driver package) I see


GL_DEPTH_BITS: 0
GL_STENCIL_BITS: 4196832


Is there something wrong with the example program?


(file #37131)
    _______________________________________________________

Additional Item Attachment:

File name: osmesa-foo.cc                  Size:0 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?44478>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]