From owner-freebsd-multimedia Mon Sep 29 20:13:25 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id UAA27786 for multimedia-outgoing; Mon, 29 Sep 1997 20:13:25 -0700 (PDT) Received: from netwolf.NetMasters.Com (netwolf.netmasters.com [199.201.245.5]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id UAA27781 for ; Mon, 29 Sep 1997 20:13:22 -0700 (PDT) Received: from netwolf.NetMasters.Com (localhost.NetMasters.Com [127.0.0.1]) by netwolf.NetMasters.Com (8.8.7/8.7.3) with ESMTP id XAA21026; Mon, 29 Sep 1997 23:13:15 -0400 (EDT) Message-Id: <199709300313.XAA21026@netwolf.NetMasters.Com> X-Mailer: exmh version 1.6.9 8/22/96 To: Randall Hopper cc: Kenneth Merry , multimedia@FreeBSD.ORG, Amancio Hasty From: "Michael G Petry" Subject: Re: Matrox Millenium with 8M and BT848 In-reply-to: Your message of "Mon, 29 Sep 1997 22:53:46 EDT." <19970929225346.14289@ct.picker.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 29 Sep 1997 23:13:15 -0400 Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk A printf of base_addr yields 0xe0000000 which jives with the X startup. bpp = 4 base = e0000000 g.x = 956 g.y = 194 x->pitch = 1600 x->bank_size = 8388608 x->ram_size = 8388608 It's as if the true base is somehow offset depending on the resolution. > Michael G Petry: > |Randall Hopper: > | > |> I gather the video block on the Millenium @ 1280 looks fine (solid, > |> rectangular, correct colors); it just not in the window frame. It's off to > |> the left. And only does this in 1280x1024, not 1024x768. > | > |Yep. That's it. > > | video.addr = x->base_addr + (((g.y * x->pitch) + g.x + 256 ) * Bpp); > > Interesting. That means pitch and Bpp (4) are right. The g.y and g.x > nums you reported looked right. That only leaves base_addr. Sounds like > what DGA's reporting is less by 1024 bytes from what that hardware is > configured for. > > Randall