Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 May 2006 16:11:21 +0400
From:      Boris Samorodov <bsam@ipt.ru>
To:        Shanker Balan <shanu@shankerbalan.net>
Cc:        FreeBSD-X11 <x11@freebsd.org>
Subject:   Re: i915 DRI and Linux compat [Re: i915 dri: Undefined symbol "_glapi_add_entrypoint"]
Message-ID:  <17582262@srv.sem.ipt.ru>
In-Reply-To: <20060522110406.GA1130@yahoo-inc.com> (Shanker Balan's message of "Mon, 22 May 2006 16:34:06 %2B0530")
References:  <20060520061254.GA10454@yahoo-inc.com> <1148112898.1041.0.camel@vonnegut> <20060520172530.GB10454@yahoo-inc.com> <20060522110406.GA1130@yahoo-inc.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 22 May 2006 16:34:06 +0530 Shanker Balan wrote:

> Shanker Balan wrote,
> > [buffy] /usr/ports/graphics/dri> glxinfo 
> > name of display: :0.0
> > libGL: XF86DRIGetClientDriverName: 1.4.1 i915 (screen 0)
> > libGL: OpenDriver: trying /usr/X11R6/lib/modules/dri/i915_dri.so
> > drmOpenByBusid: Searching for BusID pci:0000:00:02.0
> > drmOpenDevice: node name is /dev/dri/card0
> > drmOpenDevice: open result is 4, (OK)
> > drmOpenByBusid: drmOpenMinor returns 4
> > drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
> > display: :0  screen: 0
> > direct rendering: Yes

> Which would be the right i915_dri.so to use for Linux compat?

> xorg-x11-6.8.2-1.FC3 and xorg-x11-6.8.2-37.FC4 errored out with library
> mismatches.

> [buffy] ~> /compat/linux/usr/X11R6/bin/glxinfo 
> libGL: XF86DRIGetClientDriverName: 1.4.1 i915 (screen 0)
> libGL: OpenDriver: trying /usr/X11R6/lib/modules/dri/i915_dri.so
> libGL error: dlopen /usr/X11R6/lib/modules/dri/i915_dri.so failed (/lib/libc.so.6: version `GLIBC_2.  not found (required by /usr/X11R6/lib/modules/dri/i915_dri.so))
> libGL error: unable to find driver: i915_dri.so

> [buffy] ~> /compat/linux/usr/X11R6/bin/glxinfo
> libGL: XF86DRIGetClientDriverName: 1.4.1 i915 (screen 0)
> libGL: OpenDriver: trying /usr/X11R6/lib/modules/dri/i915_dri.so ERROR: line 114, Function intelInitDriver, File intel_screen.c
> libGL error: InitDriver failed
> libGL error: reverting to (slow) indirect rendering

It's not am X-library but a linux_base one. Try to upgrade to
linux_base-fc3. To switch:
 - echo "OVERRIDE_LINUX_BASE_PORT=fc3" >> /etc/make.conf
 - portupgrade -fo emulators/linux_base-fc3 linux_base-8


WBR
-- 
Boris B. Samorodov, Research Engineer
InPharmTech Co,     http://www.ipt.ru
Telephone & Internet Service Provider



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?17582262>