From owner-freebsd-emulation@FreeBSD.ORG Fri Oct 26 07:42:54 2007 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 8EB4D16A417 for ; Fri, 26 Oct 2007 07:42:54 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from mail.ipt.ru (mail.ipt.ru [194.62.233.102]) by mx1.freebsd.org (Postfix) with ESMTP id 435E013C480 for ; Fri, 26 Oct 2007 07:42:54 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from doc.sem.ipt.ru ([192.168.12.1] helo=ipt.ru) by mail.ipt.ru with esmtp (Exim 4.62 (FreeBSD)) (envelope-from ) id 1IlJqF-0006sS-7Q; Fri, 26 Oct 2007 11:42:51 +0400 Received: from bsam by ipt.ru with local (Exim 4.63 (FreeBSD)) (envelope-from ) id 1IlJtj-000OCA-VQ; Fri, 26 Oct 2007 11:46:27 +0400 To: Zephiris References: <66147675@ipt.ru> <98294959@ipt.ru> <19713641@serv3.int.kfs.ru> From: Boris Samorodov Date: Fri, 26 Oct 2007 11:46:27 +0400 In-Reply-To: (zephiris@gmail.com's message of "Thu\, 25 Oct 2007 23\:31\:44 -0700") Message-ID: <44625948@srv.sem.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.99 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-emulation@freebsd.org Subject: Re: Nvidia LibGL and RELENG_7 linuxulator 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: Fri, 26 Oct 2007 07:42:54 -0000 On Thu, 25 Oct 2007 23:31:44 -0700 Zephiris wrote: > Boris Samorodov wrote: > > On Sat, 20 Oct 2007 16:44:12 -0700 Zephiris wrote: > > > >> >> >> I've been getting a rather strange issue between Nvidia driver and > >> >> >> the linux compatibility. > >> >> > > >> >> >> I've tried this with default Fedora Core 4 libraries, default 2.4 > >> >> >> version emulation, 2.6.16, FC6, F7, and now Gentoo. With older > >> >> >> Linux X11 libraries > >> >> > > >> >> > As of 2.6.16: did you follow instructions from /usr/ports/UPDATING > >> >> > while upgrade to 2.6.16? > >> > > >> >> I just tried it again explicitly following those instructions from > >> >> the start, identical results. > >> > > >> >> >> (eg, those from ports), anything trying to use Nvidia's libGL that > >> >> >> installs into the linux compat area will crash immediately. To get > >> >> >> this > >> >> > > >> >> > Crash... Did you ugrade your system and may be forgot to upgrade > >> >> > the port? Or did you upgrade the OS without reinstalling ports? > >> > > >> >> This was a pretty fresh installation from CURRENT, not a long upgrade > >> >> chain or from 6.x. Everything's up to date. Via ports itself, there's > >> >> no way to get newer X11 libraries than 6.8 itself, correct? > >> > > >> > If you mean linux libraries then yes. > >> > > >> > OK. can you describe in details how do you install ports/options/etc > >> > to populate /compat/linux from scratch? And which options do you use > >> > for nvidia-driver port and other *GL* ports? > > > >> I install in order emulators/linux_base-fc6, x11/linux-xorg-libs, > >> x11/nvidia-driver (with ACPI and LINUX flags), x11-toolkits/linux-gtk2, > >> then x11-toolkits/linux-gtk. It's enough to test a number of things. > > > > So far so good. Did you try to use a linux-app here? Acrobat Reader or > > else? Nobody can help you if you don't want to. > >> >> ldd glxinfo > >> >> glxinfo: > >> >> libGLU.so.1 => /usr/X11R6/lib/libGLU.so.1 (0x2806a000) > >> >> libGL.so.1 => /usr/lib/libGL.so.1 (0x280eb000) > >> > > >> > That is very strange. This library should be at least at > >> > /usr/local/lib directory. Can you show an output of > >> > "pkg_info -W /usr/lib/libGL.so.1"? > >> > > >> That's for a linux glxinfo. > > > > Don't understand you answer. Is it from ports? Or does you installed > > it by hand? > It's from linux_dri, so put there by hand, Can't follow you: "It's from ports, so put it somewhere by hand..." Anyway this configuration is not supported by the FreeBSD-emulation team. > but all Linux binaries linked to > OpenGL crash, act the same, load similar libraries, and get similar crash > dump data. > > > Aside from all of the binaries just crashing, which looks to be from > tryiing to mix with the older X11 libraries from the port, the rendering > issues when trying to use with Gentoo binaries/libraries are still there, > and I can't find any reason for either behavior, but seeing as how Gentoo > libraries get things closer to working, any ideas why it'd keep > complaining about not being able to enable direct rendering? > I can't see anything with my computer or settings that would cause such > different results from anyone else specifically for the linux > compatibility like this. WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve