Strona 1 z 1

[SOLVED][jessie] Nie mogę uruchomić gier ze Steama przy użyciu Bumblebee

: 07 listopada 2014, 18:22
autor: LiquidPL
//EDIT: Solved

Wychodzi na to, że pakiety libdrm-intel1 i libdrm-intel1:i386 w wersji 2.4.58-2 są zbugowane, downgrade do wersji 2.4.56-1 naprawia problem.
Pakiety można pobrać tu: http://snapshot.debian.org/archive/debi ... bd/libdrm/ (jeżeli używacie multiarcha to należy pobrać i i386, i amd64).

Witam,

Posiadam laptopa Lenovo IdeaPad Y580 z Intelem i7 oraz kartami graficznymi Intel HD4000 i Nvidia GeForce GTX660M.
Zainstalowałem na nim Jessie, a następnie zgodnie z poradnikiem na wiki.debian.org zainstalowałem Bumblebee. Aplikacje normalnie się uruchamiały, poza grami ze Steama, które po chwili crashowały (jak na tym screenshocie: mój status na chwile zmienia się na 'w grze' - zielona obwódka wokół awatara, ale potem wraca do statusu 'online' - niebieska obwódka, crash gry/optiruna).

Info o moim systemie:

Kod: Zaznacz cały

iquid@liquid-laptop-deb:~$ lspci -k | grep -A2 VGA
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
    Subsystem: Lenovo Device 3977
    Kernel driver in use: i915
--
01:00.0 VGA compatible controller: NVIDIA Corporation GK107M [GeForce GTX 660M] (rev ff)
(tutaj były informacje o kontrolerze Ethernetu)

liquid@liquid-laptop-deb:~$ uname -a
Linux liquid-laptop-deb 3.16-3-amd64 #1 SMP Debian 3.16.5-1 (2014-10-10) x86_64 GNU/Linux

liquid@liquid-laptop-deb:~$ dpkg-query -l | grep nvidia
ii  bumblebee-nvidia                   3.2.1-7            amd64        NVIDIA Optimus support using the proprietary NVIDIA driver
ii  glx-alternative-nvidia             0.5.1              amd64        allows the selection of NVIDIA as GLX provider
ii  libegl1-nvidia:amd64               340.46-3           amd64        NVIDIA binary EGL libraries
ii  libgl1-nvidia-glx:amd64            340.46-3           amd64        NVIDIA binary OpenGL libraries
ii  libgl1-nvidia-glx:i386             340.46-3           i386         NVIDIA binary OpenGL libraries
ii  libgl1-nvidia-glx-i386             340.46-3           i386         NVIDIA binary OpenGL 32-bit libraries
ii  libgles1-nvidia:amd64              340.46-3           amd64        NVIDIA binary OpenGL|ES 1.x libraries
ii  libgles2-nvidia:amd64              340.46-3           amd64        NVIDIA binary OpenGL|ES 2.x libraries
ii  libnvidia-eglcore:amd64            340.46-3           amd64        NVIDIA binary EGL core libraries
ii  libnvidia-ml1:amd64                340.46-3           amd64        NVIDIA Management Library (NVML) runtime library
ii  nvidia-alternative                 340.46-3           amd64        allows the selection of NVIDIA as GLX provider
ii  nvidia-detect                      340.46-3           amd64        NVIDIA GPU detection utility
ii  nvidia-driver                      340.46-3           amd64        NVIDIA metapackage
ii  nvidia-installer-cleanup           20131102+2         amd64        cleanup after driver installation with the nvidia-installer
ii  nvidia-kernel-common               20131102+2         amd64        NVIDIA binary kernel module support files
ii  nvidia-kernel-dkms                 340.46-3           amd64        NVIDIA binary kernel module DKMS source
ii  nvidia-modprobe                    340.46-1           amd64        utility to load NVIDIA kernel modules and create device nodes
ii  nvidia-settings                    340.46-2           amd64        tool for configuring the NVIDIA graphics driver
ii  nvidia-support                     20131102+2         amd64        NVIDIA binary graphics driver support files
ii  nvidia-vdpau-driver:amd64          340.46-3           amd64        Video Decode and Presentation API for Unix - NVIDIA driver
ii  xserver-xorg-video-nvidia          340.46-3           amd64        NVIDIA binary Xorg driver

liquid@liquid-laptop-deb:~$ dpkg-query -l | grep bumblebee
ii  bumblebee                          3.2.1-7            amd64        NVIDIA Optimus support for Linux
ii  bumblebee-nvidia                   3.2.1-7            amd64        NVIDIA Optimus support using the proprietary NVIDIA driver

liquid@liquid-laptop-deb:~$ dpkg-query -l | grep primus
ii  primus                             0~20140711-1       amd64        client-side GPU offloading for NVIDIA Optimus
ii  primus-libs:amd64                  0~20140711-1       amd64        Shared libraries for primus
ii  primus-libs:i386                   0~20140711-1       i386         Shared libraries for primus
ii  primus-libs-ia32                   0~20140711-1       i386         Shared libraries for primus (32-bit)

Podejrzewam, że jest to jakiś problem z primusem i 32-bitowymi bibliotekami.

//EDIT:
Jeszcze bumblebee.conf:

Kod: Zaznacz cały

liquid@liquid-laptop-deb:~/bin/imgur-screenshot$ cat /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=primus
# 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
#PrimusLibraryPath=/usr/lib/x86_64-linux-gnu/nvidia:/usr/lib/x86_64-linux-gnu/nvidia/current:/usr/lib/i386-linux-gnu/nvidia:/usr/lib/i386-linux-gnu/nvidia/current
# 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


: 08 listopada 2014, 23:45
autor: mike26
Ja uruchamiam gry Steam za pomocą tego http://steamcommunity.com/app/221410/di ... ?l=swedish

Kod: Zaznacz cały

aptitude install mesa-utils
optirun glxinfo |grep -Ei '(direct rendering|opengl)'

: 09 listopada 2014, 11:03
autor: LiquidPL
Nadal się nie uruchamia. Zresztą, robiłem to tak samo, poza dodawaniem wpisu do /etc/environment

Kod: Zaznacz cały

liquid@liquid-laptop-deb:~$ optirun glxinfo |grep -Ei '(direct rendering|opengl)'
direct rendering: Yes
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GTX 660M/PCIe/SSE2
OpenGL core profile version string: 4.2.0 NVIDIA 304.123
OpenGL core profile shading language version string: 4.20 NVIDIA via Cg compiler
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.2.0 NVIDIA 304.123
OpenGL shading language version string: 4.20 NVIDIA via Cg compiler
OpenGL context flags: (none)
OpenGL profile mask: (none)
OpenGL extensions:

: 09 listopada 2014, 11:55
autor: mike26
Dodaj ten wpis.

: 09 listopada 2014, 12:51
autor: LiquidPL
Dodałem, nadal nie działa. (rozumiem, że masz na myśli to /etc/environment)

//EDIT: Solved, rozwiązanie na górze.