Nvidia driver crashes under Arch Linux

Source: Internet
Author: User
Tags arch linux

For a long time, since an arch rolling upgrade Nvidia driver, the frequent xorg died. has not been able to solve, had to change with Nouveau. Nouveau general use problem to small, but a few days ago Nouveau upgrade, also began cramps.

Then try to change back to Nvidia's proprietary drive, the crash situation remains unresolved. Accidentally after the crash, SSH connected with DMESG catch an error:

Nvrm:gpu at 0000:01:00.0 have fallen Off the Bus

Search to find this article:

http://www.cyberciti.biz/faq/debian-ubuntu-rhel-fedora-linux-nvidia-nvrm-gpu-fallen-off-bus/

It is mentioned that the Nvidia driver needs to be set to persistence Mode using the command line:

/USR/BIN/NVIDIA-SMI-PM 1

Query whether Nvidia is enabled persistence Mode

#/usr/bin/nvidia-smi-q | Grep-i Persistence

If persistence Mode is enabled, the output is as follows:

Persistence mode:enabled

Nvidia-smi settings persistence Mode fails after each reboot. Arch Linux uses systemd, so in the/etc/systemd/system/multi-user.target.wants directory, create a new Nvidia-pm.service file with the following content:

[Unit] Description=set NVIDIA Persistence Mode to enablewants=syslog.target[service]type=forkingexecstart=/usr/bin/ NVIDIA-SMI-PM 1[install]wantedby=multi-user.target

The

is currently in use for a few days without a freezing situation.

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.