search
HomeHardware TutorialHardware NewsCheck the graphics card driver in linux

Check the graphics card driver in linux

How to use the command line to view hardware information on Linux

1. There are four steps to view the machine configuration under Linux. The following is the specific operation: First, right-click Desktop, select openinternal. Then enable the root user. To view cpu information, use the command lscpu. To view memory information, use the command free-m. To view disk information, use the command lsblk.

2. You can use proccpuinfo to view CPU information. This file contains sections of data for each processor on the system.

3. Method to view CPU information of Linux system Tool raw material Linux system Method step 1 proccpuinfo The simplest way is to view proccpuinfo. This virtual file shows the configuration of available CPU hardware.

How to check NVIDIA graphics card information in Linux

Let’s find out how to check gpu usage in Linux. Open the Linux system and right-click on a blank space on the Linux desktop. In the pop-up drop-down option, click to open the terminal. Enter the nvidia-smi command and press Enter to run it to display the GPU usage.

View graphics card information Since the test environment uses NVIDIA graphics cards, you can directly query the specific graphics card information "00:00" through the lspci command. This parameter is the bus number, and the second is the slot number. , the third one is the function number, they are all hexadecimal numbers.

First of all, use the command lspci | grep -i vga to check whether your graphics card is NVIDIA or Intel. For NVIDIA, just install the NVIDIA driver and check it out. There are tutorials on the Internet that won’t go into detail. For Intel graphics cards, the truth is actually the same, but there is no method.

How to install nvdia graphics card driver in linux

1. The steps are as follows: Go to the official website to download the driver. Copy the file to the directory, sudocpNVIDIA-Linux-x86-33runsudochmod751NVIDIA-Linux-x86-33run, and change the permissions of the driver file.

2. Closed-source driver installation for newer graphics cards. Check the graphics card model at the link below. If your graphics card is listed among them, then this method applies.

3. Then use sudo apt-get install nvidia-430 to directly install the latest version of the Nvidia graphics driver. After installation, restart the system, good! The system goes black again.

4. Download the driver. Search the NVIDIA official website on Baidu and download the driver package (Linux version) that matches your graphics card from the official website.

Linux graphics card driver problem

1. Download the graphics card driver suitable for my laptop. It should be noted that it must be For Linux.

2. Dependency issues: If there is a problem with some dependent libraries in the system, it will also cause the system to fail to operate normally. At this time, you can try to upgrade or reinstall related software packages. Graphics card driver problem: If a graphics card driver is installed in the virtual machine and is incompatible with the current kernel version, startup failure will occur.

3. Then use sudo apt-get install nvidia-430 to directly install the latest version of the Nvidia graphics driver. After installation, restart the system, good! The system goes black again.

4. The driver is incompatible. After searching, click Download and agree to the agreement. Uninstall the original driver first. If the graphics card driver was previously installed through the ppa source, use the following command to uninstall it.

How to configure the nVIDIA graphics driver in Linux

1. Install the graphics driver in Linux: Enter nvidiaramd on Baidu to find the official website. Find the graphics driver (including graphics card model and operating system bits) on the official website and click to search. ,entering download page. But sometimes a web page appears.

2. Graphics card list. Run the following command in the terminal to install the driver: sudo apt-get install nvidia-kernel-legacy-173xx-dkms nvidia-glx-legacy-173xx build-essential nvidia-settings nvidia-xconfig After the installation is complete, restart the computer.

3. Each Linux has a corresponding software package manager, which can download software, such as Debian's apt-get, archlinux's pacman, etc. Through these, you can download your driver: xf86-video- nvidia.

4. Then use sudo apt-get install nvidia-430 to directly install the latest version of the Nvidia graphics driver. After installation, restart the system, good! The system goes black again.

How to check whether the graphics card driver under Ubuntu has been successfully installed

1. Right-click My Computer, right-click-Properties. After opening, there is a Hardware-Device Manager, as shown below. After opening, as shown in the figure. Click the small + sign on the display card - right click and click Properties to complete the driver.

2. Open CUDA and enter cd usrlocalcudasamples1_UtilitiesdeviceQuery default location in the command box. make If "Fatal error: cant create deviceQuery.o: Permission denied" appears, add sudo in front of make.

3. First, you must install mesa-utils. Enter the command in the terminal: sudo apt-get install mesa-utils; then run the command: glxinfo | grep rendering; if the result is "yes", it proves that the graphics card driver has been installed. Installed successfully.

4. First press Ctrl + Alt + F1 to the console to close the current graphics environment; then install the driver; and finally restart the graphics environment. View properties: $sudo ls -lh etcmodprobe.dblacklist.conf.

The above is the detailed content of Check the graphics card driver in linux. For more information, please follow other related articles on the PHP Chinese website!

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Send Web Links That Jump to the Exact Text You MeanSend Web Links That Jump to the Exact Text You MeanApr 25, 2025 pm 09:01 PM

Sometimes when you share a webpage link with someone, you just want to bring their attention to a specific passage or sentence to make your point, rather than have them read through the entire article.In 2020, Google added a function to its Chrome br

Everything Rumored for the 2025 Apple Watch Series 11Everything Rumored for the 2025 Apple Watch Series 11Apr 25, 2025 am 09:59 AM

As we celebrate the 10th anniversary of the Apple Watch today, we thought we'd take a look at what Apple has in store for the next-generation version of the device that's coming this fall. The Apple Watch Series 11 doesn't sound like it's going to be

The best monitors for Xbox Series X in 2025The best monitors for Xbox Series X in 2025Apr 25, 2025 am 09:16 AM

Level up your Xbox experience with one of the best monitors for Xbox Series X. A dedicated gaming monitor can be a worthy alternative to one of the best gaming TVs, offering a sharper picture or high-end features like a blazing fast refresh rate or s

The best SSD for PS5 in 2025: top storage expansion options tested and rankedThe best SSD for PS5 in 2025: top storage expansion options tested and rankedApr 25, 2025 am 09:08 AM

The best SSD for PS5 is a must if you own lots of PS5 games. Many of the most popular titles on the platform now require more than 100GB of storage space, with some coming in even higher. On my personal PS5, I have more than 300GB taken up by just Ca

Shopping for a Nintendo Switch 2 on eBay? Beware of deals that aren't worth the paper they're printed on – and that's the pointShopping for a Nintendo Switch 2 on eBay? Beware of deals that aren't worth the paper they're printed on – and that's the pointApr 25, 2025 am 09:02 AM

Nintendo Switch 2 pre-orders have kicked off in the United StatesWe've spotted several eBay listings promising a Switch 2 pre-order, but they aren't what they seemInstead of a console, you'll get a photo of the Switch 2Nintendo Switch 2 pre-orders ar

Forget Fallout, this post-apocalyptic shooter is free right now to celebrate its 15th anniversaryForget Fallout, this post-apocalyptic shooter is free right now to celebrate its 15th anniversaryApr 24, 2025 am 10:47 AM

The latest PlayStation Store sale starts today, bringing loads of unmissable discounts on some of the very best PS5 games around.Titled 'Big Games, Big Deals', the sale ends on May 7, giving you just over two weeks to take advantage of the savings an

BioShock 4 - everything we know about the next BioShock gameBioShock 4 - everything we know about the next BioShock gameApr 24, 2025 am 10:21 AM

Despite having been announced over five years ago, we barely know anything about BioShock 4, and have next to nothing that's been officially confirmed. This is a shame given it's one of the most interesting and highly acclaimed gaming series of all t

Star Wars KOTOR remake - everything we know so farStar Wars KOTOR remake - everything we know so farApr 24, 2025 am 09:53 AM

Though there's not been much news directly about the game recently, work on the Star Wars: Knights of the Old Republic (KOTOR) remake is presumed to be ongoing. That said, since we've not seen any substantial updates since the brief teaser released i

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

SecLists

SecLists

SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

MantisBT

MantisBT

Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

Atom editor mac version download

Atom editor mac version download

The most popular open source editor