Re: Mathematica 3D plots don't render in X11
Re: Mathematica 3D plots don't render in X11
- Subject: Re: Mathematica 3D plots don't render in X11
- From: Jeremy Huddleston Sequoia <email@hidden>
- Date: Mon, 29 Oct 2012 10:59:58 -0700
Yeah, that seems about right. This does look like the unfortunate X11 drawing & GLX drawing to the same window issue.
On Oct 29, 2012, at 8:37 AM, Casey Jao <email@hidden> wrote:
> Yes, I realize that my listed code was wrong. My point still stands though.
>
> The -mesa option does seem to make the 3D plot render; however, the rendering is extremely slow (it takes several minutes to render a single plot), and attempting to manipulate the plot in any way (for example, clicking on it) locks up the UI for minutes at a time.
>
> On Mon, Oct 29, 2012 at 12:08 AM, Itai Seggev <email@hidden> wrote:
> On Sat, Oct 27, 2012 at 12:41:27PM -0700, Casey Jao wrote:
> > Can you elaborate a bit on that issue?
> >
> > Also, I just noticed that the blank 3D plots I referred to in my
> > original post do render when I try to manipulate them with my cursor.
> > The plots are objects that one can rotate by clicking and dragging. The
> > plot shows up while I'm rotating it but goes blank when I release the
> > mouse button. Moreover, clicking and dragging a couple times reliably
> > crashes X11.
>
> Given these particular symptoms, launching Mathematica with the -mesa option
> has a reasonably good chance of fixing your issue.
>
> Also, notice that the original input your provided,
> RegionPlot3D[x^2+y^2+z^2, {x,-1,1}, {y,-1,1}, {z,-1,1}]
> is incorrect, since the first argument is not a boolean combination of
> inequalities. This will produce an empty plot on any version of Mathematica.
>
> If you have a copy Mathematica for OSX but you need to perform your
> computations on the server, another option is to use the OSX frontend with the
> kernel running on the server. Kernel Configuration Options... in the
> evaluation menu.
>
> > Casey
> > On Sat, Oct 27, 2012 at 10:10 AM, Jeremy Huddleston Sequoia
> > <[1]email@hidden> wrote:
> >
> > Yeah, so that might be the old GLX and X11 drawing to the same
> > window issue. Sorry. =/
> >
> > On Oct 27, 2012, at 9:43 AM, Casey Jao <[2]email@hidden> wrote:
> > > Mathematica links against Qt, libGL, libGLU, and a few others like
> > intel's MKL.
> > >
> > > Casey
> > >
> > > On Fri, Oct 26, 2012 at 12:48 AM, Jeremy Huddleston Sequoia
> > <[3]email@hidden> wrote:
> > > What libraries does the application link against. If it's linking
> > against libGL, it's a good bet it's using OpenGL.
> > >
> > > On Oct 25, 2012, at 23:19, James Gunning <email@hidden>
> > wrote:
> > >
> > > > Hi Jeremy,
> > > > Not sure how to answer that. Should I do some kind of captured
> > strace?
> > > > Cheers,
> > > > James.
> > > >
> > > > Jeremy Huddleston Sequoia wrote:
> > > >> Do they use draw to the same window with both OpenGL and standard
> > X11 routines?
> > > >>
> > > >> On Oct 25, 2012, at 22:32, James Gunning <email@hidden>
> > wrote:
> > > >>
> > > >>> All,
> > > >>> I've had the same issue for a while too. Also certain kinds
> > of 2D plots fail:
> > > >>>
> > > >>> ListDensityPlot[{{1, 1, 1, 1}, {1, 2, 1, 2}}, Mesh -> All]
> > > >>>
> > > >>> Casey Jao wrote:
> > > >>>> RegionPlot3D[x^2+y^2+z^2, {x,-1,1}, {y,-1,1}, {z,-1,1}]
> > > >>>
> > > >>> Would be delighted to see a cure.
> > > >>> Cheers,
> > > >>> James.
> > > >>>
> > > >>> <James_Gunning.vcf>
> > _______________________________________________
> > > >>> Do not post admin requests to the list. They will be ignored.
> > > >>> X11-users mailing list ([4]email@hidden)
> > > >>> Help/Unsubscribe/Update your Subscription:
> > ktop.org
> > > >>>
> > > >>> This email sent to [6]email@hidden
> > > >
> > > > <James_Gunning.vcf>
> > >
> > >
> > > _______________________________________________
> > > Do not post admin requests to the list. They will be ignored.
> > > X11-users mailing list ([7]email@hidden)
> > > Help/Unsubscribe/Update your Subscription:
> > com
> > >
> > > This email sent to [9]email@hidden
> > >
> >
> > References
> >
> > 1. mailto:email@hidden
> > 2. mailto:email@hidden
> > 3. mailto:email@hidden
> > 4. mailto:email@hidden
> > 6. mailto:email@hidden
> > 7. mailto:email@hidden
> > 9. mailto:email@hidden
>
> > _______________________________________________
> > Do not post admin requests to the list. They will be ignored.
> > X11-users mailing list (email@hidden)
> >
> > This email sent to email@hidden
>
> --
> Itai
>
> In 1997 a group of programmers started writing a desktop environment to fix a
> travesty they didn't create. Their program promptly found its way onto un*x
> systems everywhere. Today, still opposed by a software monopolist, they survive
> as soldiers of fortune. If you share their vision, if you know you can help,
> and if you can connect to internet, maybe you can join... the K-Team.
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> X11-users mailing list (email@hidden)
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden