Comment 15 for bug 312756

Revision history for this message
Alexandre Kaspar (alexandre-kaspar) wrote : Re: [Bug 312756] Re: support graphics card hot switch

Hi,

I did some progress (being xion.luhnis from fedora-fr). However, I'v
stopped my work on the dsdt file during some time until next week for
personal reasons (study examinations). I'll continue to try some fix
as soon as I can.

In my case, I'v succeeded in using both cards alone. (using winxp
reboot to switch)
I used different xorg configurations for each card and all worked
out-of-the-box on Fedora 10.

For the dsdt file, I compiled it with the whole kernel (and not only
the initram), but it should also work. In fact, it won't make you
switch working, but persisting. With the dsdt-hack, linux don't (or
seems not to) uninitialize the switch at shutdown. Then you can work
on some mode without need to go through winxp as long as you stay on
the same mode.
The problem is that you'll need some day to change and then you'll
need to use winxp again.

Note : in my case, I didn't tried to reflect the nvidia version, but I
changed the _OS code of linux to reflect the one of windows xp sp2.

Hoping we'll find some valuable solution to our problem.
Have a good week-end.

Alexandre Kaspar

jtechs <email address hidden> a écrit :

> I can confirm the BSOD workaround.
>
> I was investigating the DSDT from /proc/acpi/dsdt
>
> I booted with nvidia and intel and dumped/decoded the DSDT and running
> diff i get
>
> < OperationRegion (MBOX, SystemMemory, 0xBFDBEC18, 0x000002BC)
> ---
>> OperationRegion (MBOX, SystemMemory, 0xBBBBEC18, 0x000002BC)
> 557c557
> < OperationRegion (NVST, SystemMemory, 0xBFDBEED4, 0x000000D8)
> ---
>> OperationRegion (NVST, SystemMemory, 0xBBBBEED4, 0x000000D8)
>
> There is only two changes...
>
> I created/compiles a DSDT to reflect the nvidia version and added
> via update-initramfs rebooted but there was no change, Card will not
> activate via this method (for me)
> http://forums.fedora-fr.org/viewtopic.php?pid=324637 (french) seems
> to be making more progress.
>
> Jtechs
>
> --
> support graphics card hot switch
> https://bugs.launchpad.net/bugs/312756
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “xorg” source package in Ubuntu: New
> Status in “xorg-server” source package in Ubuntu: Confirmed
>
> Bug description:
> http://forum.notebookreview.com/showthread.php?t=258304
>
> Hybrids with the Ability to turn off the 3d chip:
>
> AMD/ATI calls it PowerXpress and Nvidia HybridPower. It uses 2
> graphics cards, one energy efficient with little 3d power and the
> other for gaming (fast and uses more/a lot of power), the user can
> choose which chip to use.
> This is not a new concept. Sony has build in 2 graphics chips into
> some of their laptops for years. In the past a reboot was required
> to switch between the chips. With the new generation it is possible
> to change between chips on the fly, the screen will flicker but no
> need to reboot. At least in Windows Vista (XP, Linux not supported)
> the user can switch freely between the chips or set up a profile to
> do so automatically (eg when on battery use low power chip and when
> plugged in use the more powerful chip).
>
> The graphic card hybrid not only works with two Nvidia or AMD cards
> but the low power Intel graphics solutions (mostly shard memory) can
> also be combined with 3d chips from AMD or Nvidia. This solution is
> ideal for users who want maximum battery life and be able to play
> current games. The most likely combination is Intel shard memory
> graphics card for battery life and some low to mid level 3d chip.
> This will not give great 3d performance but enable you to play some
> games.
>
> Limitations are the drivers. Special drivers are needed depending on
> which graphic chips are combined in the hybrid. This will most
> likely make you depended on the Notebook manufactures driver
> support. It is uncertain if 3rd party drivers (such as
> laptopvideo2go) will be usable.
>
> The following notebooks have Nvidia hybrid graphics (as seen on the
> link below):
> http://www.nvidia.com/object/io_1221136906708.html
> - Sony VAIO Z (Nvidia GeForce 9300M GS & Intel GMA 4500MHD)
> - Fujitsu Siemens Amilo XI 3650 (Nvidia GeForce 9600M GT & Intel GMA 4500MHD)
> - BenQ Joybook S42 (Nvidia GeForce 9600M GT & Intel GMA 4500MHD)
>
> On the NVidia side, we reported this issue in the nvnews forum:
> http://www.nvnews.net/vbulletin/showthread.php?p=1916754
>
> On the AMD/ATI side, we got words from Alex Deucher that he will
> liaise with AMD for docs in time:
>> We can definitely look into it, the problem is we already have a
>> backlog of stuff with higher priority (finishing 3D, newer power
>> management bits, investigating IDCT/UVD, etc.) to work through at the
>> moment, so I cannot say when we'd get to hybrid graphics. The other
>> problem is that since many of these hybrid solutions are multi-vendor,
>> we may not have the rights release certain IP. Even if would could
>> release some information, as has been stated previously, the driver
>> stack needs significant work to support something like this.
>
> On the Sony Vaio Z series, right now both cards are visible under
> Linux, but there is no way to hot-switching-off (if that is a
> word...) the Nvidia card. There are currently ~45 users of Sony Vaio
> Z series using Linux that would like this feature to be
> implemented. See:
>
> https://launchpad.net/~sony-vaio-z-series
>
> Also, see:
>
> http://forum.notebookreview.com/showthread.php?t=325616&page=1
> http://forum.notebookreview.com/showthread.php?t=325616&page=2
> http://forum.notebookreview.com/showthread.php?t=325616&page=3
> http://forum.notebookreview.com/showthread.php?t=325616&page=4
> http://forum.notebookreview.com/showthread.php?t=325616&page=5
>

--
http://www.wox-xion.ch/