ArchLinux under Intel + NVIDIA dual graphics 3D game configuration (Dota2@steam)

Source: Internet
Author: User

The afternoon played a few dota2 feeling fluent is very good, write something to record. Use ArchLinux in general will use search engines, so just say the need to pay attention to the place.

1. Steam comes with an OpenGL library that is outdated, and execution may complain about things like "Cannot find OpenGL GX", see archwiki"steam" entries, and remove several libraries from steam.

2. But after removing the libraries from steam you will need to install a new version of the library in the system, remove the 64-bit library (no one is using the 32-bit system), and see if there are any "lib32-mesa" and " lib32-mesa-libgl", Dual graphics Lib32 also need to install"lib32-intel-dri", do not ask why, not installed on the words will be very card,"primusrun"will quietly fail,"optirun"will prompt" Cannot find OpenGL entry point xxxx"something like that.

3. NVIDIA drivers need to install "nvidia" instead of "nouveau", installing "nvidia-utils" and "lib32-nvidia-utils" at the same time. Just "bumblebee" installation may be dependent on the conflict, see Archwiki "Bumblebee" entry, as if the same time to install "intel-dri", "xf86-video--intel", " Bumblebee"and"nvidia"to circumvent dependency conflicts.

4. "bumblebee" is used to switch between a single display to execute a program, but "startx" into the desktop environment or the use of Intel Core graphics card, so do not generate "xorg.conf", If you have any legal "xorg.conf" in your system, either under "/etc/x11" or in the home folder, delete it or change to a name that will not be detected, you may not be able to start X11. Of course bumblebee you also have to configure good, "optirun glxgears-info" see if there is no output "nvidia" word information, output is well-equipped.

5. Dota2 can not run with "optirun", install "primus" package, use "primusrun" to execute, of course, do not run DOTA2 under the virtual terminal, it is too bad. Steam Right-dota2,"properties" in "set Lunach options..." Fill in the "vblank_mode=0 primusrun%command%", of course, this is a global service, assuming that playing the perfect world agent of the National Service filled "vblank_mode=0 primusrun%command%-language Schinese- international-perfectworld".

6. Assuming that you previously used an open source driver, N-card driver switching from Nouveau to Nvidia requires a kernel image to be generated again, see "/etc/mkinitcpio.conf" Stare at all the Nouveau modules and "sudo mkinitcpio-p linux", after the restart "dmesg" information to see if there is "nouveau" and "nvidia" the words of the message, should be the former and the latter some.

7. This is not an important thing, because we are dual graphics cards, only to run 3D when the video card will be manually switched, usually with the Intel Core graphics card, so do not have to add "nomodeset" kernel parameters to disable KMS.

8. Again a not bug features, Steam installed DOTA2 running perfect agent of the National Service just started is not able to full screen, the upper left corner of the settings to find the video bar to change to "full screen" is good, once seemed to be "no what form" stuff, the game screen will be Xfce4 The panel is covered with a very sore egg.

Basically this, writing is mainly archwiki in vague or not mentioned and very important things, if you have this demand, it is best to take the following archwiki in the next entry: "steam","bumblebee","nvidia".

Here are the related packages I installed, assuming there is a problem to see if there is something missing.

------------------------------------------------------------~»pacman-qqs ' (Nvidia|intel|mesa) | Sort                [Email protected]bumblebeegluintel-driintel-tbblib32-glulib32-intel-drilib32-libtxc_ Dxtnlib32-libvdpaulib32-mesalib32-mesa-libgllib32-nvidia-utilslibcllibtxc_ Dxtnlibvdpaumesamesa-demosmesa-libglnvidianvidia-utilsxf86-video-intel--------------------------------------------------- ---------~»                                                         [email protected]

2014/10/4:archlinux Mesa Package Adjustment (Portal), all drivers are integrated into the Mesa-dri, a separate driver package such as Intel-dri has been removed (including the driver of the Multilib warehouse). So the package you need to install is Mesa-dri and Lib32-mesa-dri.


That's it, I wish you a happy ~


ArchLinux Intel + NVIDIA Dual graphics 3D game configuration ([email protected])

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.