← Back to team overview

hybrid-graphics-linux team mailing list archive

Switching not working on Thinkpad T410s

 

Greetings,

I have a Lenovo Thinkpad T401s with hybrid graphics (Intel 915 and
nVidia NVS 3100M) running on Gentoo (tuxonice sources). I've searched
about; however, I haven't seen any successful efforts to enable
switchable graphics on a T410s. I'd be more than happy to test any
efforts to get it going.

Per linux-hybrid-graphics.blogspot.com, I attempted the ACPI procedure
call method outlined at
http://linux-hybrid-graphics.blogspot.com/2010/07/using-acpicall-module-to-switch-onoff.html
 The acpi_call.ko module loads without error and produces the
/proc/acpi/call entry. All of the calls in the test script report as
'failed'. I tried this both with VGA_SWITCHEROO enabled and disabled.

I filtered my DSDT.dsl file ('grep -n -e Device -e Notify -e VGA -e AGP
-e PCI -e '^^' -e DSM -e TPX DSDT.dsl'); however, I couldn't find any
likely calls to try. The BIOS entries for the integrated graphics do
seem to appear in the full DSDT.dsl output:

  Package (0x04)
  {
      "",
      "IntegratedGfx",
      "DiscreteGfx",
      "SwitchableGfx"
  },

  Package (0x02)
  {
      "Automatic",
      "Disable"

Note that the T410s has 2 BIOS entries for switchable graphics. The
first selects the graphics source, and the second selects for automatic
detection of OS's capable of supporting switchable graphics.

I also tried to get switchable graphics using the kernel options per
http://asusm51ta-with-linux.blogspot.com/. No amount of tinkering
produced the vgaswitcheroo entry in /sys/kernel/debug, nor was I able to
identify any relevant errors in dmesg or syslog.

Thanks for all the work you folks are doing,

Will

Debug info is below:

root@blues acpi_call $ uname -a
Linux blues 2.6.34-tuxonice-r1 #22 SMP Tue Jul 20 22:12:43 EDT 2010 i686
Intel(R) Core(TM) i5 CPU M 520 @ 2.40GHz GenuineIntel GNU/Linux

root@blues ~ $ lspci -vnnn | perl -lne 'print if
/^\d+\:.+(\[\S+\:\S+\])/' | grep VGA
00:02.0 VGA compatible controller [0300]: Intel Corporation Arrandale
Integrated Graphics Controller [8086:0046] (rev 02) (prog-if 00 [VGA
controller])
01:00.0 VGA compatible controller [0300]: nVidia Corporation Device
[10de:0a6c] (rev a2) (prog-if 00 [VGA controller])

root@blues ~ $ dmidecode -s system-product-name
2901CTO

root@blues ~ $ dmidecode -s system-version
ThinkPad T410s

DSDT.dsl output: http://burmashave.net/media/files/DSDT.dsl-23072010.txt
kernel config: http://burmashave.net/media/files/config-23072010.txt