Ubuntu Still Figuring Out How To Handle Hybrid Graphics
Phoronix: Ubuntu Still Figuring Out How To Handle Hybrid Graphics
While NVIDIA Optimus and other multi-GPU/hybrid laptop graphics systems have been available for years, in the Linux world support for these capabilities is still in the early stages...
Well, if the linux support for hybrid graphics is POOR, what do you want from Canonical?
They could contribute this themselves. Obviously, that is not what Canonical usually does, they work more on high level things.
Originally Posted by Alex Sarmiento
Meh, I've always hated hybrid graphics even in windows. My brother has an HP laptop running windows 7 with hybrid AMD/intel graphics and its a horrible buggy mess. whenever looking for linux hardware I always make sure to totally stay away from any hybrid graphics.
Nvidia didn't do shit to enable hybrid graphics. They patiently waited for the linaro guys to create dma-buf, then for the X guys to do the X API changes and RANDR imrpovements, then they waltzed in with some comments (when all was done) and made a wrapper around GPL exported symbols. That's history as I remember it...
To be fair, bwat, AMD's implementation of Hybridness is VERY different than Nvidia. Optimus tends to be relatively bug free and very clean on windows 7 at least in my experience with laptops sporting Nvidia+Intel.
Originally Posted by bwat47
On a separate note, because I know what that someone else would mention it eventually...
Canonical has to implement Hybrid graphics on their own, in server. Wayland also is currently without Hybrid support but for them its actually better-- remember Wayland just wants buffers filled with pixels. It doesnt care how those pixels got there. Daniel Stone said "Optimus? Thats a client problem." at his linux.conf.au presentation, most likely meaning hybrid support will come down to the Mesa devs leveraging DMA-BUF (everything has to be done in the driver, the kernel, or the GL stack. Wayland just wants buffers.)
Of interesting note is the actual implementation. On Windows when the hybrid kicks in, things flicker or stutter for a half second whenever you change GPU's and then youre good until you change GPU's again. On OS X interestingly, no stuttering or flickering or even pausing. It was either Daniel or David that said they most likely did all of their hybrid stuff inside their GL layer.
On Wayland, with compositing being mandatory and with the use of double/triple buffers..I wonder if Wayland will get to the same level of tear-free flicker-free switching. Either solution (Flicker or no flickering) is fine, really, it just looks nicer if we can achieve zero-flicker.
Your timeline is accurate, but Nvidia has been quite involved on the mailing lists. Aaron Plattner has been providing lots of advice and code reviews on how to accommodate binary drivers.
Originally Posted by Serafean
There are many different groups putting work into hybrid graphics. Now it's Canonical's turn. If all goes to plan, Lankhorst's fencing work provide the necessary X infrastructure for tear-free Nvidia blob use of RandR 1.4 in Ubuntu 13.10.
Once fencing is out of the way, people will move onto multi-monitor situations and power management. Everything is babysteps.
We've got an NVIDIA Optimus laptop at work and it doesn't flicker or stutter when Optimus kicks in.
Originally Posted by Ericg
Really? Then maybe Nvidia/MS worked it out. Both of my parents have Optimus in their laptops and when I was still at home before the semester started I know theirs flickered sometimes when I was using it and starting up something GPU hungry. If so, good for them then, it was always really annoying to me haha.
Originally Posted by gigaplex
Ha, that seems to be the common sentiment from fanboys, eh?
Originally Posted by Alex Sarmiento
Ubuntu is great, everything they've done is awesome. No one else has done anything that isn't crap.
Oh, something sucks? Well, why didn't someone else fix it? You can't expect Canonical to do anything, can you?
Really, I'm starting to get tired of the fan boys on here. It's not just pro-Ubuntu either, the whole site is crawling with them, and Michael encourages them to drive up page hits and ad revenue.