Ubuntu – Can’t use nvidia card/driver on optimus notebook

11.10graphicsnvidianvidia-optimusxorg

I installed (once again) the latest official nvidia driver for my GT540m on Ubuntu 11.10.
Even though everything seems OK with my xorg.conf file (I've manually added BusID "PCI:1:0:0", since lspci shows 01:00.0 for my GPU).

The problem is, when I use the xorg.conf file generated by Xorg -configure, Xorg automatically loads the Intel GPU.

So I removed everything that was not related to my nvidia card, basically leaving my xorg.conf with one screen and one device (with the nvidia driver and the above-mentioned BusID), and Xorg fails to start.

The log says something like "Devices on GT540m [newline] none"
And a few lines later, something like "NVIDIA(0) found a screen, but have no device for it".

When I don't set the BusID, it doesn't seem to detect my card either.

Thank you for any suggestion.

PS: If possible, I'd like to avoid bumblebee or any similar "hybrid graphics" solution, last time I tried I ended up reinstalling Ubuntu.

Edit: Allow me to clarify the problem.

I have a notebook with a GT540m graphics card, and an integrated intel gpu.
I want to use the graphics card with full hardware acceleration and its official driver, as I do under windows.

Best Answer

There is no way you can turnoff intel and work with nvidia only because the images are transported through intel card. Aim of most projects in dual graphics card is to turn off nvidia gpu and use it when required using a special command.(like optirun).

Use the bumblebee project (its a fork from bumblebee project by Mrmee. The whole code was rewritten in C for more stability) to install and turn off nvidia card and use it when required.

Alternatively you can use the original package by MrMee - ironhide .But this is no longer maintained and it caused too many problem earlier for me.

I own a dell xps l502 , nvidia gt 540m with optimus. Its working extremely well in 12.04 beta (kernel 3.2.0-21). I got around 2.3 Hrs of battery life with wi-fi on. without bumblebee its 1hr


Linked Questions:

How well will Nvidia Optimus cards be supported in 12.04?

Is a NVIDIA GeForce with Optimus Technology supported by Ubuntu?

Related Question