From owner-freebsd-emulation@FreeBSD.ORG Wed May 6 14:56:22 2009 Return-Path: Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C5E701065899 for ; Wed, 6 May 2009 14:56:22 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id 8000E8FC35 for ; Wed, 6 May 2009 14:56:22 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from bb.ipt.ru ([194.62.233.89]) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1M1iXk-0002mB-Pb; Wed, 06 May 2009 18:56:20 +0400 To: Juergen Lock References: <20090412201428.GA67309@triton.kn-bremen.de> From: Boris Samorodov Date: Wed, 06 May 2009 18:56:20 +0400 In-Reply-To: <20090412201428.GA67309@triton.kn-bremen.de> (Juergen Lock's message of "Sun\, 12 Apr 2009 22\:14\:28 +0200") Message-ID: <46225595@bb.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-emulation@FreeBSD.org Subject: Re: got google earth running again, tho still with indirect rendering... X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 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, 06 May 2009 14:56:23 -0000 On Sun, 12 Apr 2009 22:14:28 +0200 Juergen Lock wrote: > The following alias seems to work here now with OVERRIDE_LINUX_NONBASE_PORTS > set to f8 after the astro/google-earth USE_LINUX_APPS+= dri commit: > alias googleearth="LIBGL_ALWAYS_INDIRECT=1 cpuset -l 0 googleearth" > Without LIBGL_ALWAYS_INDIRECT if often crashes right at startup (and if > not, says it switches to indirect rendering by itself), and without > cpuset it often seems to hang/deadlock after popping up its tips window. > (The latter can only make a difference on smp of course.) > Tested on 7-stable/amd64 with intel 965 and ati RV730 PRO using video-ati > (the second one without any gl at all of course.) > I guess all we need now is linux dri bits matching our version of native > xorg and possibly some needed linuxolator changes? I have some progress here (CURRENT with some yet uncommitted patches): ----- bb% /compat/linux/usr/bin/glxinfo | grep render direct rendering: Yes OpenGL renderer string: Mesa DRI R300 20060815 x86/MMX/SSE2 TCL bb% /compat/linux/usr/bin/glxgears Running synchronized to the vertical refresh. The framerate should be approximately the same as the monitor refresh rate. 9037 frames in 5.0 seconds = 1807.302 FPS 9055 frames in 5.0 seconds = 1810.829 FPS 9041 frames in 5.0 seconds = 1808.094 FPS ^C bb% pkg_info -xI linux linux-dri74 Place a comment here linux-f10-alsa-lib-1.0.19 The Advanced Linux Sound Architecture libraries (Linux Fedo linux-f10-aspell-0.60.6 Spelling checker with better logic than ispell (Linux Fedor linux-f10-atk-1.24.0 Accessibility Toolkit, Linux/i386 binary (Linux Fedora 10) linux-f10-cairo-1.8.0 Vector graphics library Cairo (Linux Fedora 10) linux-f10-expat-2.0.1 Linux/i386 binary port of Expat XML-parsing library (Linux linux-f10-fontconfig-2.6.0 An XML-based font configuration API for X Windows (Linux Fe linux-f10-gtk2-2.14.7 GTK+ library, version 2.X (Linux Fedora 10) linux-f10-hicolor-icon-theme-0.5 A high-color icon theme shell from the FreeDesktop project linux-f10-iputils-20071127 PLEASE, place a comment here linux-f10-jpeg-6b RPM of the JPEG lib (Linux Fedora 10) linux-f10-libcap-2.10 PLEASE, place a comment here linux-f10-libidn-0.6.14 Internationalized Domain Name support library (Linux Fedora linux-f10-libsigc++20-2.2.2 Callback Framework for C++ (Linux Fedora 10) linux-f10-pango-1.22.3 The pango library (Linux Fedora 10) linux-f10-png-1.2.35 RPM of the PNG lib (Linux Fedora 10) linux-f10-tiff-3.8.2 The TIFF library, Linux/i386 binary (Linux Fedora 10) linux-f10-xorg-libs-7.4 Xorg libraries (Linux Fedora 10) linux-opera-9.64 A blazingly fast, full-featured, standards-compliant browse linux-seamonkey-1.1.16 The open source, standards compliant web browser linux-thunderbird-2.0.0.21 Mozilla Thunderbird is standalone mail and news that stands linux_base-f10-10 Base set of packages needed in Linux mode for i386/amd64 (L linux_kdump-1.5_2 Linux-compatability ktrace.out processor ----- linux-dri74 is a port with libraries and binaries for dri-7.4 from ubuntu-9.0.4. BTW, googleearth works like a charm even with cyrillic letters. But it crashes (only?) at exit: ----- bb% googleearth Google Earth has caught signal 11. Stacktrace from glibc: ./googleearth-bin [0x806c343] ./googleearth-bin [0x806c8b6] [0xbfbfffbb] ./libbase.so(_ZN5earth6System4joinEm+0x23) [0x351c8b93] ./libge_net.so(_ZN5earth3net18CurlHttpConnectionD2Ev+0x42) [0x3521d2e2] ./libge_net.so(_ZN5earth3net26CurlPasswordHttpConnectionD0Ev+0x2d) [0x3523b31d] ./libge_net.so(_ZN5earth3net20ConnectionRefCounterD0Ev+0x6e) [0x3521ecce] ./libge_net.so(_ZN5earth3net17ConnectionManager21ConnectionRequestPairD0Ev+0x7a) [0x3521b22a] ./libge_net.so(_ZNSt10_List_baseIN5earth6RefPtrINS0_3net17ConnectionManager21ConnectionRequestPairEEESaIS5_EE8_M_clearEv+0x118) [0x3523abd8] ./libge_net.so(_ZN5earth3net17ConnectionManagerD0Ev+0xf4) [0x3521e1e4] ./libge_net.so(_ZN5earth3net7Fetcher8shutdownEv+0x1fa) [0x35220a9a] ./libge_net.so(_ZN5earth3net8shutdownEv+0x1c) [0x35220f7c] ./libgoogleearth_lib.so(_ZN5earth6client11ApplicationD1Ev+0x244) [0x34f583e4] ./googleearth-bin(main+0x290) [0x806cdf0] /lib/libc.so.6(__libc_start_main+0xe5) [0x34fc36e5] ./googleearth-bin [0x806bad1] ----- WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve