Package: asymptote Version: 2.81+ds-1 Severity: normal Dear Maintainer,
I'm trying to render the intersection of two cylinders here. Everything runs fine when output is an HTML file, but changing the outformat to PDF or PNG produce the following output on terminal: X Error of failed request: GLXBadFBConfig Major opcode of failed request: 153 (GLX) Minor opcode of failed request: 0 () Serial number of failed request: 43 Current serial number in output stream: 43 I'm totally clueless on what's going on. Here is the asy file content: import solids; settings.outformat = "html"; currentprojection=orthographic(3,2,3); limits((-2,-2,-2),(2,2,2)); currentlight=light(white,(2,2,2),(2,-2,-2)); revolution cil=cylinder((-1.5,0,0),1,3,(3,0,0)); surface s1 = surface(cil); surface s2 = rotate(90,Z)*surface(cil); draw(s1, lightblue+opacity(0.8)); draw(s2, orange+opacity(1.0)); And the "trimmed" version of it: import graph3; settings.outformat = "html"; currentprojection=orthographic(3,2,3); limits((-2,-2,-2),(2,2,2)); currentlight=light(white,(2,2,2),(2,-2,-2)); triple cil1(pair z) { real r=z.x; real t=z.y; real x=-r*sqrt(1-t^2); real y=-sqrt(1-t^2); real z=t; return (x,y,z); } surface s1 = surface(cil1,(-1,-1),(1,1),nu=1,nv=200); surface s2 = reflect(O,X,Z)*s1; surface s3 = rotate(90,Z)*s1; surface s4 = rotate(-90,Z)*s1; draw(s1,lightblue); //+opacity(0.8)); draw(s2,lightblue); //+opacity(0.8)); draw(s3,orange); //+opacity(0.8)); draw(s4,orange); //+opacity(0.8)); Please let me know if anything else will help to understand the problem. Best, Alexandre -- System Information: Debian Release: bookworm/sid APT prefers testing APT policy: (900, 'testing'), (800, 'unstable'), (500, 'stable-security') Architecture: amd64 (x86_64) Kernel: Linux 5.17.0-1-amd64 (SMP w/4 CPU threads; PREEMPT) Kernel taint flags: TAINT_WARN Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages asymptote depends on: ii freeglut3 2.8.1-6 ii ghostscript 9.56.1~dfsg-1 ii imagemagick 8:6.9.11.60+dfsg-1.3+b2 ii imagemagick-6.q16 [imagemagick] 8:6.9.11.60+dfsg-1.3+b2 ii libboost-filesystem1.74.0 1.74.0-16 ii libboost-thread1.74.0 1.74.0-16 ii libc6 2.33-7 ii libcurl3-gnutls 7.83.1-1+b1 ii libfftw3-double3 3.3.8-2 ii libgc1 1:8.0.6-1.1 ii libgcc-s1 12.1.0-2 ii libgl1 1.4.0-1 ii libglew2.2 2.2.0-4 ii libglx0 1.4.0-1 ii libgsl27 2.7.1+dfsg-3 ii libreadline8 8.1.2-1.2 ii libsigsegv2 2.14-1 ii libstdc++6 12.1.0-2 ii libtinfo6 6.3+20220423-2 ii python3 3.10.4-1+b1 ii tex-common 6.17 ii texlive-binaries 2022.20220321.62855-4 ii texlive-latex-base 2022.20220405-2 ii texlive-plain-generic 2022.20220405-3 ii texlive-pstricks 2022.20220405-3 ii xdg-utils 1.1.3-4.1 ii zlib1g 1:1.2.11.dfsg-4 Versions of packages asymptote recommends: ii asymptote-doc 2.81+ds-1 Versions of packages asymptote suggests: ii asymptote-x11 2.81+ds-1 -- no debconf information