web-dev-qa-db-fra.com

comment réparer "Le démon Bumblebee n'a pas encore été démarré ou le chemin du socket était incorrect"?

Duplicate possible:
NVidia avec Optimus en conflit dans Ubuntu 12.04

Je viens d’acheter un nouveau Ultrabook Dell XPS 14 équipé d’un NVIDIA GeForce GT 630M. Ainsi, à la suite de certaines indications que j’ai trouvées dans la documentation disponible en ligne, j’ajoute le bpablebee ppa et le bumblebee installé ainsi que nvidia-bumblebee.

Mais quand j'ai essayé d'utiliser la carte nvidia pour exécuter quelque chose, j'ai eu cette erreur:

optirun -vv firefox
[  476.380739] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[  476.381430] [INFO]Configured driver: nvidia
[  476.381498] [ERROR]The Bumblebee daemon has not been started yet or the socket path /var/run/bumblebee.socket was incorrect.
[  476.381513] [DEBUG]Socket closed.
[  476.381534] [ERROR]Could not connect to bumblebee daemon - is it running?

Voici quelques fichiers de configuration:

/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

## Client options. Will take effect on the next optirun executed.
[optirun]
# The method used for VirtualGL to transport frames between X servers.
# Possible values are proxy, jpeg, rgb, xv and yuv.
VGLTransport=proxy
# 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-current
Module=nvidia
PMMethod=auto
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia-current:/usr/lib32/nvidia-current
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia-current/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

/etc/bumblebee/xorg.conf.nvidia

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

Section "Device"
    Identifier "Device1"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    Option "NoLogo" "true"
    Option "UseEDID" "false"
    Option "ConnectedMonitor" "DFP"
EndSection

Et quelques informations supplémentaires

dpkg -l | grep nvidia

ii  bumblebee-nvidia                          3.0.1-3~quantalppa1                       AMD64        nVidia Optimus support using the proprietary NVIDIA driver
ii  nvidia-current                            304.51.really.304.43-0ubuntu1             AMD64        NVIDIA binary Xorg driver, kernel module and VDPAU library
rc  nvidia-current-updates                    304.51-0ubuntu1                           AMD64        NVIDIA binary Xorg driver, kernel module and VDPAU library
ii  nvidia-settings                           304.51-0ubuntu2                           AMD64        Tool for configuring the NVIDIA graphics driver

J'ai supprimé les mises à jour nvidia-current parce que l'unité ne pouvait pas commencer avec elle installée.

En passant, j'utilise la dernière version d'ubuntu (12.10) 64 bits; et j'ai essayé de réinstaller bumblebee comme 3 fois.

Pouvez-vous m'aider à réparer cette erreur? Y a-t-il d'autres informations dont vous pourriez avoir besoin pour m'aider?

Merci d'avance.

3
user104572

Ça pourrait vous aider, ça a marché pour moi;) http://www.ivegotavirus.com/how-to-fix-bumblebee-on-ubuntu-12-10/

1
Ali Bahjati