From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EWZpP-0006tQ-PH for qemu-devel@nongnu.org; Mon, 31 Oct 2005 08:36:00 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EWZpL-0006rb-57 for qemu-devel@nongnu.org; Mon, 31 Oct 2005 08:35:56 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EWZpK-0006rE-MO for qemu-devel@nongnu.org; Mon, 31 Oct 2005 08:35:54 -0500 Received: from [128.8.10.163] (helo=po1.wam.umd.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EWZpK-0006ir-PM for qemu-devel@nongnu.org; Mon, 31 Oct 2005 08:35:54 -0500 Date: Mon, 31 Oct 2005 08:35:45 -0500 From: "Jim C. Brown" Subject: Re: [Qemu-devel] Graphic card Message-ID: <20051031133545.GA1824@jbrown.mylinuxbox.org> References: <8a6cde920510291735i71b1e86am9d40710364c19326@mail.gmail.com> <79bf98480510292143t2b4d4663s263fc3bd1a6f48b5@mail.gmail.com> <8a6cde920510310158q5cab566bi91cf7e3c8992b37a@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8a6cde920510310158q5cab566bi91cf7e3c8992b37a@mail.gmail.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Ricardo Almeida Cc: qemu-devel@nongnu.org On Mon, Oct 31, 2005 at 09:58:45AM +0000, Ricardo Almeida wrote: > On 10/30/05, Mike Swanson wrote: > > > > > > 3. Perhaps, but there's two things here. First of all, the card would > > have to be documented in a fair amount of low-level detail, something > > that big video card companies rarely or never do. > > > What about the Via/S3 Unichrome? Via allows access to the Linux Video > Interface (http://www.viaarena.com/default.aspx?PageID=151) and there are > open source drivers (http://sourceforge.net/projects/unichrome/) from where, > to my believe, it's possible to understand the graphic card. > I'm just a java developer so I really can't help in any of the hard work. > Just trying to make some suggestions to improve this great software :) > It will still be fairly hard to do, even if its completely open. Since Via S3/Unichrome is supported by DRI, I'd say that it looks doable (at least on a first glance). Better than say a Nvidia or ATI card. Since those aren't open, we can't implement them without careful reverse engineering (even their open source drivers don't handle 3d). > Secondly, the > > complexity of the card might make its emulated implementation even > > slower than the Cirrus one used currently > > > This is something I tend to dissagree... People aren't going to emulate a > full pc in a slow one. The worst graphic card sold today (picked a random > online shop here in Portugal) is a GeForce FX5200, with DirectX 9.0 and > OpenGL 1.4 hardware accelaration. I'm sure most calls to the emulated > graphic card can have an almost direct call. > Cirrus card can still be emulated, but I don't see nothing wrong in having > an emulated card that requires a 60? graphic card to work... > See above. It is only plausible if the card's specs are completely open with respect to 3d acceleration. Even then, "directly" rerouting calls only works if the host happens to have the same hardware. And that would probably require exclusive use of the video card. It may be possible to route the low level calls from the emulated card to a higher level api on the host, such as OpenGL. -- Infinite complexity begets infinite beauty. Infinite precision begets infinite perfection.