将Intel集成显卡GMA HD4000驱动安装到FreeBSD-10.0Release系统
嘗鮮試用FreeBSD10.0 Release,發現安裝Intel集成顯卡時候跟FreeBSD9.0不同http://blog.csdn.net/cheviko/article/details/18909803,主要就是彈出錯誤:unknown type name GLDEBUGPROCARB。
過程如下:
1、通過portsnap升級ports trees,首次使用通過命令:portsnap fetch extract,否則可以使用命令portsnap update
2、依照http://blog.csdn.net/cheviko/article/details/18909803 rebulid 各個pkg,
a) 升級libdrm:portmaster libdrm
b)? 升級libGL:portmaster libGL ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?? #通過安裝完成的提示可以看出已經同事安裝了libGLU
c)? 升級libGLU:如果在上一步同時完成則不用操作,否則:portmaster libGLU
d)? 升級dri:portmaster dri
e)? 升級xf86-video-intel:portmaster xf86-video-intel???????????????????? #安裝提示現實已升級了xorg-server
f)?? 升級xorg-server:如果上一步沒有提示已升級則: portmaster xorg-server
但是升級libGL時發現跳出錯誤:unknown type name GLDEBUGPROCARB
解決方案:刪除the packages?graphics/dri?and?graphics/libGL
命令:
pkg delete -f dri pkg delete -f libGL 3、Xorg -configure 生成xorg.conf.new文件,此時可能出現黑屏,不用擔心用 ctrl+alt+del重啟4、配置文件[FILE]/etc/X11/xorg.conf[/FILE],我的筆記本是1366*768的寬屏設置,從?/var/log/Xorg.0.log?中讀取以下信息:
(II) MGA(0): Supported additional Video Mode: (II) MGA(0): clock: 69.3 MHz Image Size: 310 x 174 mm (II) MGA(0): h_active: 1366 h_sync: 1398 h_sync_end 1430 h_blank_end 1470 h_border: 0 (II) MGA(0): v_active: 768 v_sync: 771 v_sync_end 776 v_blanking: 786 v_border: 0
將按照ModeLine的格式配置:
ModeLine <name> <clock> <4 horiz. timings> <4 vert. timings>配置結果:
Section "Monitor"Identifier?? "Monitor0"VendorName?? "Monitor Vendor"ModelName??? "Monitor Model"ModeLine???? "1366x768" 69.3 1366 1398 1430 1470 768 771 776 786Option?????? "DPMS" EndSection
5、正常情況下您的鍵盤鼠標都無法使用,需要更新鍵盤鼠標驅動:
portmaster xf86-input-mouse portmaster xf86-input-keyboard
6、正常情況下,現在您可以正常使用嘍。
下一節描述如何使用MATE界面
我的/etc/X11/xorg.conf內容:
Section "ServerLayout"Identifier "X.org Configured"Screen 0 "Screen0" 0 0InputDevice "Mouse0" "CorePointer"InputDevice "Keyboard0" "CoreKeyboard" EndSectionSection "Files"ModulePath "/usr/local/lib/xorg/modules"FontPath "/usr/local/lib/X11/fonts/misc/"FontPath "/usr/local/lib/X11/fonts/TTF/"FontPath "/usr/local/lib/X11/fonts/OTF/"FontPath "/usr/local/lib/X11/fonts/Type1/"FontPath "/usr/local/lib/X11/fonts/100dpi/"FontPath "/usr/local/lib/X11/fonts/75dpi/"FontPath "/usr/local/lib/X11/fonts/wqy" EndSectionSection "Module"Load "dbe"Load "dri"Load "dri2"Load "extmod"Load "record"Load "glx" EndSectionSection "InputDevice"Identifier "Keyboard0"Driver "kbd" EndSectionSection "InputDevice"Identifier "Mouse0"Driver "mouse"Option "Protocol" "auto"Option "Device" "/dev/sysmouse"Option "ZAxisMapping" "4 5 6 7" EndSectionSection "Monitor"Identifier?? "Monitor0"VendorName?? "Monitor Vendor"ModelName??? "Monitor Model"ModeLine???? "1366x768" 69.3 1366 1398 1430 1470 768 771 776 786Option?????? "DPMS" EndSectionSection "Device"### Available Driver options are:-### Values: <i>: integer, <f>: float, <bool>: "True"/"False",### <string>: "String", <freq>: "<f> Hz/kHz/MHz",### <percent>: "<f>%"### [arg]: arg optional#Option???? "NoAccel"?????????????????? # [<bool>]#Option???? "AccelMethod"?????????????? # <str>#Option???? "Backlight"???????????????? # <str>#Option???? "DRI"?????????????????????? # <str>#Option???? "ColorKey"????????????????? # <i>#Option???? "VideoKey"????????????????? # <i>#Option???? "Tiling"??????????????????? # [<bool>]#Option???? "LinearFramebuffer"???????? # [<bool>]#Option???? "SwapbuffersWait"?????????? # [<bool>]#Option???? "TripleBuffer"????????????? # [<bool>]#Option???? "XvPreferOverlay"?????????? # [<bool>]#Option???? "HotPlug"?????????????????? # [<bool>]#Option???? "ReprobeOutputs"??????????? # [<bool>]#Option???? "XvMC"????????????????????? # [<bool>]#Option???? "ZaphodHeads"?????????????? # <str>#Option???? "TearFree"????????????????? # [<bool>]#Option???? "PerCrtcPixmaps"??????????? # [<bool>]#Option???? "FallbackDebug"???????????? # [<bool>]#Option???? "DebugFlushBatches"???????? # [<bool>]#Option???? "DebugFlushCaches"????????? # [<bool>]#Option???? "DebugWait"???????????????? # [<bool>]#Option???? "BufferCache"?????????????? # [<bool>]Identifier? "Card0"Driver????? "intel"BusID?????? "PCI:0:2:0" EndSectionSection "Screen"Identifier "Screen0"Device???? "Card0"Monitor??? "Monitor0"SubSection "Display"Viewport?? 0 0Depth???? 24EndSubSection EndSection
總結
以上是生活随笔為你收集整理的将Intel集成显卡GMA HD4000驱动安装到FreeBSD-10.0Release系统的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 零中频接收机频率转换图_测量 DC-DC
- 下一篇: DotA_Allstars_v6.61b