From owner-freebsd-x11@freebsd.org Sun Oct 25 21:13:39 2020 Return-Path: Delivered-To: freebsd-x11@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 CE008458EEB for ; Sun, 25 Oct 2020 21:13:39 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Received: from smarthost1.greenhost.nl (smarthost1.greenhost.nl [195.190.28.88]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4CK9gQ1x2Vz4Y8l; Sun, 25 Oct 2020 21:13:37 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Received: from smtp.greenhost.nl ([213.108.110.112]) by smarthost1.greenhost.nl with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1kWnKZ-0007km-HZ; Sun, 25 Oct 2020 22:13:36 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=klop.ws; s=mail; h=In-Reply-To:Message-ID:From:Content-Transfer-Encoding:MIME-Version: Date:References:Subject:Cc:To:Content-Type:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=W9AFg0DlIrpa4G/eUzPHtH/FBHTK3QDHr0rAD5uPHW8=; b=LF1QaMAKFmImnPxbZY6qGc7M8s D4iTdVJxnbLWfsGnKvB6sK90sWrqzbVY7vPGUqBwStq16xUZ9g/ywXJq0tsdxSt8Fq0XpCaLiL9up ReeElqMvUUAktaY+b9E1iZHlYFBvercxBgIuv7ey+S9efr75qrHbUkYUOPw9xq3oPOmY=; Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: vbox@freebsd.org, "Guido Falsi" Cc: "freebsd-x11@freebsd.org" Subject: Re: Undefined symbol "glXBindTexImageEXT" References: Date: Sun, 25 Oct 2020 22:13:33 +0100 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Ronald Klop" Message-ID: In-Reply-To: User-Agent: Opera Mail/12.16 (FreeBSD) X-Authenticated-As-Hash: 398f5522cb258ce43cb679602f8cfe8b62a256d1 X-Virus-Scanned: by clamav at smarthost1.samage.net X-Spam-Level: / X-Spam-Score: -0.4 X-Spam-Status: No, score=-0.4 required=5.0 tests=ALL_TRUSTED, BAYES_50, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF autolearn=disabled version=3.4.2 X-Scan-Signature: 4a4e1dd80dce9ac0d9378b25a0c059e8 X-Rspamd-Queue-Id: 4CK9gQ1x2Vz4Y8l X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=klop.ws header.s=mail header.b=LF1QaMAK; dmarc=none; spf=pass (mx1.freebsd.org: domain of ronald-lists@klop.ws designates 195.190.28.88 as permitted sender) smtp.mailfrom=ronald-lists@klop.ws X-Spamd-Result: default: False [-2.40 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[klop.ws:s=mail]; NEURAL_HAM_MEDIUM(-1.01)[-1.006]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:195.190.28.64/27]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[klop.ws]; NEURAL_HAM_LONG(-1.01)[-1.010]; RWL_MAILSPIKE_GOOD(0.00)[195.190.28.88:from]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[klop.ws:+]; NEURAL_HAM_SHORT(-0.38)[-0.380]; RCVD_IN_DNSWL_NONE(0.00)[195.190.28.88:from]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; MID_RHS_NOT_FQDN(0.50)[]; ASN(0.00)[asn:47172, ipnet:195.190.28.0/24, country:NL]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-x11]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Oct 2020 21:13:39 -0000 On Sun, 25 Oct 2020 13:33:38 +0100, Guido Falsi wrote: > On 25/10/20 12:31, Guido Falsi via freebsd-x11 wrote: >> On 25/10/20 09:51, Ronald Klop wrote: >>> Hi maintainer of virtualbox-ose-additions, >>> >>> After I saw >>> https://svnweb.freebsd.org/ports?view=revision&revision=553175 to fix >>> compiling with OpenGL support I tried it. >>> >>> 'Simple' X11 application like urxvt work, but more advanced like >>> xfce4-terminal or firefox crash very early with: >>> >>> ld-elf.so.1: /usr/local/lib/VBoxOGL.so: Undefined symbol >>> "glXBindTexImageEXT" >>> >> An idea I'm going to try is manually aligning the broken includes to >> the new dri provided ones. Please give me a little time to cook up a >> patch for you to test. >> > > I created a patch, which builds fine. > > Could you test it to check it actually fixes the issue and works fine? > > You can grab it from this bug: > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250315 > > it's the last one named "virtualbox-ose-additions patch" > > Direct link to patch: > > https://bz-attachments.freebsd.org/attachment.cgi?id=219058 > Hi, The patch helps a lot. Firefox runs but has problems with some stuff and disables opengl. Glxgears runs and I see it uses the GPU of the Windows 10 laptop. $ glxinfo name of display: unix:0.0 display: unix:0 screen: 0 direct rendering: Yes server glx vendor string: Chromium server glx version string: 1.3 Chromium server glx extensions: GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_texture_from_pixmap, GLX_SGIX_fbconfig client glx vendor string: Chromium client glx version string: 1.3 Chromium client glx extensions: GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_texture_from_pixmap, GLX_SGIX_fbconfig GLX version: 1.3 GLX extensions: GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_texture_from_pixmap, GLX_SGIX_fbconfig OpenGL vendor string: Humper OpenGL renderer string: Chromium OpenGL version string: 2.1 Chromium 1.9 OpenGL shading language version string: 4.50 - Build 23.20.16.4973 Firefox also sees this Chromium/Humper vendor. Output of firefox: $ firefox OpenGL Warning: Unimplemented glxMakeCurrent call with GLXPixmap passed, unexpected things might happen. OpenGL Warning: Failed to get windows geometry for 0000000822806a00, try xwininfo Can't find symbol 'glBeginQuery'. Can't find symbol 'glGenQueries'. Can't find symbol 'glDeleteQueries'. Can't find symbol 'glEndQuery'. Can't find symbol 'glGetQueryiv'. Can't find symbol 'glGetQueryObjectuiv'. Can't find symbol 'glIsQuery'. JavaScript warning: resource://gre/modules/Troubleshoot.jsm, line 651: Failed to create WebGL context: WebGL creation failed: * tryNativeGL * Exhausted GL driver options. Regards, Ronald.