我添加了/etc/apt/sources.list
deb http://ftp.tu-graz.ac.at/mirror/debian/ jessie main non-free contrib
deb-src http://ftp.tu-graz.ac.at/mirror/debian/ jessie main non-free contrib
deb http://ftp.tu-graz.ac.at/mirror/debian/ jessie-updates main contrib non-free
deb-src http://ftp.tu-graz.ac.at/mirror/debian/ jessie-updates main contrib non-free
后
apt-get update
apt-get install bumblebee bumblebee-nvidia primus
usermod -a -G bumblebee myuser
重新启动后
root@pc:/home/pc# lspci | grep -i VGA
00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 18)
01:00.0 VGA compatible controller: NVIDIA Corporation GT218M [GeForce 310M] (rev ff)
当我设置这个代码时
nvidia-settings
root@pc:/home/pc# nvidia-xconfig
bash: nvidia-xconfig: komut yok
root@pc:/home/pc#
root@pc:/home/pc# ls /etc/X11/
app-defaults X Xreset.d Xsession.options
default-display-manager xinit Xresources xsm
fonts xkb Xsession XvMCConfig
rgb.txt Xreset Xsession.d Xwrapper.config
root@pc:/home/pc#
root@pc:/home/pc# glxinfo | grep render
direct rendering: Yes
GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer,
GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer,
OpenGL renderer string: Mesa DRI Intel(R) Ironlake Mobile
GL_NV_blend_square, GL_NV_conditional_render, GL_NV_depth_clamp,
GL_OES_fbo_render_mipmap, GL_OES_get_program_binary, GL_OES_mapbuffer,
root@pc:/home/pc#
Screen 0: minimum 320 x 200, current 1366 x 768, maximum 8192 x 8192
LVDS1 connected primary 1366x768 0 0 (normal left inverted right x axis y axis) 293mm x 165mm
1366x768 60.03*
1360x768 59.80 59.96
1024x768 60.00
800x600 60.32 56.25
640x480 59.94
VGA1 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
DP1 disconnected (normal left inverted right x axis y axis)
答案1
看起来你需要启动 bumblebee 守护进程:
# systemctl start bumblebeed
这将启动守护程序,但如果重新启动,则需要再次启动守护程序。要解决此问题还可以运行:
# systemctl enable bumblebeed
这将告诉 systemd 始终在启动时启动守护进程
注意:这需要按照以下方式完成root