From owner-freebsd-multimedia Fri Apr 28 17:32: 7 2000 Delivered-To: freebsd-multimedia@freebsd.org Received: from PacHell.TelcoSucks.org (PacHell.TelcoSucks.org [207.90.181.5]) by hub.freebsd.org (Postfix) with ESMTP id 76B7537B839 for ; Fri, 28 Apr 2000 17:32:04 -0700 (PDT) (envelope-from ulf@PacHell.TelcoSucks.org) Received: (from ulf@localhost) by PacHell.TelcoSucks.org (8.9.3/8.9.1) id RAA74826; Fri, 28 Apr 2000 17:31:16 -0700 (PDT) (envelope-from ulf) Date: Fri, 28 Apr 2000 17:31:16 -0700 From: Ulf Zimmermann To: Randall Hopper Cc: Alexander Langer , multimedia@FreeBSD.ORG Subject: Re: DGA on XF86 4.0 Message-ID: <20000428173116.F57534@PacHell.TelcoSucks.org> Reply-To: ulf@Alameda.net References: <20000427101213.A2872@cichlids.cichlids.com> <20000427221616.A4841@ipass.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <20000427221616.A4841@ipass.net>; from aa8vb@ipass.net on Thu, Apr 27, 2000 at 10:16:16PM -0400 Organization: Alameda Networks, Inc. X-Operating-System: FreeBSD 3.4-STABLE Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, Apr 27, 2000 at 10:16:16PM -0400, Randall Hopper wrote: > Anyone got the scoop on DGA v2 versus v1 differences? > > > Alexander Langer: > |DGA doesn't work any more with fxtv since I've upgraded to XFree86 > |4.0. > | > |Are there any plans to update that in near future? > > Kenneth Culver also reported this. Apparently DGA v2 isn't backward > compatible (I'm assuming your fxtv was rebuilt using XFree86 4.0 > libraries). He said: > > It seems that It's reporting that DGA isn't available: > I get this: > XF86DGAQueryDirectVideo() reports DGA not avail > > This rtn is returning False, which typically indicates failure. > > I've got my hands full with school right now, so I haven't even had a > chance to install XFree86 4.0 yet. But if you or someone with 4.0 wants to > help out, it might not take much time and I'm sure others would sure be > appreciative. > > If you've done some development, man XF86DGA might disclose what's changed. > If not (out-of-date docs), /usr/X11R6/include/X11/extensions/xf86dga* > probably will. > > Either way, try this. Build fxtv from ports. Then in tvscreen.c, play > with the XF86DGA... calls. For example, try replacing: > > ret = XF86DGAQueryVersion( s->display, &dga_majv, &dga_minv ); > with: > ret = True; > dga_flags_sup = XF86DGADirectPresent; > > and see what happens. "sync" your disks first. Direct Video is dangerous > if given the wrong address. Erroneous (malicious or accidental) > programming of the Bt8xx chip via the bktr driver is the single easiest way > I know to trash your virtual memory space from userland. By default DGA is not turned on in XFree86 4.0, I had to modify my /etc/X11/XF86Config: # This loads the miscellaneous extensions module, and disables # initialisation of the XFree86-DGA extension within that module. SubSection "extmod" Option "xfree86-dga" # don't initialise the DGA extension EndSubSection That part is by default: # This loads the miscellaneous extensions module, and disables # initialisation of the XFree86-DGA extension within that module. SubSection "extmod" Option "omit xfree86-dga" EndSubSection > > Randy > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-multimedia" in the body of the message -- Regards, Ulf. --------------------------------------------------------------------- Ulf Zimmermann, 1525 Pacific Ave., Alameda, CA-94501, #: 510-769-2936 Alameda Networks, Inc. | http://www.Alameda.net | Fax#: 510-521-5073 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message