歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> Gentoo 安裝之intel GMA顯卡篇

Gentoo 安裝之intel GMA顯卡篇

日期:2017/2/28 15:54:26   编辑:Linux教程

謂的GMA,是指'Graphic Media Accelerator',通俗地說就是intel的顯卡,這種顯卡普遍存在於intel的主板上,拖迅馳平台的福,它也是目前市場占有率最高的顯卡。

相關閱讀:

Gentoo 安裝之intel無線網卡篇 http://www.linuxidc.com/Linux/2012-03/56744.htm

Gentoo 安裝之intel Core2 CPU篇 http://www.linuxidc.com/Linux/2012-03/56745.htm

Gentoo 安裝之intel GMA顯卡篇 http://www.linuxidc.com/Linux/2012-03/56745.htm

幾乎所有的Xorg驅動都包含下面這些部分

  • 2D驅動: 這個是x11-drivers/xf86-video-intel的一部分.
  • 3D驅動: 這個驅動包括三個部分:
    • kernel: 這部份用來執行快速3D操作中(如內存I/0),它必須通過DRM驅動在內核空間中運行.
    • mesa:3D操作中硬件無法支持的部分都是由mesa驅動軟件實現的。因此mesa是必須有的.
    • xorg: xf86-video-intel驅動的第三個部分就是mesa和xorg之間的接口.
xf86-video-i810和xf86-video-intel
從2008年10月22日開始Gentoo已經將所有的ebuilds裡GMA驅動的名字轉換為xf86-video-intel.xf86-video-i810已經不再存在了。要更新到新版本只需要在/etc/make.conf裡把VIDEO_CARDS變量設置為 intel即可。

顯卡驅動的安裝

內核
Linux Kernel Configuration:
Device Drivers  --->
Graphics support --->
<*> /dev/agpgart (AGP Support) --->
<*> Intel 440LX/BX/GX, I8xx and E7x05 chipset support
<*> Direct Rendering Manager (XFree86 4.1.0 and higher DRI support) --->
<*> Intel 830M, 845G, 852GM, 855GM, 865G
< > i830 driver
<*> i915 driver

Xorg

把這一行加入你的/etc/make.conf來保證你只會為你的Xorg server安裝唯一的顯卡驅動 File: /etc/make.conf
VIDEO_CARDS="intel"
安裝 x11-base/xorg-x11 emerge xorg-x11或者運行下面的命令來更新你的系統
emerge -uDNva xorg-x11這個命令可能會升級一些額外的包以滿足新版本Xorg的依賴關系

編輯你的 /etc/X11/xorg.conf:
File: /etc/X11/xorg.conf
Section "Module"
...
Load "glx"
Load "dri"
...
EndSection

...

Section "Device"
...
Driver "intel"
...
EndSection

...

Section "DRI"
Mode 0666
EndSection

Copyright © Linux教程網 All Rights Reserved