Proof Of Concept: Open-Source Multi-GPU Rendering!
Phoronix: Proof Of Concept: Open-Source Multi-GPU Rendering!
Now that David Airlie's vga_switcheroo has went upstream in the Linux 2.6.34 kernel that provides hybrid graphics support and delayed GPU switching, David went on to look for something new to work on in his downtime when not busy with tasks at Red Hat. This new work is on GPU offloading / multi-GPU rendering...
Hey, lets clone airlied several times and we will have decent graphic stack in a few months
I would really not call the windows way of doing things "good". I prefer an off-screen screen any time over having to create a visible window to create proper contexts.
Soo why don't you just switch seamlessly to the discrete gfx card to display your rendered stuff instead of having to go to these hacks to get just a portion of your discrete cards results composited in your onboards output?
Originally Posted by Zhick
The drivers and the hardware share a lot of state. The solution to get this going means pushing state further up so that it can be replicated to a secondary device. That or you pre-emptively doublepump state to allow transparent switching. This is what I believe NV does for their Xinerama accelerated 3D.
I would imagine that part of Dave's evil plan would be to allow runtime switching between devices, but then allow existing clients continue to run until the former device finishes running clients - at which time it can be turned off.
Wouldn't a single, long-running client cause both GPUs to be permanently turned on in that scenario?
Originally Posted by mtippett
You know, long-running clients like your desktop or a window manager.
The way I see it, client migration is a must for true GPU switching. It's already possible with an additional proxy between the client and X server (forgot the name of the program though), but that'd disable direct rendering.
This is the second time I see you write "has went" this month, Michael. Is this a common trend now in American English?
When I was in school, we learnt 'I go, I went, I have gone', and I don't remember going over the dictionary lists for irregular verbs and it being any different there -- go / went / gone. So is this an American English / Internet trend?