You are not logged in.
Some time ago I found David Airlie's work on switchable graphics on linux (see http://airlied.livejournal.com/71434.html and http://linux-hybrid-graphics.blogspot.com/). Having such a laptop, a Lenovo T500, it would be very cool to have this. Did someone try it on Arch? If not, I will start reading the "official way" to patching the kernel in a clean makepkg-ish way
Last edited by davvil (2010-04-30 13:02:19)
Offline
I haven't tried this, but I am using the nvidia_g210m_acpi kernel module to power down my Nvidia card. It works great, and my notebook draws 6.3W with the discrete graphics off
Offline
Pity that I do not have an nvidia, but an ATI card
Does anyone know if this information is still current? http://bugs.archlinux.org/task/12384. There seems to be a bit of chaos in the wiki about compiling a custom kernel...
Offline
Still current, yes - as you can see, reason for closing is "Implemented".
Since then, of course, split packages have been introduced, so the kernel PKGBUILD looks a bit different - but the support for custom kernels is still there.
Offline
Success!! I compiled a custom kernel with the patch and it works fine. I have problems with the getting 3d acceleration with the ATI card, but this is another topic.
However, for the PKGBUILD to do a sensible package I had to change the package_kernel26() function to just package(). Renaming it to package_kernel26-hybridGPU() (the name of my custom kernel) did not work wither. I suspect this has something to do with split packages, but I did not find any information w.r.t. to that.
If some people want to try this I can post the PKGBUILD here or upload it to the AUR. But it seems the thread did not arouse much interest and I think the authors are trying to get the patch accepted upstream, so probably there is no need.
Offline
Kernel 2.6.34 is out and includes the code of the patch. See also http://git.kernel.org/?p=linux/kernel/g … cdf7f83289
[I hope this is not considered necro-bumping. I added it for reference in case someone comes across this thread.]
Offline
Just wondering: how stable is this? I mean, it's surely not trivial to pull this off. Have you had any problems when switching?
Offline
I hope this is not considered necro-bumping
Nah, less than three weeks since the last post - you're safe.
Offline
Just wondering: how stable is this? I mean, it's surely not trivial to pull this off. Have you had any problems when switching?
No, I didn't have problems, but to be honest, I did not "switch" very much. I use it mainly for having the hybrid mode activated and switch off the unused card (which is normally the ATI card), so that it doesn't drain my battery. In this way I can boot in windows for the occasional gaming without having to enter the bios to change the graphics setting.
The couple of times I switched between the cards it all went well, but I have read that after the n-th switch the system hangs. I do not know if the issue is solved.
Offline
Well, I skimmed over the patch, but I have to admit that I'm not literate in either graphics nor kernel related code, so I didin't exactly learn much :\ Well, someday ...
Anyways, thanks for sharing your experiences.
Offline
No, I didn't have problems, but to be honest, I did not "switch" very much. I use it mainly for having the hybrid mode activated and switch off the unused card (which is normally the ATI card), so that it doesn't drain my battery. In this way I can boot in windows for the occasional gaming without having to enter the bios to change the graphics setting.
The couple of times I switched between the cards it all went well, but I have read that after the n-th switch the system hangs. I do not know if the issue is solved.
I have an HP Tm2 tablet/laptop with intel/ati graphics as well ( i believe the same card you have ) so it's good to know it's working. I've been keeping my eye on David Airlie's pages (and the ubuntu thread for tm2) on how progress on this is going. I hope next kernel release will make this all simple, and I havent tried any patches since the kernel is "right around the corner"
thanks for the info though
"I know what you're thinking, 'cause right now I'm thinking the same thing. Actually, I've been thinking it ever since I got here:
Why oh why didn't I take the BLUE pill?"
Offline
This weekend I installed the new kernel from testing and all works as expected. Well, actually better! Suspend to RAM was broken wih 2.6.33 (not because of the patch, it was already before) and now it works
Offline