A Day Later, Hybrid Graphics On Linux Does More
Phoronix: A Day Later, Hybrid Graphics On Linux Does More
Just yesterday morning we reported on hybrid graphics coming to Linux in a crude form, which allowed dual-GPU notebook systems to switch between the onboard GPUs via a kernel patch but what made it crude was that it wasn't seamless switching within the running X.Org Server (it won't be this way for some time) and it didn't actually turn off the other GPU when the other one was in use. In the past 24 hours, however, David Airlie has published three new versions of this Linux kernel patch. The second version of Airlie's "switcheroo" code as it's called brought support for powering up and powering down the GPUs...
Now all we need is a way to do all this without Xorg going belly up. Hope the Xorg people can cook something up for the next+1 release.
Maybe this will finally give the Xorg folks the motivation they need to do GPU objects?
It means that you need to kill X to switch the GPU.
Originally Posted by korpenkraxar
Hi, I would like to test this patch, but I have no idea how to start...
My computer (M51Ta) has this hybrid graphic card configuration:
01:05.0 VGA compatible controller: ATI Technologies Inc RS780M/RS780MN [Radeon HD 3200 Graphics]
02:00.0 VGA compatible controller: ATI Technologies Inc Mobility Radeon HD 3650
I downloaded the "0001-vga_switcheroo-initial-implementation-v4.patch"... But I don't know how to use it.
get the sources from git, type 'man patch' to read how to apply the patch to the sources, then compile and install.
Originally Posted by rmartinez
If you have no idea what I just wrote, then leave it at that before you trash your system
probably no better than sticking to the integrated GPU in the first place.
Originally Posted by laurencevde
If both GPUs differ in capabilities (ogl extensions etc), apps need to be restarted anyway since there's no good way to tell an app to stop using an extension while it's running.
Can Windows switch GPUs while 3rd-party 3D apps are running? I'd be surprised if that worked.
The old NeXT cubes could do some impressive multi-"GPU" stuff, like having a window spanning two monitors, where one monitor was run by a plain black-and-white graphics board, and the other was the truecolor board with 2D acceleration and video I/O. The color half of the window was full true color, while the black-and-white half looked like it was designed for black-and-white, not just dithered down.
Originally Posted by rohcQaH
So, if anybody pulls off 3D switching on-the-fly, I would expect it to be Apple.