How do I get GT425M (Optimus card) to work

Asked by Peter Wu

I've recentely purchased a new (custom build) laptop with a nVIDIA GT425M graphics card and i5-460M processor.
This card supports Optimus, which Ubuntu (and Linux) does not support (I can live with that).
But I can't get this GT425M to work, the only gpu being used is the integrated GPU in the i5 processor.

It seems that Ubuntu does not detect the nVIDIA card at all:
$ dmesg|grep -i nouveau
[ 3.468455] nouveau 0000:01:00.0: power state changed by ACPI to D0
[ 4.625468] nouveau 0000:01:00.0: power state changed by ACPI to D0
[ 4.625480] nouveau 0000:01:00.0: enabling device (0104 -> 0107)
[ 4.625487] nouveau 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[ 4.625491] nouveau 0000:01:00.0: setting latency timer to 64
[ 4.629190] [drm] nouveau 0000:01:00.0: Unsupported chipset 0x0c1800a1
[ 4.629270] nouveau 0000:01:00.0: PCI INT A disabled
[ 4.629275] nouveau: probe of 0000:01:00.0 failed with error -22

$ dmesg|grep 0000:01:00
[ 1.562570] pci 0000:01:00.0: reg 10: [mem 0xfb000000-0xfbffffff]
[ 1.562577] pci 0000:01:00.0: reg 14: [mem 0xf0000000-0xf7ffffff 64bit pref]
[ 1.562585] pci 0000:01:00.0: reg 1c: [mem 0xf8000000-0xf9ffffff 64bit pref]
[ 1.562589] pci 0000:01:00.0: reg 24: [io 0x2000-0x207f]
[ 1.562593] pci 0000:01:00.0: reg 30: [mem 0x00000000-0x0007ffff pref]
[ 1.632909] vgaarb: device added: PCI:0000:01:00.0,decodes=io+mem,owns=none,locks=none
[ 1.691332] pci 0000:01:00.0: BAR 6: can't assign mem pref (size 0x80000)
[ 3.259174] vgaarb: transferring owner from PCI:0000:00:02.0 to PCI:0000:01:00.0
[ 3.468455] nouveau 0000:01:00.0: power state changed by ACPI to D0
[ 4.625468] nouveau 0000:01:00.0: power state changed by ACPI to D0
[ 4.625480] nouveau 0000:01:00.0: enabling device (0104 -> 0107)
[ 4.625487] nouveau 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[ 4.625491] nouveau 0000:01:00.0: setting latency timer to 64
[ 4.629190] [drm] nouveau 0000:01:00.0: Unsupported chipset 0x0c1800a1
[ 4.629270] nouveau 0000:01:00.0: PCI INT A disabled
[ 4.629275] nouveau: probe of 0000:01:00.0 failed with error -22

# lshw -c video
  *-display UNCLAIMED
       description: VGA compatible controller
       product: nVidia Corporation
       vendor: nVidia Corporation
       physical id: 0
       bus info: pci@0000:01:00.0
       version: a1
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress vga_controller cap_list
       configuration: latency=0
       resources: memory:fb000000-fbffffff memory:f0000000-f7ffffff memory:f8000000-f9ffffff ioport:2000(size=128)
  *-display
       description: VGA compatible controller
       product: Core Processor Integrated Graphics Controller
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 02
       width: 64 bits
       clock: 33MHz
       capabilities: msi pm vga_controller bus_master cap_list rom
       configuration: driver=i915 latency=0
       resources: irq:45 memory:fd000000-fd3fffff memory:d0000000-dfffffff ioport:1800(size=8)

$ lspci|grep VGA
00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 02)
01:00.0 VGA compatible controller: nVidia Corporation Device 0df0 (rev a1)

./test_off.sh from http://linux-hybrid-graphics.blogspot.com/2010/07/using-acpicall-module-to-switch-onoff.html yields "failed" for everything.

The nVIDIA properitary driver was a disaster, it would left me without a X server and after uninstalling it, I had to reinstall libgl1-mesa-glx and run sudo update-initramfs -u. Not sure if it helped, but I removed newer files (touched by nvidia installer) in /lib/modules/$(uname -r) and reinstalled linux-image-$(uname -r) too (which took care of updating initramfs as well)

I've seen this thread as well: http://ubuntuforums.org/showthread.php?t=1657660, so I quited with trying to get the properietary driver to work. The BIOS does not provide me an option for switching/disabling Optimus or video cards (Phoenis SecureCore)

Running Kubuntu 10.10 64bits on a laptop.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu xserver-xorg-video-nouveau Edit question
Assignee:
No assignee Edit question
Solved by:
Peter Wu
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Disable the intel chip in the BIOS. I suggest you install the nvidia driver and run:

sudo nvidia-xconfig

Then reboot, this will make an xorg.conf file and should make things nice

Revision history for this message
Peter Wu (lekensteyn) said :
#2

Unfortunately, my BIOS does not have an option for disbabling the IGPU.

`nvidia-xconfig` does neither work, I get a xorg.conf file with an unknown monitor/screen.

The problem is, my device is not getting recognised. `sudo nvidia-detector` gives "none".

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

What motherboard is it?

Revision history for this message
Peter Wu (lekensteyn) said :
#4

     *-firmware
          description: BIOS
          vendor: Phoenix Technologies LTD
          physical id: 0
          version: 6.00 (08/27/2010)
          size: 116KiB
          capacity: 4032KiB
          capabilities: pnp upgrade shadowing escd cdboot bootselect int9keyboard int10video acpi usb agp smartbattery biosbootspecification
     *-board UNCLAIMED
          description: Mother Board
          product: B7130
          vendor: CLEVO CO.
          physical id: 2
          version: Not Applicable
          serial: Not Applicable
          slot: Not Applicable

http://www.clevo.com.tw/en/products/prodinfo_2.asp?productid=300

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

Is this a laptop?

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#6

Looks like its one of those painful laptops with 2 video chips. These are a real pain to get nice

Revision history for this message
Peter Wu (lekensteyn) said :
#7

Yes it is a laptop, see the last line in my question. So, is there a solution?

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#8

All I can recommend is to log a bug. these dual video card things are a real pain.

Revision history for this message
Peter Wu (lekensteyn) said :
#9

Submitted a bug report, let's wait now :)

Revision history for this message
Omar Mohsen (omohsen) said :
#10

u should try installing iron-hide, I think its only available as a ppa

Revision history for this message
Omar Mohsen (omohsen) said :
#11

the only option the BIOS provides is disabling the nvidia card I think.

Revision history for this message
Peter Wu (lekensteyn) said :
#12

My crappy BIOS does not provide any advanced options, let alone toggling the nvidia card.
I forked the original Bumblebee project with some other developers to join forces and develop with the Bumblebee Project and would not recommend using Ironhide because the commands used by Ironhide are incorrect and possibly dangerous (https://github.com/Bumblebee-Project/Bumblebee/wiki/ACPI-Removed).

Revision history for this message
Omar Mohsen (omohsen) said :
#13

Thanks a lot Lekensteyn,