Resolves an ubuntu update Nvidia graphics driver after a black screen issue

Source: Internet
Author: User
Tags norton 360

It doesn't matter with big data, it's a record of your own.


Now completely abandoned windows, completely use Ubuntu to work. Not Windows bad, is China's Windows eco-environment is too poor, casually installed a small domestic software will be attached to the user to pack a pile of rubbish, what all kinds of poison pa, all kinds of mobile phone assistants, a variety of input methods, a little bit wrong button to load a pile of rubbish, everywhere is a trap, Even the open source SourceForge launched the FileZilla installer, the background also secretly automatically download Norton 360 mandatory installation. All the damn foreigners have been damaged by China's stinking rogue software company. Users also have no choice, so simply pain determined to kill windows, directly on Ubuntu, using the method accustomed to a few days, the eclipse also replaced with Intellijidea, feel the development efficiency than with the time of Windows is still much higher, Now look at someone else using windows to think that thing is slag. In addition to the net silver also has the virtual machine, the other really does not have the need windows to do. And, to be honest, using the command line to solve a problem in Linux is much faster than using the interface.


However, but also said, Linux system although very good, can be the graphics card manufacturers to support it and not good, I used half a year Ubuntu, the basic problem is in the NVIDIA graphics card, Linus Torvalds once in the General Assembly in public on the nvidia up the middle finger, and said "Fuck you nVidia." My use of the same feeling.


The official Linux version driver update is too slow, the PPA bumble Bee has the latest drivers, but not stable. It was a black screen last night. Notebook is Intel/nvidia dual graphics, usually with Intel set, no big problem, last night downloaded the installation of the Xorg-edgers 349 driver, and then chose the Nvidia graphics card, the results of the direct start black screen, how to toss it all. Google is blocked, Baidu on a few pages are basically recommended re-install system, so again spit slot Baidu, search serious things out of the result is rubbish. Especially remind programmers, if want to improve their various levels, pay to buy VPN over the wall Google can not use Baidu, with Baidu programmer in the bottom of the chain of contempt, is the scum of the programmer, no matter what language you use. :)


Then still turned over the wall Google, the first to search for the answer you want. Soon solved, apply to nvidia update unofficial graphics driver after the start of a black screen or flower screen, finishing methods as follows, record, save later forget.


    1. After you start the black screen, you can press CTRL-ALT-F1 to enter the command line interface. This is the basic knowledge, need to connect the net.

    2. After entering CLI mode, sudo apt-get install Ppa-purge

    3. sudo ppa-purge xorg-edgers

    4. sudo apt-get purge nvidia-*

    5. Create a temporary folder such as MkDir ~/tmp

    6. cp/etc/x11/xorg.conf* ~/tmp

    7. sudo apt-get autoremove

    8. sudo apt-get update

    9. sudo apt-get upgrade

    10. sudo reboot

    11. Reboot or c+a+f1 the command line

    12. sudo apt-get install nvidia-331 nvidia-prime

    13. sudo cp ~/tmp/xorg.conf.nvidia-xconfig-original/etc/x11/xorg.conf

    14. sudo vi/etc/x11/xorg.conf

    15. Make sure the content is as follows


section  "Serverlayout"     Identifier  "Layout"     screen  0  "nvidia"     Inactive  "Intel" endsectionsection  "Device"      Identifier  "Intel"     Driver  "Intel"     busid   "pci:[email protected]:2:0"     Option  "Accelmethod"   "SNA" endsectionsection  "screen"     Identifier  "Intel"     device   "Intel" endsectionsection  "Device"     Identifier  "nvidia"      Driver  "nvidia"     BusID  "pci:[email protected]:0:0"      Option  "Constraincursor"   "Off" endsectionsection  "screen"      identifier  "nvidia"     Device  "nvidia"     Option  " Allowemptyinitialconfiguration " " on "    option  "ignoredisplaydevices"   "CRT" endsection 

Last reboot, resolve. The final boot completion may be error, this use dpkg-reconfigure nvidia-331 NVIDIA-331-UVM nvidia-settings on it. The restart should be fine.


Finally followed Linus shouted: "Fuck younVidia"


This article from "Practice Test Truth" blog, declined reprint!

Resolves an ubuntu update Nvidia graphics driver after a black screen issue

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.