Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Sep 1997 23:13:15 -0400
From:      "Michael G Petry" <petry@DITTO.NetMasters.com>
To:        Randall Hopper <rhh@ct.picker.com>
Cc:        Kenneth Merry <ken@plutotech.com>, multimedia@FreeBSD.ORG, Amancio Hasty <hasty@rah.star-gate.com>
Subject:   Re: Matrox Millenium with 8M and BT848 
Message-ID:  <199709300313.XAA21026@netwolf.NetMasters.Com>
In-Reply-To: Your message of "Mon, 29 Sep 1997 22:53:46 EDT." <19970929225346.14289@ct.picker.com> 

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

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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709300313.XAA21026>