Skip to contentSkip to conversation

Accellerated windows graphics drivers

DISCUSSION James Harper 5 participants 7 messages Mar 12, 2008 – Mar 13, 2008

lore
Share & tools
lore
#0 lore raw

Has anyone ever seriously thought about implementing a 3d acceleration driver for windows (or linux too I guess)? I imagine that you would need the following components:

1. a windows frontend driver that handles directx calls from Windows and puts them on a ring for the backend
2. a linux backend driver that gets these requests and passes them to a userspace application
3. a special linux X xen console driver (eg not VNC) that handles these requests and converts them to GL calls

Doesn't sound like a particularly small job...

James

#2 lore raw
Quoted 2 lines
Quoted 1 line · James Harper

Has anyone ever seriously thought about implementing a 3d

acceleration

Quoted 4 lines
Quoted 1 line

driver for windows (or linux too I guess)?

Have you seen http://www.diku.dk/hjemmesider/ansatte/jacobg/gfx/ ?

That looks interesting, but it appears that to do nothing to accelerate 3D calls in the DomU, it just exposes the DomU framebuffers into Dom0's texture buffer memory. I'm not sure I completely understand it though, so I may have got it completely wrong.

James

#3 lore raw
Quoted 5 lines · James Harper
Quoted 2 lines
Quoted 1 line · James Harper

Has anyone ever seriously thought about implementing a 3d

acceleration

Quoted 2 lines
Quoted 1 line

driver for windows (or linux too I guess)?

Quoted 7 lines
Quoted 2 lines

Have you seen http://www.diku.dk/hjemmesider/ansatte/jacobg/gfx/ ?

That looks interesting, but it appears that to do nothing to accelerate 3D calls in the DomU, it just exposes the DomU framebuffers into Dom0's texture buffer memory. I'm not sure I completely understand it though, so I may have got it completely wrong.

ISTR Jacob did some GL passthrough as well, but that might have been a separate project.

Also relevant:
http://xen.xensource.com/files/xensummit_4/vmgl_Cavilla.pdf

Cheers,

Tim.

Signature · 3 lines
Tim Deegan <[email protected]>
Principal Software Engineer, Citrix Systems (R&D) Ltd.
[Company #02300071, SL9 0DZ, UK.]
#4 lore raw
In reply to James Harper

Hello,

Quoted 2 lines · James Harper, le Wed 12 Mar 2008 11:40:29 +1100, a écrit :

Has anyone ever seriously thought about implementing a 3d acceleration driver for windows (or linux too I guess)?

We've been thinking about it here yes, but just thinking :)

Quoted 8 lines

1. a windows frontend driver that handles directx calls from Windows and puts them on a ring for the backend
2. a linux backend driver that gets these requests and passes them to a userspace application
3. a special linux X xen console driver (eg not VNC) that handles these requests and converts them to GL calls

Doesn't sound like a particularly small job...

In the meanwhile, there is an alternative: chromium

www.sf.net/projects/chromium

which packs OpenGL over TCP & other networks. Actually, maybe that could be used as is, with a "shared memory" driver.

Samuel

#5 lore raw
In reply to James Harper
Quoted 4 lines · James Harper

Has anyone ever seriously thought about implementing a 3d acceleration driver for windows (or linux too I guess)? I imagine that you would need the following components:

Quoted 9 lines

1. a windows frontend driver that handles directx calls from Windows and puts them on a ring for the backend
2. a linux backend driver that gets these requests and passes them to a userspace application
3. a special linux X xen console driver (eg not VNC) that handles these requests and converts them to GL calls

Doesn't sound like a particularly small job...

I think wine can already do this.. ie. convert d3d calls to GL calls.

Maybe this is interesting too: http://www.cs.toronto.edu/~andreslc/xen-gl/

"VMGL: OpenGL Hardware 3D Acceleration for Virtual Machines"

-- Pasi

#6 lore raw
In reply to James Harper
Quoted 11 lines · James Harper

Has anyone ever seriously thought about implementing a 3d acceleration driver for windows (or linux too I guess)? I imagine that you would need the following components:

1. a windows frontend driver that handles directx calls from Windows and puts them on a ring for the backend
2. a linux backend driver that gets these requests and passes them to a userspace application
3. a special linux X xen console driver (eg not VNC) that handles these requests and converts them to GL calls

Quoted 9 lines

Doesn't sound like a particularly small job...

James

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

You might want to check out this thread.
http://lists.gnu.org/archive/html/qemu-devel/2008-01/msg00786.html

I found the patch here:
http://www.mail-archive.com/[email protected]/msg07425.html

Pat