From owner-freebsd-emulation@freebsd.org Wed Jun 17 02:51:08 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 AF1C233FEA4; Wed, 17 Jun 2020 02:51:08 +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 49mqMH49xhz48jj; Wed, 17 Jun 2020 02:51:07 +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 05H2p1eE039040 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 16 Jun 2020 22:51:01 -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 05H2p0br006375; Tue, 16 Jun 2020 22:51:00 -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 To: x11@FreeBSD.org, freebsd-emulation@FreeBSD.org, Alexey Dokuchaev From: "Mikhail T." Subject: glxinfo works, /compat/linux/usr/bin/glxinfo - does not Message-ID: Date: Tue, 16 Jun 2020 22:51:00 -0400 MIME-Version: 1.0 Content-Language: en-US X-DCC-MGTINTERNET-Metrics: narawntapu 1170; bulk rep Body=3 Fuz1=3 Fuz2=3 rep=70% X-Rspamd-Queue-Id: 49mqMH49xhz48jj 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.00 / 15.00]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; 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.31)[0.312]; NEURAL_HAM_LONG(-0.39)[-0.388]; RCVD_COUNT_THREE(0.00)[3]; NEURAL_SPAM_SHORT(0.17)[0.173]; 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 08:10:41 +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 02:51:08 -0000 Hello! I'm trying to get an OpenGL-using (Qt5-based) Linux application off the ground on FreeBSD-12.1-STABLE/amd64, and it is dying early on because of OpenGL errors. The machine has an NVidia card, driven by the nvidia-driver-390. The port is compiled with the Linux option on. I also installed the x11/linux-nvidia-libs-390 port. The native glxinfo (installed by the mesa-demos port) works fine: name of display: :0 display: :0  screen: 0 direct rendering: Yes server glx vendor string: NVIDIA Corporation server glx version string: 1.4 ... and glxgears spin as fast as expected. However, the Linux glxinfo (installed by the linux-c7-glx-utils) fails with: name of display: :0 X Error of failed request:  BadValue (integer parameter out of range for operation)   Major opcode of failed request:  154 (GLX)   Minor opcode of failed request:  24 (X_GLXCreateNewContext)   Value in failed request:  0x0   Serial number of failed request:  41   Current serial number in output stream:  42 The customary Linux filesystems are mounted: linprocfs on /compat/linux/proc (linprocfs, local) fdescfs on /dev/fd (fdescfs) linsysfs on /compat/linux/sys (linsysfs, local) What's wrong? Thank you! Yours, -mi