From owner-freebsd-questions@freebsd.org Wed Apr 1 15:27:09 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id F18752BEAEA for ; Wed, 1 Apr 2020 15:27:08 +0000 (UTC) (envelope-from ml@netfence.it) Received: from soth.netfence.it (net-2-44-121-52.cust.vodafonedsl.it [2.44.121.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mailserver.netfence.it", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48sqmw5N3vz4C57 for ; Wed, 1 Apr 2020 15:26:56 +0000 (UTC) (envelope-from ml@netfence.it) Received: from alamar.ventu (alamar.local.netfence.it [10.1.2.18]) (authenticated bits=0) by soth.netfence.it (8.15.2/8.15.2) with ESMTPSA id 031FQfUh095552 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO) for ; Wed, 1 Apr 2020 17:26:44 +0200 (CEST) (envelope-from ml@netfence.it) X-Authentication-Warning: soth.netfence.it: Host alamar.local.netfence.it [10.1.2.18] claimed to be alamar.ventu From: Andrea Venturoli Subject: Running cad/openscad remotely To: freebsd-questions@freebsd.org Message-ID: <9bf1b0cf-b3ee-ce99-ca7a-185ec28f75c7@netfence.it> Date: Wed, 1 Apr 2020 17:26:41 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 48sqmw5N3vz4C57 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=pass (policy=none) header.from=netfence.it; spf=pass (mx1.freebsd.org: domain of ml@netfence.it designates 2.44.121.52 as permitted sender) smtp.mailfrom=ml@netfence.it X-Spamd-Result: default: False [-4.47 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; RBL_SEM_FAIL(0.00)[52.121.44.2.bl.spameatingmonkey.net:query timed out]; R_SPF_ALLOW(-0.20)[+ip4:2.44.121.52]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SEM_URIBL_FRESH15_UNKNOWN_FAIL(0.00)[query timed out]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; DMARC_POLICY_ALLOW(-0.50)[netfence.it,none]; IP_SCORE(-1.67)[ip: (-8.15), ipnet: 2.44.0.0/16(-4.08), asn: 30722(3.85), country: IT(0.03)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:30722, ipnet:2.44.0.0/16, country:IT]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Apr 2020 15:27:09 -0000 Hello. (For those who don't know OpenSCAD is a software that creates 3D shapes from text commands and renders them: it can run interactively or can be scripted to produce images.) I need to run it as part of a more complex script and that script runs in a jail in a remote server; I can connect to that jail via ssh and run X applications. However, OpenSCAD throws the following: > libGL error: failed to open drm device: No such file or directory > libGL error: failed to load driver: r600 > libGL error: unable to load driver: swrast_dri.so > libGL error: failed to load driver: swrast > X Error of failed request: BadValue (integer parameter out of range for operation) > Major opcode of failed request: 156 (GLX) > Minor opcode of failed request: 24 (X_GLXCreateNewContext) > Value in failed request: 0x0 > Serial number of failed request: 30 > Current serial number in output stream: 31 Is there any way to let this run? I don't care about performance, as the operation is quite light; so acceleration on the local host (where X server runs), acceleration on the remote host, software rendering... anything is fine. bye & Thanks av.