实测有效,教你在openSUSE 13.1中关了丫的n卡
linux吧
全部回复
仅看楼主
level 11
一楼喂3cm
2013年11月30日 16点11分 1
level 11
更新到 OpenSUSE 13.1 的同学们估计还在为bumblebee无法使用而蛋疼。这篇文章教你如何在OpenSUSE 13.1上使用bumblebee 关掉丫的n卡。
在 OpenSUSE 13.1 DELL 14tr-4528 上实测有效。
这篇文章参考了Opensuse wiki 上的文章:
smithfarm-thebrain.blogspot点cz/2013/10/opensuse-131-nvidia-optimus-bumblebee.html
更多疑问请访问: en.opensuse点org/SDB:NVIDIA_Bumblebee
2013年11月30日 16点11分 3
level 11
如果你现在正为进不去X而苦恼:
Upgrade to openSUSE 13.1 (using DVD) 升级到 openSUSE 13.1
Make sure Optimus is *enabled* in the laptop's BIOS setting
确保在BIOS中 Optimus选项是 enabled
Get rid of all NVIDIA-related packages: zypper se nvidia, zypper rm ...
移除那些NVIDIA相关的包,用zypper rm ...
Get rid of bumblebee, primus, dkms, dkms-nvidia, dkms-bbswitch
移除bumblebee啥的这些包
Get rid of all mentions of nvidia in /etc/sysconfig/kernel
大概意思是移除/etc/sysconfig/kernel 中的那些nvidia的选项吧
Get rid of Overman79 repository (and thank Overman79 for the good work!) -- rm /etc/zypp/repos.d/Overman79.repo; zypper ref
把那个源给删了
Make sure xf86-video-intel package is installed (zypper if xf86-video-intel)
确保intel显卡的相关驱动已经安装
mkinitrd 或许是一条命令
reboot and pray 重启,祈祷吧
2013年11月30日 16点11分 5
level 11
首先记录你的笔记本现在的耗电量:
zyyper in powertop
运行它,记录下耗电量,我的是28W,剩余时间是一个半小时。(必须在拔掉电源使用电池的时候才会显示耗电量和剩余时间)
2013年11月30日 16点11分 6
level 11
现在把自己添加到bumblebee相关的用户组里:
groupadd bumblebee
groupadd video
usermod -a -G bumblebee,video smithfarm
2013年11月30日 16点11分 7
level 11
安装依赖:
zypper in -t pattern kernel_devel
但是在我这里,这个包的名字是 devel_kernel ,不知道为何,如果有问题你们可以
zypper se kernel 看看。
然后添加源并刷新:
zypper ar http://download.opensuse.org/repositories/home:/Overman79:/Laptop/openSUSE_Factory/ Overman79
zypper ref
2013年11月30日 16点11分 8
level 11
如果你是从上个版本升级来的,你应该先移除之前安装的相关包:
zypper rm dkms-nvidia dkms-bbswitch
现在就可以安装bumblebee并使用它了:
zypper in dkms dkms-nvidia dkms-bbswitch bumblebee primus x11-video-nvidia
systemctl enable dkms
systemctl enable bumblebeed
2013年11月30日 16点11分 9
level 11
重启并祈祷这些东西有效吧。
2013年11月30日 16点11分 10
level 11
最后楼主的耗电量直接从28W降到了14W,给力。
2013年11月30日 16点11分 11
level 11
…没人用opensuse哇。
2013年11月30日 18点11分 12
level 12
suse系列的系统感觉软件包的数量少了些,而且许多配置比较都比较奇葩。
2013年11月30日 19点11分 13
比如说?
2013年12月01日 02点12分
不过确实是…有些软件包的名字奇葩。 GCC-c++, kernel-devel变成了devel-kernel。
2013年12月01日 02点12分
回复 James_Mackerel :suse的grub不识别fedora,而且很多包不在源里,比如eclipse,再者作为最稳定的kde发行版,kde的插件居然不全,ubuntu、fedora里都有的kde全局菜单插件menubar到了opensuse里居然就没了,作为一个全局菜单控这点不能忍。。。
2013年12月01日 05点12分
level 12

2013年11月30日 23点11分 14
祝不挂。
2013年12月01日 02点12分
@James_Mackerel 谢啦~
2013年12月01日 08点12分
level 11
[升起]竟然不能跑dota2了,唉,好难过。
2013年12月01日 03点12分 15
为何我的dota2进去后全屏红色……驱动都是最新的
2013年12月02日 04点12分
回复 zxzxzx258 : = = 我一直不能进。
2013年12月03日 10点12分
level 12
你在开玩笑......表示我OPENSUSE就一个N卡跑........[喷]我关掉N卡还跑毛.....当时听说双显卡蛋疼 然后果断配了一个N卡主机 早知道配A卡好了
2013年12月01日 08点12分 16
…就一个n卡那就跑n卡吧。[汗]
2013年12月02日 02点12分
level 1
等我的本本返修回来就试试……尼玛。修一个月鸟。
2013年12月06日 02点12分 17
level 10
台式机爬过
2013年12月06日 02点12分 18
1