bumblebee: Failed to initiate mode change
Добавлено: 29 авг 2017, 09:13
Помогите разобраться, который день бьюсь!
Не могу настроить гибридную графику!
bumblebee.conf
Xorg.conf.nvidia
Xorg.8.log
Заранее спасибо!!!
Не могу настроить гибридную графику!
Код: Выделить всё
lspci | egrep 'VGA|3D'
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
01:00.0 3D controller: NVIDIA Corporation GF117M [GeForce 610M/710M/810M/820M / GT 620M/625M/630M/720M] (rev a1)
Код: Выделить всё
# 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
# Xorg binary to run
XorgBinary=/usr/lib/xorg/Xorg
## 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-340
PMMethod=auto
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia-340:/usr/lib32/nvidia-340
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia-340/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
Код: Выделить всё
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
Код: Выделить всё
[ 22.391]
X.Org X Server 1.18.4
Release Date: 2016-07-19
[ 22.391] X Protocol Version 11, Revision 0
[ 22.391] Build Operating System: Linux 4.4.0-83-generic x86_64 Ubuntu
[ 22.391] Current Operating System: Linux sheriff-Lenovo-G580 4.12.9-041209-generic #201708242344 SMP Fri Aug 25 03:47:24 UTC 2017 x86_64
[ 22.391] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.12.9-041209-generic root=UUID=0a759c3a-b3a6-4cf1-b6d8-59a4a3d83d6b ro nogpumanager apci_osi=! acpi_osi=Windows2009 quiet rcutree.rcu_idle_gp_delay=1 splash vt.handoff=7
[ 22.391] Build Date: 17 July 2017 05:05:12PM
[ 22.391] xorg-server 2:1.18.4-0ubuntu0.3 (For technical support please see http://www.ubuntu.com/support)
[ 22.391] Current version of pixman: 0.33.6
[ 22.391] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 22.391] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 22.391] (==) Log file: "/var/log/Xorg.8.log", Time: Tue Aug 29 01:25:10 2017
[ 22.391] (++) Using config file: "/etc/bumblebee/xorg.conf.nvidia"
[ 22.391] (++) Using config directory: "/etc/bumblebee/xorg.conf.d"
[ 22.391] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 22.392] (==) ServerLayout "Layout0"
[ 22.392] (==) No screen section available. Using defaults.
[ 22.392] (**) |-->Screen "Default Screen Section" (0)
[ 22.392] (**) | |-->Monitor "<default monitor>"
[ 22.393] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[ 22.393] (**) | |-->Device "DiscreteNvidia"
[ 22.393] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 22.393] (**) Option "AutoAddDevices" "false"
[ 22.393] (**) Option "AutoAddGPU" "false"
[ 22.393] (**) Not automatically adding devices
[ 22.393] (==) Automatically enabling devices
[ 22.393] (**) Not automatically adding GPU devices
[ 22.393] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 22.393] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 22.393] Entry deleted from font path.
[ 22.393] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[ 22.393] Entry deleted from font path.
[ 22.393] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[ 22.393] Entry deleted from font path.
[ 22.393] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[ 22.393] Entry deleted from font path.
[ 22.393] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[ 22.393] Entry deleted from font path.
[ 22.393] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/Type1,
built-ins
[ 22.393] (++) ModulePath set to "/usr/lib/nvidia-340/xorg,/usr/lib/xorg/modules"
[ 22.393] (==) |-->Input Device "<default pointer>"
[ 22.393] (==) |-->Input Device "<default keyboard>"
[ 22.393] (==) The core pointer device wasn't specified explicitly in the layout.
Using the default mouse configuration.
[ 22.393] (==) The core keyboard device wasn't specified explicitly in the layout.
Using the default keyboard configuration.
[ 22.393] (II) Loader magic: 0x556e8b74fdc0
[ 22.393] (II) Module ABI versions:
[ 22.393] X.Org ANSI C Emulation: 0.4
[ 22.393] X.Org Video Driver: 20.0
[ 22.393] X.Org XInput driver : 22.1
[ 22.393] X.Org Server Extension : 9.0
[ 22.394] (--) using VT number 7
[ 22.394] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[ 22.394] (II) xfree86: Adding drm device (/dev/dri/card1)
[ 22.395] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 22.395] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
[ 22.395] (II) config/udev: Ignoring already known drm device (/dev/dri/card0)
[ 22.396] (--) PCI:*(0:1:0:0) 10de:1140:17aa:3983 rev 161, Mem @ 0xf2000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @ 0x00003000/128
[ 22.396] (WW) "glamoregl" will not be loaded unless you've specified it to be loaded elsewhere.
[ 22.396] (II) "glx" will be loaded by default.
[ 22.396] (II) LoadModule: "glx"
[ 22.397] (II) Loading /usr/lib/nvidia-340/xorg/libglx.so
[ 22.517] (II) Module glx: vendor="NVIDIA Corporation"
[ 22.517] compiled for 4.0.2, module version = 1.0.0
[ 22.517] Module class: X.Org Server Extension
[ 22.517] (II) NVIDIA GLX Module 340.102 Mon Jan 16 12:37:38 PST 2017
[ 22.518] (II) LoadModule: "nvidia"
[ 22.518] (II) Loading /usr/lib/nvidia-340/xorg/nvidia_drv.so
[ 22.526] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 22.526] compiled for 4.0.2, module version = 1.0.0
[ 22.526] Module class: X.Org Video Driver
[ 22.527] (II) LoadModule: "mouse"
[ 22.527] (WW) Warning, couldn't open module mouse
[ 22.527] (II) UnloadModule: "mouse"
[ 22.527] (II) Unloading mouse
[ 22.527] (EE) Failed to load module "mouse" (module does not exist, 0)
[ 22.527] (II) LoadModule: "kbd"
[ 22.527] (WW) Warning, couldn't open module kbd
[ 22.527] (II) UnloadModule: "kbd"
[ 22.528] (II) Unloading kbd
[ 22.528] (EE) Failed to load module "kbd" (module does not exist, 0)
[ 22.528] (II) NVIDIA dlloader X Driver 340.102 Mon Jan 16 12:17:09 PST 2017
[ 22.528] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 22.529] (II) Loading sub module "fb"
[ 22.529] (II) LoadModule: "fb"
[ 22.529] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 22.530] (II) Module fb: vendor="X.Org Foundation"
[ 22.530] compiled for 1.18.4, module version = 1.0.0
[ 22.530] ABI class: X.Org ANSI C Emulation, version 0.4
[ 22.530] (WW) Unresolved symbol: fbGetGCPrivateKey
[ 22.530] (II) Loading sub module "wfb"
[ 22.530] (II) LoadModule: "wfb"
[ 22.531] (II) Loading /usr/lib/xorg/modules/libwfb.so
[ 22.532] (II) Module wfb: vendor="X.Org Foundation"
[ 22.532] compiled for 1.18.4, module version = 1.0.0
[ 22.532] ABI class: X.Org ANSI C Emulation, version 0.4
[ 22.532] (II) Loading sub module "ramdac"
[ 22.532] (II) LoadModule: "ramdac"
[ 22.532] (II) Module "ramdac" already built-in
[ 22.534] (II) NVIDIA(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
[ 22.534] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[ 22.534] (==) NVIDIA(0): RGB weight 888
[ 22.534] (==) NVIDIA(0): Default visual is TrueColor
[ 22.534] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[ 22.534] (**) NVIDIA(0): Option "NoLogo" "true"
[ 22.534] (**) NVIDIA(0): Option "ProbeAllGpus" "false"
[ 22.534] (**) NVIDIA(0): Option "UseEDID" "false"
[ 22.534] (**) NVIDIA(0): Option "UseDisplayDevice" "none"
[ 22.535] (**) NVIDIA(0): Enabling 2D acceleration
[ 22.535] (**) NVIDIA(0): Ignoring EDIDs
[ 22.535] (**) NVIDIA(0): Option "UseDisplayDevice" set to "none"; enabling NoScanout
[ 22.535] (**) NVIDIA(0): mode
[ 35.311] (II) NVIDIA(GPU-0): Found DRM driver nvidia-drm (20150116)
[ 35.312] (II) NVIDIA(0): NVIDIA GPU GeForce 610M (GF117) at PCI:1:0:0 (GPU-0)
[ 35.313] (--) NVIDIA(0): Memory: 1048576 kBytes
[ 35.313] (--) NVIDIA(0): VideoBIOS: 75.17.2e.00.04
[ 35.313] (II) NVIDIA(0): Detected PCI Express Link width: 8X
[ 35.313] (--) NVIDIA(0): Valid display device(s) on GeForce 610M at PCI:1:0:0
[ 35.313] (--) NVIDIA(0): none
[ 35.313] (II) NVIDIA(0): Validated MetaModes:
[ 35.313] (II) NVIDIA(0): "NULL"
[ 35.313] (II) NVIDIA(0): Virtual screen size determined to be 640 x 480
[ 35.313] (WW) NVIDIA(0): Unable to get display device for DPI computation.
[ 35.313] (==) NVIDIA(0): DPI set to (75, 75); computed from built-in default
[ 35.313] (--) Depth 24 pixmap format is 32 bpp
[ 35.313] (II) NVIDIA: Using 3072.00 MB of virtual memory for indirect memory
[ 35.313] (II) NVIDIA: access.
[ 61.354] (II) NVIDIA(0): Setting mode "NULL"
[ 61.354] (EE) NVIDIA(0): Failed to initiate mode change.
[ 61.354] (EE) NVIDIA(0): Failed to complete mode change
[ 81.606] (EE)
Fatal server error:
[ 81.606] (EE) NVIDIA: A GPU exception occurred during X server initialization(EE)
[ 81.606] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 81.606] (EE) Please also check the log file at "/var/log/Xorg.8.log" for additional information.
[ 81.606] (EE)
[ 81.606] (EE) Server terminated with error (1). Closing log file.