Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Jan 2002 18:05:42 +0100
From:      "Jose M. Alcaide" <jose@we.lc.ehu.es>
To:        joeo@cracktown.com
Cc:        freebsd-multimedia@FreeBSD.ORG
Subject:   Re: OpenGL
Message-ID:  <20020107180542.F246@v-ger.we.lc.ehu.es>
In-Reply-To: <Pine.LNX.4.30.0201031943150.859-100000@asmodean-ssn.nks.net>; from joeo@cracktown.com on Thu, Jan 03, 2002 at 07:51:30PM -0500
References:  <20020103191937.A705@nc.rr.com> <Pine.LNX.4.30.0201031943150.859-100000@asmodean-ssn.nks.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jan 03, 2002 at 07:51:30PM -0500, joeo@cracktown.com wrote:
> There's two different source repositories.
> 
> There's the DRI-CVS repository at sourceforge, and the bsd-2-0-0-branch is
> the CVS branch Eric's patches have been incorporated into.
> 
> There's also the XFree86-CVS head branch (also hosted by sourceforge)
> which one of the XFree86 commiters has been commit'ing the bsd specific
> dri part to.  If you can get the DRI-CVS stuff to compile and work it'd be
> good of you to see if the XFree86-CVS head branch also works for your
> card, since that codebase will be the basis for the 4.2.0 XFree86 release.

I am trying to activate DRI to no avail. I built XFree86 (4.1.99.4) from
XFree86-CVS head branch, and I also built the FreeBSD modules in
programs/Xserver/hw/xfree86/os-support/bsd/drm/kernel with no problems.
When I uncomment "Load dri" in XF86Config, the machine reboots inmediately
after starting the Xserver. I cannot see the Xserver startup messages, of
course. What follows is the relevant information about the system:

$ uname -v
FreeBSD 5.0-CURRENT #5: Mon Dec  3 16:24:55 CET 2001     toor@defiant.we.lc.ehu.es:/usr/obj/usr/src/sys/DEFIANT
$ kldstat
Id Refs Address    Size     Name
 1   12 0xc0100000 26a5b4   kernel
 2    1 0xc036b000 60c0     snd_es137x.ko
 3    2 0xc0372000 19fb4    snd_pcm.ko
 4    2 0xc038c000 d0bc     agp.ko
 5    1 0xc039a000 449c0    acpi.ko
 6    1 0xc1c68000 2000     green_saver.ko
 7    1 0xc1c6a000 16000    linux.ko
 8    1 0xc1cb9000 14000    r128.ko
$ dmesg | fgrep drm
info: [drm] Checking PCI vendor=4358, device=12375
info: [drm] Checking PCI vendor=4098, device=20550
drm0: <ATI Rage 128 Pro PF (AGP 4x)> port 0xa800-0xa8ff mem 0xdfafc000-0xdfafffff,0xd8000000-0xdbffffff irq 11 at device 0.0 on pci1
info: [drm] AGP at 0xe0000000 64MB
info: [drm] Initialized r128 2.2.0 20010405 on minor 0
$ head -10 /var/log/XFree86.0.log | tail -3
XFree86 Version 4.1.99.4 / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Release Date: 28 December 2001

I also tried to install the drm-kmod port (after patching the XFree86's
r128 module in order to properly detect the "3.0.0" version of drm-kmod's
kernel module) with the same results: instant reboot.

Any ideas?

  Cheers,
  JMA
-- 
****** Jose M. Alcaide  //  jose@we.lc.ehu.es  //  jmas@FreeBSD.org ******
** "Beware of Programmers who carry screwdrivers" --  Leonard Brandwein **

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?20020107180542.F246>