[Intel-gfx] intel_drv.so and libglx.so module load failure

Knut Petersen Knut_Petersen at t-online.de
Thu Sep 22 10:04:34 CEST 2011


Somehow I screwed things up. Probably I miss something obvious, but what is it?

Xorg sources: the current git sources.

After failing I executed "make clean", "make realclean", "git reset --hard" and rebuilt everything twice
using the following commands:

export PREFIX=/usr
export PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig
export PATH=$PREFIX/bin:$PATH
export ACLOCAL="aclocal -I $PREFIX/share/aclocal"
export LD_LIBRARY_PATH=$PREFIX/lib
export PYTHONPATH=$PREFIX/lib/python2.7/site-packages
export CFLAGS="-v -O3 "
util/modular/build.sh $PREFIX --modfile modules_to_build --autoresume built-modules.txt \
--confflags "--enable-kdrive --with-dri-drivers=i915 --disable-gallium --localstatedir=/var"

After that X still dies during startup.

[ 55078.729]
X.Org X Server 1.11.0
Release Date: 2011-08-26
[ 55078.730] X Protocol Version 11, Revision 0
[ 55078.730] Build Operating System: Linux 3.0.4-main i686
[ 55078.730] Current Operating System: Linux golem 3.0.4-main #7 PREEMPT Tue Aug 30 15:13:54 CEST 2011 i686
[ 55078.731] Kernel command line: root=/dev/sdb5 acpi_enforce_resources=lax drm.debug=0 5
[ 55078.731] Build Date: 21 September 2011 09:57:12PM

Yes, that´s the freshly compiled Xorg.


[ 55078.731]
[ 55078.732] Current version of pixman: 0.23.5
[ 55078.732] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 55078.732] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 55078.734] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Sep 22 08:08:12 2011
[ 55078.735] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 55078.735] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 55078.736] (==) No Layout section. Using the first Screen section.
[ 55078.736] (**) |-->Screen "Default Screen" (0)
[ 55078.736] (**) | |-->Monitor "Default Monitor"
[ 55078.736] (==) No device specified for screen "Default Screen".
Using the first device section listed.
[ 55078.736] (**) | |-->Device "Card0"
[ 55078.736] (==) Automatically adding devices
[ 55078.736] (==) Automatically enabling devices
[ 55078.736] (==) FontPath set to:
/usr/share/fonts/X11/misc/,
/usr/share/fonts/X11/TTF/,
/usr/share/fonts/X11/OTF/,
/usr/share/fonts/X11/Type1/,
/usr/share/fonts/X11/100dpi/,
/usr/share/fonts/X11/75dpi/
[ 55078.736] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 55078.736] (II) The server relies on HAL to provide the list of input devices.
If no devices become available, reconfigure HAL or disable AutoAddDevices.
[ 55078.736] (II) Loader magic: 0x820c580
[ 55078.736] (II) Module ABI versions:
[ 55078.736] X.Org ANSI C Emulation: 0.4
[ 55078.736] X.Org Video Driver: 11.0
[ 55078.736] X.Org XInput driver : 13.0
[ 55078.736] X.Org Server Extension : 5.0
[ 55078.738] (--) PCI:*(0:0:2:0) 8086:2592:a0a0:0554 rev 4, Mem @ 0xd2280000/524288, 0xc0000000/268435456, 0xd2300000/262144, I/O @ 0x0000e400/8
[ 55078.739] (--) PCI: (0:0:2:1) 8086:2792:a0a0:0554 rev 4, Mem @ 0xd2200000/524288
[ 55078.739] (II) Open ACPI successful (/var/run/acpid.socket)
[ 55078.739] (II) LoadModule: "extmod"
[ 55078.740] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
[ 55078.741] (II) Module extmod: vendor="X.Org Foundation"
[ 55078.741] compiled for 1.11.0, module version = 1.0.0
[ 55078.741] Module class: X.Org Server Extension
[ 55078.741] ABI class: X.Org Server Extension, version 5.0
[ 55078.741] (II) Loading extension MIT-SCREEN-SAVER
[ 55078.741] (II) Loading extension XFree86-VidModeExtension
[ 55078.741] (II) Loading extension XFree86-DGA
[ 55078.741] (II) Loading extension DPMS
[ 55078.741] (II) Loading extension XVideo
[ 55078.741] (II) Loading extension XVideo-MotionCompensation
[ 55078.741] (II) Loading extension X-Resource
[ 55078.741] (II) LoadModule: "dbe"
[ 55078.742] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
[ 55078.742] (II) Module dbe: vendor="X.Org Foundation"
[ 55078.742] compiled for 1.11.0, module version = 1.0.0
[ 55078.742] Module class: X.Org Server Extension
[ 55078.742] ABI class: X.Org Server Extension, version 5.0
[ 55078.742] (II) Loading extension DOUBLE-BUFFER

Up to now everything looks fine, but:

[ 55078.742] (II) LoadModule: "glx"
[ 55078.743] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 55078.744] (EE) Failed to load /usr/lib/xorg/modules/extensions/libglx.so: /usr/lib/xorg/modules/extensions/libglx.so: undefined symbol: DRIGetDrawableInfo
[ 55078.744] (EE) LoadModule: Module glx does not have a glxModuleData data object.
[ 55078.745] (II) UnloadModule: "glx"
[ 55078.745] (II) Unloading glx
[ 55078.745] (EE) Failed to load module "glx" (invalid module, 0)

dir /usr/lib/xorg/modules/extensions/libglx.so
-rwxr-xr-x 1 root root 455518 21. Sep 22:11 /usr/lib/xorg/modules/extensions/libglx.so

nm /usr/lib/xorg/modules/extensions/libglx.so | grep DRIGetDrawableInfo
U DRIGetDrawableInfo

nm /usr/lib/xorg/modules/extensions/libglx.so | grep glxModuleData
0005e040 D glxModuleData

So the new libglx.so is definitely used, and there is a glxModuleData data object.

[ 55078.745] (II) LoadModule: "record"
[ 55078.746] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
[ 55078.746] (II) Module record: vendor="X.Org Foundation"
[ 55078.746] compiled for 1.11.0, module version = 1.13.0
[ 55078.746] Module class: X.Org Server Extension
[ 55078.746] ABI class: X.Org Server Extension, version 5.0
[ 55078.746] (II) Loading extension RECORD
[ 55078.746] (II) LoadModule: "dri"
[ 55078.747] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
[ 55078.748] (II) Module dri: vendor="X.Org Foundation"
[ 55078.748] compiled for 1.11.0, module version = 1.0.0
[ 55078.748] ABI class: X.Org Server Extension, version 5.0
[ 55078.748] (II) Loading extension XFree86-DRI
[ 55078.748] (II) LoadModule: "dri2"
[ 55078.749] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
[ 55078.749] (II) Module dri2: vendor="X.Org Foundation"
[ 55078.749] compiled for 1.11.0, module version = 1.2.0
[ 55078.749] ABI class: X.Org Server Extension, version 5.0
[ 55078.749] (II) Loading extension DRI2

librecord, lilbdri and libdri2 from the same build load fine, but intel_drv fails:

[ 55078.749] (II) LoadModule: "intel"
[ 55078.749] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[ 55078.750] (EE) Failed to load /usr/lib/xorg/modules/drivers/intel_drv.so: /usr/lib/xorg/modules/drivers/intel_drv.so: undefined symbol: vgaHWFreeHWRec
[ 55078.751] (EE) LoadModule: Module intel does not have a intelModuleData data object.
[ 55078.751] (II) UnloadModule: "intel"
[ 55078.751] (II) Unloading intel
[ 55078.751] (EE) Failed to load module "intel" (invalid module, 0)
[ 55078.751] (EE) No drivers available.

dir /usr/lib/xorg/modules/drivers/intel_drv.so
-rwxr-xr-x 1 root root 373600 21. Sep 22:15 /usr/lib/xorg/modules/drivers/intel_drv.so

nm /usr/lib/xorg/modules/drivers/intel_drv.so | grep vgaHWFreeHWRec
U vgaHWFreeHWRec

nm /usr/lib/xorg/modules/drivers/intel_drv.so | grep intelModuleData
00050044 D intelModuleData


[ 55078.751]
Fatal server error:
[ 55078.752] no screens found
[ 55078.752]

cu,
Knut



More information about the Intel-gfx mailing list