Menu

Compilation problem with the latest version

Help
Aragorn
2023-01-03
2023-01-05
  • Aragorn

    Aragorn - 2023-01-03

    Hi,
    First of all, I must mention that I reinstalled ArchLinux on my new PC. I then installed the latest version of Asymptote but I get the following error :

    [fabrice@arch ~]$ asy --version
    Asymptote version 2.83 [(C) 2004 Andy Hammerlindl, John C. Bowman, Tom Prince]
    
    ENABLED OPTIONS:
    WebGL    3D HTML rendering
    OpenGL   3D OpenGL rendering
    SSBO     GLSL shader storage buffer objects
    CURL     URL support
    Readline Interactive history and editing
    GC       Boehm garbage collector
    threads  Render OpenGL in separate thread
    
    DISABLED OPTIONS:
    V3D      3D vector graphics output
    GSL      GNU Scientific Library (special functions)
    FFTW3    Fast Fourier transforms
    Eigen    Eigenvalue library
    XDR      External Data Representation (portable binary file format for V3D)
    LSP      Language Server Protocol
    Sigsegv  Distinguish stack overflows from segmentation faults
    [fabrice@arch ~]$ asy asymptote-1.asy
    Xlib: sequence lost (0x10000 > 0x29) in reply type 0x16!
        shipout3(prefix,f,preview ? nativeformat() : format,
                ^
    /home/fabrice/asymptote/share/asymptote/three.asy: 2896.13: runtime: [fabrice@arch ~]$ 
    

    Thanks for your help.

     
  • John Bowman

    John Bowman - 2023-01-03

    It looks like there is a bug in your graphics driver. Nothing has changed between Asymptote versions 2.82 and 2.83 that would cause such an error.

    You forgot to post asymptote-1.asy so it is hard to provide any help. You should also post the output of

    asy -vvv asymptote-1.asy
    

    You can also try to work around some driver bugs using one or more of the options
    -noGPUcompress, -noGPUindexing, -noGPUinterlock.

     
  • Aragorn

    Aragorn - 2023-01-03

    ~~
    Using configuration directory /home/fabrice/.asy
    Loading config.asy from config.asy
    Using history /home/fabrice/.asy/history
    Welcome to Asymptote version 2.83
    cd /home/fabrice
    Processing asymptote-1
    Loading plain from /home/fabrice/asymptote/share/asymptote/plain.asy
    Including plain_constants from /home/fabrice/asymptote/share/asymptote/plain_constants.asy
    Loading version from /home/fabrice/asymptote/share/asymptote/version.asy
    Including plain_strings from /home/fabrice/asymptote/share/asymptote/plain_strings.asy
    Including plain_pens from /home/fabrice/asymptote/share/asymptote/plain_pens.asy
    Including plain_paths from /home/fabrice/asymptote/share/asymptote/plain_paths.asy
    Including plain_filldraw from /home/fabrice/asymptote/share/asymptote/plain_filldraw.asy
    Including plain_margins from /home/fabrice/asymptote/share/asymptote/plain_margins.asy
    Including plain_picture from /home/fabrice/asymptote/share/asymptote/plain_picture.asy
    Loading plain_scaling from /home/fabrice/asymptote/share/asymptote/plain_scaling.asy
    Loading simplex from /home/fabrice/asymptote/share/asymptote/simplex.asy
    Loading plain_bounds from /home/fabrice/asymptote/share/asymptote/plain_bounds.asy
    Including plain_scaling from /home/fabrice/asymptote/share/asymptote/plain_scaling.asy
    Including plain_prethree from /home/fabrice/asymptote/share/asymptote/plain_prethree.asy
    Including plain_Label from /home/fabrice/asymptote/share/asymptote/plain_Label.asy
    Including plain_arcs from /home/fabrice/asymptote/share/asymptote/plain_arcs.asy
    Including plain_boxes from /home/fabrice/asymptote/share/asymptote/plain_boxes.asy
    Including plain_shipout from /home/fabrice/asymptote/share/asymptote/plain_shipout.asy
    Including plain_markers from /home/fabrice/asymptote/share/asymptote/plain_markers.asy
    Including plain_arrows from /home/fabrice/asymptote/share/asymptote/plain_arrows.asy
    Including plain_debugger from /home/fabrice/asymptote/share/asymptote/plain_debugger.asy
    Loading asymptote-1.asy from asymptote-1.asy
    Loading solids from /home/fabrice/asymptote/share/asymptote/solids.asy
    Loading graph3 from /home/fabrice/asymptote/share/asymptote/graph3.asy
    Loading math from /home/fabrice/asymptote/share/asymptote/math.asy
    Loading graph from /home/fabrice/asymptote/share/asymptote/graph.asy
    Loading graph_splinetype from /home/fabrice/asymptote/share/asymptote/graph_splinetype.asy
    Loading graph_settings from /home/fabrice/asymptote/share/asymptote/graph_settings.asy
    Loading three from /home/fabrice/asymptote/share/asymptote/three.asy
    Loading embed from /home/fabrice/asymptote/share/asymptote/embed.asy
    Including three_light from /home/fabrice/asymptote/share/asymptote/three_light.asy
    Including three_surface from /home/fabrice/asymptote/share/asymptote/three_surface.asy
    Loading bezulate from /home/fabrice/asymptote/share/asymptote/bezulate.asy
    Loading interpolate from /home/fabrice/.asy/interpolate.asy
    Including three_margins from /home/fabrice/asymptote/share/asymptote/three_margins.asy
    Including three_tube from /home/fabrice/asymptote/share/asymptote/three_tube.asy
    Including three_arrows from /home/fabrice/asymptote/share/asymptote/three_arrows.asy
    latex \scrollmode
    This is pdfTeX, Version 3.141592653-2.6-1.40.24 (TeX Live 2022) (preloaded format=latex)
    restricted \write18 enabled.
    entering extended mode
    LaTeX2e <2022-06-01> patch level 5
    L3 programming layer <2022-08-30>

    * \documentclass[12pt]{article}
    \let\paperwidthsave\paperwidth\let\paperwidth\undefined
    \usepackage{graphicx}
    \let\paperwidth\paperwidthsave
    \newbox\ASYbox
    \newdimen\ASYdimen
    \def\ASYprefix{}
    \long\def\ASYbase#1#2{\leavevmode\setbox\ASYbox=\hbox{#1}%\ASYdimen=\ht\ASYbox%
    \setbox\ASYbox=\hbox{#2}\lower\ASYdimen\box\ASYbox}
    \makeatletter
    \def\Ginclude@eps#1{%
    \message{<#1>}%
    \bgroup
    \def\@tempa{!}%
    \dimen@\Gin@req@width
    \dimen@ii.1bp%
    \divide\dimen@\dimen@ii
    \@tempdima\Gin@req@height
    \divide\@tempdima\dimen@ii
    \special{PSfile=#1\space
    llx=\Gin@llx\space
    lly=\Gin@lly\space
    urx=\Gin@urx\space
    ury=\Gin@ury\space
    \ifx\Gin@scalex\@tempa\else rwi=\number\dimen@\space\fi
    \ifx\Gin@scaley\@tempa\else rhi=\number\@tempdima\space\fi
    \ifGin@clip clip\fi}%
    \egroup}
    \makeatother
    \begin{document}
    \makeatletter%
    \let\ASYencoding\f@encoding%
    \let\ASYfamily\f@family%
    \let\ASYseries\f@series%
    \let\ASYshape\f@shape%
    \makeatother%
    \fontsize{12}{14.4}\selectfont%

    (Please type a command or say `\end') * (/home/fabrice/texlive/2022/texmf-dist/tex/latex/base/article.cls
    Document Class: article 2021/10/04 v1.4n Standard LaTeX document class
    (/home/fabrice/texlive/2022/texmf-dist/tex/latex/base/size12.clo)) *
    (/home/fabrice/texlive/2022/texmf-dist/tex/latex/graphics/graphicx.sty
    (/home/fabrice/texlive/2022/texmf-dist/tex/latex/graphics/keyval.sty)
    (/home/fabrice/texlive/2022/texmf-dist/tex/latex/graphics/graphics.sty
    (/home/fabrice/texlive/2022/texmf-dist/tex/latex/graphics/trig.sty)
    (/home/fabrice/texlive/2022/texmf-dist/tex/latex/graphics-cfg/graphics.cfg)
    (/home/fabrice/texlive/2022/texmf-dist/tex/latex/graphics-def/dvips.def))) * * * * * * * * * * * * * *(/home/fabrice/texlive/2022/texmf-dist/tex/latex/l3backend/l3backend-dvips.def)

    No file texput.aux.

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

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

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

    dim(9.26823pt)dim

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

    dim(8.2pt)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{$A$}

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

    dim(8.80824pt)dim

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

    dim(8.2pt)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{$M$}

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

    dim(12.62076pt)dim

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

    dim(8.2pt)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{$B$}

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

    dim(9.53186pt)dim

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

    dim(8.2pt)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{$F$}

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

    dim(9.23813pt)dim

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

    dim(8.2pt)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{$E$}

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

    dim(9.4013pt)dim

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

    dim(8.2pt)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{$C$}

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

    dim(9.26823pt)dim

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

    dim(8.2pt)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{$C$}

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

    dim(9.26823pt)dim

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

    dim(8.2pt)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{$A$}

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

    dim(8.80824pt)dim

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

    dim(8.2pt)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{$A$}

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

    dim(8.80824pt)dim

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

    dim(8.2pt)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{$M$}

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

    dim(12.62076pt)dim

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

    dim(8.2pt)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{$M$}

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

    dim(12.62076pt)dim

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

    dim(8.2pt)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{$B$}

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

    dim(9.53186pt)dim

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

    dim(8.2pt)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{$B$}

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

    dim(9.53186pt)dim

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

    dim(8.2pt)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{$F$}

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

    dim(9.23813pt)dim

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

    dim(8.2pt)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{$F$}

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

    dim(9.23813pt)dim

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

    dim(8.2pt)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{$E$}

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

    dim(9.4013pt)dim

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

    dim(8.2pt)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{$E$}

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

    dim(9.4013pt)dim

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

    dim(8.2pt)dim

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

    dim(0.0pt)dim

    *latex -output-format=dvi \nonstopmode\input asymptote-1_.tex
    This is pdfTeX, Version 3.141592653-2.6-1.40.24 (TeX Live 2022) (preloaded format=latex)
    restricted \write18 enabled.
    entering extended mode
    LaTeX2e <2022-06-01> patch level 5
    L3 programming layer <2022-08-30>
    (./asymptote-1_.tex
    (/home/fabrice/texlive/2022/texmf-dist/tex/latex/base/article.cls
    Document Class: article 2021/10/04 v1.4n Standard LaTeX document class
    (/home/fabrice/texlive/2022/texmf-dist/tex/latex/base/size12.clo))
    (/home/fabrice/texlive/2022/texmf-dist/tex/latex/l3backend/l3backend-dvips.def)

    No file asymptote-1_.aux.
    [1] [2] [3] [4] [5] [6] (./asymptote-1_.aux) )
    Output written on asymptote-1_.dvi (6 pages, 4556 bytes).
    Transcript written on asymptote-1_.log.
    dvips -R -Pdownload35 -D600 -oasymptote-1_.ps asymptote-1_.dvi
    This is dvips(k) 2022.1 (TeX Live 2022) Copyright 2022 Radical Eye Software (www.radicaleye.com)
    ' TeX output 2023.01.03:2055' -> asymptote-1_.ps



    .

    [1] [2] [3] [4] [5] [6]
    gs -q -dBATCH -P -dSAFER -sDEVICE=ps2write -sOutputFile=/dev/null asymptote-1_.ps
    M -11.0535 16.9271C -2.8894 5.27344 -3.1889 10.0521 -5.18109 13.4375C -0.988342 3.38541 -2.78522 3.38541 -2.78522 4.17969C 0.0012207 4.58334 0.0012207 3.88022 -0.402405 3.38541C -0.194092 12.6432 -0.194092 10.8594 0.0012207 6.36719C 0.0012207 21.5104 0.0012207 18.724 -0.194092 15.5338C -1.88678 23.2943 0.0012207 23.2943 0.0012207 22.1094C -2.8894 21.901 -2.8894 22.5 -2.78522 23.2943C -6.27484 17.7213 -3.87897 17.7213 -3.08472 19.6094C -10.9493 19.6094 -8.76178 18.3203 -7.66803 17.7213L -23.5014 27.1875L -23.5014 52.5782C -20.9102 52.7735 -21.8087 52.6693 -22.603 52.6693C -6.06647 54.2708 -7.96753 54.2708 -18.3191 53.0729C -2.8894 47.5912 -2.8894 49.1927 -3.08472 54.2708C -1.09253 45.4037 -2.8894 45.4037 -2.8894 46.4974C 0.0012207 46.901 0.0012207 46.3021 0.0012207 45.4037C -0.194092 52.2787 -0.194092 50.586 0.0012207 48.5938L -0.194092 57.9557C 0.0012207 68.5026 0.0012207 68.3985 -0.194092 64.0235C -1.88678 70.2995 0.0012207 70.2995 0.0012207 69.2057C -2.8894 67.9037 -2.8894 69.401 -2.8894 70.2995C -6.76959 62.0313 -3.78784 62.3307 -2.8894 62.4349L -68.905 55.9635C -71.0925 54.2708 -71.0925 55.3646 -70.8972 55.7552C -69.3998 51.7708 -70.8972 52.6693 -71.0925 53.2682L -11.0535 16.9271cM -26.379 28.8802L -59.8425 48.8932L -26.379 52.2787L -26.379 28.8802cM 0.0012207 72.9981>>showpage, press <return> to continue<<</return>

    M -61.2358 36.4453C -65.116 41.6146 -65.116 37.7344 -64.9207 37.3438L -65.116 54.5703C -54.6602 65.8203 -55.5587 65.8203 -65.116 65.8203C -36.3399 44.6094 -36.3399 57.7474 -46.6003 65.8203L -36.3399 30.2734L -61.2358 36.4453cM -35.5457 53.2682C -54.2696 73.9844 -45.103 73.9844 -37.5378 64.1276C -68.0066 55.8594 -68.0066 67.1094 -62.03 73.9844L -68.0066 23.8932C -66.1186 21.1068 -68.0066 21.1068 -68.0066 22.0052C -65.116 23.5026 -65.116 22.0052 -65.116 21.1068C -63.228 29.5703 -64.3217 29.5703 -65.116 29.5703C -60.9363 29.1797 -62.4337 29.5703 -63.0327 29.5703L -7.36859 15.7292C -2.8894 7.66928 -2.8894 14.6354 -3.87897 14.8307C -1.09253 4.77866 -2.8894 4.77866 -2.8894 5.78125C 0.0012207 7.36978 0.0012207 5.37759 0.0012207 4.77866L 0.0012207 41.5234C -21.6003 68.5026 -11.5483 68.5026 0.0012207 56.7578C -35.5457 53.2682 -34.7514 61.3412 -29.7644 68.5026cM -2.8894 39.1276L -2.8894 25.6901C -2.98053 23.5026 -2.8894 24.1016 -2.8894 24.2969C -4.08734 22.3047 -3.28003 22.3047 -3.08472 22.4088C -6.27484 22.7083 -5.3764 22.5 -4.7774 22.3047L -34.3477 29.6745L -34.3477 48.3854C -22.603 60.1432 -23.3972 60.1432 -34.3477 60.1432C -2.8894 39.1276 -2.8894 51.4713 -13.0457 60.1432cM 0.0012207 73.9974>>showpage, press <return> to continue<<</return>

    M -69.2045 74.375C -70.0899 73.4766 -70.0899 73.6849 -70.0899 74.375C -69.1003 72.0833 -70.0899 72.8907 -70.0899 73.2813L -60.741 65.2213C -70.0899 48.7891 -70.0899 56.263 -66.7045 61.7318C -24.8946 4.97397 -48.2931 4.97397 -70.0899 27.2787C 2.0976 31.1588 2.0976 16.6276 -8.26703 4.97397C -6.17065 51.875 -1.28784 46.1068 2.0976 39.1276C -23.892 63.125 -23.0977 63.125 -13.4363 60.5338C -24.7905 62.0313 -24.7905 62.3307 -24.7905 63.125C -23.8008 60.8333 -24.1915 61.0417 -24.7905 61.1328C -0.79303 32.8516 -0.79303 42.8125 -8.26703 56.263C -21.7045 13.138 -7.5639 13.138 -0.79303 22.3047C -55.2592 25.3906 -42.2123 14.1406 -24.8946 13.138C -67.2123 49.6875 -67.2123 40.2213 -61.6264 30.8724C -47.9936 65.5208 -58.1498 65.5208 -67.2123 60.638C -42.8113 65.2213 -43.2149 65.2213 -45.4024 65.5208C -41.9128 66.5104 -41.9128 66.211 -41.9128 65.2213C -43.8139 68.112 -42.017 67.7083 -41.9128 67.6042L -69.2045 74.375cM 0.0012207 69.9967>>showpage, press <return> to continue<<</return>

    M -23.0977 69.2057C -24.491 69.5963 -24.1003 69.5963 -23.3972 69.2969C -25.4936 68.6068 -25.4936 69.2057 -24.9858 69.5963C -25.0899 67.7083 -25.3894 68.0078 -25.4936 68.2032C -22.7983 66.6146 -24.7905 67.513 -24.9858 67.513C -2.8894 40.5208 -2.8894 56.4583 -8.86597 60.7422L -2.8894 25.9896C -2.98053 23.8021 -2.8894 24.401 -2.8894 24.5963C -4.08734 22.6042 -3.28003 22.6042 -3.08472 22.7083C -6.27484 22.9948 -5.3764 22.7995 -4.7774 22.6042L -33.7488 29.8698L -33.7488 39.7266C -29.0743 48.086 -32.0561 48.086 -33.7488 47.5C -24.1915 47.3958 -27.1863 48.086 -28.0717 48.086C -23.0977 47.0963 -23.3972 47.0963 -23.8008 47.2005C -22.1082 48.1901 -22.1082 47.5912 -22.4077 47.0963C -24.1915 49.5833 -22.7983 49.1927 -22.1082 49.0885L -47.2905 55.2604C -48.2931 54.2708 -48.2931 54.8568 -47.7983 55.2604C -46.4962 52.8776 -47.8894 53.2682 -48.2931 53.3724C -36.6394 40.026 -36.6394 48.8932 -38.8269 50.8854L -36.6394 30.5729L -61.1316 36.7448C -64.9207 41.9141 -64.9207 37.8385 -64.6212 37.6432L -64.9207 56.1588C -54.0613 70.8985 -61.6264 70.8985 -64.9207 68.3985C -47.8894 70.4948 -51.1837 70.8985 -53.9702 70.8985C -46.6915 70.2995 -46.8998 70.2995 -47.4988 70.3907C -45.5977 71.3932 -45.5977 70.7943 -45.8972 70.2995C -47.7983 72.6823 -46.0014 72.487 -45.5977 72.0833L -65.2202 74.7787C -66.7045 74.974 -66.5092 74.974 -65.5196 74.7787C -67.8113 72.2917 -67.8113 74.0755 -67.8113 74.974L -67.8113 23.6979C -66.0144 20.8073 -67.8113 20.8073 -67.8113 21.8099C -64.9207 23.2031 -64.9207 21.5104 -64.9207 20.8073C -63.1238 29.375 -64.2175 29.375 -64.9207 29.375C -61.1316 28.9713 -62.2253 29.2708 -62.629 29.375L -7.36859 15.5338C -2.8894 7.47397 -2.8894 14.4401 -3.87897 14.6354C -1.09253 4.58334 -2.8894 4.58334 -2.8894 5.57291C 0.0012207 7.17447 0.0012207 5.18228 0.0012207 4.58334L 0.0012207 57.1485C -1.69147 60.1432 -0.102966 59.4401 0.0012207 59.349L -23.0977 69.2057cM 0.0012207 71.9987>>showpage, press <return> to continue<<</return>

    M -32.4597 29.5703L -32.4597 39.1276C -27.8764 47.2917 -30.767 47.2917 -32.4597 46.6927C -22.9936 46.6016 -25.1941 47.0963 -26.5873 47.2917C -21.8998 46.3021 -22.1082 46.3021 -22.603 46.3932C -20.8061 47.3958 -20.8061 46.6927 -21.2097 46.3021C -22.7983 48.6849 -21.2097 48.2943 -20.8061 48.1901L -46.0014 54.4662C -46.991 53.4635 -46.991 54.1667 -46.392 54.4662C -44.9077 52.0703 -46.6003 52.474 -46.991 52.5782C -35.3503 39.3359 -35.3503 47.9948 -37.4337 49.987L -35.3503 30.2734L -61.1316 36.7448C -64.9207 41.9141 -64.9207 37.8385 -64.6212 37.6432L -64.9207 55.2604C -54.1655 69.5052 -61.2358 69.5052 -64.9207 67.7083C -48.7878 69.2057 -51.379 69.5052 -53.5665 69.5052C -46.6915 68.9063 -47.0952 68.9063 -48.3842 69.1016C -45.5977 70.0 -45.5977 69.401 -45.8972 68.9063C -47.7983 71.2891 -46.0014 71.0938 -45.5977 70.6901L -65.2202 73.3854C -66.7045 73.5807 -66.5092 73.5807 -65.5196 73.3854C -67.8113 70.8985 -67.8113 72.6823 -67.8113 73.5807L -67.8113 23.6979C -66.0144 20.8073 -67.8113 20.8073 -67.8113 21.8099C -64.9207 23.2031 -64.9207 21.5104 -64.9207 20.8073C -63.1238 29.375 -64.2175 29.375 -64.9207 29.375C -61.1316 28.9713 -62.2253 29.2708 -62.629 29.375L -7.36859 15.5338C -2.8894 7.47397 -2.8894 14.4401 -3.87897 14.6354C -1.09253 4.58334 -2.8894 4.58334 -2.8894 5.57291C 0.0012207 6.06772 0.0012207 5.48178 0.0012207 4.58334C -0.194092 11.849 -0.194092 9.96094 0.0012207 7.96875L -0.194092 24.7917C 0.0012207 31.5625 0.0012207 29.375 -0.194092 26.9792C -1.79565 33.6588 0.0012207 33.6588 0.0012207 32.4609C -2.8894 30.8724 -2.8894 33.0599 -2.8894 33.6588C -5.0769 22.7995 -3.57953 22.7995 -2.8894 22.9948C -7.06909 23.2031 -6.36597 22.9948 -5.57172 22.7995L -32.4597 29.5703cM 0.0012207 62.9981>>showpage, press <return> to continue<<</return>

    M -60.741 90.4037C -65.116 98.5677 -65.116 91.5104 -64.1264 91.3021C -67.004 101.367 -65.116 101.367 -65.116 100.469C -68.0066 98.776 -68.0066 100.664 -68.0066 101.367L -68.0066 86.8229C -66.3139 83.138 -67.9024 84.2318 -68.0066 84.336L -8.86597 46.7969L -65.8191 39.3359C -68.0066 36.3412 -68.0066 38.9323 -68.0066 39.0365L -68.0066 23.9974C -66.1186 21.2109 -68.0066 21.2109 -68.0066 22.1094C -65.116 23.5938 -65.116 22.1094 -65.116 21.2109C -63.228 29.6745 -64.3217 29.6745 -65.116 29.6745C -60.9363 29.2708 -62.4337 29.6745 -63.0327 29.6745L -10.155 16.5234C -2.8894 6.36719 -3.1889 13.0469 -5.3764 15.3385C -1.09253 4.88281 -2.78522 4.88281 -2.8894 6.06772C 0.0012207 6.17188 0.0012207 5.78125 0.0012207 4.88281C -0.194092 15.2344 -0.194092 13.2422 0.0012207 8.16406L -0.194092 20.013C 0.0012207 24.4922 0.0012207 23.099 -0.194092 21.4063C -1.88678 26.2891 0.0012207 26.2891 0.0012207 25.1953C -2.8894 24.8958 -2.8894 25.2865 -2.78522 26.2891C -7.17328 18.4245 -3.57953 18.4245 -2.98053 21.6016C -9.66022 18.8151 -8.26703 18.4245 -8.16284 18.4245L -64.517 32.5651L -64.517 32.6563L -2.68109 40.9245C 0.0012207 42.2135 0.0012207 41.3151 -0.298279 41.224C -1.69147 44.3099 -0.79303 43.8151 0.0012207 43.3073L -65.0118 84.336L -65.0118 84.4401L -7.36859 70.0C -2.8894 61.9271 -2.8894 68.9063 -3.87897 69.1016C -1.09253 59.0495 -2.8894 59.0495 -2.8894 60.0391C 0.0012207 60.5338 0.0012207 59.9349 0.0012207 59.0495C -0.194092 65.9115 -0.194092 64.2188 0.0012207 62.2266L -0.194092 77.6693C 0.0012207 83.138 0.0012207 81.4453 -0.194092 79.362C -1.88678 85.026 0.0012207 85.026 0.0012207 83.9323C -2.8894 82.6432 -2.8894 84.1407 -2.8894 85.026C -4.67328 76.5625 -3.68365 76.5625 -2.8894 76.5625C -6.27484 76.7708 -5.48053 76.5625 -4.7774 76.5625L -60.741 90.4037cM 0.0012207 93.9974>>showpage, press <return> to continue<<</return>

    Xlib: sequence lost (0x10000 > 0x29) in reply type 0x16!
    GLSL version 4.50
    No fragment shader interlock support
    shipout3(prefix,f,preview ? nativeformat() : format,
    ^
    /home/fabrice/asymptote/share/asymptote/three.asy: 2896.13: runtime:
    ~~~

     

    Last edit: Aragorn 2023-01-03
  • Aragorn

    Aragorn - 2023-01-03
    size(8cm,0);
    import solids;
    
    currentprojection = orthographic(50,100,25);
    
    render render=render(compression=0,merge=true);
    
    real R=6, h=10, r=4, a=10/3;
    triple pA=(0,0,0), pB=(0,0,h), pC=(-R,0,0), pM=(-r,0,0), pF=(0,0,a),
    pE=(xpart(pM),ypart(pM), a);
    triple axis=Z;
    
    revolution CoRev=cone(pA,R,h,axis=Z,n=1);
    
    surface cylinder=scale(r,r,a)*unitcylinder;
    
    draw(surface(CoRev),orange+opacity(0.4),render);
    draw(CoRev,1bp+black);
    
    draw(cylinder,orange+opacity(0.5),render(merge=true));
    
    draw(pB--pA^^pA--pC^^pE--pF,dashed);
    
    dot(Label("$C$",align=NW),pC);
    dot(Label("$A$",align=SW),pA);
    dot(Label("$M$",align=NW),pM);
    dot(Label("$B$",align=N),pB);
    dot(Label("$F$",align=W),pF);
    dot(Label("$E$",align=NW),pE);
    
     
  • John Bowman

    John Bowman - 2023-01-03

    The fact that you get the Xlib error even before initializing OpenGL means
    that there is a problem with your graphics libraries. I recommend downgrading to the previous OS version until this problem is fixed. Do glxgears and glmark2 work correctly?
    It might be enough to downgrade the freeglut library. I'm using freeglut 3.2.2; I haven't tried 3.4.0 yet. The fact that your OpenGL doesn't support interlocks is already a sign of something wrong (at least for a modern graphics card):

    Xlib: sequence lost (0x10000 > 0x29) in reply type 0x16!
    GLSL version 4.50
    No fragment shader interlock support

     
  • Aragorn

    Aragorn - 2023-01-05

    Using the ArchLinux community, we installed the nvidia drivers for my new graphics card, and it now seems to work just fine.
    Thank you.

     

Log in to post a comment.