安装显卡驱动程序:“ATI RV370 上的 Gallium 0.4”和“Mobile Intel® GM45 Express Chipset”

安装显卡驱动程序:“ATI RV370 上的 Gallium 0.4”和“Mobile Intel® GM45 Express Chipset”

我的台式机和笔记本电脑的显卡驱动程序都存在问题(台式机上的“ATI RV370 上的 Gallium 0.4”和 Latitude E6500 上的“Mobile Intel® GM45 Express Chipset”不同)。我认为驱动程序无法正常工作,因为在安装 mesa-utils 之前无法识别显卡。

那么首先如何测试显卡性能呢?

其次,当我确定驱动程序未安装时,如何安装它们(对于像我这样的 Linux 新手来说,生产商网站上的说明很难理解)

我正在使用 Ubuntu 12.04

先感谢您!

答案1

怎样测试显卡性能?

如果您安装了该mesa-utils软件包,可以使用以下命令进行检查glxgears

$ glxgears 
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
radeon: Acquired access to Hyper-Z.
291 frames in 5.0 seconds = 58.022 FPS

当我确定驱动程序未安装时,如何安装它们

你有几种方法:

然后lspci -nnkvv -s添加域:bus:slot.function,就我的情况而言00:03:00.0

sudo lspci -nnkvv -s 00:03:00.0
03:00.0 VGA compatible controller [0300]: Advanced Micro Devices [AMD] nee ATI RV515 [Radeon X1300/X1550] [1002:7146] (prog-if 00 [VGA controller])
    Subsystem: VISIONTEK Device [1545:2352]
    Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 0, Cache Line Size: 16 bytes
    Interrupt: pin A routed to IRQ 19
    Region 0: Memory at d0000000 (64-bit, prefetchable) [size=256M]
    Region 2: Memory at bffe0000 (64-bit, non-prefetchable) [size=64K]
    Region 4: I/O ports at e000 [size=256]
    Expansion ROM at bffc0000 [disabled] [size=128K]
    Capabilities: [50] Power Management version 2
        Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
        Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
    Capabilities: [58] Express (v1) Endpoint, MSI 00
        DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <4us, L1 unlimited
            ExtTag+ AttnBtn- AttnInd- PwrInd- RBE- FLReset-
        DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
            RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
            MaxPayload 128 bytes, MaxReadReq 128 bytes
        DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-
        LnkCap: Port #0, Speed 2.5GT/s, Width x16, ASPM L0s L1, Latency L0 <64ns, L1 <1us
            ClockPM- Surprise- LLActRep- BwNot-
        LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk-
            ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
        LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
    Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit+
        Address: 0000000000000000  Data: 0000
    Kernel driver in use: radeon

这里最重要的部分是最后一行“内核驱动程序正在使用中”。

您还可以检查日志文件:

sudo grep -E 'dri|drm' /var/log/dmesg /var/log/Xorg.0.log

lshw -c video

$ sudo lshw -c video
  *-display:0
       description: VGA compatible controller
       product: RV515 [Radeon X1300/X1550]
       vendor: Advanced Micro Devices [AMD] nee ATI
       physical id: 0
       bus info: pci@0000:03:00.0
       version: 00
       width: 64 bits
       clock: 33MHz
       capabilities: pm pciexpress msi vga_controller bus_master cap_list rom
       configuration: driver=radeon latency=0
       resources: irq:19 memory:d0000000-dfffffff memory:bffe0000-bffeffff ioport:e000(size=256) memory:bffc0000-bffdffff

还有古老而美丽的台地glxinfo

相关内容