You are not logged in.

#1 2014-09-17 02:22:23

HenriqueNunnes
Member
Registered: 2013-03-29
Posts: 41

[SOLVED] Bumblebee doesn't work after fresh install

I'm trying install bumblebee following the WikiBumblebee but after all steps I can't start bumblebee.

The service is running:

[henrique@archlinux ~]$ sudo systemctl status bumblebeed.service -l[sudo] password for henrique: 
● bumblebeed.service - Bumblebee C Daemon
   Loaded: loaded (/usr/lib/systemd/system/bumblebeed.service; enabled)
   Active: active (running) since Wed 2014-09-17 01:36:52 BRT; 10min ago
 Main PID: 265 (bumblebeed)
   CGroup: /system.slice/bumblebeed.service
           └─265 /usr/bin/bumblebeed

Sep 17 01:36:52 archlinux systemd[1]: Started Bumblebee C Daemon.
Sep 17 01:36:55 archlinux bumblebeed[265]: [   14.898901] [INFO]/usr/bin/bumblebeed 3.2.1 started

When I try check the glxgears, but nothing happen.

[henrique@archlinux ~]$ optirun -vv glxgears
[  738.103530] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[  738.104073] [DEBUG]optirun version 3.2.1 starting...
[  738.104088] [DEBUG]Active configuration:
[  738.104093] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[  738.104098] [DEBUG] X display: :8
[  738.104102] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia:/usr/lib32/nvidia
[  738.104107] [DEBUG] Socket path: /var/run/bumblebee.socket
[  738.104112] [DEBUG] Accel/display bridge: auto
[  738.104116] [DEBUG] VGL Compression: proxy
[  738.104120] [DEBUG] VGLrun extra options: 
[  738.104125] [DEBUG] Primus LD Path: /usr/lib/primus:/usr/lib32/primus
[  738.104204] [DEBUG]Using auto-detected bridge virtualgl
[  738.111261] [DEBUG]Socket closed.
[  738.111294] [DEBUG]Killing all remaining processes.

And I tried second time I got this error.

[henrique@archlinux ~]$ optirun -vv glxgears
[  902.183367] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[  902.183770] [ERROR]Could not connect to /var/run/bumblebee.socket! Error: Connection refused
[  902.183781] [DEBUG]Socket closed.
[  902.183796] [ERROR]Could not connect to bumblebee daemon - is it running?

So I read many things on internet but nothing similar.

Ps. I can't understand why I can't see my discrete GPU with lspci only intel. But when I run by liveCD I can see my GeForce 310M

[henrique@archlinux ~]$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 18)

In old thread I find it

[henrique@archlinux ~]$ bumblebeed -vv
[  385.821461] [ERROR]No discrete video card found, quitting

My Xorg.8.log

[henrique@archlinux ~]$ cat /var/log/Xorg.8.log 
[   126.407] 
X.Org X Server 1.16.0
Release Date: 2014-07-16
[   126.407] X Protocol Version 11, Revision 0
[   126.407] Build Operating System: Linux 3.15.5-2-ARCH x86_64 
[   126.407] Current Operating System: Linux archlinux 3.16.2-1-ARCH #1 SMP PREEMPT Sat Sep 6 13:12:51 CEST 2014 x86_64
[   126.407] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=f7558702-ad58-450b-81bc-8f8f5a28cdab rw
[   126.407] Build Date: 31 July 2014  11:53:19AM
[   126.407]  
[   126.407] Current version of pixman: 0.32.6
[   126.407] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[   126.407] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   126.407] (==) Log file: "/var/log/Xorg.8.log", Time: Tue Sep 16 02:28:21 2014
[   126.407] (++) Using config file: "/etc/bumblebee/xorg.conf.nvidia"
[   126.407] (++) Using config directory: "/etc/bumblebee/xorg.conf.d"
[   126.407] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   126.407] (==) ServerLayout "Layout0"
[   126.407] (==) No screen section available. Using defaults.
[   126.407] (**) |-->Screen "Default Screen Section" (0)
[   126.407] (**) |   |-->Monitor "<default monitor>"
[   126.408] (==) No device specified for screen "Default Screen Section".
	Using the first device section listed.
[   126.408] (**) |   |-->Device "DiscreteNvidia"
[   126.408] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[   126.408] (**) Option "AutoAddDevices" "false"
[   126.408] (**) Option "AutoAddGPU" "false"
[   126.408] (**) Not automatically adding devices
[   126.408] (==) Automatically enabling devices
[   126.408] (**) Not automatically adding GPU devices
[   126.408] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[   126.408] 	Entry deleted from font path.
[   126.408] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[   126.408] 	Entry deleted from font path.
[   126.408] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[   126.408] 	Entry deleted from font path.
[   126.408] 	(Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[   126.408] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[   126.408] 	Entry deleted from font path.
[   126.408] 	(Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[   126.408] (==) FontPath set to:
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/
[   126.408] (++) ModulePath set to "/usr/lib/nvidia/xorg/,/usr/lib/xorg/modules"
[   126.408] (==) |-->Input Device "<default pointer>"
[   126.408] (==) |-->Input Device "<default keyboard>"
[   126.408] (==) The core pointer device wasn't specified explicitly in the layout.
	Using the default mouse configuration.
[   126.408] (==) The core keyboard device wasn't specified explicitly in the layout.
	Using the default keyboard configuration.
[   126.408] (II) Loader magic: 0x818d80
[   126.408] (II) Module ABI versions:
[   126.408] 	X.Org ANSI C Emulation: 0.4
[   126.408] 	X.Org Video Driver: 18.0
[   126.408] 	X.Org XInput driver : 21.0
[   126.408] 	X.Org Server Extension : 8.0
[   126.409] (EE) systemd-logind: failed to get session: PID 689 does not belong to any known session
[   126.410] (II) xfree86: Adding drm device (/dev/dri/card1)
[   126.410] (II) xfree86: Adding drm device (/dev/dri/card0)
[   126.410] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
[   126.412] (--) PCI:*(0:1:0:0) 10de:0a75:1028:044e rev 162, Mem @ 0xf9000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
[   126.412] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[   126.412] (II) LoadModule: "glx"
[   126.413] (II) Loading /usr/lib/nvidia/xorg/modules/extensions/libglx.so
[   126.426] (II) Module glx: vendor="NVIDIA Corporation"
[   126.426] 	compiled for 4.0.2, module version = 1.0.0
[   126.426] 	Module class: X.Org Server Extension
[   126.426] (II) NVIDIA GLX Module  340.32  Tue Aug  5 20:32:43 PDT 2014
[   126.426] (II) LoadModule: "nvidia"
[   126.427] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[   126.427] (II) Module nvidia: vendor="NVIDIA Corporation"
[   126.427] 	compiled for 4.0.2, module version = 1.0.0
[   126.427] 	Module class: X.Org Video Driver
[   126.427] (II) LoadModule: "mouse"
[   126.428] (WW) Warning, couldn't open module mouse
[   126.428] (II) UnloadModule: "mouse"
[   126.428] (II) Unloading mouse
[   126.428] (EE) Failed to load module "mouse" (module does not exist, 0)
[   126.428] (II) LoadModule: "kbd"
[   126.428] (WW) Warning, couldn't open module kbd
[   126.428] (II) UnloadModule: "kbd"
[   126.428] (II) Unloading kbd
[   126.428] (EE) Failed to load module "kbd" (module does not exist, 0)
[   126.428] (II) NVIDIA dlloader X Driver  340.32  Tue Aug  5 20:13:04 PDT 2014
[   126.428] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[   126.428] (--) using VT number 1

[   126.428] (II) Loading sub module "fb"
[   126.428] (II) LoadModule: "fb"
[   126.428] (II) Loading /usr/lib/xorg/modules/libfb.so
[   126.429] (II) Module fb: vendor="X.Org Foundation"
[   126.429] 	compiled for 1.16.0, module version = 1.0.0
[   126.429] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   126.429] (WW) Unresolved symbol: fbGetGCPrivateKey
[   126.429] (II) Loading sub module "wfb"
[   126.429] (II) LoadModule: "wfb"
[   126.429] (II) Loading /usr/lib/xorg/modules/libwfb.so
[   126.429] (II) Module wfb: vendor="X.Org Foundation"
[   126.429] 	compiled for 1.16.0, module version = 1.0.0
[   126.429] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   126.429] (II) Loading sub module "ramdac"
[   126.429] (II) LoadModule: "ramdac"
[   126.430] (II) Module "ramdac" already built-in
[   126.430] (II) NVIDIA(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[   126.430] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[   126.430] (==) NVIDIA(0): RGB weight 888
[   126.430] (==) NVIDIA(0): Default visual is TrueColor
[   126.431] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[   126.431] (**) NVIDIA(0): Option "NoLogo" "true"
[   126.431] (**) NVIDIA(0): Option "ProbeAllGpus" "false"
[   126.431] (**) NVIDIA(0): Option "UseEDID" "false"
[   126.431] (**) NVIDIA(0): Option "UseDisplayDevice" "none"
[   126.431] (**) NVIDIA(0): Enabling 2D acceleration
[   126.431] (**) NVIDIA(0): Ignoring EDIDs
[   126.431] (**) NVIDIA(0): Option "UseDisplayDevice" set to "none"; enabling NoScanout
[   126.431] (**) NVIDIA(0):     mode
[   131.332] (II) NVIDIA(GPU-0): Found DRM driver nvidia-drm (20130102)
[   131.334] (II) NVIDIA(0): NVIDIA GPU GeForce 310M (GT218) at PCI:1:0:0 (GPU-0)
[   131.334] (--) NVIDIA(0): Memory: 524288 kBytes
[   131.334] (--) NVIDIA(0): VideoBIOS: 70.18.49.00.1a
[   131.334] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[   131.334] (--) NVIDIA(0): Valid display device(s) on GeForce 310M at PCI:1:0:0
[   131.334] (--) NVIDIA(0):     none
[   131.334] (II) NVIDIA(0): Validated MetaModes:
[   131.334] (II) NVIDIA(0):     "NULL"
[   131.334] (II) NVIDIA(0): Virtual screen size determined to be 640 x 480
[   131.334] (WW) NVIDIA(0): Unable to get display device for DPI computation.
[   131.334] (==) NVIDIA(0): DPI set to (75, 75); computed from built-in default
[   131.334] (--) Depth 24 pixmap format is 32 bpp
[   131.334] (II) NVIDIA: Using 768.00 MB of virtual memory for indirect memory access.
[   131.338] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
[   131.338] (II) NVIDIA(0):     may not be running or the "AcpidSocketPath" X
[   131.338] (II) NVIDIA(0):     configuration option may not be set correctly.  When the
[   131.338] (II) NVIDIA(0):     ACPI event daemon is available, the NVIDIA X driver will
[   131.339] (II) NVIDIA(0):     try to use it to receive ACPI event notifications.  For
[   131.339] (II) NVIDIA(0):     details, please see the "ConnectToAcpid" and
[   131.339] (II) NVIDIA(0):     "AcpidSocketPath" X configuration options in Appendix B: X
[   131.339] (II) NVIDIA(0):     Config Options in the README.
[   131.339] (II) NVIDIA(0): Setting mode "NULL"
[   131.356] (==) NVIDIA(0): Disabling shared memory pixmaps
[   131.356] (==) NVIDIA(0): Backing store enabled
[   131.356] (==) NVIDIA(0): Silken mouse enabled
[   131.356] (==) NVIDIA(0): DPMS enabled
[   131.357] (II) Loading sub module "dri2"
[   131.357] (II) LoadModule: "dri2"
[   131.357] (II) Module "dri2" already built-in
[   131.357] (II) NVIDIA(0): [DRI2] Setup complete
[   131.357] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[   131.357] (--) RandR disabled
[   131.361] (II) Initializing extension GLX
[   131.397] (II) LoadModule: "mouse"
[   131.397] (WW) Warning, couldn't open module mouse
[   131.397] (II) UnloadModule: "mouse"
[   131.397] (II) Unloading mouse
[   131.397] (EE) Failed to load module "mouse" (module does not exist, 0)
[   131.397] (EE) No input driver matching `mouse'
[   131.397] (II) LoadModule: "kbd"
[   131.397] (WW) Warning, couldn't open module kbd
[   131.397] (II) UnloadModule: "kbd"
[   131.397] (II) Unloading kbd
[   131.398] (EE) Failed to load module "kbd" (module does not exist, 0)
[   131.398] (EE) No input driver matching `kbd'
[   131.399] (II) config/udev: Adding input device Power Button (/dev/input/event3)
[   131.400] (II) AutoAddDevices is off - not adding device.
[   131.400] (II) config/udev: Adding input device Video Bus (/dev/input/event5)
[   131.400] (II) AutoAddDevices is off - not adding device.
[   131.400] (II) config/udev: Adding input device Power Button (/dev/input/event0)
[   131.400] (II) AutoAddDevices is off - not adding device.
[   131.401] (II) config/udev: Adding input device Lid Switch (/dev/input/event1)
[   131.401] (II) AutoAddDevices is off - not adding device.
[   131.401] (II) config/udev: Adding input device Sleep Button (/dev/input/event2)
[   131.401] (II) AutoAddDevices is off - not adding device.
[   131.401] (II) config/udev: Adding drm device (/dev/dri/card0)
[   131.401] (II) xfree86: Adding drm device (/dev/dri/card0)
[   131.401] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
[   131.402] (II) config/udev: Adding input device HID 413c:8161 (/dev/input/event8)
[   131.402] (II) AutoAddDevices is off - not adding device.
[   131.402] (II) config/udev: Adding input device HID 413c:8162 (/dev/input/event9)
[   131.403] (II) AutoAddDevices is off - not adding device.
[   131.403] (II) config/udev: Adding input device HID 413c:8162 (/dev/input/mouse1)
[   131.403] (II) AutoAddDevices is off - not adding device.
[   131.403] (II) config/udev: Adding input device HDA Digital PCBeep (/dev/input/event12)
[   131.403] (II) AutoAddDevices is off - not adding device.
[   131.403] (II) config/udev: Adding input device HDA Intel MID Mic (/dev/input/event13)
[   131.403] (II) AutoAddDevices is off - not adding device.
[   131.403] (II) config/udev: Adding input device HDA Intel MID Front Headphone (/dev/input/event14)
[   131.403] (II) AutoAddDevices is off - not adding device.
[   131.404] (II) config/udev: Adding input device MLK 2.4G wireless Laser Mouse (/dev/input/event7)
[   131.404] (II) AutoAddDevices is off - not adding device.
[   131.404] (II) config/udev: Adding input device MLK 2.4G wireless Laser Mouse (/dev/input/mouse0)
[   131.404] (II) AutoAddDevices is off - not adding device.
[   131.404] (II) config/udev: Adding input device Laptop_Integrated_Webcam_2M (/dev/input/event10)
[   131.404] (II) AutoAddDevices is off - not adding device.
[   131.404] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event6)
[   131.404] (II) AutoAddDevices is off - not adding device.
[   131.404] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event19)
[   131.404] (II) AutoAddDevices is off - not adding device.
[   131.405] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse2)
[   131.405] (II) AutoAddDevices is off - not adding device.
[   131.405] (II) config/udev: Adding input device Dell WMI hotkeys (/dev/input/event11)
[   131.405] (II) AutoAddDevices is off - not adding device.
[   135.788] (II) NVIDIA(GPU-0): Deleting GPU-0
[   135.790] (EE) Server terminated successfully (0). Closing log file.

What's wrong with my laptop?

Thanks!

EDIT: I don't know why, but after update to new kernel all problem are solved now.

[henrique@archlinux 1]$ uname -a
Linux archlinux 3.16.3-1-ARCH #1 SMP PREEMPT Wed Sep 17 21:54:13 CEST 2014 x86_64 GNU/Linux

The problem with lspci is solved as well the problem with bumblebee for while.

[henrique@archlinux 1]$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 18)
01:00.0 VGA compatible controller: NVIDIA Corporation GT218M [GeForce 310M] (rev a2)

Last edited by HenriqueNunnes (2014-09-19 02:47:59)

Offline

#2 2014-09-17 11:58:10

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

Re: [SOLVED] Bumblebee doesn't work after fresh install

Did you check output of lspci without grep?
In my case the nvidia card is listed as

01:00.0 3D controller: NVIDIA Corporation GK208M [GeForce GT 740M] (rev ff)

so

lspci | grep VGA

wouldn't show it wink

If your nvidia card shows up in lspci output: Did you try setting the BusID as mentioned in the wiki?


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

#3 2014-09-18 02:28:07

HenriqueNunnes
Member
Registered: 2013-03-29
Posts: 41

Re: [SOLVED] Bumblebee doesn't work after fresh install

@dice

Thanks!

So my lspci withou grep

[henrique@archlinux ~]$ lspci
00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller (rev 18)
00:01.0 PCI bridge: Intel Corporation Core Processor PCI Express x16 Root Port (rev 18)
00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 18)
00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series Chipset HECI Controller (rev 06)
00:1a.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06)
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 06)
00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 06)
00:1c.1 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2 (rev 06)
00:1c.2 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 3 (rev 06)
00:1c.4 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 5 (rev 06)
00:1d.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a6)
00:1f.0 ISA bridge: Intel Corporation Mobile 5 Series Chipset LPC Interface Controller (rev 06)
00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series Chipset 6 port SATA AHCI Controller (rev 06)
00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller (rev 06)
00:1f.6 Signal processing controller: Intel Corporation 5 Series/3400 Series Chipset Thermal Subsystem (rev 06)
12:00.0 Network controller: Broadcom Corporation BCM4313 802.11bgn Wireless Network Adapter (rev 01)
13:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 03)
ff:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers (rev 05)
ff:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture System Address Decoder (rev 05)
ff:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 05)
ff:02.1 Host bridge: Intel Corporation Core Processor QPI Physical 0 (rev 05)
ff:02.2 Host bridge: Intel Corporation Core Processor Reserved (rev 05)
ff:02.3 Host bridge: Intel Corporation Core Processor Reserved (rev 05)

I didn't understand why I can't see my discrete GPU with lspci

I read in other forum to try this:

# bumblebeed --daemon

But some times work, sometimes doesn't work (and my system freeze and I have to do a hard reboot).

Last edited by HenriqueNunnes (2014-09-18 11:36:05)

Offline

Board footer

Powered by FluxBB