From owner-freebsd-emulation@FreeBSD.ORG Fri Oct 26 10:46:04 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 A36C916A418 for ; Fri, 26 Oct 2007 10:46:04 +0000 (UTC) (envelope-from freebsd-emulation@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 2F9CF13C48E for ; Fri, 26 Oct 2007 10:46:03 +0000 (UTC) (envelope-from freebsd-emulation@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1IlMhT-0006Rs-3P for freebsd-emulation@freebsd.org; Fri, 26 Oct 2007 10:45:59 +0000 Received: from c-71-193-243-110.hsd1.or.comcast.net ([71.193.243.110]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 26 Oct 2007 10:45:59 +0000 Received: from zephiris by c-71-193-243-110.hsd1.or.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 26 Oct 2007 10:45:59 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-emulation@freebsd.org From: Zephiris Date: Fri, 26 Oct 2007 03:45:54 -0700 Lines: 97 Message-ID: References: <66147675@ipt.ru> <98294959@ipt.ru> <19713641@serv3.int.kfs.ru> <44625948@srv.sem.ipt.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-71-193-243-110.hsd1.or.comcast.net User-Agent: KNode/0.10.5 Sender: news 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 10:46:04 -0000 Boris Samorodov wrote: > 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. Other non-GL apps work alright when everything is installed via ports, including X11 and otherwise. Acrobat Reader works, linux-firefox works, linux-opera works, etc. > >> >> >> 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..." Okay, a different example then. Neverwinter Night's nwmain installed from ports (against regular FC6 and everything else specifically via ports): nwmain: libm.so.6 => /lib/libm.so.6 (0x28642000) libpthread.so.0 => /lib/libpthread.so.0 (0x2866a000) libGL.so.1 => /usr/lib/libGL.so.1 (0x28680000) libGLU.so.1 => /usr/X11R6/lib/libGLU.so.1 (0x28716000) libmss.so.6 => not found libSDL-1.2.so.0 => /usr/lib/libSDL-1.2.so.0 (0x28796000) libc.so.6 => /lib/libc.so.6 (0x2881c000) /lib/ld-linux.so.2 (0x28623000) libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0x28960000) libnvidia-tls.so.1 => /usr/lib/libnvidia-tls.so.1 (0x292f8000) libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x292fa000) libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x29309000) libdl.so.2 => /lib/libdl.so.2 (0x293dc000) libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x293e1000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x294ca000) > > Anyway this configuration is not supported by the FreeBSD-emulation > team. > Alright, switching back over to ports everything again, the issues of everything that tries to load OpenGL crashing still persist. Running ktrace+linux_kdump doesn't appear to yield any pattern of behavior or calls before the segfault.