Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 381361

Summary: Configure videocards using vga_switcheroo during boot
Product: Gentoo Hosted Projects Reporter: Kirill Elagin <kirelagin>
Component: genkernelAssignee: Gentoo Genkernel Maintainers <genkernel>
Status: UNCONFIRMED ---    
Severity: enhancement CC: kirelagin
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Add vga_switcheroo option
Document "vga_switcheroo" option
Tell user about "vga_switcheroo" option
Do not use parse_opt
Do not use parse_opt

Description Kirill Elagin 2011-08-31 21:05:16 UTC
Created attachment 285189 [details]
Add vga_switcheroo option

You might know that there are laptops with more than one video adapter. People use vga_switcheroo to disable one of those adapters to conserve battery power. 

It's a good idea to switch adapters as early as possible. Initramfs seems to be a good place to do this.

With attached patch it is possible to use, for example, "vga_switcheroo=IGD,OFF" to switch to integrated videocard and disable another one.
Comment 1 Kirill Elagin 2011-08-31 21:22:20 UTC
Sorry, I forgot about documentation.
I don't know, maybe it's better to squash theese three patches into a single commit...
Comment 2 Kirill Elagin 2011-08-31 21:22:58 UTC
Created attachment 285197 [details, diff]
Document "vga_switcheroo" option
Comment 3 Kirill Elagin 2011-08-31 21:23:20 UTC
Created attachment 285199 [details, diff]
Tell user about "vga_switcheroo" option
Comment 4 Kirill Elagin 2012-04-26 08:10:33 UTC
Created attachment 310155 [details, diff]
Do not use parse_opt

Still hoping, someone will notice this patch...
Comment 5 Sebastian Pipping gentoo-dev 2012-04-27 23:37:20 UTC
Comment on attachment 310155 [details, diff]
Do not use parse_opt

Looks broken, please re-upload a checked version.
Comment 6 Kirill Elagin 2012-04-28 00:14:57 UTC
Created attachment 310307 [details, diff]
Do not use parse_opt

Reuploading.