Date: Fri, 30 Jul 2004 07:49:03 GMT From: Andreas Kohn <andreas@syndrom23.de> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/69790: X.org doesn't work on SiS chips - drmSiSAgpInit is unresolved Message-ID: <200407300749.i6U7n3br033664@www.freebsd.org> Resent-Message-ID: <200407300750.i6U7oRnY071157@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407300749.i6U7n3br033664>