problems compiling xserver for G965 with ADD2

Eric Anholt eric at
Tue Apr 10 14:38:39 PDT 2007

On Thu, 2007-04-05 at 13:11 -0700, Daniel Waineo wrote:
> Hi Group,
> I've got a DG965OT motherboard with a widescreen
> monitor.  You know why I'm here.  Fedora Core 6
> doesn't support the modesetting driver for DG965.  FC7
> Test 3 seems to work ok with the VGA port but not with
> my Wintec ADD2 card (DVI port).  See my bugzilla here:

I don't track what xorg module versions Fedora is using, but FC7 tests
sure seem like they ought to have new enough stuff to build the driver
-- just download the current RC of the driver, install the xorg devel
package from your distro, and build the driver.  But if you want to
build everything yourself...

> I thought I would try the latest intel driver, but
> realized I needed a more current xserver than my FC
> installation provides.
> 1. I downloaded xserver and xf86-intel using jhbuild
> into my home directory.
> 2. I installed several modules in order to get xserver
> to configure. 
> 3. I'm having trouble with my paths for xserver.  It
> seems to look in the area where my jhbuild of xorg is
> installed instead of to my existing xorg installation.
> First try:
> ./configure --prefix=/usr

It looks like you're trying to make a mix of jhbuild and installed
versions, without having actually built the jhbuild modules with prefix
set to /usr.  Recipe for disaster.

If you leave the jhbuild prefix as recommended in the instructions,
you're going to need to set appropriate environment if you want to
hand-build the server against your new jhbuild modules, or driver
against jhbuilt server.  Check the environment with "jhbuild run zsh",
for example (there's a better command for this, I forget).  Or just use
jhbuild to build them.

> Result:
> X won't start because the font path is messed up. 
> It's looking in /home/dan/xorg.... which is where my
> jhbuild is.
> Also it can't find the kbd and mouse modules.  I think
> this is a path problem too.

The new server requires kbd and mouse to be updated for the new ABI.

> Second try:
> ./configure --prefix=/usr
> --with-fontdir=/usr/share/X11/fonts --with
> module-dir=/usr/lib/xorg/modules
> Result:
> I get an xscreen now.  It looks as described in the
> bugzilla above.  However, my keyboard and mouse aren't
> working (I'm guessing because of my path problems). 
> Xserver doesn't seem to be writing a Xorg.0.log
> anymore, so I can't tell what exactly is wrong. 
> I know I'm doing something wrong when building X.  Can
> anyone tell me what it is? 
> If nothing else, this has been very educational.
> Thanks!

Eric Anholt                             anholt at
eric at                         eric.anholt at

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
URL: <>

More information about the xorg mailing list