Ubuntu 14.04 + Bumblebee, não é possível controlar o brilho e ter o Bumblebee funcionando ao mesmo tempo

3

Estou usando o Ubuntu 14.04 com um gpu GTX de 780m no meu laptop e usando drivers nvidia-331 com o bumblebee.

Não consegui controlar o brilho da minha tela, mas decidi seguir algumas dicas na internet e adicionei as seguintes linhas ao arquivo /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

Depois disso consegui controlar o brilho, tudo bem e elegante. O problema é que, depois disso, o zangão não funciona, por exemplo, tentar abrir o Steam usando primusrun dá essa mensagem:

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

Se eu tentar o vapor optirun, é o que aparece:

[ 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.

Olhando pela Internet, alguém apontou que, adicionando este código:

Section "Screen"

    Identifier "Default Screen"

    Device "DiscreteNvidia"

EndSection

Na cabeça do arquivo /etc/bumblebee/xorg.conf.nvidia funcionaria, mas não funcionava. Depois de aplicar essas modificações, quando tento primusrun steam , é o que recebo:

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

E vapor optirun :

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

Então, você tem alguma ideia de como posso ter o controle de brilho e o zangão funcionando?

Obrigado antecipadamente!

    
por Raphael Barros 25.09.2014 / 02:25

0 respostas