Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 19/10/2016, à 18:45

akebonjourbob

[Résolu] Bumblebee Ubuntu Gnome 16.04

Bonjour,

Alors voilà. Je possède un MSI GE60 2OE ( avec technologie nvidia optimus ) que j’ai récemment passé sous ubuntu gnome 16.04, et j’essaie ( désespérément ) de faire fonctionner bumblebee dessus.
Je sais qu’il traîne énormément de pages sur ce sujet, mais après 3 jours de tests, réinstalles d’ubuntu, …, j’ai toujours le même problème.

Il faut savoir qu’avant ubuntu gnome 16.04, mon ordinateur a tourné pendant 2 ans avec ubuntu 14.04 et bumblebee, sans aucun soucis.

Voici donc mon problème en détails : j’ai suivi cette page pour installer bumblebee sous ubuntu 16.04.
Toutes les étapes se passent sans soucis. Mon problème vient bien de l’utilisation de bumblebee en elle même. Lorsque je lance « optirun glxgears » par exemple, j’obtiens :

[   22.383991] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) 
[   22.384038] [ERROR]Aborting because fallback start is disabled.

Dès lors, le voyant du bouton power passe au orange, comme chaque fois que j’utilise la carte Nvidia. Et  cat /proc/acpi/bbswitch me renvoie ON.

Le problème pour moi est qu’il n’y a pas de description du problème dans l’erreur. Sur les forums, les utilisateurs ont toujours un message d’erreur qui suit « error: [XORG] (EE) ». Je ne vois donc pas du tout d’où peut venir le problème.

Voici mon /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=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/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/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-361
PMMethod=auto
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia-361:/usr/lib32/nvidia-361
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia-361/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


Mon /etc/bumblebee/xorg.conf.nvidia

Section "ServerLayout"
    Identifier  "Layout0"
    Option      "AutoAddDevices" "false"
    Option      "AutoAddGPU" "false"
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

Et lspci | egrep 'VGA|3D' me renvoie

00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
01:00.0 3D controller: NVIDIA Corporation GK106M [GeForce GTX 765M] (rev ff)

Mon /etc/default/grub

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
#GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash rcutree.rcu_idle_gp_delay=1"
GRUB_CMDLINE_LINUX=""

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"

J'ai d'ailleurs essayé GRUB_CMDLINE_LINUX="acpi=force", mais sans changement.


Voilà voilà… Merci d’avance
Cordialement

Dernière modification par akebonjourbob (Le 19/10/2016, à 21:52)


Ubuntu Gnome 16.04 sur MSI GE60 2OE ( avec technologie nvidia optimus, malheureusement... )
Ubuntu 16.04 + Windows 10 ( beuhaaa ) sur Asus P8B75LM + i5 3450 + MSI RX 480

Hors ligne

#2 Le 19/10/2016, à 21:51

akebonjourbob

Re : [Résolu] Bumblebee Ubuntu Gnome 16.04

A priori cela fonctionne depuis que j'ai supprimé 'xserver-xorg-legacy' et 'xserver-xorg-video-nouveau'

sudo apt remove xserver-xorg-legacy xserver-xorg-video-nouveau

Après un reboot, optirun glxgears fonctionne.

Comme quoi, quand on bidouille dans tous les sens, on arrive parfois à trouver même quand ça paraît désespéré ^^

Si besoin, je peux faire un résumé des manipulations pour installer entièrement bumblebee. Elles sont plus simples que sur ce site donné dans ce topic.


Ubuntu Gnome 16.04 sur MSI GE60 2OE ( avec technologie nvidia optimus, malheureusement... )
Ubuntu 16.04 + Windows 10 ( beuhaaa ) sur Asus P8B75LM + i5 3450 + MSI RX 480

Hors ligne

#3 Le 08/11/2017, à 01:02

zatox

Re : [Résolu] Bumblebee Ubuntu Gnome 16.04

Bonjour, bien que ce post date d'un an, je réponds oui à cette proposition:

akebonjourbob a écrit :

Si besoin, je peux faire un résumé des manipulations pour installer entièrement bumblebee.

car chez moi ça ne marche pas. Je précise que je suis sous kubuntu.
Merci pour votre aide.

Hors ligne