Bumblebee не работает(

Автор gamer-psy, 27 марта 2015, 12:24:42

« назад - далее »

0 Пользователи и 1 гость просматривают эту тему.

gamer-psy

Всем привет. Имеется ноутбук с двумя встроенными видеокартами Intel HD Graphics 4600 и Nvidia 750M
Не запускается Bumblebee пишет ошибку

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

Вывод команды lspci | egrep 'VGA|3D'

Открыть содержимое (спойлер)
00:02.0 VGA compatible controller: Intel Corporation Haswell Integrated Graphics Controller (rev 06)
01:00.0 3D controller: NVIDIA Corporation Device 0fe4 (rev a1)
[свернуть]

/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=
# 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:/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-current
PMMethod=auto
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/x86_64-linux-gnu/nvidia:/usr/lib/i386-linux-gnu/nvidia:/usr/lib/nvidia
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia,/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"
    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
[свернуть]

ihammers

Как производили настройку Bumblebee, какая версия системы?
Смотрели wiki.debina.org?
Debian GNU/Linux Bookworm, LXQt/OpenBox: AMD Ryzen 5 5600G / 64Gb RAM
_______________________________
Debian GNU/Linux Bookworm, без графики: AMD Phenon X4 / 16Gb RAM
_______________________________
Debian GNU/Linux Bookworm, LXQt/OpenBox: Acer Aspire One 722 AMD C60 / 8Gb RAM / ATI HD6290

gamer-psy

Дистрибутив Debian 7 wheezy

Ноутбук Acer Aspire V3-772G-54206G1TMakk

Ставил по этой инструкции https://wiki.debian.org/ru/Bumblebee

ihammers

Список репозитариев (этот и которые ещё есть) под теги:
cat /etc/apt/sources.list
Debian GNU/Linux Bookworm, LXQt/OpenBox: AMD Ryzen 5 5600G / 64Gb RAM
_______________________________
Debian GNU/Linux Bookworm, без графики: AMD Phenon X4 / 16Gb RAM
_______________________________
Debian GNU/Linux Bookworm, LXQt/OpenBox: Acer Aspire One 722 AMD C60 / 8Gb RAM / ATI HD6290

gamer-psy

Выложил
Открыть содержимое (спойлер)
# deb cdrom:[Debian GNU/Linux 7.8.0 _Wheezy_ - Official amd64 NETINST Binary-1 20150110-14:41]/ wheezy contrib main non-free

#deb cdrom:[Debian GNU/Linux 7.8.0 _Wheezy_ - Official amd64 NETINST Binary-1 20150110-14:41]/ wheezy contrib main non-free

deb http://ftp.ru.debian.org/debian/ wheezy main
deb-src http://ftp.ru.debian.org/debian/ wheezy main

deb http://security.debian.org/ wheezy/updates main contrib non-free
deb-src http://security.debian.org/ wheezy/updates main contrib non-free

# wheezy-updates, previously known as 'volatile'
deb http://ftp.ru.debian.org/debian/ wheezy-updates main contrib non-free
deb-src http://ftp.ru.debian.org/debian/ wheezy-updates main contrib non-free

deb http://ftp.debian.org/debian wheezy-backports main contrib non-free
[свернуть]

ihammers

Вывод следующих команд:
dpkg -l | grep -i nvidia
dpkg -l | grep bumblebee
Debian GNU/Linux Bookworm, LXQt/OpenBox: AMD Ryzen 5 5600G / 64Gb RAM
_______________________________
Debian GNU/Linux Bookworm, без графики: AMD Phenon X4 / 16Gb RAM
_______________________________
Debian GNU/Linux Bookworm, LXQt/OpenBox: Acer Aspire One 722 AMD C60 / 8Gb RAM / ATI HD6290

gamer-psy

dpkg -l | grep -i nvidia
Открыть содержимое (спойлер)
ii  bbswitch-dkms                             0.8-1~bpo70+1                      amd64        Interface for toggling the power on NVIDIA Optimus video cards
ii  bumblebee                                 3.2.1-4~bpo70+1                    amd64        NVIDIA Optimus support for Linux
ii  bumblebee-nvidia                          3.2.1-4~bpo70+1                    amd64        NVIDIA Optimus support using the proprietary NVIDIA driver
ii  glx-alternative-nvidia                    0.5.1~bpo70+1                      amd64        allows the selection of NVIDIA as GLX provider
ii  libegl1-nvidia:amd64                      340.65-2~bpo70+1                   amd64        NVIDIA binary EGL libraries
ii  libgl1-nvidia-glx:amd64                   340.65-2~bpo70+1                   amd64        NVIDIA binary OpenGL libraries
ii  libgl1-nvidia-glx:i386                    340.65-2~bpo70+1                   i386         NVIDIA binary OpenGL libraries
ii  libgl1-nvidia-glx-i386                    340.65-2~bpo70+1                   i386         NVIDIA binary OpenGL 32-bit libraries
ii  libgles1-nvidia:amd64                     340.65-2~bpo70+1                   amd64        NVIDIA binary OpenGL|ES 1.x libraries
ii  libgles2-nvidia:amd64                     340.65-2~bpo70+1                   amd64        NVIDIA binary OpenGL|ES 2.x libraries
ii  libnvidia-eglcore:amd64                   340.65-2~bpo70+1                   amd64        NVIDIA binary EGL core libraries
ii  libnvidia-ml1:amd64                       340.65-2~bpo70+1                   amd64        NVIDIA Management Library (NVML) runtime library
ii  nvidia-alternative                        340.65-2~bpo70+1                   amd64        allows the selection of NVIDIA as GLX provider
ii  nvidia-driver                             340.65-2~bpo70+1                   amd64        NVIDIA metapackage
ii  nvidia-driver-bin                         340.65-2~bpo70+1                   amd64        NVIDIA driver support binaries
ii  nvidia-installer-cleanup                  20131102+1~bpo70+1                 amd64        cleanup after driver installation with the nvidia-installer
ii  nvidia-kernel-common                      20131102+1~bpo70+1                 amd64        NVIDIA binary kernel module support files
ii  nvidia-kernel-dkms                        340.65-2~bpo70+1                   amd64        NVIDIA binary kernel module DKMS source
ii  nvidia-modprobe                           334.16-1~bpo70+1                   amd64        utility to load NVIDIA kernel modules and create device nodes
ii  nvidia-support                            20131102+1~bpo70+1                 amd64        NVIDIA binary graphics driver support files
ii  nvidia-vdpau-driver:amd64                 340.65-2~bpo70+1                   amd64        Video Decode and Presentation API for Unix - NVIDIA driver
ii  primus                                    0~20130904-1~bpo70+1               amd64        client-side GPU offloading for NVIDIA Optimus
ii  xserver-xorg-video-nvidia                 340.65-2~bpo70+1                   amd64        NVIDIA binary Xorg driver
[свернуть]

dpkg -l | grep bumblebee

Открыть содержимое (спойлер)
ii  bumblebee                                 3.2.1-4~bpo70+1                    amd64        NVIDIA Optimus support for Linux
ii  bumblebee-nvidia                          3.2.1-4~bpo70+1                    amd64        NVIDIA Optimus support using the proprietary NVIDIA driver
[свернуть]

ihammers

Не знаю, что и сказать. В инете есть некоторые сообщения о данной проблеме, но они связаны с производителем ноутов, но ваш, в данную категорию не попадает. Выведите следующую команду:
cat /etc/bumblebee/xorg.conf.nvidia

PS: возможно какие-то конфигурационные файлы между собой конфликтуют, возможно стоит удалить все драйвера и bumblebee и потом заново установить по той же инструкции. Но это крайней вариант.
Debian GNU/Linux Bookworm, LXQt/OpenBox: AMD Ryzen 5 5600G / 64Gb RAM
_______________________________
Debian GNU/Linux Bookworm, без графики: AMD Phenon X4 / 16Gb RAM
_______________________________
Debian GNU/Linux Bookworm, LXQt/OpenBox: Acer Aspire One 722 AMD C60 / 8Gb RAM / ATI HD6290

Yrii

gamer-psy, пользователя в группу bumblebee добавлял?