Comment 81 for bug 312756

Revision history for this message
Bryce Harrington (bryce) wrote : Re: support graphics card hot switch

Ew, that's horrible formatting on the last comment. Anyway, see `man xorg.conf` and scroll down to the Device section for more information.

Anyway, it might take some xorg.conf fiddling, but it should work. You may want to create two Device sections, one for each card, and then list the one you want to use in your ServerLayout section. I don't know if you need to specify the monitor as well, but perhaps not.

Not sure that xorg is ever going to be able to automatically detect which of the devices should be desired... at least, not until the kernel supports monitor load detection. Meanwhile, I'll leave this bug open in case we want to put in an extra xorg.conf option to help specify which of the devices to autoconfigure. Currently xserver assumes the boot gfx device is the primary and preferred one to fire up, which unfortunately in this case means not the nvidia chip. In a lot of hardware the BIOS allows you to turn on/off the integrated video card, I guess with this hardware that option is just not available.