You are not logged in.

#1 2014-03-09 15:03:56

psorek
Member
Registered: 2012-08-26
Posts: 13

optirun fails on Dell Inspiron 17r SE (7720)

I am using nvidia drivers on 64bit Arch linux with bumblebee+primus+bbswitch. I don't have nouveau installed.

The Issue:

$ optirun -vv glxspheres-32
[  533.763435] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[  533.763665] [INFO]Configured driver: nvidia
[  533.763891] [DEBUG]optirun version 3.2.1 starting...
[  533.763908] [DEBUG]Active configuration:
[  533.763921] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[  533.763924] [DEBUG] X display: :8
[  533.763927] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia:/usr/lib32/nvidia
[  533.763930] [DEBUG] Socket path: /var/run/bumblebee.socket
[  533.763932] [DEBUG] Accel/display bridge: primus
[  533.763935] [DEBUG] VGL Compression: proxy
[  533.763938] [DEBUG] VGLrun extra options: 
[  533.763941] [DEBUG] Primus LD Path: /usr/lib/primus:/usr/lib32/primus
[  533.776817] [INFO]Response: No - error: [XORG] (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA GPU at PCI:1:0:0.  Please

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

[  533.776852] [DEBUG]Socket closed.
[  533.776868] [ERROR]Aborting because fallback start is disabled.
[  533.776872] [DEBUG]Killing all remaining processes.

$ dmesg|grep nvidia

[   59.696352] nvidia: module license 'NVIDIA' taints kernel.
[   59.701759] [drm] Initialized nvidia-drm 0.0.0 20130102 for 0000:01:00.0 on minor 1
[   61.130531] nvidia 0000:01:00.0: irq 48 for MSI/MSI-X
[   66.381229] NVRM: nvidia_frontend_open: minor 0, module->open() failed, error -5
[  534.248840] nvidia 0000:01:00.0: Refused to change power state, currently in D3

$ lsmod|grep nvidia

nvidia              10736148  0 
drm                   239102  6 i915,drm_kms_helper,nvidia
i2c_core               24760  7 drm,i915,i2c_i801,drm_kms_helper,i2c_algo_bit,nvidia,videodev

$ cat /etc/bumblebee/bumblebee.conf

# Configuration file for Bumblebee. Values should **not** be put between quotes

## Server options. Any change made in this section will need a server restart
# to take effect.
[bumblebeed]
# The secondary Xorg server DISPLAY number
VirtualDisplay=:8
# Should the unused Xorg server be kept running? Set this to true if waiting
# for X to be ready is too long and don't need power management at all.
KeepUnusedXServer=false
# The name of the Bumbleblee server group name (GID name)
ServerGroup=bumblebee
# Card power state at exit. Set to false if the card shoud be ON when Bumblebee
# server exits.
TurnCardOffAtExit=false
# The default behavior of '-f' option on optirun. If set to "true", '-f' will
# be ignored.
NoEcoModeOverride=false
# The Driver used by Bumblebee server. If this value is not set (or empty),
# auto-detection is performed. The available drivers are nvidia and nouveau
# (See also the driver-specific sections below)
Driver=nvidia
# Directory with a dummy config file to pass as a -configdir to secondary X
XorgConfDir=/etc/bumblebee/xorg.conf.d

## Client options. Will take effect on the next optirun executed.
[optirun]
# Acceleration/ rendering bridge, possible values are auto, virtualgl and
# primus.
Bridge=primus
# The method used for VirtualGL to transport frames between X servers.
# Possible values are proxy, jpeg, rgb, xv and yuv.
VGLTransport=proxy
# List of paths which are searched for the primus libGL.so.1 when using
# the primus bridge
PrimusLibraryPath=/usr/lib/primus:/usr/lib32/primus
# Should the program run under optirun even if Bumblebee server or nvidia card
# is not available?
AllowFallbackToIGC=false


# Driver-specific settings are grouped under [driver-NAME]. The sections are
# parsed if the Driver setting in [bumblebeed] is set to NAME (or if auto-
# detection resolves to NAME).
# PMMethod: method to use for saving power by disabling the nvidia card, valid
# values are: auto - automatically detect which PM method to use
#         bbswitch - new in BB 3, recommended if available
#       switcheroo - vga_switcheroo method, use at your own risk
#             none - disable PM completely
# https://github.com/Bumblebee-Project/Bumblebee/wiki/Comparison-of-PM-methods

## Section with nvidia driver specific options, only parsed if Driver=nvidia
[driver-nvidia]
# Module name to load, defaults to Driver if empty or unset
KernelDriver=nvidia
PMMethod=auto
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia:/usr/lib32/nvidia
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia/xorg/,/usr/lib/xorg/modules
XorgConfFile=/etc/bumblebee/xorg.conf.nvidia

## Section with nouveau driver specific options, only parsed if Driver=nouveau
[driver-nouveau]
KernelDriver=nouveau
PMMethod=auto
XorgConfFile=/etc/bumblebee/xorg.conf.nouveau


EDIT
Issue solved by adding "rcutree.rcu_idle_gp_delay=1" to kernel parameters. Bug https://bugs.archlinux.org/task/39092.

Last edited by psorek (2014-03-22 17:46:34)

Offline

#2 2014-03-12 06:59:52

psorek
Member
Registered: 2012-08-26
Posts: 13

Re: optirun fails on Dell Inspiron 17r SE (7720)

problem still not solved...

Offline

#3 2014-03-12 13:04:03

mrunion
Member
From: Jonesborough, TN
Registered: 2007-01-26
Posts: 1,938
Website

Re: optirun fails on Dell Inspiron 17r SE (7720)

What have you tried to do to solve it that still doesn't work?

Does it work as root?

sudo optirun -vv glxspheres-32

Matt

"It is very difficult to educate the educated."

Offline

#4 2014-03-12 14:28:13

pbCyanide
Member
Registered: 2012-06-15
Posts: 31

Re: optirun fails on Dell Inspiron 17r SE (7720)

same problem here on Lenovo Ideapad Y580 with Core i7 and Intel HD4000 + Optimus GT660m... This problem happened before, I guess it has something to do with NVIDIA drivers not supporting kernel... Can you try downgrading kernel to 3.12.xx if you have it in your cache ? I don't...

Offline

#5 2014-03-12 15:18:02

dice
Member
From: Germany
Registered: 2014-02-10
Posts: 413

Re: optirun fails on Dell Inspiron 17r SE (7720)

I had a similar issue after the recent nvidia update. The issue disappeared after reinstalling bumblebee together with nvidia and intel drivers.
Maybe bumblebee had to "redetect" the driver or something... I don't know.


I put at button on it. Yes. I wish to press it, but I'm not sure what will happen if I do.  (Gune | Titan A.E.)

Offline

#6 2014-03-14 11:33:37

psorek
Member
Registered: 2012-08-26
Posts: 13

Re: optirun fails on Dell Inspiron 17r SE (7720)

Just the same with sudo optirun -vv glxspheres-32.

I've reinstalled following packages, it's just as it was.
yaourt -S bumblebee nvidia xf86-video-intel

I can't downgrade kernel, some of my packages need the latest one.

Last edited by psorek (2014-03-14 11:34:58)

Offline

#7 2014-03-22 17:45:55

psorek
Member
Registered: 2012-08-26
Posts: 13

Re: optirun fails on Dell Inspiron 17r SE (7720)

Sollution found, some rare bug in nvidia or linux package. https://bugs.archlinux.org/task/39092.

Adding "rcutree.rcu_idle_gp_delay=1" to kernel parameters fixed this issue for me.

Offline

Board footer

Powered by FluxBB