vectorgraphics / asymptote

2D & 3D TeX-Aware Vector Graphics Language
https://asymptote.sourceforge.io/
GNU General Public License v3.0
542 stars 90 forks source link

asy simply closes when trying to open 3d diagrams #361

Closed KadaB closed 1 year ago

KadaB commented 1 year ago

Hi,

I'm trying to open this basic 3d example:

import graph3;
size(0,200);
size3(200,IgnoreAspect);

currentprojection=perspective(5,2,2);

scale(Linear,Linear,Log);

xaxis3("$x$",0,1,red,OutTicks(2,2));
yaxis3("$y$",0,1,red,OutTicks(2,2));
zaxis3("$z$",1,30,red,OutTicks(beginlabel=false));

from https://asymptote.sourceforge.io/gallery/3Dgraphs/

However I get this console output and nothing happens:

asy 3d.asy 
    shipout3(prefix,f,preview ? nativeformat() : format,
            ^
/usr/share/asymptote/three.asy: 2896.13: runtime: 
johncbowman commented 1 year ago

Probabaly there is a bug in your graphics driver; you may need to upgrade (or downgrade) them. Nothing has changed between Asymptote versions 2.82 and 2.83 that would suddenly cause this error.

It might be helpful to see the output with the -vvv command-line option.

johncbowman commented 1 year ago

P.S. Good tests for your graphics drivers are glxgears or glmark2.

KadaB commented 1 year ago

asy -vvv 3d.asy outputs:

>dim(5.16667pt)dim

*\immediate\write16{>dim(\the\dp\ASYbox)dim}
>dim(0.0pt)dim

*\fontsize{12}{14.4}\selectfont%

*(Please type a command or say `\end')
*\usefont{\ASYencoding}{\ASYfamily}{\ASYseries}{\ASYshape}%

*(Please type a command or say `\end')
*\setbox\ASYbox=\hbox{$z$}

*(Please type a command or say `\end')
*\immediate\write16{>dim(\the\wd\ASYbox)dim}
>dim(5.993pt)dim

*\immediate\write16{>dim(\the\ht\ASYbox)dim}
>dim(5.16667pt)dim

*\immediate\write16{>dim(\the\dp\ASYbox)dim}
>dim(0.0pt)dim

*\fontsize{12}{14.4}\selectfont%

*(Please type a command or say `\end')
*\usefont{\ASYencoding}{\ASYfamily}{\ASYseries}{\ASYshape}%

*(Please type a command or say `\end')
*\setbox\ASYbox=\hbox{$z$}

*(Please type a command or say `\end')
*\immediate\write16{>dim(\the\wd\ASYbox)dim}
>dim(5.993pt)dim

*\immediate\write16{>dim(\the\ht\ASYbox)dim}
>dim(5.16667pt)dim

*\immediate\write16{>dim(\the\dp\ASYbox)dim}
>dim(0.0pt)dim

*\fontsize{12}{14.4}\selectfont%

*(Please type a command or say `\end')
*\usefont{\ASYencoding}{\ASYfamily}{\ASYseries}{\ASYshape}%

*(Please type a command or say `\end')
*\setbox\ASYbox=\hbox{\vphantom{$10^4$}$0$}

*(Please type a command or say `\end')
*\immediate\write16{>dim(\the\wd\ASYbox)dim}
>dim(5.87494pt)dim

*\immediate\write16{>dim(\the\ht\ASYbox)dim}
>dim(9.51027pt)dim

*\immediate\write16{>dim(\the\dp\ASYbox)dim}
>dim(0.0pt)dim

*\fontsize{12}{14.4}\selectfont%

*(Please type a command or say `\end')
*\usefont{\ASYencoding}{\ASYfamily}{\ASYseries}{\ASYshape}%

*(Please type a command or say `\end')
*\setbox\ASYbox=\hbox{\vphantom{$10^4$}$0,5$}

*(Please type a command or say `\end')
*\immediate\write16{>dim(\the\wd\ASYbox)dim}
>dim(17.0137pt)dim

*\immediate\write16{>dim(\the\ht\ASYbox)dim}
>dim(9.51027pt)dim

*\immediate\write16{>dim(\the\dp\ASYbox)dim}
>dim(2.33331pt)dim

*\fontsize{12}{14.4}\selectfont%

*(Please type a command or say `\end')
*\usefont{\ASYencoding}{\ASYfamily}{\ASYseries}{\ASYshape}%

*(Please type a command or say `\end')
*\setbox\ASYbox=\hbox{\vphantom{$10^4$}$1$}

*(Please type a command or say `\end')
*\immediate\write16{>dim(\the\wd\ASYbox)dim}
>dim(5.87494pt)dim

*\immediate\write16{>dim(\the\ht\ASYbox)dim}
>dim(9.51027pt)dim

*\immediate\write16{>dim(\the\dp\ASYbox)dim}
>dim(0.0pt)dim

*\fontsize{12}{14.4}\selectfont%

*(Please type a command or say `\end')
*\usefont{\ASYencoding}{\ASYfamily}{\ASYseries}{\ASYshape}%

*(Please type a command or say `\end')
*\setbox\ASYbox=\hbox{$y$}

*(Please type a command or say `\end')
*\immediate\write16{>dim(\the\wd\ASYbox)dim}
>dim(6.15965pt)dim

*\immediate\write16{>dim(\the\ht\ASYbox)dim}
>dim(5.16667pt)dim

*\immediate\write16{>dim(\the\dp\ASYbox)dim}
>dim(2.33331pt)dim

*\fontsize{12}{14.4}\selectfont%

*(Please type a command or say `\end')
*\usefont{\ASYencoding}{\ASYfamily}{\ASYseries}{\ASYshape}%

*(Please type a command or say `\end')
*\setbox\ASYbox=\hbox{\vphantom{$10^4$}$0$}

*(Please type a command or say `\end')
*\immediate\write16{>dim(\the\wd\ASYbox)dim}
>dim(5.87494pt)dim

*\immediate\write16{>dim(\the\ht\ASYbox)dim}
>dim(9.51027pt)dim

*\immediate\write16{>dim(\the\dp\ASYbox)dim}
>dim(0.0pt)dim

*\fontsize{12}{14.4}\selectfont%

*(Please type a command or say `\end')
*\usefont{\ASYencoding}{\ASYfamily}{\ASYseries}{\ASYshape}%

*(Please type a command or say `\end')
*\setbox\ASYbox=\hbox{\vphantom{$10^4$}$0$}

*(Please type a command or say `\end')
*\immediate\write16{>dim(\the\wd\ASYbox)dim}
>dim(5.87494pt)dim

*\immediate\write16{>dim(\the\ht\ASYbox)dim}
>dim(9.51027pt)dim

*\immediate\write16{>dim(\the\dp\ASYbox)dim}
>dim(0.0pt)dim

*\fontsize{12}{14.4}\selectfont%

*(Please type a command or say `\end')
*\usefont{\ASYencoding}{\ASYfamily}{\ASYseries}{\ASYshape}%

*(Please type a command or say `\end')
*\setbox\ASYbox=\hbox{\vphantom{$10^4$}$0,5$}

*(Please type a command or say `\end')
*\immediate\write16{>dim(\the\wd\ASYbox)dim}
>dim(17.0137pt)dim

*\immediate\write16{>dim(\the\ht\ASYbox)dim}
>dim(9.51027pt)dim

*\immediate\write16{>dim(\the\dp\ASYbox)dim}
>dim(2.33331pt)dim

*\fontsize{12}{14.4}\selectfont%

*(Please type a command or say `\end')
*\usefont{\ASYencoding}{\ASYfamily}{\ASYseries}{\ASYshape}%

*(Please type a command or say `\end')
*\setbox\ASYbox=\hbox{\vphantom{$10^4$}$0,5$}

*(Please type a command or say `\end')
*\immediate\write16{>dim(\the\wd\ASYbox)dim}
>dim(17.0137pt)dim

*\immediate\write16{>dim(\the\ht\ASYbox)dim}
>dim(9.51027pt)dim

*\immediate\write16{>dim(\the\dp\ASYbox)dim}
>dim(2.33331pt)dim

*\fontsize{12}{14.4}\selectfont%

*(Please type a command or say `\end')
*\usefont{\ASYencoding}{\ASYfamily}{\ASYseries}{\ASYshape}%

*(Please type a command or say `\end')
*\setbox\ASYbox=\hbox{\vphantom{$10^4$}$1$}

*(Please type a command or say `\end')
*\immediate\write16{>dim(\the\wd\ASYbox)dim}
>dim(5.87494pt)dim

*\immediate\write16{>dim(\the\ht\ASYbox)dim}
>dim(9.51027pt)dim

*\immediate\write16{>dim(\the\dp\ASYbox)dim}
>dim(0.0pt)dim

*\fontsize{12}{14.4}\selectfont%

*(Please type a command or say `\end')
*\usefont{\ASYencoding}{\ASYfamily}{\ASYseries}{\ASYshape}%

*(Please type a command or say `\end')
*\setbox\ASYbox=\hbox{\vphantom{$10^4$}$1$}

*(Please type a command or say `\end')
*\immediate\write16{>dim(\the\wd\ASYbox)dim}
>dim(5.87494pt)dim

*\immediate\write16{>dim(\the\ht\ASYbox)dim}
>dim(9.51027pt)dim

*\immediate\write16{>dim(\the\dp\ASYbox)dim}
>dim(0.0pt)dim

*\fontsize{12}{14.4}\selectfont%

*(Please type a command or say `\end')
*\usefont{\ASYencoding}{\ASYfamily}{\ASYseries}{\ASYshape}%

*(Please type a command or say `\end')
*\setbox\ASYbox=\hbox{$y$}

*(Please type a command or say `\end')
*\immediate\write16{>dim(\the\wd\ASYbox)dim}
>dim(6.15965pt)dim

*\immediate\write16{>dim(\the\ht\ASYbox)dim}
>dim(5.16667pt)dim

*\immediate\write16{>dim(\the\dp\ASYbox)dim}
>dim(2.33331pt)dim

*\fontsize{12}{14.4}\selectfont%

*(Please type a command or say `\end')
*\usefont{\ASYencoding}{\ASYfamily}{\ASYseries}{\ASYshape}%

*(Please type a command or say `\end')
*\setbox\ASYbox=\hbox{$y$}

*(Please type a command or say `\end')
*\immediate\write16{>dim(\the\wd\ASYbox)dim}
>dim(6.15965pt)dim

*\immediate\write16{>dim(\the\ht\ASYbox)dim}
>dim(5.16667pt)dim

*\immediate\write16{>dim(\the\dp\ASYbox)dim}
>dim(2.33331pt)dim

*\fontsize{12}{14.4}\selectfont%

*(Please type a command or say `\end')
*\usefont{\ASYencoding}{\ASYfamily}{\ASYseries}{\ASYshape}%

*(Please type a command or say `\end')
*\setbox\ASYbox=\hbox{$y$}

*(Please type a command or say `\end')
*\immediate\write16{>dim(\the\wd\ASYbox)dim}
>dim(6.15965pt)dim

*\immediate\write16{>dim(\the\ht\ASYbox)dim}
>dim(5.16667pt)dim

*\immediate\write16{>dim(\the\dp\ASYbox)dim}
>dim(2.33331pt)dim

*\fontsize{12}{14.4}\selectfont%

*(Please type a command or say `\end')
*\usefont{\ASYencoding}{\ASYfamily}{\ASYseries}{\ASYshape}%

*(Please type a command or say `\end')
*\setbox\ASYbox=\hbox{\vphantom{$10^4$}$0$}

*(Please type a command or say `\end')
*\immediate\write16{>dim(\the\wd\ASYbox)dim}
>dim(5.87494pt)dim

*\immediate\write16{>dim(\the\ht\ASYbox)dim}
>dim(9.51027pt)dim

*\immediate\write16{>dim(\the\dp\ASYbox)dim}
>dim(0.0pt)dim

*\fontsize{12}{14.4}\selectfont%

*(Please type a command or say `\end')
*\usefont{\ASYencoding}{\ASYfamily}{\ASYseries}{\ASYshape}%

*(Please type a command or say `\end')
*\setbox\ASYbox=\hbox{\vphantom{$10^4$}$0,5$}

*(Please type a command or say `\end')
*\immediate\write16{>dim(\the\wd\ASYbox)dim}
>dim(17.0137pt)dim

*\immediate\write16{>dim(\the\ht\ASYbox)dim}
>dim(9.51027pt)dim

*\immediate\write16{>dim(\the\dp\ASYbox)dim}
>dim(2.33331pt)dim

*\fontsize{12}{14.4}\selectfont%

*(Please type a command or say `\end')
*\usefont{\ASYencoding}{\ASYfamily}{\ASYseries}{\ASYshape}%

*(Please type a command or say `\end')
*\setbox\ASYbox=\hbox{\vphantom{$10^4$}$1$}

*(Please type a command or say `\end')
*\immediate\write16{>dim(\the\wd\ASYbox)dim}
>dim(5.87494pt)dim

*\immediate\write16{>dim(\the\ht\ASYbox)dim}
>dim(9.51027pt)dim

*\immediate\write16{>dim(\the\dp\ASYbox)dim}
>dim(0.0pt)dim

*\fontsize{12}{14.4}\selectfont%

*(Please type a command or say `\end')
*\usefont{\ASYencoding}{\ASYfamily}{\ASYseries}{\ASYshape}%

*(Please type a command or say `\end')
*\setbox\ASYbox=\hbox{$x$}

*(Please type a command or say `\end')
*\immediate\write16{>dim(\the\wd\ASYbox)dim}
>dim(6.67703pt)dim

*\immediate\write16{>dim(\the\ht\ASYbox)dim}
>dim(5.16667pt)dim

*\immediate\write16{>dim(\the\dp\ASYbox)dim}
>dim(0.0pt)dim

*\fontsize{12}{14.4}\selectfont%

*(Please type a command or say `\end')
*\usefont{\ASYencoding}{\ASYfamily}{\ASYseries}{\ASYshape}%

*(Please type a command or say `\end')
*\setbox\ASYbox=\hbox{\vphantom{$10^4$}$0$}

*(Please type a command or say `\end')
*\immediate\write16{>dim(\the\wd\ASYbox)dim}
>dim(5.87494pt)dim

*\immediate\write16{>dim(\the\ht\ASYbox)dim}
>dim(9.51027pt)dim

*\immediate\write16{>dim(\the\dp\ASYbox)dim}
>dim(0.0pt)dim

*\fontsize{12}{14.4}\selectfont%

*(Please type a command or say `\end')
*\usefont{\ASYencoding}{\ASYfamily}{\ASYseries}{\ASYshape}%

*(Please type a command or say `\end')
*\setbox\ASYbox=\hbox{\vphantom{$10^4$}$0$}

*(Please type a command or say `\end')
*\immediate\write16{>dim(\the\wd\ASYbox)dim}
>dim(5.87494pt)dim

*\immediate\write16{>dim(\the\ht\ASYbox)dim}
>dim(9.51027pt)dim

*\immediate\write16{>dim(\the\dp\ASYbox)dim}
>dim(0.0pt)dim

*\fontsize{12}{14.4}\selectfont%

*(Please type a command or say `\end')
*\usefont{\ASYencoding}{\ASYfamily}{\ASYseries}{\ASYshape}%

*(Please type a command or say `\end')
*\setbox\ASYbox=\hbox{\vphantom{$10^4$}$0,5$}

*(Please type a command or say `\end')
*\immediate\write16{>dim(\the\wd\ASYbox)dim}
>dim(17.0137pt)dim

*\immediate\write16{>dim(\the\ht\ASYbox)dim}
>dim(9.51027pt)dim

*\immediate\write16{>dim(\the\dp\ASYbox)dim}
>dim(2.33331pt)dim

*\fontsize{12}{14.4}\selectfont%

*(Please type a command or say `\end')
*\usefont{\ASYencoding}{\ASYfamily}{\ASYseries}{\ASYshape}%

*(Please type a command or say `\end')
*\setbox\ASYbox=\hbox{\vphantom{$10^4$}$0,5$}

*(Please type a command or say `\end')
*\immediate\write16{>dim(\the\wd\ASYbox)dim}
>dim(17.0137pt)dim

*\immediate\write16{>dim(\the\ht\ASYbox)dim}
>dim(9.51027pt)dim

*\immediate\write16{>dim(\the\dp\ASYbox)dim}
>dim(2.33331pt)dim

*\fontsize{12}{14.4}\selectfont%

*(Please type a command or say `\end')
*\usefont{\ASYencoding}{\ASYfamily}{\ASYseries}{\ASYshape}%

*(Please type a command or say `\end')
*\setbox\ASYbox=\hbox{\vphantom{$10^4$}$1$}

*(Please type a command or say `\end')
*\immediate\write16{>dim(\the\wd\ASYbox)dim}
>dim(5.87494pt)dim

*\immediate\write16{>dim(\the\ht\ASYbox)dim}
>dim(9.51027pt)dim

*\immediate\write16{>dim(\the\dp\ASYbox)dim}
>dim(0.0pt)dim

*\fontsize{12}{14.4}\selectfont%

*(Please type a command or say `\end')
*\usefont{\ASYencoding}{\ASYfamily}{\ASYseries}{\ASYshape}%

*(Please type a command or say `\end')
*\setbox\ASYbox=\hbox{\vphantom{$10^4$}$1$}

*(Please type a command or say `\end')
*\immediate\write16{>dim(\the\wd\ASYbox)dim}
>dim(5.87494pt)dim

*\immediate\write16{>dim(\the\ht\ASYbox)dim}
>dim(9.51027pt)dim

*\immediate\write16{>dim(\the\dp\ASYbox)dim}
>dim(0.0pt)dim

*\fontsize{12}{14.4}\selectfont%

*(Please type a command or say `\end')
*\usefont{\ASYencoding}{\ASYfamily}{\ASYseries}{\ASYshape}%

*(Please type a command or say `\end')
*\setbox\ASYbox=\hbox{$x$}

*(Please type a command or say `\end')
*\immediate\write16{>dim(\the\wd\ASYbox)dim}
>dim(6.67703pt)dim

*\immediate\write16{>dim(\the\ht\ASYbox)dim}
>dim(5.16667pt)dim

*\immediate\write16{>dim(\the\dp\ASYbox)dim}
>dim(0.0pt)dim

*\fontsize{12}{14.4}\selectfont%

*(Please type a command or say `\end')
*\usefont{\ASYencoding}{\ASYfamily}{\ASYseries}{\ASYshape}%

*(Please type a command or say `\end')
*\setbox\ASYbox=\hbox{$x$}

*(Please type a command or say `\end')
*\immediate\write16{>dim(\the\wd\ASYbox)dim}
>dim(6.67703pt)dim

*\immediate\write16{>dim(\the\ht\ASYbox)dim}
>dim(5.16667pt)dim

*\immediate\write16{>dim(\the\dp\ASYbox)dim}
>dim(0.0pt)dim

*\fontsize{12}{14.4}\selectfont%

*(Please type a command or say `\end')
*\usefont{\ASYencoding}{\ASYfamily}{\ASYseries}{\ASYshape}%

*(Please type a command or say `\end')
*\setbox\ASYbox=\hbox{$x$}

*(Please type a command or say `\end')
*\immediate\write16{>dim(\the\wd\ASYbox)dim}
>dim(6.67703pt)dim

*\immediate\write16{>dim(\the\ht\ASYbox)dim}
>dim(5.16667pt)dim

*\immediate\write16{>dim(\the\dp\ASYbox)dim}
>dim(0.0pt)dim

*\fontsize{12}{14.4}\selectfont%

*(Please type a command or say `\end')
*\usefont{\ASYencoding}{\ASYfamily}{\ASYseries}{\ASYshape}%

*(Please type a command or say `\end')
*\setbox\ASYbox=\hbox{\vphantom{$10^4$}$10^{0}$}

*(Please type a command or say `\end')
*\immediate\write16{>dim(\the\wd\ASYbox)dim}
>dim(16.49994pt)dim

*\immediate\write16{>dim(\the\ht\ASYbox)dim}
>dim(9.51027pt)dim

*\immediate\write16{>dim(\the\dp\ASYbox)dim}
>dim(0.0pt)dim

*\fontsize{12}{14.4}\selectfont%

*(Please type a command or say `\end')
*\usefont{\ASYencoding}{\ASYfamily}{\ASYseries}{\ASYshape}%

*(Please type a command or say `\end')
*\setbox\ASYbox=\hbox{\vphantom{$10^4$}$10^{1}$}

*(Please type a command or say `\end')
*\immediate\write16{>dim(\the\wd\ASYbox)dim}
>dim(16.49994pt)dim

*\immediate\write16{>dim(\the\ht\ASYbox)dim}
>dim(9.51027pt)dim

*\immediate\write16{>dim(\the\dp\ASYbox)dim}
>dim(0.0pt)dim

*\fontsize{12}{14.4}\selectfont%

*(Please type a command or say `\end')
*\usefont{\ASYencoding}{\ASYfamily}{\ASYseries}{\ASYshape}%

*(Please type a command or say `\end')
*\setbox\ASYbox=\hbox{\vphantom{$10^4$}$10^{1}$}

*(Please type a command or say `\end')
*\immediate\write16{>dim(\the\wd\ASYbox)dim}
>dim(16.49994pt)dim

*\immediate\write16{>dim(\the\ht\ASYbox)dim}
>dim(9.51027pt)dim

*\immediate\write16{>dim(\the\dp\ASYbox)dim}
>dim(0.0pt)dim

*\fontsize{12}{14.4}\selectfont%

*(Please type a command or say `\end')
*\usefont{\ASYencoding}{\ASYfamily}{\ASYseries}{\ASYshape}%

*(Please type a command or say `\end')
*\setbox\ASYbox=\hbox{$z$}

*(Please type a command or say `\end')
*\immediate\write16{>dim(\the\wd\ASYbox)dim}
>dim(5.993pt)dim

*\immediate\write16{>dim(\the\ht\ASYbox)dim}
>dim(5.16667pt)dim

*\immediate\write16{>dim(\the\dp\ASYbox)dim}
>dim(0.0pt)dim

*latex -output-format=dvi \nonstopmode\input 3d_.tex
This is pdfTeX, Version 3.141592653-2.6-1.40.24 (TeX Live 2022/Arch Linux) (preloaded format=latex)
 restricted \write18 enabled.
entering extended mode
LaTeX2e <2021-11-15> patch level 1
L3 programming layer <2022-04-10>
(./3d_.tex (/usr/share/texmf-dist/tex/latex/base/article.cls
Document Class: article 2021/10/04 v1.4n Standard LaTeX document class
(/usr/share/texmf-dist/tex/latex/base/size12.clo))
(/usr/share/texmf-dist/tex/latex/l3backend/l3backend-dvips.def)
No file 3d_.aux.
[1] [2] [3] [4] [5] [6] [7] (./3d_.aux) )
Output written on 3d_.dvi (7 pages, 5388 bytes).
Transcript written on 3d_.log.
dvips -R -Pdownload35 -D600 -o3d_.ps 3d_.dvi
This is dvips(k) 2022.1 (TeX Live 2022)  Copyright 2022 Radical Eye Software (www.radicaleye.com)
' TeX output 2023.01.07:1228' -> 3d_.ps
</usr/share/texmf-dist/dvips/base/tex.pro>
</usr/share/texmf-dist/dvips/l3backend/l3backend-dvips.pro>
</usr/share/texmf-dist/dvips/base/texps.pro>
</usr/share/texmf-dist/dvips/base/special.pro>. 
</usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmr8.pfb>
</usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmr12.pfb>
</usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi12.pfb>[1] [2] [3] 
[4] [5] [6] [7] 
gs -q -dBATCH -P -dSAFER -sDEVICE=ps2write -sOutputFile=/dev/null 3d_.ps
M -40.6238 47.2005C -35.741 42.8125 -37.642 42.8125 -40.0248 44.0104C -32.5639 46.1068 -32.5639 44.7005 -33.3582 42.8125C -37.8373 51.1849 -35.142 51.1849 -32.5639 49.0885C -43.905 42.2135 -43.905 46.3932 -42.017 51.1849C -36.0405 31.862 -37.9285 32.7604 -43.905 36.1458C -43.905 21.6016 -43.905 23.3984 -43.5144 29.5703C -28.6707 6.06772 -30.8712 6.06772 -43.905 11.4453C -27.7722 7.17447 -27.7722 6.47134 -28.28 6.06772C -28.7748 8.35938 -28.3712 8.16406 -27.7722 7.96875C -41.9128 21.3021 -41.9128 18.4245 -39.8295 11.7448C -35.3503 26.6797 -37.7332 26.6797 -41.9128 25.7943C -26.0795 24.8958 -30.8712 26.0807 -33.1498 26.6797L -12.4467 21.5104C -0.988342 11.849 -0.988342 17.1224 -6.47015 20.013C -2.29047 6.77084 -0.988342 8.86719 -0.988342 11.3542C -7.17328 11.1458 -5.97534 11.1458 -2.98053 10.3516C -10.3503 7.76041 -10.3503 9.66147 -9.16547 11.1458C -5.0769 2.78647 -8.26703 2.78647 -10.3503 5.37759C 0.990784 11.7448 0.990784 7.47397 -0.897217 2.78647C -6.87378 22.0052 -2.78522 19.9088 0.990784 16.5234C 0.990784 32.2656 0.990784 28.5807 -0.988342 23.5938C -14.2436 47.7995 -12.043 47.7995 0.990784 42.4219C -15.129 46.7969 -15.129 47.3958 -14.7383 47.7995C -13.8399 45.5078 -14.6342 45.8073 -15.129 45.8985C -0.988342 32.5651 -0.988342 37.0443 -5.0769 42.8125C -7.66803 27.1875 -3.57953 27.1875 -0.988342 29.0755C -18.0196 29.1797 -11.4441 27.5781 -9.85553 27.1875L -31.5613 32.6563C -41.9128 42.1224 -41.9128 37.5391 -37.5378 34.1537C -40.6238 47.2005 -41.9128 45.1042 -41.9128 42.3177cM 0.0012207 54.9967>>showpage, press <return> to continue<<

M 11.147 26.1849C 18.3215 14.7396 18.3215 19.6094 14.9361 23.5026C 13.5429 7.26563 18.1262 8.76303 18.3215 13.5417C 13.647 8.26822 13.647 8.05991 13.647 7.56509C 8.76422 13.2422 11.0559 13.2422 13.647 11.25C 5.67828 9.85678 5.67828 11.3542 6.4726 13.2422C 11.746 4.77866 6.87622 4.77866 5.67828 8.26822C 20.3137 14.7396 20.3137 9.0625 16.8242 4.77866C 0.105408 37.5391 11.147 34.7526 20.3137 24.6875L -38.7358 47.2917C -40.4285 47.5912 -39.8295 47.5912 -39.2306 47.3958C -42.9155 44.9088 -42.9155 46.3932 -41.9128 47.5912C -39.53 41.1198 -42.5118 41.9141 -42.9155 44.0104L -10.2592 33.75C -7.17328 32.4609 -8.26703 33.2552 -8.46234 33.2552C -0.988342 22.4088 -0.988342 27.1875 -4.37378 30.4688C -9.16547 16.3281 -6.47015 16.3281 -0.988342 16.8229C -29.6733 21.7057 -22.4988 19.0234 -14.8295 16.3281C -35.9493 23.3984 -33.9571 23.3984 -32.5639 22.7995C -43.905 15.5338 -43.905 20.4167 -40.129 23.3984C -28.6707 2.68228 -29.4649 2.68228 -43.905 6.36719C -27.7722 3.78906 -27.7722 3.08594 -28.28 2.68228C -29.5691 5.18228 -28.1758 4.77866 -27.7722 4.67447C -41.9128 15.2344 -41.9128 11.3542 -37.9285 7.56509C -38.6316 17.8255 -41.9128 17.8255 -41.9128 16.1328C -29.3738 15.2344 -33.1498 16.7318 -36.0405 17.8255C -10.6498 10.3516 -13.0457 10.3516 -16.3269 10.3516C 0.990784 22.1094 0.990784 17.1224 -1.19672 10.3516C -3.57953 32.0573 0.105408 28.5807 0.990784 24.987L -3.48834 32.1615C 11.147 26.1849 6.27728 29.6745 2.39703 30.6641cM 0.0012207 47.9981>>showpage, press <return> to continue<<

M -8.05865 12.6432C -20.5066 25.3906 -16.0274 20.4167 -12.9415 16.9271C -29.6733 35.3516 -28.1758 33.9583 -25.6889 31.3672C -43.1108 45.8073 -42.3165 45.8073 -36.5352 42.3177C -43.905 44.8047 -43.905 45.0 -43.905 45.8073C -42.8113 43.4115 -43.5144 43.9063 -43.905 44.1146C -36.4441 35.9505 -36.4441 38.5287 -38.5274 40.9245C -39.7253 30.8724 -37.3425 32.7604 -36.4441 33.8542C -43.905 24.1927 -43.905 27.0833 -42.2123 28.776C -32.7592 12.5521 -34.8425 12.5521 -43.905 16.9271C -31.8608 13.5417 -31.8608 12.6432 -32.4597 12.5521C -32.9545 14.7396 -32.2644 14.4401 -31.8608 14.3359C -37.642 23.099 -37.642 21.2109 -36.9389 16.4323C -36.0405 29.2708 -36.9389 27.1875 -37.642 25.1953C -34.4519 35.651 -34.4519 34.6484 -34.4519 33.0599C -34.543 37.2396 -34.4519 36.7448 -34.4519 36.3412C -21.8087 24.1016 -25.8842 28.5807 -30.6628 33.9583L -12.5508 14.0365C 0.196533 4.28384 -0.493591 4.28384 -6.36597 7.96875C 0.990784 5.37759 0.990784 4.77866 0.795471 4.28384C -0.298279 6.77084 0.899658 6.06772 0.990784 5.97656C -6.47015 15.2344 -6.47015 11.5495 -2.78522 8.35938C -3.28003 20.3125 -5.78003 18.3203 -6.47015 17.3307C 0.990784 27.0833 0.990784 23.8932 -1.09253 22.2005C -13.9441 42.4219 -11.6524 42.4219 0.990784 36.8359C -14.9337 41.3151 -14.9337 42.3177 -14.3347 42.4219C -13.5405 40.1302 -14.53 40.4297 -14.9337 40.5208C -5.27222 28.1771 -5.27222 32.0573 -7.66803 37.9297C -6.87378 22.0052 -5.97534 24.1016 -5.27222 26.0807C -8.46234 15.638 -8.46234 16.9271 -8.46234 18.0208C -8.05865 12.6432 -8.46234 13.5417 -8.46234 14.6354cM 0.0012207 44.9967>>showpage, press <return> to continue<<

M -31.8608 44.6094C -55.754 40.5208 -48.1889 44.1146 -40.129 44.6094C -66.2097 24.401 -66.2097 29.2708 -64.0222 36.4453C -55.0639 7.86459 -63.3191 11.5495 -66.2097 18.6198C -31.8608 4.08853 -42.616 4.08853 -48.7878 5.07813C -7.86334 8.35938 -14.9337 4.77866 -22.1993 4.08853C 2.0976 24.2969 2.0976 19.1146 -0.298279 12.2526C -8.86597 40.8203 -3.08472 37.9297 2.0976 32.9557C -31.8608 44.6094 -26.0795 44.6094 -16.3269 44.4141cM 0.105408 24.2969C -12.5508 12.7474 -1.69147 14.6354 0.105408 21.1068C -33.0587 11.6537 -26.0795 11.6537 -18.5144 11.6537C -54.4649 13.2422 -48.5925 11.6537 -41.2227 11.6537C -64.2175 24.2969 -64.2175 20.013 -61.1316 14.9349C -53.3712 35.7422 -61.9259 33.8542 -64.2175 28.0729C -33.0587 37.0443 -39.8295 37.0443 -47.6941 37.0443C -12.7462 35.9505 -18.8139 37.0443 -26.379 37.0443C 0.105408 24.2969 0.105408 27.7734 -1.79565 34.0495cM 0.0012207 48.9974>>showpage, press <return> to continue<<

M -31.8608 44.6094C -55.754 40.5208 -48.1889 44.1146 -40.129 44.6094C -66.2097 24.401 -66.2097 29.2708 -64.0222 36.4453C -55.0639 7.86459 -63.3191 11.5495 -66.2097 18.6198C -31.8608 4.08853 -42.616 4.08853 -48.7878 5.07813C -7.86334 8.35938 -14.9337 4.77866 -22.1993 4.08853C 2.0976 24.2969 2.0976 19.1146 -0.298279 12.2526C -8.86597 40.8203 -3.08472 37.9297 2.0976 32.9557C -31.8608 44.6094 -26.0795 44.6094 -16.3269 44.4141cM 0.105408 24.2969C -12.5508 12.7474 -1.69147 14.6354 0.105408 21.1068C -33.0587 11.6537 -26.0795 11.6537 -18.5144 11.6537C -54.4649 13.2422 -48.5925 11.6537 -41.2227 11.6537C -64.2175 24.2969 -64.2175 20.013 -61.1316 14.9349C -53.3712 35.7422 -61.9259 33.8542 -64.2175 28.0729C -33.0587 37.0443 -39.8295 37.0443 -47.6941 37.0443C -12.7462 35.9505 -18.8139 37.0443 -26.379 37.0443C 0.105408 24.2969 0.105408 27.7734 -1.79565 34.0495cM 0.0012207 48.9974M 0.404846 68.4115C -9.66022 62.4349 -9.66022 66.5235 -5.3764 68.4115C -4.88159 57.6563 -7.06909 57.6563 -9.66022 59.2578C 0.0012207 62.5391 0.0012207 59.1537 -2.68109 57.6563C -1.28784 65.8203 -0.402405 64.9349 0.0012207 63.8282C -1.49615 66.224 -1.49615 66.1198 -1.49615 66.0287C 0.404846 66.4193 -0.102966 66.4193 -1.49615 66.4193C 16.6288 60.0521 10.1575 65.8203 3.6861 66.4193C 18.2173 58.9583 18.022 58.9583 17.8267 58.9583C 19.22 59.9479 19.22 59.4532 18.7252 58.9583C 0.404846 68.4115 11.8502 68.4115 19.22 60.7422cM 0.0012207 75.9961M -57.0561 105.742C -55.5587 114.596 -55.5587 113.503 -55.6628 110.026C -65.2202 133.021 -63.8269 133.021 -55.5587 125.846C -66.1186 132.227 -66.1186 132.826 -65.6108 133.021C -65.7149 130.924 -66.1186 131.823 -66.1186 132.031C -63.0327 117.982 -63.0327 120.573 -63.3191 125.352C -65.8191 104.844 -65.0118 106.732 -63.0327 111.419C -66.1186 103.854 -66.1186 103.945 -66.1186 104.141C -63.9181 103.047 -65.5196 103.047 -66.1186 103.047L -34.3477 103.047C -31.9649 104.245 -31.9649 103.047 -32.5639 103.047C -33.254 105.833 -32.0561 104.844 -31.9649 104.74C -39.7253 118.281 -39.7253 113.307 -37.3425 108.633C -33.1498 126.953 -34.8425 126.146 -39.7253 123.568C -20.6108 128.737 -24.3998 128.737 -29.2696 128.646C -6.66547 125.951 -11.1446 128.737 -16.8217 128.737C -0.597717 115.495 -0.597717 119.883 -3.08472 123.763C -12.3425 100.664 -5.0769 102.448 -0.597717 108.932C -12.043 102.253 -12.043 101.758 -12.1472 101.159C -16.4311 106.641 -13.0457 106.641 -12.043 103.945C -20.8061 102.253 -20.8061 104.74 -19.2175 106.641C -16.0274 97.8776 -19.9077 97.8776 -20.8061 100.469C 2.0976 115.703 2.0976 104.648 -7.5639 97.8776C -20.0118 136.81 -7.36859 136.81 2.0976 126.953C -41.7175 118.385 -41.7175 128.841 -31.8608 136.81C -36.4441 105.742 -39.2306 108.333 -41.7175 112.708L -57.0561 105.742cM 0.0012207 141.992>>showpage, press <return> to continue<<

M -63.8269 28.6719C -66.2097 26.6797 -66.2097 28.6719 -66.1186 28.6719C -59.8425 9.0625 -59.8425 19.3229 -63.5274 24.2969L -56.9519 9.0625C -59.5431 21.8099 -56.9519 16.3281 -56.9519 11.3542L -7.66803 21.8099C -2.8894 12.7474 -2.8894 21.5104 -4.08734 21.8099L -2.8894 9.66147L 0.0012207 9.66147C -0.194092 25.2865 -0.194092 22.0052 -0.194092 12.3438C 0.0012207 40.8203 -0.194092 38.138 -0.194092 28.5807L -2.8894 40.8203L -2.8894 37.7344C -7.66803 28.6719 -4.08734 28.6719 -2.8894 28.9713L -63.8269 28.6719cM 0.0012207 48.9974>>showpage, press <return> to continue<<

M -63.8269 28.6719C -66.2097 26.6797 -66.2097 28.6719 -66.1186 28.6719C -59.8425 9.0625 -59.8425 19.3229 -63.5274 24.2969L -56.9519 9.0625C -59.5431 21.8099 -56.9519 16.3281 -56.9519 11.3542L -7.66803 21.8099C -2.8894 12.7474 -2.8894 21.5104 -4.08734 21.8099L -2.8894 9.66147L 0.0012207 9.66147C -0.194092 25.2865 -0.194092 22.0052 -0.194092 12.3438C 0.0012207 40.8203 -0.194092 38.138 -0.194092 28.5807L -2.8894 40.8203L -2.8894 37.7344C -7.66803 28.6719 -4.08734 28.6719 -2.8894 28.9713L -63.8269 28.6719cM -31.8608 93.6068C -55.754 89.5182 -48.1889 93.112 -40.129 93.6068C -66.2097 73.3985 -66.2097 78.2682 -64.0222 85.4427C -55.0639 56.862 -63.3191 60.5469 -66.2097 67.6172C -31.8608 53.086 -42.616 53.086 -48.7878 54.0755C -7.86334 57.3568 -14.9337 53.776 -22.1993 53.086C 2.0976 73.2943 2.0976 68.112 -0.298279 61.25C -8.86597 89.8177 -3.08472 86.9271 2.0976 81.9532C -31.8608 93.6068 -26.0795 93.6068 -16.3269 93.4115cM 0.105408 73.2943C -12.5508 61.7448 -1.69147 63.6328 0.105408 70.1042C -33.0587 60.651 -26.0795 60.651 -18.5144 60.651C -54.4649 62.2396 -48.5925 60.651 -41.2227 60.651C -64.2175 73.2943 -64.2175 69.0104 -61.1316 63.9323C -53.3712 84.7396 -61.9259 82.8516 -64.2175 77.0703C -33.0587 86.0417 -39.8295 86.0417 -47.6941 86.0417C -12.7462 84.9479 -18.8139 86.0417 -26.379 86.0417C 0.105408 73.2943 0.105408 76.7708 -1.79565 83.0469cM 0.0012207 97.9948M -78.28 118.848C -80.142 116.921 -80.142 118.717 -80.0769 118.848C -75.8972 104.368 -75.8972 110.684 -77.4858 114.199L -73.7097 104.368C -75.4936 113.6 -73.7097 109.746 -73.7097 106.165L -41.4441 113.6C -38.1889 107.09 -38.1889 113.405 -38.9832 113.6L -38.1889 104.772L -36.0014 104.772C -36.1967 116.191 -36.1967 113.197 -36.1967 107.493C -36.0014 127.676 -36.1967 124.954 -36.1967 119.173L -38.1889 127.676L -38.1889 125.345C -41.4441 118.848 -38.9832 118.848 -38.1889 119.043L -78.28 118.848cM -36.0014 132.998>>showpage, press <return> to continue<<

\fontsize{12}{14.4}\selectfont%

*(Please type a command or say `\end')
*\usefont{\ASYencoding}{\ASYfamily}{\ASYseries}{\ASYshape}%

*(Please type a command or say `\end')
*\setbox\ASYbox=\hbox{$z$}

*(Please type a command or say `\end')
*\immediate\write16{>dim(\the\wd\ASYbox)dim}
>dim(5.993pt)dim

*\immediate\write16{>dim(\the\ht\ASYbox)dim}
>dim(5.16667pt)dim

*\immediate\write16{>dim(\the\dp\ASYbox)dim}
>dim(0.0pt)dim

*\fontsize{12}{14.4}\selectfont%

*(Please type a command or say `\end')
*\usefont{\ASYencoding}{\ASYfamily}{\ASYseries}{\ASYshape}%

*(Please type a command or say `\end')
*\setbox\ASYbox=\hbox{\vphantom{$10^4$}$0$}

*(Please type a command or say `\end')
*\immediate\write16{>dim(\the\wd\ASYbox)dim}
>dim(5.87494pt)dim

*\immediate\write16{>dim(\the\ht\ASYbox)dim}
>dim(9.51027pt)dim

*\immediate\write16{>dim(\the\dp\ASYbox)dim}
>dim(0.0pt)dim

*\fontsize{12}{14.4}\selectfont%

*(Please type a command or say `\end')
*\usefont{\ASYencoding}{\ASYfamily}{\ASYseries}{\ASYshape}%

*(Please type a command or say `\end')
*\setbox\ASYbox=\hbox{\vphantom{$10^4$}$0,5$}

*(Please type a command or say `\end')
*\immediate\write16{>dim(\the\wd\ASYbox)dim}
>dim(17.0137pt)dim

*\immediate\write16{>dim(\the\ht\ASYbox)dim}
>dim(9.51027pt)dim

*\immediate\write16{>dim(\the\dp\ASYbox)dim}
>dim(2.33331pt)dim

*\fontsize{12}{14.4}\selectfont%

*(Please type a command or say `\end')
*\usefont{\ASYencoding}{\ASYfamily}{\ASYseries}{\ASYshape}%

*(Please type a command or say `\end')
*\setbox\ASYbox=\hbox{\vphantom{$10^4$}$1$}

*(Please type a command or say `\end')
*\immediate\write16{>dim(\the\wd\ASYbox)dim}
>dim(5.87494pt)dim

*\immediate\write16{>dim(\the\ht\ASYbox)dim}
>dim(9.51027pt)dim

*\immediate\write16{>dim(\the\dp\ASYbox)dim}
>dim(0.0pt)dim

*\fontsize{12}{14.4}\selectfont%

*(Please type a command or say `\end')
*\usefont{\ASYencoding}{\ASYfamily}{\ASYseries}{\ASYshape}%

*(Please type a command or say `\end')
*\setbox\ASYbox=\hbox{$y$}

*(Please type a command or say `\end')
*\immediate\write16{>dim(\the\wd\ASYbox)dim}
>dim(6.15965pt)dim

*\immediate\write16{>dim(\the\ht\ASYbox)dim}
>dim(5.16667pt)dim

*\immediate\write16{>dim(\the\dp\ASYbox)dim}
>dim(2.33331pt)dim

*\fontsize{12}{14.4}\selectfont%

*(Please type a command or say `\end')
*\usefont{\ASYencoding}{\ASYfamily}{\ASYseries}{\ASYshape}%

*(Please type a command or say `\end')
*\setbox\ASYbox=\hbox{$y$}

*(Please type a command or say `\end')
*\immediate\write16{>dim(\the\wd\ASYbox)dim}
>dim(6.15965pt)dim

*\immediate\write16{>dim(\the\ht\ASYbox)dim}
>dim(5.16667pt)dim

*\immediate\write16{>dim(\the\dp\ASYbox)dim}
>dim(2.33331pt)dim

*\fontsize{12}{14.4}\selectfont%

*(Please type a command or say `\end')
*\usefont{\ASYencoding}{\ASYfamily}{\ASYseries}{\ASYshape}%

*(Please type a command or say `\end')
*\setbox\ASYbox=\hbox{\vphantom{$10^4$}$0$}

*(Please type a command or say `\end')
*\immediate\write16{>dim(\the\wd\ASYbox)dim}
>dim(5.87494pt)dim

*\immediate\write16{>dim(\the\ht\ASYbox)dim}
>dim(9.51027pt)dim

*\immediate\write16{>dim(\the\dp\ASYbox)dim}
>dim(0.0pt)dim

*\fontsize{12}{14.4}\selectfont%

*(Please type a command or say `\end')
*\usefont{\ASYencoding}{\ASYfamily}{\ASYseries}{\ASYshape}%

*(Please type a command or say `\end')
*\setbox\ASYbox=\hbox{\vphantom{$10^4$}$0,5$}

*(Please type a command or say `\end')
*\immediate\write16{>dim(\the\wd\ASYbox)dim}
>dim(17.0137pt)dim

*\immediate\write16{>dim(\the\ht\ASYbox)dim}
>dim(9.51027pt)dim

*\immediate\write16{>dim(\the\dp\ASYbox)dim}
>dim(2.33331pt)dim

*\fontsize{12}{14.4}\selectfont%

*(Please type a command or say `\end')
*\usefont{\ASYencoding}{\ASYfamily}{\ASYseries}{\ASYshape}%

*(Please type a command or say `\end')
*\setbox\ASYbox=\hbox{\vphantom{$10^4$}$1$}

*(Please type a command or say `\end')
*\immediate\write16{>dim(\the\wd\ASYbox)dim}
>dim(5.87494pt)dim

*\immediate\write16{>dim(\the\ht\ASYbox)dim}
>dim(9.51027pt)dim

*\immediate\write16{>dim(\the\dp\ASYbox)dim}
>dim(0.0pt)dim

*\fontsize{12}{14.4}\selectfont%

*(Please type a command or say `\end')
*\usefont{\ASYencoding}{\ASYfamily}{\ASYseries}{\ASYshape}%

*(Please type a command or say `\end')
*\setbox\ASYbox=\hbox{$x$}

*(Please type a command or say `\end')
*\immediate\write16{>dim(\the\wd\ASYbox)dim}
>dim(6.67703pt)dim

*\immediate\write16{>dim(\the\ht\ASYbox)dim}
>dim(5.16667pt)dim

*\immediate\write16{>dim(\the\dp\ASYbox)dim}
>dim(0.0pt)dim

*\fontsize{12}{14.4}\selectfont%

*(Please type a command or say `\end')
*\usefont{\ASYencoding}{\ASYfamily}{\ASYseries}{\ASYshape}%

*(Please type a command or say `\end')
*\setbox\ASYbox=\hbox{$x$}

*(Please type a command or say `\end')
*\immediate\write16{>dim(\the\wd\ASYbox)dim}
>dim(6.67703pt)dim

*\immediate\write16{>dim(\the\ht\ASYbox)dim}
>dim(5.16667pt)dim

*\immediate\write16{>dim(\the\dp\ASYbox)dim}
>dim(0.0pt)dim

*adjusting camera to (5.00584592018645,2.02981958110839,1.87670955122168)
adjusting target to (0.494795353077703,0.448310083512477,0.519637429268176)
Allocating osmesa_buffer of size 1024x768x4x1
Offscreen context settings: Depth=16 Stencil=0 Accum=0
GLSL version 4.50
    shipout3(prefix,f,preview ? nativeformat() : format,
            ^
/usr/share/asymptote/three.asy: 2896.13: runtime:
KadaB commented 1 year ago

glxgears and glmark2 run normally.

I'm running manjaro with kde.

It seems to be a problem with opengl however till now I never experienced any problems with drivers or 3d/opengl.

johncbowman commented 1 year ago

This line is the key to your problem: Offscreen context settings: Depth=16 Stencil=0 Accum=0

It means that you configured with offscreen support, not OpenGL support!

Check asy --version. You need to configure with ./configure --disable-offscreen (the default).

johncbowman commented 1 year ago

See https://github.com/vectorgraphics/asymptote/issues/364