分页: 1 / 1

[问题]用什么命令查看显卡的型号~~~!

发表于 : 2007-04-12 13:29
why_790721
如题。

发表于 : 2007-04-12 13:35
stlxv
不用那么麻烦
1.

代码: 全选

应用程序->附件->文本编辑器
2.

代码: 全选

文件->打开,找到/etc/X11/xorg.conf
然后答案就看下面这里了:

代码: 全选

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder3)  Thu Nov  9 17:55:20 PST 2006

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "ServerLayout"
    Identifier     "Default Layout"
    Screen         "Default Screen" 0 0
    InputDevice    "Generic Keyboard"
    InputDevice    "Configured Mouse"
    InputDevice    "stylus" "SendCoreEvents"
    InputDevice    "cursor" "SendCoreEvents"
    InputDevice    "eraser" "SendCoreEvents"
EndSection

Section "Files"

        # path to defoma fonts
    FontPath        "/usr/share/X11/fonts/misc"
    FontPath        "/usr/share/X11/fonts/cyrillic"
    FontPath        "/usr/share/X11/fonts/100dpi/:unscaled"
    FontPath        "/usr/share/X11/fonts/75dpi/:unscaled"
    FontPath        "/usr/share/X11/fonts/Type1"
    FontPath        "/usr/share/X11/fonts/100dpi"
    FontPath        "/usr/share/X11/fonts/75dpi"
    FontPath        "/usr/share/fonts/X11/misc"
    FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
    Load           "i2c"
    Load           "bitmap"
    Load           "ddc"
    Load           "extmod"
    Load           "freetype"
    Load           "glx"
    Load           "int10"
    Load           "type1"
    Load           "vbe"
EndSection

Section "InputDevice"
    Identifier     "Generic Keyboard"
    Driver         "kbd"
    Option         "CoreKeyboard"
    Option         "XkbRules" "xorg"
    Option         "XkbModel" "pc105"
    Option         "XkbLayout" "us"
    Option         "XkbOptions" "lv3:ralt_switch"
EndSection

Section "InputDevice"
    Identifier     "Configured Mouse"
    Driver         "mouse"
    Option         "CorePointer"
    Option         "Device" "/dev/input/mice"
    Option         "Protocol" "ExplorerPS/2"
    Option         "ZAxisMapping" "4 5"
    Option         "Emulate3Buttons" "true"
EndSection

Section "InputDevice"

                                                      # /dev/input/event
                                                      # for USB
    Identifier     "stylus"
    Driver         "wacom"
    Option         "Device" "/dev/wacom"          # Change to
    Option         "Type" "stylus"
    Option         "ForceDevice" "ISDV4"               # Tablet PC ONLY
EndSection

Section "InputDevice"

                                                      # /dev/input/event
                                                      # for USB
    Identifier     "eraser"
    Driver         "wacom"
    Option         "Device" "/dev/wacom"          # Change to
    Option         "Type" "eraser"
    Option         "ForceDevice" "ISDV4"               # Tablet PC ONLY
EndSection

Section "InputDevice"

                                                      # /dev/input/event
                                                      # for USB
    Identifier     "cursor"
    Driver         "wacom"
    Option         "Device" "/dev/wacom"          # Change to
    Option         "Type" "cursor"
    Option         "ForceDevice" "ISDV4"               # Tablet PC ONLY
EndSection

Section "Monitor"
    Identifier     "1772E"
    HorizSync       30.0 - 70.0
    VertRefresh     50.0 - 160.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "GeForce4 MX 440 with AGP8X"
    Driver         "nvidia"
EndSection

Section "Screen"
    Identifier     "Default Screen"
    Device         "GeForce4 MX 440 with AGP8X"  # <-- 就是这里了
    Monitor        "1772E"
    DefaultDepth    24
    Option         "AddARGBGLXVisuals" "True"
    Option         "TripleBuffer" "true"
    SubSection     "Display"
        Depth       1
        Modes      "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       4
        Modes      "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       8
        Modes      "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       15
        Modes      "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       16
        Modes      "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       24
        Modes      "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection
其实gnome还有个程序可以看你系统所有的硬件,但是我现在没用gnome,忘记叫什么名字了,在“系统”菜单里面

发表于 : 2007-04-12 14:18
zmcbb30
别绕远路

命令

代码: 全选

lspci

发表于 : 2007-04-12 14:53
eexpress
都不会grep的?

发表于 : 2007-04-12 16:15
HadesEnduos

代码: 全选

lspci |grep VGA
楼上是这个意思吗?

发表于 : 2007-04-12 16:17
eexpress
当然。
那xorg.conf的,都可以grep,或者这样。还贴那么长。吓人。
awk -F'Section' 'BEGIN{RS = ""} /.*\"Screen\"/' /etc/X11/xorg.conf

发表于 : 2007-04-12 16:24
HadesEnduos
eexpress 写了:当然。
那xorg.conf的,都可以grep,或者这样。还贴那么长。吓人。
awk -F'Section' 'BEGIN{RS = ""} /.*"Screen"/' /etc/X11/xorg.conf
为了看下显卡型号至于这样嘛。。。怎么简单怎么来。。。复杂的也弄不来。。。哈哈

发表于 : 2007-04-12 16:57
why_790721
why@why-laptop:~$ lspci |grep VGA
0000:01:00.0 VGA compatible controller: S3 Inc. VT8375 [ProSavage8 KM266/KL266]

why@why-laptop:~$ lspci
0000:00:00.0 Host bridge: VIA Technologies, Inc. P4M266 Host Bridge
0000:00:01.0 PCI bridge: VIA Technologies, Inc. VT8633 [Apollo Pro266 AGP]
0000:00:03.0 CardBus bridge: Texas Instruments PCI1410 PC card Cardbus Controller (rev 02)
0000:00:07.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 50)
0000:00:07.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 50)
0000:00:07.2 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 51)
0000:00:11.0 ISA bridge: VIA Technologies, Inc. VT8233 PCI to ISA Bridge
0000:00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
0000:00:11.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 23)
0000:00:11.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 23)
0000:00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 30)
0000:00:11.6 Communication controller: VIA Technologies, Inc. AC'97 Modem Controller (rev 70)
0000:00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 70)
0000:01:00.0 VGA compatible controller: S3 Inc. VT8375 [ProSavage8 KM266/KL266]

大家帮忙看看我的是什么型号的显卡,我不会看呀!如果我要装3d桌面,应该装那个显卡驱动好。

发表于 : 2007-04-12 18:49
stlxv
0000:01:00.0 VGA compatible controller: S3 Inc. VT8375 [ProSavage8 KM266/KL266]

发表于 : 2007-04-12 18:50
stlxv
HadesEnduos 写了:
eexpress 写了:当然。
那xorg.conf的,都可以grep,或者这样。还贴那么长。吓人。
awk -F'Section' 'BEGIN{RS = ""} /.*"Screen"/' /etc/X11/xorg.conf
为了看下显卡型号至于这样嘛。。。怎么简单怎么来。。。复杂的也弄不来。。。哈哈
我宁可去慢慢打开看那个xorg.conf也不会用grep或者awk

发表于 : 2007-04-12 18:51
stlxv
lz,你电脑的配置单或者说明书保修卡盒子什么的不就已经有显卡型号了么?都没有的话显卡上也有写

Re: [问题]用什么命令查看显卡的型号~~~!

发表于 : 2011-08-20 9:15
pit_liang
楼主:

我的是intel Sandy Bridge ES版的2.5G CPU,显卡是NVIDIA GT540M的机器,双显卡

我用 lspci | grep VGA 读到的值如下:

00:02.0 VGA compatible controller: Intel Corporation Device 0116 (rev 07)
01:00.0 VGA compatible controller: nVidia Corporation Device 0df4 (rev a1)

是不是,我不需要装显卡驱动了,用硬件驱动去扫,没有找到可以用的驱动

谢谢

Re: [问题]用什么命令查看显卡的型号~~~!

发表于 : 2017-03-27 1:42
changchen
如果你用的nvidia的显卡,可以用的lspci | grep NVIDIA

Re: [问题]用什么命令查看显卡的型号~~~!

发表于 : 2017-03-27 10:26
aukomn
dmesg |grep gpu