qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] 3D acceleration
@ 2008-02-01  3:45 Gervase Lam
  2008-02-01 18:06 ` Christian Laursen
  0 siblings, 1 reply; 4+ messages in thread
From: Gervase Lam @ 2008-02-01  3:45 UTC (permalink / raw)
  To: qemu-devel

> From: 	Alexander Graf
> Subject: 	Re: [Qemu-devel] [patch] cocoa.m - Core Graphics support
> Date: 	Thu, 31 Jan 2008 09:29:02 +0100

> I somehow like the idea of having a GL based video output.

Awhile back, somebody did a patch to allow guest accelerated Windows
OpenGL graphics.  From what I can tell, he basically wrote a Windows
OpenGL API that 'calls' interrupts, which QEMU traps.  QEMU then
interprets the interrupts and calls the OpenGL API of the Linux host.

<http://qemu-forum.ipi.fi/viewtopic.php?
f=2&t=2984&st=0&sk=t&sd=a&sid=1c320bec1bea28ff21ed2204b2df4c60>

In the thread is also the interesting suggestion of using the dlxgl
wrapper API to convert Direct3D to OpenGL in Windows.  This
theoretically means that you could run Direct3D apps in QEMU.

I think it would be worthwhile getting Direct3D and OpenGL to work on
QEMU.  This is especially when Win95/98 cannot run on the more up-to-
date PC chipsets (due to manufacturers not being will to provide drivers
or whatever).  I know of a least two applications that can run on
Win95/98 but not XP.

Fabrice made a comment on this patch:

<http://lists.gnu.org/archive/html/qemu-devel/2006-11/msg00149.html>

>From my minimal understanding of what he is saying, it seems he would
prefer there to be a BOCHS graphics adapter, which would then pass the
OpenGL commands from Windows to Linux OpenGL.  Also, Direct3D commands
would be passed from Windows to Linux Wine.

I wouldn't mind having a go at this as I would like to run 3D
accelerated Windows apps on Linux.  However, due to a couple of other
projects I want to complete first (including a PC upgrade), I don't
think I'll have time to do this until may be later this year.  Also, I
will need to do some learning.  So don't your breath.  Anybody want to
volunteer to do this?

What are people's current feelings about this?  I've been wanting to run
3D accelerated Win98/95 in Linux (on what will be an up-to-date chipset
soon...).  But I kept on finding out about PCI  pass through on Xen to
allow Direct3D to do its work, and the open "source" specifications of
ATI cards (though I read that nVidia are allegedly deliberating about
doing the same thing sometime this year).

Thanks,
Gervase.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] 3D acceleration
  2008-02-01  3:45 [Qemu-devel] 3D acceleration Gervase Lam
@ 2008-02-01 18:06 ` Christian Laursen
  2008-02-01 18:47   ` Johannes Schindelin
  0 siblings, 1 reply; 4+ messages in thread
From: Christian Laursen @ 2008-02-01 18:06 UTC (permalink / raw)
  To: qemu-devel

Gervase Lam <gervase.lam@group.force9.co.uk> writes:

>>From my minimal understanding of what he is saying, it seems he would
> prefer there to be a BOCHS graphics adapter, which would then pass the
> OpenGL commands from Windows to Linux OpenGL.  Also, Direct3D commands
> would be passed from Windows to Linux Wine.

I don't care much about the 3D stuff but wouldn't a BOCHS graphics
adapter with a special driver for the guest OS allow arbitrary screen
resolutions with minimal effort?

I would really like that feature.

-- 
Christian Laursen

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] 3D acceleration
  2008-02-01 18:06 ` Christian Laursen
@ 2008-02-01 18:47   ` Johannes Schindelin
  2008-02-01 18:54     ` Paul Brook
  0 siblings, 1 reply; 4+ messages in thread
From: Johannes Schindelin @ 2008-02-01 18:47 UTC (permalink / raw)
  To: Christian Laursen; +Cc: qemu-devel

Hi,

On Fri, 1 Feb 2008, Christian Laursen wrote:

> Gervase Lam <gervase.lam@group.force9.co.uk> writes:
> 
> >>>From my minimal understanding of what he is saying, it seems he would
> > prefer there to be a BOCHS graphics adapter, which would then pass the 
> > OpenGL commands from Windows to Linux OpenGL.  Also, Direct3D commands 
> > would be passed from Windows to Linux Wine.
> 
> I don't care much about the 3D stuff but wouldn't a BOCHS graphics 
> adapter with a special driver for the guest OS allow arbitrary screen 
> resolutions with minimal effort?

Yes, I agree.  Since it is minimal effort, when do you start?

Thanks,
Dscho

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] 3D acceleration
  2008-02-01 18:47   ` Johannes Schindelin
@ 2008-02-01 18:54     ` Paul Brook
  0 siblings, 0 replies; 4+ messages in thread
From: Paul Brook @ 2008-02-01 18:54 UTC (permalink / raw)
  To: qemu-devel; +Cc: Christian Laursen

On Friday 01 February 2008, Johannes Schindelin wrote:
> Hi,
>
> On Fri, 1 Feb 2008, Christian Laursen wrote:
> > Gervase Lam <gervase.lam@group.force9.co.uk> writes:
> > >>>From my minimal understanding of what he is saying, it seems he would
> > >
> > > prefer there to be a BOCHS graphics adapter, which would then pass the
> > > OpenGL commands from Windows to Linux OpenGL.  Also, Direct3D commands
> > > would be passed from Windows to Linux Wine.
> >
> > I don't care much about the 3D stuff but wouldn't a BOCHS graphics
> > adapter with a special driver for the guest OS allow arbitrary screen
> > resolutions with minimal effort?
>
> Yes, I agree.  Since it is minimal effort, when do you start?

Or you could just use the VMware adapter that already exists.

Paul

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-02-01 18:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-01  3:45 [Qemu-devel] 3D acceleration Gervase Lam
2008-02-01 18:06 ` Christian Laursen
2008-02-01 18:47   ` Johannes Schindelin
2008-02-01 18:54     ` Paul Brook

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).