Gentoo Linux openbox dual-GPU configuration (intel-nvidia)
System version: Gentoo 2.2 Kernel: Gentoo-sources 3.10.4 Configure the kernel Add the following line to /etc/portage/make.conf: VIDEO\_CARDS="nvidia intel" Conf
System version: Gentoo 2.2 Kernel: Gentoo-sources 3.10.4
- Configure the kernel
Add the following line to /etc/portage/make.conf:
VIDEO_CARDS="nvidia intel"
Configure only the Intel card in the kernel:
Device Drivers --->
Graphics support --->
- Install the required software
emerge -avt bumblebee
Add the required keywords and flags beforehand.
- Modify /etc/conf.d/vgl
Find the "XAUTHORITY" line, comment it out, and change it to:
XAUTHORITY=ps ww -C X,Xorg -o args= --sort=-stime | cut -d " " -f 6
- Add bumblebee to the system startup
rc-update add bumblebee default
- Test
glxspheres
If the discrete GPU is not enabled, the result is roughly 53M pixels per second.
/etc/init.d/bumblebee start # Start the bumblebee service
optirun glxspheres
At this point, with roughly 150M pixels per second, the test has succeeded.
- Usage
$ optirun *
评论Comments
加载中…Loading…
留下评论Leave a comment