From owner-freebsd-x11@FreeBSD.ORG Wed Jul 28 23:46:37 2004 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B7EAD16A4CE for ; Wed, 28 Jul 2004 23:46:37 +0000 (GMT) Received: from 159088.vserver.de (syndrom23.de [62.75.159.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id 699B343D6E for ; Wed, 28 Jul 2004 23:46:36 +0000 (GMT) (envelope-from andreas@syndrom23.de) Received: from [212.204.44.203] ([212.204.44.203]) (authenticated bits=0) by 159088.vserver.de (8.12.8/8.12.8) with ESMTP id i6SNk9oU023362 for ; Thu, 29 Jul 2004 01:46:16 +0200 From: Andreas Kohn To: x11@FreeBSD.org Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-vkndVDtHB3jOyOZMPAjf" Message-Id: <1091058382.3061.27.camel@klamath.ankon.de.eu.org> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Thu, 29 Jul 2004 01:46:23 +0200 Subject: X.Org and SiS - drmSiSAgpInit unresolved X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jul 2004 23:46:37 -0000 --=-vkndVDtHB3jOyOZMPAjf Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi, if I try X.Org (or some newer XFree86-4 snapshots) on my laptop with SiS graphics, I get: Required symbol drmSiSAgpInit from module /usr/X11R6/lib/modules/drivers/sis_drv.o is unresolved! The reason seems to be that this function is explicitly not compiled for FreeBSD because of an #ifndef __FreeBSD__ around it. If I modify xc/programs/Xserver/hw/xfree86/os-support/bsd/drm/xf86drmCompat.c to have a simple stub for this function which returns 1, I can use X again. But of course I have no dri (glxinfo says so, glxgears shows only a black window), and XV doesn't work either. I'm currently looking into how to call the ioctl on FreeBSD. Is this known already, or is it some sort of local problem? Perhaps this could be added to the port as temporary solution. Thank you, Andreas [Please CC: me, I'm not subscribed to freebsd-x11] --=-vkndVDtHB3jOyOZMPAjf Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQBBCDrOYucd7Ow1ygwRAtP2AJsE9pEF4Ct1qRkn+2gUEahHMy1XBwCeN+qa CTRjy3pHM7CyZi9gZ5BwGSQ= =drqF -----END PGP SIGNATURE----- --=-vkndVDtHB3jOyOZMPAjf--