Skip to Content.
Sympa Menu

sm-discuss - [SM-Discuss] xorg-server 1.5.2 fails with nvidia_driver (Bug #14819)

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Eric Sandall <eric AT sandall.us>
  • To: SM-Discuss <sm-discuss AT lists.ibiblio.org>
  • Subject: [SM-Discuss] xorg-server 1.5.2 fails with nvidia_driver (Bug #14819)
  • Date: Sun, 12 Oct 2008 20:46:30 -0700

Anyone else run into this problem?
http://bugs.sourcemage.org/show_bug.cgi?id=14819

# sorcery -v
20081008

# gaze version xorg-server nvidia_driver mesalib
Grimoire Section Spell Grimoire Version Installed
Version -------- ------- ----- ----------------
----------------- test xorg-xserver xorg-server
1.5.2 1.4.2 z-rejected z-kernels nvidia_driver
177.80 177.80 test graphics-libs mesalib
7.2 7.2

When trying to compile xorg-server 1.5.2 (did not try 1.5.1 nor 1.5.0),
I receive the following error:
Computing previously installed dependencies...
xorg-server preparing environment...
xorg-server running configuration...
[[ Build documentation? -> n ]]
[[ Build SHM extension? -> y ]]
[[ Install libxf86config? -> y ]]
[[ Build XRes extension? -> y ]]
[[ Build XInput extension? -> y ]]
[[ Build Record extension? -> y ]]
[[ Build XDMCP extension? -> y ]]
[[ Build XDM_Auth_1 extension? -> y ]]
[[ Build GLX extension? -> y ]]
[[ Build accelerated indirect GLX? -> y ]]
[[ Build GLX with Thread Local Storage support? -> y ]]
[[ Build DRI extension? -> y ]]
[[ Build Security extension? -> y ]]
[[ Build X-ACE extension? -> y ]]
[[ Build XC_APPGROUP extension? -> y ]]
[[ Build XCalibrate extension? -> y ]]
[[ Build TOG_CUP extension? -> y ]]
[[ Build Extended-Visual-Information extension? -> y ]]
[[ Build Multibuffer extension? -> y ]]
[[ Build Xorg server? -> y ]]
[[ Build Xvfb server? -> n ]]
[[ Build Xnest server? -> y ]]
xorg-server provides some advanced EXPERIMENTAL options that may BREAK
the build or the final executing of the server. So answer the following
carefully [[ Do you wish the advanced options -> n ]]
[[ Enable Secure RPC? -> y ]]
[[ Build xorgcfg GUI configuration utility? -> y ]]
[[ Build kbd_mode utility? -> y ]]
[[ Which 100dpi fonts do you want? -> 'all' ]]
[[ Which 75dpi fonts do you want? -> 'all' ]]
[[ Which Speedo fonts do you want? -> 'none' ]]
[[ Which Type1 fonts do you want? -> 'none' ]]
[[ Which TTF/OTF fonts do you want? -> 'font-bh-ttf' ]]
[[ Which misc fonts do you want? -> 'none' ]]
[[ What input drivers do you want -> 'xf86-input-mouse
xf86-input-keyboard xf86-input-synaptics' ]]
[[ What special input drivers do you want -> 'none' ]]
[[ What common video drivers do you want -> 'xf86-video-nv' ]]
[[ What uncommon video drivers do you want -> 'none' ]]
[[ What obscure video drivers do you want -> 'none' ]]
...
gcc -DHAVE_CONFIG_H -I. -I../include -I../hw/xfree86/os-support
-I../hw/xfree86/os-support/bus -I../hw/xfree86/common
-I../hw/xfree86/dri -I../hw/xfree86/dri2 -I../mi -DHAVE_DIX_CONFIG_H
-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs -fno-strict-aliasing
-D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT
-DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/freetype2
-I/usr/include/pixman-1 -I/usr/include/hal -I/usr/include/dbus-1.0
-I/usr/lib/dbus-1.0/include -I../include -I../include -I../Xext
-I../composite -I../damageext -I../xfixes -I../Xi -I../mi
-I../miext/shadow -I../miext/damage -I../render -I../randr -I../fb
-I/usr/include/drm -I/usr/include/X11/dri -DXFree86Server -DGLX_USE_TLS
-DPTHREADS -D__GLX_ALIGN64 -march=nocona -fPIC -DPIC -pipe -DPIC -fPIC
-Os -MT rensize.lo -MD -MP -MF .deps/rensize.Tpo -c rensize.c -fPIC
-DPIC -o .libs/rensize.o rensize.c: In function '__glXImageSize':
rensize.c:227: error: 'GL_DEPTH_STENCIL_MESA' undeclared (first use in
this function) rensize.c:227: error: (Each undeclared identifier is
reported only once rensize.c:227: error: for each function it appears
in.) rensize.c:266: error: 'GL_UNSIGNED_SHORT_15_1_MESA' undeclared
(first use in this function)
rensize.c:267: error: 'GL_UNSIGNED_SHORT_1_15_REV_MESA' undeclared
(first use in this function)
rensize.c:281: error: 'GL_UNSIGNED_INT_24_8_MESA' undeclared (first use
in this function)
rensize.c:282: error: 'GL_UNSIGNED_INT_8_24_REV_MESA' undeclared (first
use in this function)
make[1]: Leaving directory `/usr/src/xorg-server-1.5.2/glx'
make[1]: *** [rensize.lo] Error 1

I found another with the same issue:
http://forums.fedoraforum.org/showthread.php?p=1090418

Apparently the 1.5.x series of xorg-server does not play well with the
installed nvidia_driver headers. It seems to use the installed headers
instead of the included MesaLib headers.

-sandalle

--
Eric Sandall | Source Mage GNU/Linux Developer
eric AT sandall.us PGP: 0xA8EFDD61 | http://www.sourcemage.org/
http://eric.sandall.us/ | http://counter.li.org/ #196285

Attachment: signature.asc
Description: PGP signature



  • [SM-Discuss] xorg-server 1.5.2 fails with nvidia_driver (Bug #14819), Eric Sandall, 10/12/2008

Archive powered by MHonArc 2.6.24.

Top of Page