You are not logged in.

#1 2014-02-23 20:08:54

CyberNhull
Member
Registered: 2013-01-27
Posts: 99

(SOLVED) nvidia GT 650M driver 331.38 problem with bumblebee

Hello people. Since i updated my system to nvidia 338.38-3 via pacman the bumblebee service stopped working and now i have the following error when i started something with primusrun or optirun:

                       

  [ 2070.640091] [ERROR]Cannot access secondary GPU - error: Could not enable discrete graphics card

                          [ 2070.640141] [ERROR]Aborting because fallback start is disabled. 

My bumblebee.conf it's like this:

    # 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=auto
# 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

My xorg.conf.nvidia it's like this:

    Section "ServerLayout"
    Identifier  "Layout0"
    Option      "AutoAddDevices" "false"
    Option      "AutoAddGPU" "falsa"
EndSection

Section "Device"
    Identifier  "DiscreteNvidia"
    Driver      "nvidia"
    VendorName  "NVIDIA Corporation"

#   If the X server does not automatically detect your VGA device,
#   you can manually set it here.
#   To get the BusID prop, run `lspci | egrep 'VGA|3D'` and input the data
#   as you see in the commented example.
#   This Setting may be needed in some platforms with more than one
#   nvidia card, which may confuse the proprietary driver (e.g.,
#   trying to take ownership of the wrong device). Also needed on Ubuntu 13.04.
#   BusID "PCI:01:00:0"

#   Setting ProbeAllGpus to false prevents the new proprietary driver
#   instance spawned to try to control the integrated graphics card,
#   which is already being managed outside bumblebee.
#   This option doesn't hurt and it is required on platforms running
#   more than one nvidia graphics card with the proprietary driver.
#   (E.g. Macbook Pro pre-2010 with nVidia 9400M + 9600M GT).
#   If this option is not set, the new Xorg may blacken the screen and
#   render it unusable (unless you have some way to run killall Xorg).
    Option "ProbeAllGpus" "false"

    Option "NoLogo" "true"
    Option "UseEDID" "false"
    Option "UseDisplayDevice" "none"
EndSection

If someone could enlighten me i would apreciate it..Thanks in advance smile

Last edited by CyberNhull (2014-03-12 10:50:32)


If it does not kill you....It will make you smarter

Offline

#2 2014-02-23 20:54:34

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: (SOLVED) nvidia GT 650M driver 331.38 problem with bumblebee

Here's the nvidia versions wink

Offline

#3 2014-02-23 22:49:53

CyberNhull
Member
Registered: 2013-01-27
Posts: 99

Re: (SOLVED) nvidia GT 650M driver 331.38 problem with bumblebee

brebs wrote:

Here's the nvidia versions wink

But can't i update the nvidia drivers from pacman?


If it does not kill you....It will make you smarter

Offline

#4 2014-02-24 09:45:57

CyberNhull
Member
Registered: 2013-01-27
Posts: 99

Re: (SOLVED) nvidia GT 650M driver 331.38 problem with bumblebee

CyberNhull wrote:
brebs wrote:

Here's the nvidia versions wink

But can't i update the nvidia drivers from pacman?

I can't install them btw...i did a dmesg | grep nvidia and i saw something interesting:


 [nhull-the-jawa@Nhull-Greyk ~]$ dmesg | grep -i nvidia
[  185.313093] nvidia: module license 'NVIDIA' taints kernel.
[  185.318948] [drm] Initialized nvidia-drm 0.0.0 20130102 for 0000:01:00.0 on minor 1
[  185.318952] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  331.38  Wed Jan  8 19:32:30 PST 2014
[  186.648304] nvidia 0000:01:00.0: irq 48 for MSI/MSI-X
[  192.298264] NVRM: nvidia_frontend_open: minor 0, module->open() failed, error -5
[  192.585225] nvidia 0000:01:00.0: Refused to change power state, currently in D3
[  192.661984] nvidia 0000:01:00.0: Refused to change power state, currently in D3
[  192.728709] nvidia 0000:01:00.0: Refused to change power state, currently in D3
[  192.795428] nvidia 0000:01:00.0: Refused to change power state, currently in D3
[  192.862165] nvidia 0000:01:00.0: Refused to change power state, currently in D3
[  192.928877] nvidia 0000:01:00.0: Refused to change power state, currently in D3
[  192.995603] nvidia 0000:01:00.0: Refused to change power state, currently in D3
[  193.062323] nvidia 0000:01:00.0: Refused to change power state, currently in D3
[  193.129048] nvidia 0000:01:00.0: Refused to change power state, currently in D3
[  193.195778] nvidia 0000:01:00.0: Refused to change power state, currently in D3
[ 1242.931697] nvidia 0000:01:00.0: Refused to change power state, currently in D3
[ 1242.998410] nvidia 0000:01:00.0: Refused to change power state, currently in D3
[ 1243.065134] nvidia 0000:01:00.0: Refused to change power state, currently in D3
[ 1243.135212] nvidia 0000:01:00.0: Refused to change power state, currently in D3
[ 1243.201933] nvidia 0000:01:00.0: Refused to change power state, currently in D3
[ 1243.271958] nvidia 0000:01:00.0: Refused to change power state, currently in D3
[ 1243.338707] nvidia 0000:01:00.0: Refused to change power state, currently in D3
[ 1243.408764] nvidia 0000:01:00.0: Refused to change power state, currently in D3
[ 1243.478853] nvidia 0000:01:00.0: Refused to change power state, currently in D3
[ 1243.545534] nvidia 0000:01:00.0: Refused to change power state, currently in D3
[ 1276.727092] nvidia 0000:01:00.0: Refused to change power state, currently in D3
[ 1276.797292] nvidia 0000:01:00.0: Refused to change power state, currently in D3
[ 1276.863920] nvidia 0000:01:00.0: Refused to change power state, currently in D3
[ 1276.930605] nvidia 0000:01:00.0: Refused to change power state, currently in D3
[ 1276.997473] nvidia 0000:01:00.0: Refused to change power state, currently in D3
[ 1277.067373] nvidia 0000:01:00.0: Refused to change power state, currently in D3
[ 1277.134126] nvidia 0000:01:00.0: Refused to change power state, currently in D3
[ 1277.200834] nvidia 0000:01:00.0: Refused to change power state, currently in D3
[ 1277.267526] nvidia 0000:01:00.0: Refused to change power state, currently in D3
[ 1277.334273] nvidia 0000:01:00.0: Refused to change power state, currently in D3
[ 1297.938472] nvidia 0000:01:00.0: Refused to change power state, currently in D3
[ 1298.011831] nvidia 0000:01:00.0: Refused to change power state, currently in D3
[ 1298.085255] nvidia 0000:01:00.0: Refused to change power state, currently in D3
[ 1298.155320] nvidia 0000:01:00.0: Refused to change power state, currently in D3
[ 1298.222159] nvidia 0000:01:00.0: Refused to change power state, currently in D3
[ 1298.288763] nvidia 0000:01:00.0: Refused to change power state, currently in D3
[ 1298.355483] nvidia 0000:01:00.0: Refused to change power state, currently in D3
[ 1298.425545] nvidia 0000:01:00.0: Refused to change power state, currently in D3
[ 1298.492265] nvidia 0000:01:00.0: Refused to change power state, currently in D3
[ 1298.562304] nvidia 0000:01:00.0: Refused to change power state, currently in D3

What can this be?


If it does not kill you....It will make you smarter

Offline

#5 2014-02-24 09:59:04

Neburski
Member
Registered: 2009-09-15
Posts: 118

Re: (SOLVED) nvidia GT 650M driver 331.38 problem with bumblebee

CyberNhull wrote:

My xorg.conf.nvidia it's like this:

    Section "ServerLayout"
    Option      "AutoAddGPU" "falsa"
EndSection

In your xorg.conf you have "falsa" as option for AutoAddGPU, I'm not sure if that's an option that will be accepted. That's not to say that it is the issue though.
You also might want to check and post your Xorg log.

Offline

#6 2014-02-24 10:40:12

CyberNhull
Member
Registered: 2013-01-27
Posts: 99

Re: (SOLVED) nvidia GT 650M driver 331.38 problem with bumblebee

Neburski wrote:
CyberNhull wrote:

My xorg.conf.nvidia it's like this:

    Section "ServerLayout"
    Option      "AutoAddGPU" "falsa"
EndSection

In your xorg.conf you have "falsa" as option for AutoAddGPU, I'm not sure if that's an option that will be accepted. That's not to say that it is the issue though.
You also might want to check and post your Xorg log.

Thanks i didn't see that i have fix that. Strangely when i reboot my arch and execute optirun something he says:

             

 primus: fatal: Bumblebee daemon reported: error: [XORG] (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA GPU at PCI:1:0:0. Please

But then i did:
             

 sudo systemctl restart bumblebeed.service

And the error changed to:
             

[  629.555386] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) No devices detected.
             [  629.555423] [ERROR]Aborting because fallback start is disabled.

So i went to arch wiki and they said to put the 20-intel.conf as xorg.conf in /etc/X11 so i create one and did just that but no change...my xorg.conf is:
             

 Section "Device"
   Identifier  "Intel Graphics"
   Driver      "intel"
   Option      "AccelMethod"  "uxa"
EndSection

EDIT: Forgot the log sorry:

[   629.468] 
X.Org X Server 1.15.0
Release Date: 2013-12-27
[   629.468] X Protocol Version 11, Revision 0
[   629.468] Build Operating System: Linux 3.12.5-1-ARCH x86_64 
[   629.468] Current Operating System: Linux Nhull-Greyk 3.13.5-1-ARCH #1 SMP PREEMPT Sun Feb 23 00:25:24 CET 2014 x86_64
[   629.468] Kernel command line: initrd=\initramfs-linux.img root=/dev/sda2 rw
[   629.468] Build Date: 09 January 2014  08:47:24AM
[   629.468]  
[   629.468] Current version of pixman: 0.32.4
[   629.468]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[   629.468] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   629.469] (==) Log file: "/var/log/Xorg.8.log", Time: Mon Feb 24 10:34:26 2014
[   629.469] (++) Using config file: "/etc/bumblebee/xorg.conf.nvidia"
[   629.469] (++) Using config directory: "/etc/bumblebee/xorg.conf.d"
[   629.469] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   629.469] (==) ServerLayout "Layout0"
[   629.469] (==) No screen section available. Using defaults.
[   629.469] (**) |-->Screen "Default Screen Section" (0)
[   629.469] (**) |   |-->Monitor "<default monitor>"
[   629.469] (==) No device specified for screen "Default Screen Section".
        Using the first device section listed.
[   629.469] (**) |   |-->Device "DiscreteNvidia"
[   629.469] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[   629.469] (**) Option "AutoAddDevices" "false"
[   629.469] (**) Option "AutoAddGPU" "false"
[   629.469] (**) Not automatically adding devices
[   629.469] (==) Automatically enabling devices
[   629.469] (**) Not automatically adding GPU devices
[   629.469] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[   629.469]    Entry deleted from font path.
[   629.469] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[   629.469]    Entry deleted from font path.
[   629.469]    (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[   629.469] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[   629.469]    Entry deleted from font path.
[   629.469]    (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[   629.469] (==) FontPath set to:
        /usr/share/fonts/misc/,
        /usr/share/fonts/TTF/,
        /usr/share/fonts/Type1/
[   629.469] (++) ModulePath set to "/usr/lib/nvidia/xorg/,/usr/lib/xorg/modules"
[   629.469] (==) |-->Input Device "<default pointer>"
[   629.469] (==) |-->Input Device "<default keyboard>"
[   629.469] (==) The core pointer device wasn't specified explicitly in the layout.
        Using the default mouse configuration.
[   629.469] (==) The core keyboard device wasn't specified explicitly in the layout.
        Using the default keyboard configuration.
[   629.469] (II) Loader magic: 0x804c80
[   629.469] (II) Module ABI versions:
[   629.469]    X.Org ANSI C Emulation: 0.4
[   629.469]    X.Org Video Driver: 15.0
[   629.469]    X.Org XInput driver : 20.0
[   629.469]    X.Org Server Extension : 8.0
[   629.469] (II) xfree86: Adding drm device (/dev/dri/card1)
[   629.469] (II) xfree86: Adding drm device (/dev/dri/card0)
[   629.469] setversion 1.4 failed: Permission denied
[   629.471] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[   629.471] Initializing built-in extension Generic Event Extension
[   629.471] Initializing built-in extension SHAPE
[   629.471] Initializing built-in extension MIT-SHM
[   629.471] Initializing built-in extension XInputExtension
[   629.471] Initializing built-in extension XTEST
[   629.471] Initializing built-in extension BIG-REQUESTS
[   629.471] Initializing built-in extension SYNC
[   629.471] Initializing built-in extension XKEYBOARD
[   629.471] Initializing built-in extension XC-MISC
[   629.471] Initializing built-in extension SECURITY
[   629.471] Initializing built-in extension XINERAMA
[   629.471] Initializing built-in extension XFIXES
[   629.471] Initializing built-in extension RENDER
[   629.471] Initializing built-in extension RANDR
[   629.471] Initializing built-in extension COMPOSITE
[   629.471] Initializing built-in extension DAMAGE
[   629.471] Initializing built-in extension MIT-SCREEN-SAVER
[   629.471] Initializing built-in extension DOUBLE-BUFFER
[   629.471] Initializing built-in extension RECORD
[   629.471] Initializing built-in extension DPMS
[   629.471] Initializing built-in extension Present
[   629.471] Initializing built-in extension DRI3
[   629.471] Initializing built-in extension X-Resource
[   629.471] Initializing built-in extension XVideo
[   629.471] Initializing built-in extension XVideo-MotionCompensation
[   629.471] Initializing built-in extension XFree86-VidModeExtension
[   629.471] Initializing built-in extension XFree86-DGA
[   629.471] Initializing built-in extension XFree86-DRI
[   629.471] Initializing built-in extension DRI2
[   629.471] (II) "glx" will be loaded by default.
[   629.471] (II) LoadModule: "dri2"
[   629.471] (II) Module "dri2" already built-in
[   629.471] (II) LoadModule: "glamoregl"
[   629.471] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[   629.489] (II) Module glamoregl: vendor="X.Org Foundation"
[   629.489]    compiled for 1.15.0, module version = 0.6.0
[   629.489]    ABI class: X.Org ANSI C Emulation, version 0.4
[   629.489] (II) LoadModule: "glx"
[   629.489] (II) Loading /usr/lib/nvidia/xorg/modules/extensions/libglx.so
[   629.547] (II) Module glx: vendor="NVIDIA Corporation"
[   629.547]    compiled for 4.0.2, module version = 1.0.0
[   629.547]    Module class: X.Org Server Extension
[   629.547] (II) NVIDIA GLX Module  331.38  Wed Jan  8 19:10:17 PST 2014
[   629.547] Loading extension GLX
[   629.547] (II) LoadModule: "nvidia"
[   629.547] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[   629.550] (II) Module nvidia: vendor="NVIDIA Corporation"
[   629.550]    compiled for 4.0.2, module version = 1.0.0
[   629.550]    Module class: X.Org Video Driver
[   629.550] (II) LoadModule: "mouse"
[   629.550] (II) Loading /usr/lib/xorg/modules/input/mouse_drv.so
[   629.550] (II) Module mouse: vendor="X.Org Foundation"
[   629.550]    compiled for 1.15.0, module version = 1.9.0
[   629.550]    Module class: X.Org XInput Driver
[   629.550]    ABI class: X.Org XInput driver, version 20.0
[   629.550] (II) LoadModule: "kbd"
[   629.550] (WW) Warning, couldn't open module kbd
[   629.550] (II) UnloadModule: "kbd"
[   629.551] (II) Unloading kbd
[   629.551] (EE) Failed to load module "kbd" (module does not exist, 0)
[   629.551] (II) NVIDIA dlloader X Driver  331.38  Wed Jan  8 18:51:00 PST 2014
[   629.551] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[   629.551] (--) using VT number 7

[   629.551] (EE) No devices detected.
[   629.551] (EE) 
Fatal server error:
[   629.551] (EE) no screens found(EE) 
[   629.551] (EE) 
Please consult the The X.Org Foundation support 
         at http://wiki.x.org
 for help. 
[   629.551] (EE) Please also check the log file at "/var/log/Xorg.8.log" for additional information.
[   629.551] (EE) 

Last edited by CyberNhull (2014-02-24 10:43:00)


If it does not kill you....It will make you smarter

Offline

#7 2014-02-24 11:07:58

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: (SOLVED) nvidia GT 650M driver 331.38 problem with bumblebee

NVIDIA GLX Module  331.38

*That* is the version number. Please edit your title.

Open ACPI failed (/var/run/acpid.socket) (No such file or directory)

Aren't you running acpid?

Offline

#8 2014-02-24 11:26:41

CyberNhull
Member
Registered: 2013-01-27
Posts: 99

Re: (SOLVED) nvidia GT 650M driver 331.38 problem with bumblebee

brebs wrote:

NVIDIA GLX Module  331.38

*That* is the version number. Please edit your title.

Open ACPI failed (/var/run/acpid.socket) (No such file or directory)

Aren't you running acpid?

Title fixed and acpi installed. I execute

dmesg | grep -i nvidia

and this is the result now:

[   88.061943] nvidia: module license 'NVIDIA' taints kernel.
[   88.070863] [drm] Initialized nvidia-drm 0.0.0 20130102 for 0000:01:00.0 on minor 1
[   88.070873] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  331.38  Wed Jan  8 19:32:30 PST 2014
[   98.504139] nvidia 0000:01:00.0: irq 48 for MSI/MSI-X
[  103.951145] NVRM: nvidia_frontend_open: minor 0, module->open() failed, error -5

If it does not kill you....It will make you smarter

Offline

#9 2014-02-25 11:40:08

CyberNhull
Member
Registered: 2013-01-27
Posts: 99

Re: (SOLVED) nvidia GT 650M driver 331.38 problem with bumblebee

I did a journalclt -u bumblebee here it is:

http://pastebin.com/cKpYYJLu


If it does not kill you....It will make you smarter

Offline

#10 2014-02-25 12:00:03

CyberNhull
Member
Registered: 2013-01-27
Posts: 99

Re: (SOLVED) nvidia GT 650M driver 331.38 problem with bumblebee

Ok so i solved it by install linux-lts + nvidia-lts drivers and removing only the nvidia drivers...im guessing there is a bug then on nvidia drivers. Thanks all for your help


If it does not kill you....It will make you smarter

Offline

#11 2014-02-25 14:31:26

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

Re: (SOLVED) nvidia GT 650M driver 331.38 problem with bumblebee

FWIW, I have the latest Kernel (3.13.5-1) and nVidia drivers (331.38-3) and optirun works fine with both Blender and GLXSpheres64. I have an nVidia GT 730M card in this laptop if that helps any.


Matt

"It is very difficult to educate the educated."

Offline

#12 2014-02-28 15:52:34

CyberNhull
Member
Registered: 2013-01-27
Posts: 99

Re: (SOLVED) nvidia GT 650M driver 331.38 problem with bumblebee

mrunion wrote:

FWIW, I have the latest Kernel (3.13.5-1) and nVidia drivers (331.38-3) and optirun works fine with both Blender and GLXSpheres64. I have an nVidia GT 730M card in this laptop if that helps any.

Yeah i have tried the new drivers to and i have the same problem...i don't know whats going on..i already tried unnistalling bumblebee and nvidia and everything else (related to bumblebee and nvidia) and reinstall and no luck...i'm going to reopen this post since this issue is not yet solved.


EDIT: I have all the logs in the posts above so any help given (since i don't have more options) would be apreciated. Thanks in advance big_smile

Last edited by CyberNhull (2014-02-28 15:54:14)


If it does not kill you....It will make you smarter

Offline

#13 2014-03-02 17:32:48

CyberNhull
Member
Registered: 2013-01-27
Posts: 99

Re: (SOLVED) nvidia GT 650M driver 331.38 problem with bumblebee

Interesting enough is if i go to /etc/bumblebee/xorg.conf.nvidia and uncomment this line:


# BusID "PCI:01:00:0" 

The error changes to:

 primus: fatal: Bumblebee daemon reported: error: [XORG] (EE) No devices detected. 

But if i do:

 lspci | grep VGA 

I see exactly the same PCI:

 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] (rev ff) 

Last edited by CyberNhull (2014-03-02 17:33:22)


If it does not kill you....It will make you smarter

Offline

#14 2014-03-08 18:14:56

CyberNhull
Member
Registered: 2013-01-27
Posts: 99

Re: (SOLVED) nvidia GT 650M driver 331.38 problem with bumblebee

Last kernel and nvidia drivers update didn't fix it for me so I'm guessing something is not configured....


If it does not kill you....It will make you smarter

Offline

#15 2014-03-10 21:12:05

CyberNhull
Member
Registered: 2013-01-27
Posts: 99

Re: (SOLVED) nvidia GT 650M driver 331.38 problem with bumblebee

Ok so i did a

 Xorg -configure

and then i did a

cp /root/xorg.conf.new /etc/X11/xorg.conf

and now i have only this error

  [ 4231.163898] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) No devices detected. 

when i try to start optirun/primusrun. Ok so i dig around the net and uncover that it could be my system booting to fast and not initializing the nvidia driver completly so i tried to add nvidia to initramfs (mkinitcpio.conf) in modules...but didn't work..so now I'm at a dead end.. I'd apreciate some help if someone can


If it does not kill you....It will make you smarter

Offline

#16 2014-03-11 06:14:14

skualito
Member
Registered: 2008-11-19
Posts: 203

Re: (SOLVED) nvidia GT 650M driver 331.38 problem with bumblebee

Try booting with this kernel parameter:

rcutree.rcu_idle_gp_delay=1

Offline

#17 2014-03-11 10:55:14

CyberNhull
Member
Registered: 2013-01-27
Posts: 99

Re: (SOLVED) nvidia GT 650M driver 331.38 problem with bumblebee

skualito wrote:

Try booting with this kernel parameter:

rcutree.rcu_idle_gp_delay=1

Thanks for the reply, i tried that and the error changed to:

[  297.499172] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) NVIDIA(0): Failed to assign any connected display devices to X screen 0.

I will post my log since it appears the graphics now is at least detected but not inicialized:

sudo cat /var/log/Xorg.8.log   
[   294.111] 
X.Org X Server 1.15.0
Release Date: 2013-12-27
[   294.111] X Protocol Version 11, Revision 0
[   294.111] Build Operating System: Linux 3.12.5-1-ARCH x86_64 
[   294.111] Current Operating System: Linux Nhull-Greyk 3.13.6-1-ARCH #1 SMP PREEMPT Fri Mar 7 22:47:48 CET 2014 x86_64
[   294.111] Kernel command line:  initrd=\initramfs-linux.img root=/dev/sda2 rw rcutree.rcu_idle_gp_delay=1
[   294.111] Build Date: 09 January 2014  08:47:24AM
[   294.111]  
[   294.111] Current version of pixman: 0.32.4
[   294.111]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[   294.111] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   294.111] (==) Log file: "/var/log/Xorg.8.log", Time: Tue Mar 11 10:51:03 2014
[   294.111] (++) Using config file: "/etc/bumblebee/xorg.conf.nvidia"
[   294.111] (++) Using config directory: "/etc/bumblebee/xorg.conf.d"
[   294.111] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   294.111] (==) ServerLayout "Layout0"
[   294.111] (==) No screen section available. Using defaults.
[   294.111] (**) |-->Screen "Default Screen Section" (0)
[   294.111] (**) |   |-->Monitor "<default monitor>"
[   294.111] (==) No device specified for screen "Default Screen Section".
        Using the first device section listed.
[   294.111] (**) |   |-->Device "DiscreteNvidia"
[   294.111] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[   294.111] (**) Option "AutoAddDevices" "false"
[   294.111] (**) Option "AutoAddGPU" "false"
[   294.111] (**) Not automatically adding devices
[   294.111] (==) Automatically enabling devices
[   294.111] (**) Not automatically adding GPU devices
[   294.111] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[   294.111]    Entry deleted from font path.
[   294.111] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[   294.111]    Entry deleted from font path.
[   294.111]    (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[   294.111] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[   294.111]    Entry deleted from font path.
[   294.111]    (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[   294.111] (==) FontPath set to:
        /usr/share/fonts/misc/,
        /usr/share/fonts/TTF/,
        /usr/share/fonts/Type1/
[   294.112] (++) ModulePath set to "/usr/lib/nvidia/xorg/,/usr/lib/xorg/modules"
[   294.112] (==) |-->Input Device "<default pointer>"
[   294.112] (==) |-->Input Device "<default keyboard>"
[   294.112] (==) The core pointer device wasn't specified explicitly in the layout.
        Using the default mouse configuration.
[   294.112] (==) The core keyboard device wasn't specified explicitly in the layout.
        Using the default keyboard configuration.
[   294.112] (II) Loader magic: 0x804c80
[   294.112] (II) Module ABI versions:
[   294.112]    X.Org ANSI C Emulation: 0.4
[   294.112]    X.Org Video Driver: 15.0
[   294.112]    X.Org XInput driver : 20.0
[   294.112]    X.Org Server Extension : 8.0
[   294.112] (II) xfree86: Adding drm device (/dev/dri/card1)
[   294.112] (II) xfree86: Adding drm device (/dev/dri/card0)
[   294.112] setversion 1.4 failed: Permission denied
[   294.113] (--) PCI:*(0:1:0:0) 10de:0fd1:144d:c0d1 rev 161, Mem @ 0xf6000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
[   294.113] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[   294.113] Initializing built-in extension Generic Event Extension
[   294.113] Initializing built-in extension SHAPE
[   294.113] Initializing built-in extension MIT-SHM
[   294.113] Initializing built-in extension XInputExtension
[   294.113] Initializing built-in extension XTEST
[   294.113] Initializing built-in extension BIG-REQUESTS
[   294.113] Initializing built-in extension SYNC
[   294.113] Initializing built-in extension XKEYBOARD
[   294.113] Initializing built-in extension XC-MISC
[   294.114] Initializing built-in extension SECURITY
[   294.114] Initializing built-in extension XINERAMA
[   294.114] Initializing built-in extension XFIXES
[   294.114] Initializing built-in extension RENDER
[   294.114] Initializing built-in extension RANDR
[   294.114] Initializing built-in extension COMPOSITE
[   294.114] Initializing built-in extension DAMAGE
[   294.114] Initializing built-in extension MIT-SCREEN-SAVER
[   294.114] Initializing built-in extension DOUBLE-BUFFER
[   294.114] Initializing built-in extension RECORD
[   294.114] Initializing built-in extension DPMS
[   294.114] Initializing built-in extension Present
[   294.114] Initializing built-in extension DRI3
[   294.114] Initializing built-in extension X-Resource
[   294.114] Initializing built-in extension XVideo
[   294.114] Initializing built-in extension XVideo-MotionCompensation
[   294.114] Initializing built-in extension XFree86-VidModeExtension
[   294.114] Initializing built-in extension XFree86-DGA
[   294.114] Initializing built-in extension XFree86-DRI
[   294.114] Initializing built-in extension DRI2
[   294.114] (II) "glx" will be loaded by default.
[   294.114] (II) LoadModule: "dri2"
[   294.114] (II) Module "dri2" already built-in
[   294.114] (II) LoadModule: "glamoregl"
[   294.114] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[   294.135] (II) Module glamoregl: vendor="X.Org Foundation"
[   294.135]    compiled for 1.15.0, module version = 0.6.0
[   294.135]    ABI class: X.Org ANSI C Emulation, version 0.4
[   294.135] (II) LoadModule: "glx"
[   294.135] (II) Loading /usr/lib/nvidia/xorg/modules/extensions/libglx.so
[   294.196] (II) Module glx: vendor="NVIDIA Corporation"
[   294.197]    compiled for 4.0.2, module version = 1.0.0
[   294.197]    Module class: X.Org Server Extension
[   294.197] (II) NVIDIA GLX Module  334.21  Thu Feb 27 13:54:04 PST 2014
[   294.197] Loading extension GLX
[   294.197] (II) LoadModule: "nvidia"
[   294.197] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[   294.200] (II) Module nvidia: vendor="NVIDIA Corporation"
[   294.200]    compiled for 4.0.2, module version = 1.0.0
[   294.200]    Module class: X.Org Video Driver
[   294.200] (II) LoadModule: "mouse"
[   294.200] (II) Loading /usr/lib/xorg/modules/input/mouse_drv.so
[   294.201] (II) Module mouse: vendor="X.Org Foundation"
[   294.201]    compiled for 1.15.0, module version = 1.9.0
[   294.201]    Module class: X.Org XInput Driver
[   294.201]    ABI class: X.Org XInput driver, version 20.0
[   294.201] (II) LoadModule: "kbd"
[   294.201] (WW) Warning, couldn't open module kbd
[   294.201] (II) UnloadModule: "kbd"
[   294.201] (II) Unloading kbd
[   294.202] (EE) Failed to load module "kbd" (module does not exist, 0)
[   294.202] (II) NVIDIA dlloader X Driver  334.21  Thu Feb 27 13:34:35 PST 2014
[   294.202] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[   294.202] (--) using VT number 7

[   294.202] (II) Loading sub module "fb"
[   294.202] (II) LoadModule: "fb"
[   294.202] (II) Loading /usr/lib/xorg/modules/libfb.so
[   294.203] (II) Module fb: vendor="X.Org Foundation"
[   294.203]    compiled for 1.15.0, module version = 1.0.0
[   294.203]    ABI class: X.Org ANSI C Emulation, version 0.4
[   294.203] (WW) Unresolved symbol: fbGetGCPrivateKey
[   294.203] (II) Loading sub module "wfb"
[   294.203] (II) LoadModule: "wfb"
[   294.203] (II) Loading /usr/lib/xorg/modules/libwfb.so
[   294.204] (II) Module wfb: vendor="X.Org Foundation"
[   294.204]    compiled for 1.15.0, module version = 1.0.0
[   294.204]    ABI class: X.Org ANSI C Emulation, version 0.4
[   294.204] (II) Loading sub module "ramdac"
[   294.204] (II) LoadModule: "ramdac"
[   294.204] (II) Module "ramdac" already built-in
[   294.204] (II) NVIDIA(0): Creating default Display subsection in Screen section
        "Default Screen Section" for depth/fbbpp 24/32
[   294.204] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[   294.204] (==) NVIDIA(0): RGB weight 888
[   294.204] (==) NVIDIA(0): Default visual is TrueColor
[   294.204] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[   294.204] (**) NVIDIA(0): Option "NoLogo" "true"
[   294.204] (**) NVIDIA(0): Option "ProbeAllGpus" "false"
[   294.204] (**) NVIDIA(0): Option "UseEDID" "false"
[   294.204] (**) NVIDIA(0): Option "UseDisplayDevice" "Screen1"
[   294.204] (**) NVIDIA(0): Enabling 2D acceleration
[   294.204] (**) NVIDIA(0): Ignoring EDIDs
[   297.471] (II) NVIDIA(GPU-0): Found DRM driver nvidia-drm (20130102)
[   297.472] (II) NVIDIA(0): NVIDIA GPU GeForce GT 650M (GK107) at PCI:1:0:0 (GPU-0)
[   297.472] (--) NVIDIA(0): Memory: 2097152 kBytes
[   297.472] (--) NVIDIA(0): VideoBIOS: 80.07.6a.00.0a
[   297.472] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[   297.475] (--) NVIDIA(0): Valid display device(s) on GeForce GT 650M at PCI:1:0:0
[   297.475] (--) NVIDIA(0):     CRT-0
[   297.475] (--) NVIDIA(0): CRT-0: 400.0 MHz maximum pixel clock
[   297.475] (EE) NVIDIA(0): Failed to assign any connected display devices to X screen 0. 
[   297.475] (EE) NVIDIA(0):     Set AllowEmptyInitialConfiguration if you want the server
[   297.475] (EE) NVIDIA(0):     to start anyway
[   297.493] (EE) NVIDIA(0): Failing initialization of X screen 0
[   297.493] (II) UnloadModule: "nvidia"
[   297.493] (II) UnloadSubModule: "wfb"
[   297.493] (II) UnloadSubModule: "fb"
[   297.493] (EE) Screen(s) found, but none have a usable configuration.
[   297.493] (EE) 
Fatal server error:
[   297.493] (EE) no screens found(EE) 
[   297.493] (EE) 
Please consult the The X.Org Foundation support 
         at http://wiki.x.org
 for help. 
[   297.493] (EE) Please also check the log file at "/var/log/Xorg.8.log" for additional information.
[   297.493] (EE) 
[   297.493] (EE) Server terminated with error (1). Closing log file.

Last edited by CyberNhull (2014-03-11 10:59:41)


If it does not kill you....It will make you smarter

Offline

#18 2014-03-11 12:53:11

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

Re: (SOLVED) nvidia GT 650M driver 331.38 problem with bumblebee

First, have you tried these instructions from the log:

[   297.475] (EE) NVIDIA(0): Failed to assign any connected display devices to X screen 0. 
[   297.475] (EE) NVIDIA(0):     Set AllowEmptyInitialConfiguration if you want the server
[   297.475] (EE) NVIDIA(0):     to start anyway
[   297.493] (EE) NVIDIA(0): Failing initialization of X screen 0

Also have you tried running optirun things as root once, then as a normal user. Assuming the xorg log errors get fixed, what do you get if you run glxspheres with sudo and optirun. I.E.:

sudo optirun glxspheres64

* If you have 32-bit, glxspheres62 should be replaced with glxspheres.


Matt

"It is very difficult to educate the educated."

Offline

#19 2014-03-12 10:48:28

CyberNhull
Member
Registered: 2013-01-27
Posts: 99

Re: (SOLVED) nvidia GT 650M driver 331.38 problem with bumblebee

Ok i finally solved it. The thing i needed to do was put this line

 rcutree.rcu_idle_gp_delay=1 

like skualito said and change the screen in /etc/bumblebee/xorg.conf.nvidia

 Option "UseDisplayDevice" "Screen1"

to

 Option "UseDisplayDevice" "none"

and it works. The option was changed because i did

 nvidia-xconfig -allow-empty-initial-configuration 

but this is not needed. I add nvidia to mkinitcpio.conf in modules to..nvidia is now working with my smplayer and primusrun/optirun. I remove xorg.conf in the end because it seems it's not needed. Thanks for all the help big_smile

Last edited by CyberNhull (2014-03-12 10:49:44)


If it does not kill you....It will make you smarter

Offline

Board footer

Powered by FluxBB