Ubuntu 14.04 + Bumblebee、明るさを制御しながらBumblebeeを同時に動作させることができない

Ubuntu 14.04 + Bumblebee、明るさを制御しながらBumblebeeを同時に動作させることができない

私は現在、ラップトップで GTX 780m GPU を搭載した Ubuntu 14.04 を実行しており、Bumblebee で nvidia-331 ドライバーを使用しています。

画面の明るさをコントロールできなかったのですが、インターネットのヒントを参考にして、ファイルに次の行を追加しました。/usr/share/X11/xorg.conf.d/20-intel.conf:

Section "Device"
    Identifier  "card0"
    Driver      "intel"
    Option      "Backlight"  "intel_backlight"
    BusID       "PCI:0:2:0"
EndSection

その後、明るさをうまくコントロールできるようになりました。問題は、その後、bumblebee が動作しなくなり、たとえば、primusrun を使用して Steam を開こうとすると、次のメッセージが表示されることです。

Running Steam on ubuntu 14.04 64-bit
STEAM_RUNTIME is enabled automatically
Installing breakpad exception handler for appid(steam)/version(1409240101_client)
primus: fatal: Bumblebee daemon reported: error: [XORG] (EE) Server terminated successfully (0). Closing log file.

[2014-09-24 21:08:10] Startup - updater built Aug 28 2014 03:23:49
Installing bootstrap /home/cabeca/.local/share/Steam/bootstrap.tar.xz
Reset complete!
Restarting Steam by request...
Running Steam on ubuntu 14.04 64-bit
STEAM_RUNTIME has been set by the user to: /home/cabeca/.local/share/Steam/ubuntu12_32/steam-runtime
Installing breakpad exception handler for appid(steam)/version(1409240101_client)
primus: fatal: Bumblebee daemon reported: error: [XORG] (EE) Server terminated successfully (0). Closing log file.

ILocalize::AddFile() failed to load file "public/steambootstrapper_english.txt".
[2014-09-24 21:08:15] Startup - updater built Aug 26 2014 15:35:42

optirun steam を試すと、次のように表示されます:

[ 6051.673074] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) Server terminated successfully (0). Closing log file.

[ 6051.673179] [ERROR]Aborting because fallback start is disabled.

インターネットで調べてみると、次のコードを追加すると、次のようになると指摘する人がいました。

Section "Screen"

    Identifier "Default Screen"

    Device "DiscreteNvidia"

EndSection

ファイルの先頭へ/etc/bumblebee/xorg.conf.nvidia動作するはずだったが、動作しなかった。この変更を適用した後、試してみるとプリムスラン スチーム、私はこう思います:

Running Steam on ubuntu 14.04 64-bit
STEAM_RUNTIME is enabled automatically
Installing breakpad exception handler for appid(steam)/version(1411443970)
libGL error: failed to load driver: swrast
libGL error: failed to load driver: swrast
Installing breakpad exception handler for appid(steam)/version(1411443970)
Installing breakpad exception handler for appid(steam)/version(1411443970)
Gtk-Message: Failed to load module "overlay-scrollbar"
Gtk-Message: Failed to load module "unity-gtk-module"

(steam:21527): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",

(steam:21527): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",
/usr/share/themes/Orchis/gtk-2.0/gtkrc:1137: error: unexpected identifier `direction', expected character `}'
Gtk-Message: Failed to load module "overlay-scrollbar"
Gtk-Message: Failed to load module "unity-gtk-module"

(steamwebhelper:21549): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",

(steamwebhelper:21549): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",
/usr/share/themes/Orchis/gtk-2.0/gtkrc:1137: error: unexpected identifier `direction', expected character `}'
Installing breakpad exception handler for appid(steamwebhelper)/version(20140922201705)
Installing breakpad exception handler for appid(steamwebhelper)/version(1411417025)
Installing breakpad exception handler for appid(steamwebhelper)/version(20140922201705)
Installing breakpad exception handler for appid(steamwebhelper)/version(1411417025)
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 78: saw unknown, expected number
[0924/211753:ERROR:nss_util.cc(1018)] Failed to load NSS libraries.
libGL error: failed to load driver: swrast
Installing breakpad exception handler for appid(steam)/version(1411443970)
Installing breakpad exception handler for appid(steam)/version(1411443970)
Installing breakpad exception handler for appid(steam)/version(1411443970)
Installing breakpad exception handler for appid(steam)/version(1411443970)
Installing breakpad exception handler for appid(steam)/version(1411443970)
[0924/211753:ERROR:renderer_main.cc(227)] Running without renderer sandbox
[0924/211753:ERROR:renderer_main.cc(227)] Running without renderer sandbox
libGL error: failed to load driver: swrast
primus: fatal: failed to acquire direct rendering context for display thread
Assert( Assertion Failed: Bad thread local ):/home/buildbot/buildslave_steam/steam_rel_client_ubuntu12_linux/build/src/tier0/threadtools.cpp:2671

Installing breakpad exception handler for appid(steam)/version(1411443970)
Uploading dump (out-of-process) [proxy '']
/tmp/dumps/assert_20140924211754_10.dmp
/home/buildbot/buildslave_steam/steam_rel_client_ubuntu12_linux/build/src/clientdll/../common/steamservice.cpp (54) : Assertion Failed: m_hServiceLib == NULL
Assert( Assertion Failed: m_hServiceLib == NULL ):/home/buildbot/buildslave_steam/steam_rel_client_ubuntu12_linux/build/src/clientdll/../common/steamservice.cpp:54

Installing breakpad exception handler for appid(steam)/version(1411443970)
Uploading dump (out-of-process) [proxy '']
/tmp/dumps/crash_20140924211754_12.dmp
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 78: saw unknown, expected number
Uploading dump (out-of-process) [proxy '']
/tmp/dumps/assert_20140924211751_1.dmp
/home/cabeca/.local/share/Steam/steam.sh: line 729: 21527 Segmentation fault      $STEAM_DEBUGGER "$STEAMROOT/$STEAMEXEPATH" "$@"
Requested Force create but SharedObjectMutex already created
Forced create but already created for SharedObjectEvent
Forced create but already created for SharedObjectEvent
Finished uploading minidump (out-of-process): success = yes
response: CrashID=bp-0337ce69-7d86-40c6-8e26-2dd562140924
Finished uploading minidump (out-of-process): success = yes
response: CrashID=bp-14f176ea-917c-45e7-914e-7e8292140924
Finished uploading minidump (out-of-process): success = yes
response: CrashID=bp-6464b83a-8099-41ff-9416-6bdb52140924

そしてオプティラン スチーム:

Running Steam on ubuntu 14.04 64-bit
STEAM_RUNTIME is enabled automatically
Installing breakpad exception handler for appid(steam)/version(1411443970)
libGL error: failed to load driver: swrast
libGL error: failed to load driver: swrast
Installing breakpad exception handler for appid(steam)/version(1411443970)
Installing breakpad exception handler for appid(steam)/version(1411443970)
Gtk-Message: Failed to load module "overlay-scrollbar"
Gtk-Message: Failed to load module "unity-gtk-module"

(steam:22013): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",

(steam:22013): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",
/usr/share/themes/Orchis/gtk-2.0/gtkrc:1137: error: unexpected identifier `direction', expected character `}'
Gtk-Message: Failed to load module "overlay-scrollbar"
Gtk-Message: Failed to load module "unity-gtk-module"

(steamwebhelper:22069): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",

(steamwebhelper:22069): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",
/usr/share/themes/Orchis/gtk-2.0/gtkrc:1137: error: unexpected identifier `direction', expected character `}'
Installing breakpad exception handler for appid(steamwebhelper)/version(20140922201705)
Installing breakpad exception handler for appid(steamwebhelper)/version(1411417025)
Installing breakpad exception handler for appid(steamwebhelper)/version(20140922201705)
Installing breakpad exception handler for appid(steamwebhelper)/version(1411417025)
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 78: saw unknown, expected number
[0924/212102:ERROR:nss_util.cc(1018)] Failed to load NSS libraries.
libGL error: failed to load driver: swrast
Installing breakpad exception handler for appid(steam)/version(1411443970)
Installing breakpad exception handler for appid(steam)/version(1411443970)
Installing breakpad exception handler for appid(steam)/version(1411443970)
Installing breakpad exception handler for appid(steam)/version(1411443970)
Installing breakpad exception handler for appid(steam)/version(1411443970)
[0924/212103:ERROR:renderer_main.cc(227)] Running without renderer sandbox
[0924/212103:ERROR:renderer_main.cc(227)] Running without renderer sandbox
libGL error: failed to load driver: swrast
primus: fatal: failed to acquire direct rendering context for display thread
Assert( Assertion Failed: Bad thread local ):/home/buildbot/buildslave_steam/steam_rel_client_ubuntu12_linux/build/src/tier0/threadtools.cpp:2671

Installing breakpad exception handler for appid(steam)/version(1411443970)
Uploading dump (out-of-process) [proxy '']
/tmp/dumps/assert_20140924212103_10.dmp
/home/buildbot/buildslave_steam/steam_rel_client_ubuntu12_linux/build/src/clientdll/../common/steamservice.cpp (54) : Assertion Failed: m_hServiceLib == NULL
Assert( Assertion Failed: m_hServiceLib == NULL ):/home/buildbot/buildslave_steam/steam_rel_client_ubuntu12_linux/build/src/clientdll/../common/steamservice.cpp:54

Installing breakpad exception handler for appid(steam)/version(1411443970)
Uploading dump (out-of-process) [proxy '']
/tmp/dumps/crash_20140924212104_12.dmp
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 78: saw unknown, expected number
Uploading dump (out-of-process) [proxy '']
/tmp/dumps/assert_20140924212100_1.dmp
/home/cabeca/.local/share/Steam/steam.sh: line 729: 22013 Segmentation fault      $STEAM_DEBUGGER "$STEAMROOT/$STEAMEXEPATH" "$@"
Requested Force create but SharedObjectMutex already created
Forced create but already created for SharedObjectEvent
Forced create but already created for SharedObjectEvent
Finished uploading minidump (out-of-process): success = yes
response: CrashID=bp-9d3792c9-ea19-470b-866f-3c1152140924
Finished uploading minidump (out-of-process): success = yes
response: CrashID=bp-c98bd198-6010-477d-84aa-017282140924
Finished uploading minidump (out-of-process): success = yes
response: CrashID=bp-d1f0996b-3068-4766-9534-e5ffe2140924

それで、明るさコントロールとバンブルビーの両方を動作させる方法について何かアイデアはありますか?

よろしくお願いします!

関連情報