日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 运维知识 > windows >内容正文

windows

将Intel集成显卡GMA HD4000驱动安装到FreeBSD-9.2系统

發布時間:2024/3/24 windows 33 豆豆
生活随笔 收集整理的這篇文章主要介紹了 将Intel集成显卡GMA HD4000驱动安装到FreeBSD-9.2系统 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

Intel對FB的顯卡支持不夠好,相比而言Nvidia有很多可以直接安裝的顯卡驅動。筆者的筆記本是聯想V480C 型號20159基本配置如下:

CPU:i3-311M,2.4GHz,2核4線程

內存:4GB,DDR3,1600MHz

硬盤:西數WDCWD5000BPVT-08HXZT3 ada0 465GBATA

顯卡:獨立顯卡NVIDIA GeForce GT630M

???????? 集成顯卡Intel GMAHD4000

光驅:日立-LG

聲卡:瑞昱ALC269@Intel Panther Point High Definition

網卡:瑞昱 RTL8168F PCI-E Gigabit Ethernet NIC

無線網卡:Intel Centrino Wireless-N 2230BGN

電池:SMP 45N1045-2079鋰電池

主板:Intel IvyBridge-HMTT Express

操作系統安裝的FreeBSD-9.2 Release版。上述硬件主要是顯卡與無線網卡支持度不夠好,其余的都可以正常使用。

???????? 本打算使用Nvidia的顯卡,但是在BIOS配置的時候發現要么使用集成顯卡要么操作系統自行切換。

????????

下面描述配置過程:

1、? 配置[FILE]/etc/make.conf[/FILE]:為了支持Intel顯卡

WITH_NEW_XORG="YES" WITH_KMS="YES"

2、? 下載附件MesaLib-8.0.5.tar.bz2。

MesaLib-8.0.5.tar.bz2應用于第3步升級libGL和libGLU的時候。

3、? 按照如下順序Rebuild相應的Port,

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的時候找不到文件MesaLib-8.0.5.tar.bz2,需要我們下載后放置到文件夾/usr/ports/distfiles中

4、Xorg -configure 生成xorg.conf.new文件,此時可能出現黑屏,不用擔心用 ctrl+alt+del重啟

5、 配置文件[FILE]/etc/X11/xorg.conf[/FILE]

如果是寬屏則要查看/var/log/Xorg.0.log以配置ModeLine,可閱讀Xorg配置


6、? 我的/etc/X11/xorg.conf下面這個樣子,您可以參考,在本文末尾。

注:Modeline 通過查找/var/log/Xorg.0.log讀取的



7、從 Xorg 7.4 開始, 可以使用 HAL 自動檢測鍵盤和鼠標。Ports sysutils/hal 和 devel/dbus 將被作為 x11/xorg 所依賴的包安裝進系統。 并且需要在 /etc/rc.conf 文件中啟用:

hald_enable="YES" dbus_enable="YES"

8、GNOME 需要掛載 /proc 文件系統才能正常運作。添加如下

proc /proc procfs rw 0 0到 /etc/fstab 以便在系統啟動時自動掛載 procfs

9、GNOME 也可以通過適當地配置名為 .xinitrc 的文件來啟動。 如果已經有了自定義的.xinitrc, 將啟動當前窗口管理器的那一行改為啟動/usr/local/bin/gnome-session 就可以了。 如果還沒有, 那么只需簡單地:

% echo "exec gnome-session" > ~/.xinitrc

10、? Reboot后,通過startx或者gdm都可以進入X界面,如果你不夠幸運那你的鼠標和鍵盤都不能使用,這時需要更新鼠鍵驅動,分別

portmaster xf86-input-mouseportmaster xf86-input-keyboard

8、如果你足夠幸運,此時X界面就可以正常運行了。


注:/etc/X11/xorg.confi內容:


Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" EndSection Section "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" EndSection Section "Module" Load "dbe" Load "dri" Load "dri2" Load "extmod" Load "record" Load "glx" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/sysmouse" Option "ZAxisMapping" "4 5 6 7" EndSection Section "Monitor" Identifier "Monitor0" VendorName "Monitor Vendor" ModelName "Monitor Model" ModeLine "1366x768" 69.3 1366 1398 1430 1470 768 771 776 786 Option "DPMS" EndSection Section "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" EndSection Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" SubSection "Display" Viewport 0 0 Depth 24 EndSubSection EndSection

朋友們新年快樂!!




總結

以上是生活随笔為你收集整理的将Intel集成显卡GMA HD4000驱动安装到FreeBSD-9.2系统的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。