ºìÁªLinuxÃÅ»§
Linux°ïÖú

win7ϵͳװubuntu˫ϵͳºÚÆÁ½â¾ö°ì·¨

·¢²¼Ê±¼ä:2015-10-14 15:53:21À´Ô´:blog.csdn.net/u013940159×÷Õß:micstoneya

Èç¹ûÄã×öǶÈëʽ¿ª·¢£¬ºÜ¿ÉÄÜÐèҪװ˫ϵͳ£¬ubuntu¾ÍÊÇÒ»¸öºÜ²»´íµÄÑ¡Ôñ£¡

´ó¼Ò°´ÕÕÍøÉϵĽ̴̳ÓÓ²ÅÌ°²×°£¬µ«ÊÇÖØÆôµçÄÔµÄʱºò»á³öÏÖºÚÆÁ£¬²»Òª½ô£¬µ÷½ÚÄãµçÄÔµÄÁÁ¶È¼ü£¬»á·¢ÏÖÌáʾ´íÎó¡£´óÒâÊÇubuntu²»Ö§³ÖË«ÏÔ¿¨¡£


ÓÐÁ½ÖÖ½â¾ö°ì·¨£º


·½·¨1£º½øÈëbios£¬½«Ë«ÏÔ¿¨Çл»³Éµ¥ÏÔ¿¨£¬ÒòΪÏÖÔںܶàµçÄÔµÄÏÔ¿¨ÊÇË«ÏÔ¿¨£¬ubuntu²¢²»Ö§³ÖË«ÏÔ¿¨¡£ÎÒÊÇÓÃÕâÖÖ·½·¨½â¾öµÄ£¬ºÜ¼òµ¥£¬ÔõôÇл»£¬×Ô¼ºÉÏÍøËÑ£¡


·½·¨2£º±È½ÏÂé·³¡£²Î¿¼ÏÂÃæÎÄÕ£º
ubuntu12.04 N¿¨Ë«ÏÔ¿¨½â¾ö·½°¸
Ò»Ö±ºÜϲ»¶ubuntu£¬´Óubuntu9.10Ò»Ö±Óõ½ÏÖÔÚµÄ12.04£¬µ«ÊÇÏÖÔڱʼDZ¾µÄÅäÖÃÈç¹ûÊÇintelµÄiϵÁеÄcpu×Ô´øÁ˺ËÐÄÏÔ¿¨£¬¼ÓÉ϶ÀÏÔ¾ÍÊÇË«ÏÔ¿¨¡£
µ±ÄãÃÀ×Ì×̵Ä×°ºÃÁËubuntuÖ®ºó£¬Ï°¹ßÐÔµÄÓÃ×Ô´øµÄÇý¶¯¼ì²â¹¤¾ß¸ø×°ÉÏÏÔ¿¨Çý¶¯£¬ÒÔΪ´ó¹¦¸æ³ÉµÄʱºò£¬¿ÏµøµÄÊÂÇéÀ´ÁË£¬µ±ÄãÖØÆôÄã»á·¢ÏÖ£¬ºÚÆÁ£¡Ä¾ÓÐ´í£¬Äã½ø²»È¥X×ÀÃæÁË£¬Õâ¾ÍÊÇË«ÏÔ¿¨µÄ±¯¾ç£¬Õ¦°ìÄ󣿾ÍÕâÑù·ÅÆúô£¬Ö×ô¿ÉÄÜ£¬ÓÃlinux¾Í±ØÐÞ¾­µÃÆðÕÛÌÚ£¬ÓÚÊÇÉÏÍø¿ñÕÒ×ÊÁÏ£¬·¢ÏÖÒ»¸öµÚÈý·½µÄÍæÒâòËÆ¿ÉÒÔ½â¾ö£¬½ÐBumblebee(´ó»Æ·ä) £¬NvidiaµÄË«ÏÔ¿¨Çл»½ÐOptimus£¨ÇæÌìÖù£©£¬»¹ÓÐÒ»¸öË«ÏÔ¿¨Çл»µÄÈí¼þironhide£¨ÌúƤ£©¡£´ó»Æ·äÊÇΨһÍêÃÀ½â¾öµÄ £¬·Ï»°²»³¶£¬ÈëÕýÌâ¡£

µÚÒ»²½£º°²×°ÎÒÃǵÄÖ÷½ÇBumblebee(´ó»Æ·ä)
sudo add-apt-repository ppa:bumblebee/stable
sudo apt-get update
sudo apt-get install bumblebee bumblebee-nvidia
sudo reboot

ps: Bumblebee3 ÒѾ­·Ç³£ÍêÉÆ£¬°ÑËùÓеĶ«Î÷¶¼ÅäÖúÃÁË

µÚ¶þ²½£º²é¿´ÏÔ¿¨¹¤×÷״̬
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 GF108 [GeForce GT 540M] (rev ff)

¶ÀÏÔµÄ״̬Ϊrev ff ¼´Îª¹Ø±Õ״̬£¬OK ´ó¹¦¸æ³É£¡
ÏÂÃæ·Ç±ØÐ裬ҲÐíҪװÍØÕ¹²ÅÄÜÔËÐÐÏÂÃæµÄÃüÁî
´ò¿ªN¿¨ÉèÖÃ
optirun nvidia-settings -c :8

ϱßÁ½¸öÃüÁî¿ÉÒԶԱȿª¶ÀÏÔ¸ú²»¿ª¶ÀÏÔµÄÐÔÄܲî¾à
glxgears             // Ö±½ÓÔËÐÐ

optirun glxgears     //ʹÓöÀÏÔÔËÐÐ

Ps£ºoptirun XXX  ¾ÍÊǵ÷ÓöÀÏԵĹؼüÁË£¬Õâ¸ö¾ÍÊÇÖ¸Ã÷ÓöÀÁ¢ÏÔ¿¨´ò¿ªÖ¸¶¨µÄxxx³ÌÐò

gammaÖµºÍÁÁ¶È£º
xgamma -gamma .7    //µ÷½ÚgammaֵΪ0.7¡£ÏêϸµÄÇëman xgamma

Õâ¸öʱºòÄã»á·¢ÏÖÄãµÄÁÁ¶È£¬ÓÃFnÊDz»Äܵ÷½ÚµÄ£¨ÊÇ·ñ¾õµÃ·Ç³£µ°ÌÛÄ󣩡£ÒòΪfnµ÷½ÚµÄÊÇ/sys/class/backlight/acpi_video0/brightnessÎļþ£¬¶øI¿¨µÄÎļþÊÇ/sys/class/backlight/intel_backlight/brightness¡£
½â¾ö·½·¨£º
sudo su
echo 500 > /sys/class/backlight/intel_backlight/brightness

ÁíÍâÔÚÄÚºËÆô¶¯kernelºóÃæ¼Ó
acpi_backlight=vendor

Ps:ÄÚºËÆô¶¯ÔÚÄÄÄó£¿
grub2֮ǰµÄÎļþÊÇÔÚ£º cat /boot/grub/menu.lst |grep acpi_backlight  ÔÚÄں˺ó±ß¼ÓÉϼ´¿É  ÈçÏ£º
kernel /vmlinuz-linux-ck root=/dev/disk/by-uuid/4b415fd1-9e54-40da-8d0c-d95a9be11fd3 ro elevator=bfq acpi_backlight=vendor vga=773

grub2µÄÅäÖÃÎļþÔÚ/etc/default/grubÀÓÃsudo gedit /etc/default/grub  ´ò¿ªÅäÖÃÎļþ£¬ÕÒµ½GRUB_CMDLINE_LINUX=""ÕâÒ»ÐÐÐ޸ijÉGRUB_CMDLINE_LINUX="acpi_backlight=vendor"±£´æÖØÆô¾ÍOKÁË
ÁíÍâ°ÑgammaºÍÁÁ¶ÈдÈë/etc/rc.local¾ÍÄÜ¿ª»ú×Ô¶¯É趨ÁË£¬Ö¸ÁîÈçÏ£º
echo 'echo 500 > /sys/class/backlight/intel_backlight/brightness' >> /etc/rc.local

Ps£ºÈç¹ûÄãÒѾ­´æÔÚ/etc/X11/xorg.conf»òÕß×Ô¼ºÉú³ÉÁË£¬Çëɾ³ýxµÄÅäÖÃÎļþ
sudo rm /etc/X11/xorg.conf


Sony cwϵÁбʼDZ¾°²×°UbuntuºÚÆÁÎÊÌâ½â¾ö·½·¨£ºhttp://www.linuxdiyf.com/linux/11544.html

IBM Thinkpad X40°²×°UbuntuºÚÆÁ½â¾ö°ì·¨£ºhttp://www.linuxdiyf.com/linux/10870.html

VirtualBox°²×°MeeGoϵͳºÚÆÁÎÊÌâ´¦Àí£ºhttp://www.linuxdiyf.com/linux/11075.html

ÓÃUÅÌÆô¶¯ÅÌÖØװϵͳÆô¶¯Ê±ºÚÆÁ£ºhttp://www.linuxdiyf.com/linux/12809.html

Ubuntu 14.04Éý¼¶Äں˺óÖØÆô¿ª»úºÚÆÁ½â¾ö£ºhttp://www.linuxdiyf.com/linux/2600.html