Ubuntu

如何找出正在使用的 X11 驅動系統?

  • January 19, 2012

如何找出正在使用的 X11 驅動系統?

因為我的晶片openchrome是最好的驅動程序,但我懷疑系統沒有使用它。我只需要至少 2D 加速。

我該如何檢查?

這是我從中發現的cat /var/log/Xorg.7.log | grep driver

[    54.147]    X.Org XInput driver : 12.3
[    55.167] (==) Matched openchrome as autoconfigured driver 0
[    55.167] (==) Matched vesa as autoconfigured driver 1
[    55.167] (==) Matched fbdev as autoconfigured driver 2
[    55.167] (==) Assigned the driver to the xf86ConfigLayout
[    55.175] (II) Loading /usr/lib/xorg/modules/drivers/openchrome_drv.so
[    55.499] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[    55.570] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[    55.649] (II) VESA: driver for VESA chipsets: vesa
[    55.649] (II) FBDEV: driver for framebuffer: fbdev
[    55.652] (II) Loading /usr/lib/xorg/modules/drivers/openchrome_drv.so
[    55.652] (!!) VIA Technologies does not support this driver in any way.
[    55.984] (II) CHROME(0): Not using driver mode "1280x1024" (height too large for virtual size)
[    55.986] (II) CHROME(0): Not using driver mode "1280x1024" (height too large for virtual size)
[    58.049] (II) AIGLX: Trying DRI driver /usr/lib/i386-linux-gnu/dri/swrast_dri.so
[    61.982]    ABI class: X.Org XInput driver, version 12.3
[    61.982] (II) Using input driver 'evdev' for 'Power Button'
[    62.014] (II) Using input driver 'evdev' for 'Power Button'
[    62.084] (II) Using input driver 'evdev' for 'Logitech USB Optical Mouse'
[    62.093] (II) No input driver/identifier specified (ignoring)
[    62.103] (II) Using input driver 'evdev' for 'NOVATEK USB Keyboard'
[    62.119] (II) Using input driver 'evdev' for 'NOVATEK USB Keyboard'

據我所知,它沒有使用openchrome.

這是lspci | grep VGA

00:01.0 VGA compatible controller: VIA Technologies, Inc. VX800/VX820 Chrome 9 HC3 Integrated Graphics (rev 11)

(這是一個瘦客戶端。)

這是輸出grep -E '(\(WW|\(EE)' /var/log/Xorg.7.log

            (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    34.285] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[    34.286] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[    34.286] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[    34.286] (WW) The directory "/usr/share/fonts/X11/Type1" does not exist.
[    34.286] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[    34.286] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[    34.287] (WW) The directory "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" does not exist.
[    34.308] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[    34.817] (WW) Falling back to old probe method for vesa
[    34.817] (WW) Falling back to old probe method for fbdev
[    34.854] (EE) open /dev/fb0: No such file or directory
[    34.911] (EE) CHROME(0): Unknown Card-Ids (1122|A0A0| 702), Chipset: VX800/VX820; please report to openchrome-users@openchrome.org
[    37.878] (EE) [drm] drmOpen failed.
[    37.878] (EE) CHROME(0): [dri] DRIScreenInit failed.  Disabling DRI.
[    38.065] (WW) CHROME(0): [XvMC] XvMC is not supported on this chipset.

形式xvinfo | head -10

X-Video Extension version 2.2
screen #0
 Adaptor #: "XV_SWOV"
    number of ports: 1
    port base: 62
    operations supported: PutImage
    supported visuals:
      depth 24, visualID 0x21
    number of attributes: 6
      "XV_COLORKEY" (range 0 to 16777215)

要回答您最初的問題,是的,您正在使用 OpenChrome 驅動程序。不幸的是,它對您的晶片組的支持很少,如果它不是最新的,甚至更少。到目前為止,您應該能夠獲得 Basic 2D,並且您的晶片組支持任何 2D 加速。由您決定它是否“足夠好”,或者是否值得換成更好的東西。

Openchrome 在 09 之後經歷了很多改進,並且發行版總是以許多版本過時而告終。Chrome 9 支持在最近的 OpenChrome 版本中得到了改進,應該會提供更好的性能/穩定性/功能。

此外,Chrome 9 HC3 還存在專有驅動程序,但並非每個發行版都有可用的軟體包。對於過時的發行版,這是更好的選擇。基本上,走哪條路取決於您的發行版,和/或您是否自己編譯。

我也許可以指導您使用簡單的升級選項,需要發行版才能知道。如果您不知道這有助於辨識 LSB 版本

## outdated distro's might not support this command    
lsb_release -a

## Most Distro's will display release, in an /etc file.
cat /etc/*release

檢查影片疊加

## Still verify Xv works, whenever you get X running again.
## xvinfo | head -10

引用自:https://unix.stackexchange.com/questions/29331