You are not logged in.

#1 2012-06-15 12:32:26

yimm
Member
From: France
Registered: 2009-10-16
Posts: 106

Bumblebee : problem with nvidia card

Hello,
I have got a new laptop with optimus (with a nvidia 650m card).
I can start X on intel card without problem.
But when I want to switch to nvidia card, i get :

[ERROR]Cannot access secondary GPU - error: [XORG] (EE) NVIDIA(0): Failed to initialize the NVIDIA GPU at PCI:1:0:0.

A look at dmesg :

NVRM: loading NVIDIA UNIX x86_64 Kernel Module 295.59 Wed Jun 6 21:19:40 PDT 2012
NVRM: RmInitAdapter failed! (0x26:0xffffffff:1170)
NVRM: rm_init_adapter(0) failed

Hm... so I tried "modprobe nvidia" and I have this :

The NVIDIA GPU 0000:01:00.0 (PCI ID: 10de:0fd1) installed
NVRM: in this system is not supported by the 295.59 NVIDIA Linux
NVRM: graphics driver release.  Please see 'Appendix A -
NVRM: Supported NVIDIA GPU Products' in this release's README,
NVRM: available on the Linux graphics driver download page at
NVRM: www.nvidia.com.

But if we see on nvidia.com (ftp://download.nvidia.com/XFree86/Linux … chips.html), my card seems to be supported.

An idea ?

Last edited by yimm (2012-06-15 22:13:06)

Offline

#2 2012-06-15 17:16:15

Pres
Member
Registered: 2011-09-12
Posts: 423

Re: Bumblebee : problem with nvidia card

Nvidia doesn't support Optimus on Linux machines. For how to make use of the secondary graphics chip, look at Bumblebee.

Offline

#3 2012-06-15 22:12:27

yimm
Member
From: France
Registered: 2009-10-16
Posts: 106

Re: Bumblebee : problem with nvidia card

I use already bumblebee..

Offline

#4 2012-06-17 07:01:52

yimm
Member
From: France
Registered: 2009-10-16
Posts: 106

Re: Bumblebee : problem with nvidia card

This problem persists always with the 302.17 update. With 295.59 and 302.17, the module loads successfully but this problem persists :

NVRM: RmInitAdapter failed! (0x26:0xffffffff:1170)
NVRM: rm_init_adapter(0) failed

An idea?

Offline

#5 2012-06-18 21:13:36

erdk
Member
From: Gdansk, Poland
Registered: 2012-01-23
Posts: 16

Re: Bumblebee : problem with nvidia card

I've got similar problem with GF540m, since updating to 302.17 I cannot modprobe nvidia:

ERROR: could not insert 'nvidia': No such device

dmesg:

[ 1230.814823] nvidia 0000:01:00.0: power state changed by ACPI to D0
[ 1230.814827] nvidia 0000:01:00.0: power state changed by ACPI to D0
[ 1230.814909] NVRM: The NVIDIA GPU 0000:01:00.0 (PCI ID: 10de:0df4) installed
[ 1230.814910] NVRM: in this system is not supported by the 302.17 NVIDIA Linux
[ 1230.814910] NVRM: graphics driver release.  Please see 'Appendix A -
[ 1230.814911] NVRM: Supported NVIDIA GPU Products' in this release's README,
[ 1230.814912] NVRM: available on the Linux graphics driver download page at
[ 1230.814913] NVRM: www.nvidia.com.
[ 1230.814921] nvidia: probe of 0000:01:00.0 failed with error -1
[ 1230.814933] NVRM: The NVIDIA probe routine failed for 1 device(s).
[ 1230.814934] NVRM: None of the NVIDIA graphics adapters were initialized!

For the record: with 295.x everything (optirun, bbswitch) was ok.


Archlinux, Fedora
GH

Offline

#6 2012-06-19 16:47:54

yimm
Member
From: France
Registered: 2009-10-16
Posts: 106

Re: Bumblebee : problem with nvidia card

Have you tried to power on nvidia card before to load the module ?

Offline

#7 2012-06-19 17:53:13

erdk
Member
From: Gdansk, Poland
Registered: 2012-01-23
Posts: 16

Re: Bumblebee : problem with nvidia card

Yes, and it helped, thanks smile I've missed fact, that nvidia was loaded with bbswitch at system boot and I think that was causing some sort of race condition, which leaves card in some sort of inconsistent state. Now I've simply left unchanged turning off the card by default and just blacklist nvidia driver in modeprobe.d, and now everything works.


Archlinux, Fedora
GH

Offline

#8 2012-06-29 16:26:17

johnmcd
Member
Registered: 2012-06-29
Posts: 1

Re: Bumblebee : problem with nvidia card

Hi,

I have been trying to get a 650m (on an alienware m14x) to work for a couple of days now. Can you post more deatils of your setup and the commands that I would need to run in order to replicate your approach?

Note: I am currently running Ubuntu 12.04. I would like to see if your solution also works on that distro. If not I plan to switch to arch and see if I can manage to get things working with that.

Thanks,
John.

Offline

#9 2012-06-30 06:11:08

axel668
Member
Registered: 2009-08-15
Posts: 168

Re: Bumblebee : problem with nvidia card


"A computer lets you make more mistakes faster than any invention in human history - with the possible exceptions of handguns and tequila."
(Mitch Ratcliffe)

Offline

Board footer

Powered by FluxBB