Debian video card Installation

Source: Internet
Author: User
Debian video card installation-Linux Release Technology-Debian information, the following is a detailed description. Compilation loaded successfully. Thank you.

My source is
Deb http://debian.cn99.com/debian/ testing main contrib non-free
Deb-src http://debian.cn99.com/debian/ testing main contrib non-free

Deb http://mirrors.geekbone.org/debian/ testing main contrib non-free
Deb-src http://mirrors.geekbone.org/debian/ testing main contrib non-free

Http://security.debian.org/testing/updates main

You can find these packages.

My steps are as follows:
1. Install the kernel-headers corresponding to the kernel
# Apt-get install kernel-headers-$ (uname-r)

2. install nvidia-kernel-source and nvidia-kernel-common.
# Apt-get install nvidia-kernel-source nvidia-kernel-common

3. Enter/usr/src and decompress nvidia-kernel-source.
# Cd/usr/src
# Tar xzf nvidia-kernel-source.tar.gz

4. Set Variables
# Cd modules/nvidia-kernel
# Export KVERS = $ (uname-r)
# Export KSRC =/usr/src/kernel-headers-$ KVERS

5. Compilation Module
# Cd/usr/src/modules/nvidia-kernel
# Debian/rules binary_modules

6. Install the generated deb package
# Dpkg-I/usr/src/modules/nvidia-kernel-*. deb

7. install NVIDIA glx
# Apt-get install nvidia-glx

8. Modify X configuration
# Editor/etc/X11/XF86Config-4

"Module" section
Load "glx"

Delete the loading of the "dri" "GLCore" module

"Device" section
Driver "nvidia"

9. Add a video User Group
# Addgroup -- system video
# Adduser $ USER video

$ USER is the USER name used to watch movies.
The system seems to have already created a video user group.

10. Ensure that the nvidia module is loaded when the kernel is started.
# Grep-q ^ nvidia/etc/modules | echo nvidia>/etc/modules
Related Article

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.