[ 已解决 ]Bumblebee 有点奇怪的问题

先看我废话一下,情况是这样的,bumblebee 装好后重启完成后,lspci 看到独显是关关了,证明 bumblebee 可以运行了,但是 primusrun glxinfo | grep render 一下,发现独显没有运行(没有完全禁用独显只是用了 primusrun),所以看了一下 Xlog,结果看到了没 有找到 nvidia 驱动,0.0, 还有 KMS 开机没有启动(lsmod 了一下 drm 都有启动了),然后我又找了下 NVIDIA 的包,发现 x11-video-nvidia 没有装上去,于是想装一下,结果发现 x11-video-nvidiaG03 和 x11-video-nvidia 2 选 1。到底要留谁?还有就是 primusrun 过后,看显卡状态,独显的确是启动了,风扇转速也可以说明是启动了,但是程序关了后,独显状态是过了 10 多分钟才关,但风扇早就变成低转速了。
刚在 Arch 转过来 openSUSE, 发现 openSUSE 还不错~只是有些因为版权问题的包没有会比较蛋痛。。。。。。。。
好了,各大神看下,怎么解决,先谢过了啊~

openSUSE:/home/eveblue # lspci |grep VGA
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
01:00.0 VGA compatible controller: NVIDIA Corporation GF119M [GeForce GT 520M] (rev ff)


eveblue@openSUSE:~> glxinfo | grep render
direct rendering: Yes
OpenGL renderer string: Mesa DRI Intel(R) Sandybridge Mobile 
    GL_NV_conditional_render, GL_NV_depth_clamp, GL_NV_packed_depth_stencil, 
    GL_NV_conditional_render, GL_NV_depth_clamp, GL_NV_light_max_exponent, 
eveblue@openSUSE:~> primusrun glxinfo | grep render
direct rendering: Yes
OpenGL renderer string: Mesa DRI Intel(R) Sandybridge Mobile 
    GL_NV_conditional_render, GL_NV_depth_clamp, GL_NV_packed_depth_stencil, 
    GL_NV_conditional_render, GL_NV_depth_clamp, GL_NV_light_max_exponent, 

    
openSUSE:/home/eveblue # cat /var/log/Xorg.0.log |grep EE
    17.287] Current Operating System: Linux openSUSE.Linux 3.11.10-7-desktop #1 SMP PREEMPT Mon Feb 3 09:41:24 UTC 2014 (750023e) x86_64
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    19.379] Initializing built-in extension MIT-SCREEN-SAVER
    20.050] (EE) Failed to load module "nv" (module does not exist, 0)
    20.067] (EE) [drm] KMS not enabled


openSUSE:/home/eveblue # lsmod |grep kms
drm_kms_helper         52710  1 i915
drm                   313440  5 i915,drm_kms_helper



openSUSE:/home/eveblue # cat /var/log/Xorg.8.log |grep EE
  1409.018] Current Operating System: Linux openSUSE.Linux 3.11.10-7-desktop #1 SMP PREEMPT Mon Feb 3 09:41:24 UTC 2014 (750023e) x86_64
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
  1409.038] Initializing built-in extension MIT-SCREEN-SAVER
  1409.169] (EE) NVIDIA(0): Failed to initialize the GLX module; please check in your X
  1409.169] (EE) NVIDIA(0):     log file that the GLX module has been loaded in your X
  1409.169] (EE) NVIDIA(0):     server, and that the module is the NVIDIA GLX module.  If
  1409.169] (EE) NVIDIA(0):     you continue to encounter problems, Please try
  1409.169] (EE) NVIDIA(0):     reinstalling the NVIDIA driver.
  1412.801] (EE) Server terminated successfully (0). Closing log file.


openSUSE:/home/eveblue # zypper search nvidia
正在加载软件源数据...
正在读取已安装的软件包...

S | 名称                      | 摘要                                                                            | 类型    
--+---------------------------+---------------------------------------------------------------------------------+---------
  | conky-feature-nvidia      | Pseudo Package for conky with nVidia Support                                    | 软件包  
i | dkms-nvidia               | Installer for the graphics driver kernel module for GeForce 6xxx and newer GPUs | 软件包  
  | dkms-nvidia               | Installer for the graphics driver kernel module for GeForce 6xxx and newer GPUs | 源代码包
  | nvidia-bumblebee          | Installer for the proprietary graphics driver for GeForce 6xxx and newer GPUs   | 软件包  
  | nvidia-bumblebee          | Installer for the proprietary graphics driver for GeForce 6xxx and newer GPUs   | 源代码包
  | nvidia-bumblebee-32bit    | Installer for the proprietary graphics driver for GeForce 6xxx and newer GPUs   | 软件包  
  | nvidia-computeG02         | NVIDIA driver for computing with GPGPU                                          | 软件包  
i | nvidia-computeG03         | NVIDIA driver for computing with GPGPU                                          | 软件包  
  | nvidia-gfxG01-kmp-default | NVIDIA graphics driver kernel module for GeForceFX GPUs                         | 软件包  
  | nvidia-gfxG01-kmp-desktop | NVIDIA graphics driver kernel module for GeForceFX GPUs                         | 软件包  
  | nvidia-gfxG01-kmp-pae     | NVIDIA graphics driver kernel module for GeForceFX GPUs                         | 软件包  
  | nvidia-gfxG02-kmp-default | NVIDIA graphics driver kernel module for GeForce 6xxx and newer GPUs            | 软件包  
  | nvidia-gfxG02-kmp-desktop | NVIDIA graphics driver kernel module for GeForce 6xxx and newer GPUs            | 软件包  
  | nvidia-gfxG02-kmp-pae     | NVIDIA graphics driver kernel module for GeForce 6xxx and newer GPUs            | 软件包  
  | nvidia-gfxG03-kmp-default | NVIDIA graphics driver kernel module for GeForce 8xxx and newer GPUs            | 软件包  
i | nvidia-gfxG03-kmp-desktop | NVIDIA graphics driver kernel module for GeForce 8xxx and newer GPUs            | 软件包  
  | nvidia-gfxG03-kmp-pae     | NVIDIA graphics driver kernel module for GeForce 8xxx and newer GPUs            | 软件包  
i | nvidia-glG03              | NVIDIA GL libraries for OpenGL acceleration                                     | 软件包  
  | nvidia-texture-tools      | NVIDIA Texture Tools                                                            | 软件包  
  | x11-video-nvidia          | Installer for the proprietary graphics driver for GeForce 6xxx and newer GPUs   | 软件包  
  | x11-video-nvidia          | Installer for the proprietary graphics driver for GeForce 6xxx and newer GPUs   | 源代码包
i | x11-video-nvidia-32bit    | Installer for the proprietary graphics driver for GeForce 6xxx and newer GPUs   | 软件包  
  | x11-video-nvidiaG01       | NVIDIA graphics driver for GeForceFX GPUs                                       | 软件包  
  | x11-video-nvidiaG02       | NVIDIA graphics driver for GeForce 6xxx and newer GPUs                          | 软件包  
i | x11-video-nvidiaG03       | NVIDIA graphics driver for GeForce 8xxx and newer GPUs                          | 软件包

更新下
在 /etc/X11/xorg.conf.d/ 新建 20-intel.conf 重启后,屏幕可以调亮度了,但是再 lspci 一下,独显开机没有自动关,primusrun steam ,然后关了 steam 再 lspci 一下,但发现 bumblebee 并没有发挥作用。相反,我 optirun steam 然后再关的话,bumblebee 是生效了,开 steam 的时候风扇转速加快了,关了就转速慢回来,再 lspci 一下,独显也关了。。。。哎,很困惑。。

把 bumblebee,卸载了,重新安装一次,问题基本解决,显卡切换正常了,只是运行独显会提示没找到 glx,后来看了下 libglx.so, 是 ln 出来的,是在在那里,ln 的路径也没有错,不知道怎么就是读不了。。。。。。。后来直接 cp 了一个过去,重启,that it~ 都 OK 了~~bumblebee 完成正常了~~哎