From owner-freebsd-emulation@FreeBSD.ORG Sat Oct 20 05:14:29 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 A516916A417 for ; Sat, 20 Oct 2007 05:14:29 +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 208D613C447 for ; Sat, 20 Oct 2007 05:14:27 +0000 (UTC) (envelope-from freebsd-emulation@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Ij6fB-0006lx-Qg for freebsd-emulation@freebsd.org; Sat, 20 Oct 2007 05:14:17 +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 ; Sat, 20 Oct 2007 05:14:17 +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 ; Sat, 20 Oct 2007 05:14:17 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-emulation@freebsd.org From: Zephiris Date: Fri, 19 Oct 2007 22:13:56 -0700 Lines: 76 Message-ID: References: <66147675@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: Sat, 20 Oct 2007 05:14:29 -0000 Boris Samorodov wrote: > On Fri, 19 Oct 2007 08:02:48 -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? > >> working at all, I had to install the Gentoo linux dist and install with >> newer versions of everything (except glibc). > >> This will get far enough that it notes things like: >> NVIDIA: Direct rendering failed; attempting indirect rendering. > >> /sbin/modprobe, as per suggestions and documentation, is symlinked >> to ../bin/true, and that allows many things to work rather than >> complaining that the module can't be loaded. Linux glxgears gets roughly >> the same speed as on native host, but Linux glxinfo reports no direct >> rendering is enabled, and a number of extensions aren't reported. This >> means for basically all Linux games and most 3D apps, they get a small >> fraction of the normal speed. > >> In addition, I have devfs mounted on /compat/linux/dev (also per various > > I don't have it (I use the default linux_base installation), > >> suggestions found), but if I run Linux glxinfo or glxgears or something > > though I don't use any glx- programs. I'm assuming this is what it's supposed to look like, since these are all the default ports versions, with Nvidia libGL and etc. ldd glxinfo glxinfo: libGLU.so.1 => /usr/X11R6/lib/libGLU.so.1 (0x2806a000) libGL.so.1 => /usr/lib/libGL.so.1 (0x280eb000) libc.so.6 => /lib/libc.so.6 (0x28181000) libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x282c4000) libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x282d3000) libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x283a6000) libm.so.6 => /lib/libm.so.6 (0x2848f000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x284b7000) libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0x284c3000) libnvidia-tls.so.1 => /usr/lib/libnvidia-tls.so.1 (0x28e5b000) libdl.so.2 => /lib/libdl.so.2 (0x28e5d000) /lib/ld-linux.so.2 (0x2804b000) > I moved the previous semi-working /compat/linux attempt (gentoo) out of the way then reinstalled all of the Linux ports including base, after following the instructions. All of the files, layouts, and settings appear normal compared to previous attempts, but the result is the same. Anything that tries to load libGL crashes immediately after loading it.