From owner-freebsd-multimedia Thu Aug 10 14:52: 2 2000 Delivered-To: freebsd-multimedia@freebsd.org Received: from helmholtz.salk.edu (helmholtz.salk.edu [198.202.70.34]) by hub.freebsd.org (Postfix) with ESMTP id 2BA0B37BC89 for ; Thu, 10 Aug 2000 14:51:58 -0700 (PDT) (envelope-from bartol@salk.edu) Received: from euler.salk.edu (euler [198.202.70.144]) by helmholtz.salk.edu (8.10.2/8.10.2) with ESMTP id e7ALpm827000; Thu, 10 Aug 2000 14:51:52 -0700 (PDT) Date: Thu, 10 Aug 2000 14:51:46 -0700 (PDT) From: Tom Bartol To: joeo@cracktown.com Cc: multimedia@FreeBSD.org Subject: Re: XFree86-4.0.1 and DRI In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, 10 Aug 2000 joeo@cracktown.com wrote: > I'm shooting in the dark here... Try setting X up with a maximum > resolution of 1024x768. Tried that but still get the same error. > > Check to see if you have the "agp" module loaded (should be included with > FreeBSD4.1 or current). > The agp module is loaded. I'm running 4.1-STABLE as of Aug 8, 2000. In a separate e-mail in this thread you mentioned that drm can be found in the XFree86-4 CVS tree in the dir: xc/programs/Xserver/hw/xfree86/os-support/bsd/drm/kernel I'm using the XFree86-4 port and have the sources that the port uses to build XFree86-4.0.1. I've looked in the dir you specify and find: Imakefile i810_drm.h xf86drm.c@ Makefile mga/ xf86drm.h@ Makefile.bsd mga_drm.h xf86drmHash.c@ drm/ r128_drm.h xf86drmRandom.c@ drm.h sigio.c@ xf86drmSL.c@ drmP.h tdfx/ gamma/ xf86_OSproc.h@ The subdir drm/ contains: ./ auth.c device_if.h init.c memory.c ../ bufs.c dma.c ioctl.c pci_if.h @@ bus_if.h drawable.c lists.c proc.c Makefile context.c drmstat.c lock.c sysctl.c agpsupport.c ctxbitmap.c fops.c machine@ vm.c If I try to "make" in the subdir drm/ I get: Warning: Object directory not changed from original /usr/ports/x11/XFree86-4/work/xc/programs/Xserver/hw/xfree86/os-support/bsd/drm/kernel/drm cc -O2 -march=pentiumpro -pipe -I.. -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -DKLD_MODULE -nostdinc -I- -I.. -I. -I@ -I@/../include -mpreferred-stack-boundary=2 -c init.c In file included from init.c:33: ../drmP.h:597: syntax error before `struct' ../drmP.h:597: syntax error before `void' *** Error code 1 So I don't have drm.ko built, which might go a long way to explaining why DRI is not working for me. I'm using the latest XFree86-4 port. Should the build of drm.ko be working here or do I need to grab newer sources from the CVS tree? Thanks for your help -- I feel like we're getting real close to a solution now! Tom To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message