Nvidia LibGL and RELENG_7 linuxulator
zephiris at gmail.com
Fri Oct 19 22:14:29 PDT 2007
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
> 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.
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)
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.
More information about the freebsd-emulation