As mentioned in the previous post, r4745 (activating the DPMS extension)
broke our official project build, because of the following scenario:
r4745 removes -DNO_HW_ONLY_EXTS from Xvnc_CPPFLAGS in
unix/xserver/hw/vnc/Makefile.am. This causes xorg-xserver 1.6.5 to
attempt to build the XFree86-DRI extension, but the stub for
XFree86DRIExtensionInit() is missing, so the build fails. Adding
--disable-dri to the Xorg config flags, as I attempted to do in r4765,
doesn't work, because DRI is necessary to provide software OpenGL rendering.
Sorry for causing problems, but unfortunately we need to support Ubuntu &
Unity, and we also want push our modifications upstream when possible.
Wrt DRI: I must admit that I don't fully understand how it works, but at
least for Xorg server 1.5, DRI1 is not necessary for GLX, but DRI2 is, it
seems. We are building with these flags:
./configure --prefix=${prefix} --config-cache \
--with-pic=no \
--includedir=${stage}${prefix}/include \
--disable-xprint --disable-static --disable-xtrap \
--disable-kdrive-vesa --disable-lbx --enable-freetype \
--disable-xorgconfig --disable-xorgcfg \
--enable-xfree86-utils --with-int10=x86emu \
--disable-type1 \
--disable-dmx --disable-vfb --disable-kdrive \
--disable-xsdl --disable-xfake --disable-xfbdev \
--disable-xvfb --disable-xnest --disable-xorg \
--enable-glx \
--disable-builtin-fonts --disable-dri \
--with-dri-driver-path=/opt/thinlinc/lib
This produces a server where GLX works fine.
I am not a big fan of "faking" the extension, that is, of creating an
artificial stub for XFree86DRIExtensionInit(), because it would lead to
a situation in which the extension was listed as available but was
horribly broken. However, the only other solution I can concoct is
patching the configure.ac file in the X server so that it avoids
#defining XF86DRI in xorg-config.h but keeps DRI alive otherwise. Not a
huge fan of that, either, since we don't really know which versions of
the X server this affects.
Hmm. I agree that faking DRI is not a good solution. Which version of Xorg
are you using? You are following the instructions in BUILDING.txt?
Regards,
---
Peter Åstrand ThinLinc Chief Developer
Cendio AB http://www.cendio.com
Wallenbergs gata 4
583 30 Linköping Phone: +46-13-21 46 00
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Tigervnc-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tigervnc-devel