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

Source: Internet
Author: User

Stick in ask this ask that noon wake up good, afternoon played a few dota2 feeling fluent degree is very good, write something to record a bit. Use ArchLinux in general will use the search engine, so just say need to pay attention to the place.

1. Steam comes with an OpenGL library that is outdated and runs the possibility of complaining about things like "Cannot find OpenGL GX", looking at archwiki"steam" entries, and removing several libraries from steam.

2. But after removing those libraries that come with steam, you need to install a new version of the library in the system, remove the 64-bit library (no one is using a 32-bit system), and see if there are "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 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", while installing "nvidia-utils" and "lib32-nvidia-utils". However, "bumblebee" installation may be dependent on conflict, see Archwiki "Bumblebee" entry, as if 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 run a program, but "startx" into the desktop environment or with the Intel Core graphics card, so do not generate "xorg.conf", if your system has any legitimate "xorg.conf", either under "/etc/x11" or in the home directory, delete it or change to a name that will not be detected, otherwise 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 use "optirun" run up, install "primus" package, use "primusrun" to run, of course, do not run DOTA2 under the virtual terminal, it is too lame. Steam Right-dota2,"properties" in "set Lunach options..." Fill in the "vblank_mode=0 primusrun%command%", of course, this is the global service, if play perfect World agent's national service fill in "vblank_mode=0 primusrun%command%-language Schinese- international-perfectworld".

6. If you previously used an open source drive, the N card driver will need to regenerate the kernel image after switching from nouveau to Nvidia, see "/etc/mkinitcpio.conf" comment out all nouveau modules, and then " sudomkinitcpio-p linux", after restarting"dmesg"information to see if there is no"nouveau"and"nvidia"message, should be the former and the latter.

7. This is not an important thing, many people on the network to talk about the NVIDIA driver to disable KMS, but we are a dual graphics card, only to run 3D when the video card will be manually switched, usually with the Intel Core graphics card, so there is no need to add " The nomodeset"parameter to disable KMS.

8. On the other side is not a bug features, Steam installed DOTA2 run perfect agent of the national Service just start is not able to full screen, the upper left corner of the settings found in the video bar to change to "full screen" is good, as if it was "no window" such things, the game screen will be Xfce4 The panel is covered and the egg hurts.

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

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

------------------------------------------------------------~»pacman-qqs ' (nvidia|intel|mesa) '                                   [email Protected]bumblebeegluintel-driintel-tbblib32-glulib32-intel-drilib32-libtxc_ Dxtnlib32-libvdpaulib32-mesalib32-mesa-libgllib32-nvidia-utilslibcllibtxc_ Dxtnlibvdpaumesamesa-demosmesa-libglnvidianvidia-utilsxf86-video-intel--------------------------------------------------- ---------~ »    
That 's it, I wish you a happy ~


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.