Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot access secondary GPU #438

Closed
daniel-hatzory opened this issue Jun 17, 2013 · 9 comments
Closed

Cannot access secondary GPU #438

daniel-hatzory opened this issue Jun 17, 2013 · 9 comments

Comments

@daniel-hatzory
Copy link

Hello everyone!
Today I installed ubuntu on my dell inspiron n5110 laptop. It overheated so i checked a solution in google. The reason was for that was that my laptop has nvidia optimus feature in it. So i downloaded bumblebee to fix this.

Now, when I run anything with optirun in the terminal, I get an error "Cannot access secondary GPU". If I type "optirun -vv -debug bash", I get this:

"daniel@daniel-Inspiron-N5110:~$ optirun -vv -debug bash
[ 1745.822291] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 1745.822848] [DEBUG]optirun version 3.2.1 starting...
[ 1745.822865] [DEBUG]Active configuration:
[ 1745.822870] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 1745.822875] [DEBUG] X display: ebug
[ 1745.822880] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia-304:/usr/lib32/nvidia-304
[ 1745.822884] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 1745.822888] [DEBUG] Accel/display bridge: auto
[ 1745.822893] [DEBUG] VGL Compression: proxy
[ 1745.822897] [DEBUG] VGLrun extra options: 
[ 1745.822901] [DEBUG] Primus LD Path: /usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
[ 1745.822932] [DEBUG]Using auto-detected bridge virtualgl
[ 1745.843908] [INFO]Response: No - error: [XORG] (EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module. 
[ 1745.843928] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module. Please see the

[ 1745.843933] [DEBUG]Socket closed.
[ 1745.843960] [ERROR]Aborting because fallback start is disabled.
[ 1745.843968] [DEBUG]Killing all remaining processes."

Google doesn't provide me any solution. Any ideas?
Thanks, Daniel

@leodido
Copy link

leodido commented Jul 8, 2013

Hi,

I also have this error. I'm running Ubuntu 13.04 64bit (Intel HD 4000, Nvidia 650)

I've installed with:

sudo apt-get install --no-install-recommends bumblebee primus primus-libs-ia32

I have the same:

optirun -vv -debug bash
[  601.743386] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[  601.743645] [INFO]Configured driver: nouveau
[  601.743769] [DEBUG]optirun version 3.2.1 starting...
[  601.743777] [DEBUG]Active configuration:
[  601.743780] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[  601.743783] [DEBUG] X display: ebug
[  601.743786] [DEBUG] LD_LIBRARY_PATH: 
[  601.743789] [DEBUG] Socket path: /var/run/bumblebee.socket
[  601.743793] [DEBUG] Accel/display bridge: auto
[  601.743796] [DEBUG] VGL Compression: proxy
[  601.743799] [DEBUG] VGLrun extra options: 
[  601.743802] [DEBUG] Primus LD Path: /usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
[  601.743845] [DEBUG]Using auto-detected bridge primus
[  601.856712] [INFO]Response: No - error: [XORG] (EE) NOUVEAU(0): [drm] failed to set drm interface version.

[  601.856734] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) NOUVEAU(0): [drm] failed to set drm interface version.

[  601.856741] [DEBUG]Socket closed.
[  601.856761] [ERROR]Aborting because fallback start is disabled.
[  601.856768] [DEBUG]Killing all remaining processes.

@amonakov
Copy link
Contributor

amonakov commented Jul 8, 2013

@leodido, that's a different error. Unless you know what you're doing, you probably want to install bbswitch and nvidia drivers. Note, --debug option needs two dashes, not one.

@leodido
Copy link

leodido commented Jul 21, 2013

@amonakov thanks, but I would like to use nouveau, not the nvidia drivers ..

I've purged the PPA and installed this way:

sudo apt-get install bumblebee bbswitch-dkms virtualgl virtualgl-libs-ia32 primus primus-libs-ia32 linux-headers-generic

But I continue to get errors.

optirun glxspheres

gives me:

[ 1312.215114] [ERROR] Cannot access secondary GPU - error: [XORG] (EE) NOUVEAU(0): [drm] failed to set drm interface version.
[ 1312.215190] [ERROR] Aborting because fallback start is disabled.

Running:

primusrun glxspheres

gives me:

primus: fatal: Bumblebee daemon reported: error: [XORG] (EE) NOUVEAU(0): [drm] failed to set drm interface version.

What am I doing wrong?

@ArchangeGabriel
Copy link
Member

@leodido What computer is this? If the NVIDIA card is a new one, nouveau might not support it and then you need to install bumblebee-nvidia and nvidia proprietary driver.

@Danielhatzor What distro? Could you provide X.org log and kernel.log related to this issue?

@leodido
Copy link

leodido commented Aug 2, 2013

@ArchangeGabriel The NVIDIA card is a GeForce GT 650M. The laptop a Asus N56VZ.

lspci | grep "VGA"

00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
01:00.0 VGA compatible controller: NVIDIA Corporation GK107M [GeForce GT 650M / GTX 660M LE] (rev ff)

@WhiteWolf1776
Copy link

I have almost the same box... VJ instead of VZ... and the latest nvidia driver with bumblebee is flawless... the nouveau did nothing but hose me tho. I had to blacklist it and install the proprietary driver to get things working.

@ArchangeGabriel
Copy link
Member

So this is a Kepler card, you can't make it work with nouveau. You have to install bumblebee-nvidia and a quite recent nvidia driver.

@ksatyaki
Copy link

01:00.0 VGA compatible controller: NVIDIA Corporation GF108M [GeForce GT 540M](rev a1)

I think my card is officially supported by Nouveau. I still get this error. Is there a way out?

@ArchangeGabriel
Copy link
Member

@ksatyaki Please open a new issue with more details (logs), you’re problem can’t be the same.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants