ports/69790: X.org doesn't work on SiS chips - drmSiSAgpInit is unresolved
Andreas Kohn
andreas at syndrom23.de
Fri Jul 30 07:50:43 UTC 2004
>Number: 69790
>Category: ports
>Synopsis: X.org doesn't work on SiS chips - drmSiSAgpInit is unresolved
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri Jul 30 07:50:26 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Andreas Kohn
>Release: FreeBSD 5.2-CURRENT
>Organization:
>Environment:
FreeBSD klamath.ankon.de.eu.org 5.2-CURRENT FreeBSD 5.2-CURRENT #90: Sun Jul 25 00:53:48 CEST 2004 root at klamath.syndrom23.de:/usr/obj/usr/src/sys/KLAMATH i386
>Description:
X.Org (and XFree86 > 4.3) won't run with SiS chips, I get
Required symbol drmSiSAgpInit from module
/usr/X11R6/lib/modules/drivers/sis_drv.o is unresolved!
>How-To-Repeat:
Set Driver to "sis", start X.
>Fix:
Move some #ifndef __FreeBSD__ in xc/programs/Xserver/hw/xfree86/os-support/bsd/drm/xf86drmCompat.c:
--- /tmp/xc/programs/Xserver/hw/xfree86/os-support/linux/drm/xf86drmCompat.c Thu Mar 4 18:48:10 2004
+++ xc/programs/Xserver/hw/xfree86/os-support/linux/drm/xf86drmCompat.c Thu Jul 29 18:19:13 2004
@@ -77,8 +77,8 @@
#include "mga_drm.h"
#include "r128_drm.h"
#include "radeon_drm.h"
-#ifndef __FreeBSD__
#include "sis_drm.h"
+#ifndef __FreeBSD__
#include "i810_drm.h"
#include "i830_drm.h"
#endif
@@ -1012,7 +1012,6 @@
}
}
-#ifndef __FreeBSD__
/* SiS */
Bool drmSiSAgpInit(int driSubFD, int offset, int size)
@@ -1026,6 +1025,8 @@
return 1; /* TRUE */
}
+#ifndef __FreeBSD__
+
/* I830 */
Bool drmI830CleanupDma(int driSubFD)
---
With this change, DRM and XV don't work, but X starts at least. glxgears shows only a black window.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list