no visualization - problem with jreality?

Questions and problems about using polymake go here.
Benny1988
Posts: 4
Joined: 07 Jan 2015, 17:24

no visualization - problem with jreality?

Postby Benny1988 » 07 Jan 2015, 17:32

Dear Polymake-Team,

I manged to install polymake and after the command ./configure I get the follwing output:

Code: Select all

checking gmp installation ... ok checking mpfr installation ... ok checking shared perl library ... ok checking perl module XML::Writer ... ok checking perl module XML::LibXML ... ok checking perl module XML::LibXSLT ... ok checking perl module Term::ReadLine ... ok checking libxml2 installation ... ok Configuring bundled extensions: bundled extension singular ... failed bundled extension ppl ... failed bundled extension bliss ... failed bundled extension nauty ... ok bundled extension libnormaliz ... ok bundled extension group ... ok bundled extension java ... ok (JNI headers at /usr/lib/jvm/java-7-openjdk-amd64/include) bundled extension jreality ... ok (with bundled JOGL) bundled extension javaview ... failed
So, after starting polymake and typing $q = rand_sphere(3,20); and $q->VISUAL; the terminal displays:

Code: Select all

polymake: used package cddlib Implementation of the double description method of Motzkin et al. Copyright by Komei Fukuda. http://www.ifor.math.ethz.ch/~fukuda/cdd_home/cdd.html polymake: used package jreality jReality is a visualization and sonification library focused on mathematical and scientific content. http://www.jreality.de
but no additional window opens with the corresponding sphere. Is this a general installation problem of mine or am I doing something wrong?

Best regards,
Benny

User avatar
gawrilow
Main Author
Posts: 423
Joined: 25 Dec 2010, 17:40

Re: no visualization - problem with jreality?

Postby gawrilow » 07 Jan 2015, 23:34

Sometimes the jreality window hides itself behind others. But you have surely already checked this.

Please start polymake with increased debug output level:

polymake -dd

and re-enter your commands. You will see plenty of irrelevant stuff about rules and so on, but eventually, following the credit note about jReality, some data flow towards the background java process should show up. Please post this part of the log here, perhaps we'll see your problem more clearly.

Benny1988
Posts: 4
Joined: 07 Jan 2015, 17:24

Re: no visualization - problem with jreality?

Postby Benny1988 » 08 Jan 2015, 10:32

Thank you for you fast answer! Here is the debug output which appears at the end:

Code: Select all

polytope > java: selecting polyChannel... n de.tuberlin.polymake.common.jreality.StaticControl -1 libEGL warning: failed to authenticate magic OpenGL Warning: glFlushVertexArrayRangeNV not found in mesa table OpenGL Warning: glVertexArrayRangeNV not found in mesa table OpenGL Warning: glCombinerInputNV not found in mesa table OpenGL Warning: glCombinerOutputNV not found in mesa table OpenGL Warning: glCombinerParameterfNV not found in mesa table OpenGL Warning: glCombinerParameterfvNV not found in mesa table OpenGL Warning: glCombinerParameteriNV not found in mesa table OpenGL Warning: glCombinerParameterivNV not found in mesa table OpenGL Warning: glFinalCombinerInputNV not found in mesa table OpenGL Warning: glGetCombinerInputParameterfvNV not found in mesa table OpenGL Warning: glGetCombinerInputParameterivNV not found in mesa table OpenGL Warning: glGetCombinerOutputParameterfvNV not found in mesa table OpenGL Warning: glGetCombinerOutputParameterivNV not found in mesa table OpenGL Warning: glGetFinalCombinerInputParameterfvNV not found in mesa table OpenGL Warning: glGetFinalCombinerInputParameterivNV not found in mesa table OpenGL Warning: glDeleteFencesNV not found in mesa table OpenGL Warning: glFinishFenceNV not found in mesa table OpenGL Warning: glGenFencesNV not found in mesa table OpenGL Warning: glGetFenceivNV not found in mesa table OpenGL Warning: glIsFenceNV not found in mesa table OpenGL Warning: glSetFenceNV not found in mesa table OpenGL Warning: glTestFenceNV not found in mesa table libEGL fatal: DRI2: did not find extension DRI_DRI2 version 2

User avatar
gawrilow
Main Author
Posts: 423
Joined: 25 Dec 2010, 17:40

Re: no visualization - problem with jreality?

Postby gawrilow » 08 Jan 2015, 12:13

Looks like a misconfiguration of your X11 installation, e.g. OpenGL library not compatible with the graphic card drivers. If you are not experiencing any troubles with other graphical programs on your computer: maybe your Java comes with an own broken OpenGL library? At any rate it does not look like a polymake bug.

Benny1988
Posts: 4
Joined: 07 Jan 2015, 17:24

Re: no visualization - problem with jreality?

Postby Benny1988 » 08 Jan 2015, 13:06

I should have written that I use Ubuntu on a virtual machine. I enabled 3d-acceleration but this does not solve the problem as well.

Do you have any experiences with polymake on a VM? And if the problem lies in X11, what would be the easiest way to fix this?

Thanks for your answer!

User avatar
assarf
Developer
Posts: 74
Joined: 12 Oct 2011, 15:52

Re: no visualization - problem with jreality?

Postby assarf » 08 Jan 2015, 16:23

what virtual machine do you use?
no signature

Benny1988
Posts: 4
Joined: 07 Jan 2015, 17:24

Re: no visualization - problem with jreality?

Postby Benny1988 » 09 Jan 2015, 17:09

virtual box

User avatar
assarf
Developer
Posts: 74
Joined: 12 Oct 2011, 15:52

Re: no visualization - problem with jreality?

Postby assarf » 12 Jan 2015, 10:31

I installed polymake in a virtual box ubuntu without any problems. jReality works, too.
I suppose you have the newest ubuntu inside the newest virtual box with guest additions?

are you using polymake 2.13 or the beta-version?
no signature


Return to “Helpdesk”