Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 381361 - Configure videocards using vga_switcheroo during boot
Summary: Configure videocards using vga_switcheroo during boot
Status: UNCONFIRMED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-31 21:05 UTC by Kirill Elagin
Modified: 2012-04-28 00:14 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Add vga_switcheroo option (0001-Add-vga_switcheroo-options.patch,1.28 KB, text/plain)
2011-08-31 21:05 UTC, Kirill Elagin
Details
Document "vga_switcheroo" option (0001-Document-vga_switcheroo-option.patch,808 bytes, patch)
2011-08-31 21:22 UTC, Kirill Elagin
Details | Diff
Tell user about "vga_switcheroo" option (0002-Tell-user-about-vga_switcheroo-option.patch,775 bytes, patch)
2011-08-31 21:23 UTC, Kirill Elagin
Details | Diff
Do not use parse_opt (0003-Do-not-use-parse_opt-in-vga_switcheroo.patch,606 bytes, patch)
2012-04-26 08:10 UTC, Kirill Elagin
Details | Diff
Do not use parse_opt (0003-Do-not-use-parse_opt-in-vga_switcheroo.patch,606 bytes, patch)
2012-04-28 00:14 UTC, Kirill Elagin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.