Closed rafelamer closed 2 months ago
There are 2 problems: you are using an obsolete version of Asymptote (which misses an update to offscreen rendering introduced in version 2.87) and it was configured with the -offscreen option, which is only intended for headless machines (no GPU card), not for normal interactive use:
OpenGL 3D OSMesa offscreen rendering
You should install the latest version of Asymptote, 2.91, and configure without the --enable-offscreen option (see the file INSTALL for compilation instructions). Also be aware that using -render=10 creates a huge PDF file: a 1 bp x 1bp region gets rendered to a 10 pixel x10 pixel region, so that, on accounting for an antialiasing factor of 2, your example renders to a 9100x5920 image. Is that really what you intended? Usually -render=4 is sufficient.
Hi!,
I'm running asymptote in Fedora 40 and the version is
The file ellipoid.asy contains the code
When I run
I get the error Error initializing offscreen context: Depth=0 and no PDF is generated.
Some months ago, the pdf was generated correctly.
If I substitute settings.render = 10; by settings.render = 0;, the PDF is generated, bue the result is ugly.
Do you know how to solve the problem?
With the version 2.91 downloaded from https://sourceforge.net/projects/asymptote/ it works fine
Thanks.
Best regards,
Rafel Amer