The step of replacing the closed source driver with the Open-source drive of AMD graphics card in Gentoo

Source: Internet
Author: User

It has long been said that open source drives are now good, and try to switch the system's closed-source drive (Fglrx) to open source drive.

First, uninstall the closed-source driver: Emerge-c x11-drivers/ati-drivers, because now the xorg.conf is generated by ATI command, first kill.

Then, in the video_cards environment variable in make.conf, the original Fglrx is changed to Radeon, emerge Xorg-server and libdrm.

In order to open KMS, you need to reset the kernel, which can refer to the official documentation. Note that to remove the original framebuffer driver (Device drivers->graphics support->support All drivers in the for frame buffer devices), Then device drivers->graphics support->direct Rendering Manager and the ATI Radeon and enable modesetting on Radeon under it Default two subkeys are compiled into the kernel (start enable modesetting on Radeon by default is the child of the ATI Radeon). A particularly important point for Radeon is to compile the firmware into the kernel. First make sure that the X11-drivers/radeon-ucode package is installed, and then in the kernel, Device drivers->generic Driver options, select include In-kernel firmware BLOBs in kernel binary, and in the firmware blobs of the following external kernel binary to build into the radeon/r600_rlc.bin. Bin (My video card is HD 3400 Series), fill in/lib/firmware in firmware BLOBs root directory, and then recompile the kernel.

After recompiling, installing the kernel, it is to edit the grub.cfg file, remove the original INITRD used for Splash, and use the new kernel directly.

Reboot, you can see in the character interface that the 1280x800 resolution has been automatically used. However, after entering KDE, the graphics interface is very card, KDE also because of slow speed automatically shut down the hybrid effect. Later found that the mesa did not emerge, reinstall the Mesa and then re-enter, the original KWin effect can still be used, accomplished.

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.