From owner-freebsd-emulation@freebsd.org Wed Jun 17 14:53:21 2020 Return-Path: Delivered-To: freebsd-emulation@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 9E727351130; Wed, 17 Jun 2020 14:53:21 +0000 (UTC) (envelope-from mi+t@aldan.algebra.com) Received: from symbion.zaytman.com (symbion.zaytman.com [64.112.176.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "symbion", Issuer "Narawntapu" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 49n7Nc60tYz3d2d; Wed, 17 Jun 2020 14:53:20 +0000 (UTC) (envelope-from mi+t@aldan.algebra.com) Received: from narawntapu.narawntapu (pool-100-1-228-105.nwrknj.fios.verizon.net [100.1.228.105]) by symbion.zaytman.com (8.15.2/8.15.2) with ESMTPS id 05HErJ7F057541 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 17 Jun 2020 10:53:19 -0400 (EDT) (envelope-from mi+t@aldan.algebra.com) X-Authentication-Warning: symbion.zaytman.com: Host pool-100-1-228-105.nwrknj.fios.verizon.net [100.1.228.105] claimed to be narawntapu.narawntapu Received: from aldan.narawntapu (aldan [192.168.3.13]) by narawntapu.narawntapu (8.15.2/8.15.2) with ESMTP id 05HErIwi020826; Wed, 17 Jun 2020 10:53:18 -0400 (EDT) (envelope-from mi+t@aldan.algebra.com) X-Authentication-Warning: narawntapu.narawntapu: Host aldan [192.168.3.13] claimed to be aldan.narawntapu Subject: Re: glxinfo works, /compat/linux/usr/bin/glxinfo - does not To: =?UTF-8?Q?T=c4=b3l_Coosemans?= Cc: x11@FreeBSD.org, freebsd-emulation@FreeBSD.org, Alexey Dokuchaev References: <20200617141108.2a4f23c9@FreeBSD.org> From: "Mikhail T." Message-ID: Date: Wed, 17 Jun 2020 10:53:18 -0400 MIME-Version: 1.0 In-Reply-To: <20200617141108.2a4f23c9@FreeBSD.org> Content-Language: en-US X-DCC-MGTINTERNET-Metrics: narawntapu 1170; bulk rep Body=4 Fuz1=4 Fuz2=4 rep=70% X-Rspamd-Queue-Id: 49n7Nc60tYz3d2d X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of mi@aldan.algebra.com has no SPF policy when checking 64.112.176.10) smtp.mailfrom=mi@aldan.algebra.com X-Spamd-Result: default: False [1.17 / 15.00]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; HAS_XAW(0.00)[]; DMARC_NA(0.00)[algebra.com]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.27)[0.268]; NEURAL_HAM_LONG(-0.41)[-0.410]; RCVD_COUNT_THREE(0.00)[3]; NEURAL_SPAM_SHORT(0.42)[0.416]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:394548, ipnet:64.112.176.0/24, country:US]; TAGGED_FROM(0.00)[t]; MID_RHS_MATCH_FROM(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[100.1.228.105:received] X-Mailman-Approved-At: Wed, 17 Jun 2020 17:06:27 +0000 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jun 2020 14:53:21 -0000 On 17.06.20 08:11, Tijl Coosemans wrote: > The Linux graphics stack has switched to libglvnd while the FreeBSD > stack has not so I don't know if Linux libglvnd can figure which > stack, mesa or nvidia, it has to load. Try deleting > /compat/linux/usr/lib/libGLX_system.so.0 or making it a symlink to > /compat/linux/usr/lib/libGLX_nvidia.so.0 or try deleting linux-c7-dri > package. Ok, that seems like the root of the problem indeed: /compat/linux/usr/lib/libGLX_system.so.0 -> libGLX_*mesa*.so.0 Unfortunately, deinstalling linux-c7-dri, also deinstalled the linux-c7-glx-utils, which had to be reinstalled with NO_DEPENDS=yes to avoid dragging in the Mesa stuff again (which must be, what created the above link to GLX_mesa in the first place)... Finally, the symlink-manipulations had to be repeated in /compat/linux/usr/lib*64* as well (why do linux-c7-/foo/ ports even bother with 32-bit binaries on amd64?) -- but now both native and Linux glxinfo binaries work here, and there is much rejoicing. Thank you! Should I file bug-report(s) for any of this? Yours, -mi