From owner-freebsd-emulation@freebsd.org Wed Jul 27 18:10:26 2016 Return-Path: Delivered-To: freebsd-emulation@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E089ABA6C38 for ; Wed, 27 Jul 2016 18:10:26 +0000 (UTC) (envelope-from otacilio.neto@bsd.com.br) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id B80761E15 for ; Wed, 27 Jul 2016 18:10:26 +0000 (UTC) (envelope-from otacilio.neto@bsd.com.br) Received: by mailman.ysv.freebsd.org (Postfix) id B74E6BA6C32; Wed, 27 Jul 2016 18:10:26 +0000 (UTC) Delivered-To: emulation@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B6E6BBA6C30 for ; Wed, 27 Jul 2016 18:10:26 +0000 (UTC) (envelope-from otacilio.neto@bsd.com.br) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 8FC8D1E12 for ; Wed, 27 Jul 2016 18:10:26 +0000 (UTC) (envelope-from otacilio.neto@bsd.com.br) Received: by freefall.freebsd.org (Postfix) id 8FA4D1721; Wed, 27 Jul 2016 18:10:26 +0000 (UTC) Delivered-To: vbox@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by freefall.freebsd.org (Postfix) with ESMTP id 8F3211720 for ; Wed, 27 Jul 2016 18:10:26 +0000 (UTC) (envelope-from otacilio.neto@bsd.com.br) Received: from mail-qk0-x22e.google.com (mail-qk0-x22e.google.com [IPv6:2607:f8b0:400d:c09::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4EFF81E0D for ; Wed, 27 Jul 2016 18:10:25 +0000 (UTC) (envelope-from otacilio.neto@bsd.com.br) Received: by mail-qk0-x22e.google.com with SMTP id p74so41642719qka.0 for ; Wed, 27 Jul 2016 11:10:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsd.com.br; s=capeta; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=rkhhJ8vA229dBRNH1glUvorCuNUJ3pRpvX0EJVQhn2U=; b=Kd1Y+vbSN6i/EcqIlP9onwcj0vK1Pvmd+U3mZcJyX2JqnRPhNqQ+Vq5bHyVDsrmWNr 1K4tsQAPdobscSmZqGlnbb7cK6gus7eI3qTP79wyb8kQ5Ft2OmAKZs8AN0xMw5IAo8yc MzfePw8pktAMj4CUvwqsboLntReS36via2ynY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=rkhhJ8vA229dBRNH1glUvorCuNUJ3pRpvX0EJVQhn2U=; b=L9Uxa+vYeLGwDyjRZMFNH21/wGAN0+QW96ak94xmSsgKACZcj1hAHBnlg+DXWPltCr DgCFKn/4VB4X4D0U9LFqIuo4SbAe2NSsEmHiH9b6P8E+AehOfYcbBiinWBV9GgjcyceJ sS/tilzMSSv0ML6XFi+5Lg4ALyFZ2Md6k0VZ3Nuhc3srFQwFN3Ur8Su7xhE6+cAL4Otm 8eyYEr56+QSnTd/WA8KcUtNASJTppGHH7TXZ86DQMWyPWfb2AxrijwbKXmI0leo+WBc/ tbdbcgd2GL/YQ0zxC7H4NCuEPq2hMNdOupTSMNp4g0AOYuW0EsgZKd47YHOiQr5cpA4G RMCw== X-Gm-Message-State: AEkoout1HnZind+YCPGLhY2hNKYp7JiXgqanDuMrwVx9YaeC8KcujzPljYOmTSCybOIbQw== X-Received: by 10.55.79.131 with SMTP id d125mr38818589qkb.43.1469643024752; Wed, 27 Jul 2016 11:10:24 -0700 (PDT) Received: from [192.168.43.219] (191-247-234-8.3g.claro.net.br. [191.247.234.8]) by smtp.googlemail.com with ESMTPSA id d85sm4879491qkg.47.2016.07.27.11.10.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 27 Jul 2016 11:10:23 -0700 (PDT) Subject: Re: About the dri support on 5.0.26 To: Jung-uk Kim , vbox@FreeBSD.org References: <448336e1-2490-7b10-f628-1a53e9ea6a63@FreeBSD.org> From: =?UTF-8?B?T3RhY8OtbGlv?= Message-ID: <5f5334ef-fca2-8134-a44b-86441b759748@bsd.com.br> Date: Wed, 27 Jul 2016 15:10:09 -0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <448336e1-2490-7b10-f628-1a53e9ea6a63@FreeBSD.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Wed, 27 Jul 2016 19:35:22 +0000 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.22 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, 27 Jul 2016 18:10:27 -0000 Em 27/07/2016 13:40, Jung-uk Kim escreveu: > On 07/25/16 08:17 PM, Otacílio wrote: >> Now that dri support was removed from Virtualbox 5.0.26, how will be the >> support for OpenGL applications? > Now its own libraries are used, i.e., VBoxOGL.so & VBoxEGL.so replace > libGL.so & libEGL.so, when OPENGL option is enabled. It is still work > in progress but please try r419160 and later. > > Jung-uk Kim > Dear, I have a try and I would like to thank you very much by your support. This version provides a initial support to OpenGL. If you needs some help in a manner that I can help you please let me know. Only for information. I have installed the 5419160 of virtualbox-ose-addtions with OpenGL enabled. After that I got this info from glxinfo -B and glxgears [ota@nostromo /usr/home/ota]$ glxinfo -B name of display: :0.0 display: :0 screen: 0 direct rendering: Yes OpenGL vendor string: Humper OpenGL renderer string: Chromium OpenGL version string: 2.1 Chromium 1.9 OpenGL shading language version string: 4.00 - Build 10.18.10.4276 [ota@nostromo /usr/home/ota]$ glxgears 2332 frames in 5.0 seconds = 466.394 FPS 1292 frames in 5.0 seconds = 258.259 FPS 1413 frames in 5.0 seconds = 282.587 FPS 1406 frames in 5.0 seconds = 280.992 FPS 1412 frames in 5.0 seconds = 282.395 FPS 1379 frames in 5.0 seconds = 275.709 FPS So, then I have recompiled libGL and I got this info: [ota@nostromo /usr/home/ota]$ glxinfo -B name of display: :0.0 display: :0 screen: 0 direct rendering: Yes Extended renderer info (GLX_MESA_query_renderer): Vendor: VMware, Inc. (0xffffffff) Device: llvmpipe (LLVM 3.7, 256 bits) (0xffffffff) Version: 11.2.2 Accelerated: no Video memory: 4674MB Unified memory: no Preferred profile: core (0x1) Max core profile version: 3.3 Max compat profile version: 3.0 Max GLES1 profile version: 1.1 Max GLES[23] profile version: 3.0 OpenGL vendor string: VMware, Inc. OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 3.7, 256 bits) OpenGL core profile version string: 3.3 (Core Profile) Mesa 11.2.2 OpenGL core profile shading language version string: 3.30 OpenGL core profile context flags: (none) OpenGL core profile profile mask: core profile OpenGL version string: 3.0 Mesa 11.2.2 OpenGL shading language version string: 1.30 OpenGL context flags: (none) OpenGL ES profile version string: OpenGL ES 3.0 Mesa 11.2.2 OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00 [ota@nostromo /usr/home/ota]$ glxgears 613 frames in 5.0 seconds = 122.536 FPS 633 frames in 5.0 seconds = 126.534 FPS 475 frames in 5.0 seconds = 94.839 FPS 486 frames in 5.0 seconds = 97.098 FPS 489 frames in 5.0 seconds = 97.690 FPS 502 frames in 5.0 seconds = 100.340 FPS 491 frames in 5.0 seconds = 98.122 FPS Looks like a incompatibility between libGL and virtualbox-ose-additions with OpenGL []'s -Otacilio