From owner-freebsd-multimedia Mon Apr 7 10:16:21 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id KAA24861 for multimedia-outgoing; Mon, 7 Apr 1997 10:16:21 -0700 (PDT) Received: from rah.star-gate.com (rah.star-gate.com [204.188.121.18]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id KAA24856 for ; Mon, 7 Apr 1997 10:16:15 -0700 (PDT) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.5/8.7.3) with ESMTP id KAA02012 for ; Mon, 7 Apr 1997 10:16:14 -0700 (PDT) Message-Id: <199704071716.KAA02012@rah.star-gate.com> X-Mailer: exmh version 1.6.9 8/22/96 To: multimedia@freebsd.org Subject: Faster Video for Pentium Pros only Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 07 Apr 1997 10:16:14 -0700 From: Amancio Hasty Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I inserted the following instructions into the attach routine of the bt848 driver. For now the placement of the instructions is not that important. The following sets the first available memory range register for my system and is specific for my graphic's card linear buffer. wrmsr(0x204, 0xf0000001 ); wrmsr(0x205, 0xf8000000 | 0x800); My graphics card's linear frame buffer is at 0xf0000000 and is 4mb big. I noticed that with mtv the maximum frame rate that I get playing an mpeg file is 23.8 frames/sec with the linear frame buffer set to WC my maximum frame rate using the same mpeg file is 30.1 8) The info on how to program the memory type range registers for the Pentium Pro is on the "Pentium Pro Developer's Manual volume 3: Operating Systems Writer's Guide" . You may find the document as 242692_1.pdf Enjoy, Amancio