Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Aug 2000 14:51:46 -0700 (PDT)
From:      Tom Bartol <bartol@salk.edu>
To:        joeo@cracktown.com
Cc:        multimedia@FreeBSD.org
Subject:   Re: XFree86-4.0.1 and DRI
Message-ID:  <Pine.BSF.4.10.10008101429240.2480-100000@euler.salk.edu>
In-Reply-To: <Pine.LNX.4.04.10008101523590.11533-200000@ra.nks.net>

next in thread | previous in thread | raw e-mail | index | archive | help



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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.10008101429240.2480-100000>