Install the Intel integrated GMAHD4000 driver on the FreeBSD system

Source: Internet
Author: User

Intel does not provide good support for FB graphics cards. Compared with Nvidia, there are many graphics card drivers that can be directly installed. The basic configuration of Lenovo V480C model 20159 is as follows:

CPU: i3-311M, 2.4 GHz, 2-Core 4 thread

Memory: 4 GB, DDR3, 1600 MHz

Hard drive: Western Digital WDCWD5000BPVT-08HXZT3 ada0 465 GBATA

Graphics card: independent graphics card NVIDIA GeForce GT630M

Integrated graphics card Intel GMAHD4000

Optical Drive: Hitachi-LG

Sound Card: Raytheon ALC269 @ Intel Panther Point High Definition

NIC: Referer RTL8168F PCI-E Gigabit Ethernet NIC

Wireless Network Adapter: Intel Centrino Wireless-N 2230BGN

Battery: SMP 45n00005-2079 lithium battery

Motherboard: Intel IvyBridge-HMTT Express

FreeBSD-9.2 Release version installed on the operating system. The above hardware is mainly because the video card and wireless network card support is not good enough, the rest can be used normally.

We plan to use Nvidia's graphics card, but we found that we either use an integrated graphics card or switch the OS When configuring the BIOS.

The configuration process is described as follows:

1. Configure [FILE]/etc/make. conf [/FILE]: To support Intel graphics cards

WITH_NEW_XORG="YES"WITH_KMS="YES"

2. Download the attachment mesalib-8.0.5.tar.bz2.

The MesaLib-8.0.5.tar.bz2 is applied when you upgrade libGL and libGLU in step 1.

3. Rebuild the corresponding Port in the following order,

A) Upgrade libdrm: portmaster libdrm

B) upgrade libGL: portmaster libGL # After the installation is completed, you can see that your colleague has installed libGLU.

C) upgrade libGLU: you do not need to perform this operation if you have completed the previous step at the same time.

D) upgrade dri: portmaster dri

E) upgrade xf86-video-intel: portmaster xf86-video-intel # installation prompt reality has been upgraded xorg-server

F) upgrade xorg-server: If the upgrade is not prompted in the previous step, configure portmaster xorg-server.

Note: When libglis installed, you cannot find the file mesalib-8.0.5.tar.bz2. You need to download the file and place it in the folder/usr/ports/distfiles.

4. Xorg-configure generates the xorg. conf. new file, and a black screen may appear. Do not worry about restarting with ctrl + alt + del.

5. configuration FILE [FILE]/etc/X11/xorg. conf [/FILE]

For a wide screen, view/var/log/Xorg.0.log to configure ModeLine. For more information, see Xorg configuration.

6. In my/etc/X11/xorg. conf file, you can refer

Note: Modeline searches/Var/log/Xorg.0.log read

7. From Xorg 7.4, you can use HAL to automatically detect the keyboard and mouse. Ports sysutils/hal and devel/packages will be installed into the system as the packages on which x11/xorg depends. You must enable the following in the/etc/rc. conf file:

hald_enable="YES"  dbus_enable="YES" 

8. GNOME needs to be mounted/Proc file system can operate normally. Add the following

proc /proc procfs rw 0 0
To/Etc/fstab to automatically mount procfs when the system starts 

9. You can also configure. Xinitrc file to start. If you already have a custom. Xinitrc, change the line that starts the current window manager to start/usr/local/bin/gnome-session. If not, simply:

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

10. After Reboot, you can access the X interface through startx or gmtr. If you are not lucky enough, neither the mouse nor the keyboard can be used. In this case, you need to update the mouse key driver.

portmaster xf86-input-mouseportmaster xf86-input-keyboard
8. If you are lucky enough, you can run the X interface normally. 

Happy New Year !!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.