How to check graphics card on Linux
来源:互联网 发布:电脑如何装mac系统 编辑:程序博客网 时间:2024/05/19 01:09
In this tutorial, I will describe how to find information about a video card and video driver used in Linux system.
Method One
The first method to determine what graphics card you have is by using lspci which a command-line tool for showing all PCI devices.
Before using lspci, it's a good idea to update PCI ID list with the latest version as follows.
Then use the following command to show the vendor/model names of your video card.
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
Once the PCI domain of your card is identified (e.g., 00:02.0 in the above example), you can get more detailed information about your card by using the following command. The example output shows that the video card has 256MB video RAM.
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09) (prog-if 00 [VGA controller])Subsystem: Dell Device 0569Flags: bus master, fast devsel, latency 0, IRQ 45Memory at b0000000 (64-bit, prefetchable) [size=256M]Memory at c0000000 (64-bit, non-prefetchable) [size=4M]I/O ports at 3000 [size=64]Expansion ROM at [disabled]Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-Capabilities: [d0] Power Management version 2Capabilities: [a4] PCI Advanced FeaturesKernel driver in use: i915Kernel modules: i915
Method Two
Another way to detect a video card on Linux is via lshw command.
*-display description: VGA compatible controller product: 3rd Gen Core processor Graphics Controller vendor: Intel Corporation physical id: 2 bus info: pci@0000:00:02.0 version: 09 width: 64 bits clock: 33MHz capabilities: msi pm vga_controller bus_master cap_list rom configuration: driver=i915 latency=0 resources: irq:45 memory:c0000000-c03fffff memory:b0000000-bfffffff ioport:3000(size=64)
Method Three
You can also get information about a graphics card via a GUI program called hardinfo.
To install hardinfo on Debian, Ubuntu or Linux Mint:
To install hardinfo on RedHat-based systems, use yum command. Note that on CentOS or RedHat, you first need toenable Repoforge repository before running yum.
Once hardinfo is installed, launch it as follows.
Then navigate to "Devices" -> "PCI Devices" -> "VGA compatible controller" to view video card information.
Find What Video Driver is Used on Linux
To identify the name of video driver used, you can use lshw command described above.
configuration: driver=i915 latency=0
The name of video driver is shown in "driver=<XXXX>". Then you can check the detail of the video driver as follows.
filename: /lib/modules/3.5.0-18-generic/kernel/drivers/gpu/drm/i915/i915.kolicense: GPL and additional rightsdescription: Intel Graphicsauthor: Tungsten Graphics, Inc.license: GPL and additional rights. . . . .
- How to check graphics card on Linux
- How to check free space on memory card
- How to disable the discrete AMD graphics card in Linux
- How to check linux version
- How to check iscsi issue on Nexenta
- How To Install Speedtest-cli On a CentOS / RHEL / Scientific / Fedora Linux To Check Internet Speed
- how to check raw socket belong to which process on linux.
- How to use pcmcia wireless card on arm-xscale board.
- How to check TRIM is working on your SSD running Linux
- How to check health of Linux OS
- How to check ip address in linux
- How to check Fragmentation on SQL Server 2005
- How to Check Debug Log on OAF Pages
- How to check Fragmentation on SQL Server 2005
- how to check if HCatalog can connect on CDH 5.4
- How to check the entitlements on my Application's Signature
- how to check badsector on ext4 6TB
- How to check srvconfig.
- How to identify video formats from command line on Linux
- pcduino lite wifi联网--工具准备,热身。
- ArcGIS 10.1 for Server 如何使用10或者之前的切片
- (3)CSS指定文本字体、加粗、倾斜、大小写等
- 【LeetCode】Swap Nodes in Pairs & Reverse Nodes in k-Group
- How to check graphics card on Linux
- Play the Dice hdu 4586 数学期望的问题
- Previous Permutation
- 采用Keepalived实现Redis双机高可用
- How to clean up disk space on Linux
- android 连续两次点击返回键 退出程序
- python简明教程
- .Net远程框架 RemotingException 服务器遇到内部错误
- 【STM32】启动模式 BOOT0/BOOT1的配置