安裝完的 Ubuntu 14.04 桌面圖形介面反應很慢,降地顯示解析度會比較好一點,但是一樣很慢,還是先來看看我的 VGA 是哪一家的.
ben@benjr:~$ ........ 04:03.0 VGA compatible controller: Matrox Electronics Systems Ltd. MGA G200eW WPCM450 (rev 0a)
是 Matrox Electronics Systems Ltd. MGA G200eW
網路上查詢要設定 X11 但 X11 的設定檔放那裏?以前在 /etc/X11/xorg.conf ,但現在仔細看沒這一個檔,我們需要手動產生,執行 #Xorg -configure 就可以產生 xorg.conf 了!!!
ben@benjr:~$ sudo Xorg -configure [sudo] password for ben: X.Org X Server 1.15.1 Release Date: 2014-04-13 X Protocol Version 11, Revision 0 Build Operating System: Linux 3.2.0-37-generic x86_64 Ubuntu Current Operating System: Linux benjr 3.13.0-24-generic #47-Ubuntu SMP FrMay 2 23:30:00 UTC 2014 x86_64 Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.13.0-24-generic root=UUID=9b2707-26ae-4dcc-98a6-9706827cd952 ro quiet splash vt.handoff=7 Build Date: 16 April 2014 01:36:29PM xorg-server 2:1.15.1-0ubuntu2 (For technical support please see http://www.ubuu.com/support) Current version of pixman: 0.30.2 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/var/log/Xorg.0.log", Time: Tue May 6 14:23:18 2014 List of video drivers: qxl ati intel sisusb mga r128 radeon modesetting trident spiceqxl cirrus savage sis nouveau siliconmotion mach64 tdfx vmware openchrome s3 neomagic vesa fbdev (++) Using config file: "/home/ben/xorg.conf.new" (==) Using system config directory "/usr/share/X11/xorg.conf.d" Xorg detected your mouse at device /dev/input/mice. Please check your config if the mouse is still not operational, as by default Xorg tries to autodetect the protocol. Your xorg.conf file is /home/ben/xorg.conf.new To test the server, run 'X -config /home/ben/xorg.conf.new' (EE) Server terminated with error (2). Closing log file.
在 Xorg 指令執行後,家目錄會產生 xorg.conf 稍後我們再將檔案從 /home/ben/xorg.conf.new 複製到 /etc/X11 再進行編輯即可!
ben@benjr:~$ cp /home/ben/xorg.conf.new /etc/X11/xorg.conf
主要的設定參考了 xserver-xorg-video-mga 說明.
要注意的也只有
Section "Device" Identifier "Card0" Driver "mga" BusID "PCI:4:3:0" EndSection
我們來參考一下全部的內容
ben@benjr:~$ cd /etc/X11 ben@benjr:/etc/X11$ cat xorg.conf Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" EndSection Section "Files" ModulePath "/usr/lib/xorg/modules" FontPath "/usr/share/fonts/X11/misc" FontPath "/usr/share/fonts/X11/cyrillic" FontPath "/usr/share/fonts/X11/100dpi/:unscaled" FontPath "/usr/share/fonts/X11/75dpi/:unscaled" FontPath "/usr/share/fonts/X11/Type1" FontPath "/usr/share/fonts/X11/100dpi" FontPath "/usr/share/fonts/X11/75dpi" FontPath "built-ins" EndSection Section "Module" Load "glx" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/input/mice" Option "ZAxisMapping" "4 5 6 7" EndSection Section "Monitor" #DisplaySize 330 270 # mm Identifier "Monitor0" VendorName "LEN" ModelName "LEN L171" HorizSync 30.0 - 83.0 VertRefresh 55.0 - 76.0 Option "DPMS" EndSection Section "Device" Identifier "Card0" Driver "mga" BusID "PCI:4:3:0" EndSection Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" SubSection "Display" Viewport 0 0 Depth 1 EndSubSection SubSection "Display" Viewport 0 0 Depth 4 EndSubSection SubSection "Display" Viewport 0 0 Depth 8 EndSubSection SubSection "Display" Viewport 0 0 Depth 15 EndSubSection SubSection "Display" Viewport 0 0 Depth 16 EndSubSection SubSection "Display" Viewport 0 0 Depth 24 EndSubSection EndSection
將系統重開,冏 還是一樣慢! 是因為 Unity 的關係嗎??
解決方案
朋友 Danny 有找到解決方案,如下面連結
http://www.wikihow.com/Speed-Up-Unity-in-Ubuntu
在 Ubuntu 按 Ctrl+Alt + T 叫出 TERMINAL 然後編輯 .xprofile (圖形介面底下 啟始命令稿 initialization scripts,儲存在使用者的家目錄即可)
ben@benjr:~$ gedit .xprofile export UNITY_LOW_GFX_MODE=1
重開機即可.
不過手邊沒有機器可以試.有機會再試試看了.
沒有解決問題,試試搜尋本站其他內容
echo “export UNITY_LOW_GFX_MODE=1” > /root/.xprofile
reboot
感謝~~