如何找出正在使用哪个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 [email protected]
[ 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)
答案1
要回答您原来的问题,是的,您正在使用 OpenChrome 驱动程序。不幸的是,它对您的芯片组的支持很少,如果不是最新的,则支持更少。截至目前,您应该能够获得基本 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
答案2
根据您所在的系统,X 日志的位置可能会有所不同,但在 Linux 上:/var/log/Xorg.0.log
。如果你搜索这个词,driver
你将能够看到这样的行:
[ 34.252] (==) Matched fglrx as autoconfigured driver 0
[ 34.252] (==) Matched ati as autoconfigured driver 1
[ 34.252] (==) Matched vesa as autoconfigured driver 2
[ 34.252] (==) Matched fbdev as autoconfigured driver 3
这意味着它将使用这些驱动程序之一。
您还可以看看:
/etc/X11/xorg.conf
搜索Device
将告诉您它将使用哪个驱动程序的部分。您还可以尝试这样做:
sudo X -configure
创造/etc/X11/xorg.conf
根据您的进一步评论,您应该看看这一页以获得更多指导。您可能需要尝试使用 10.04 版本等选项,看看是否可以正常工作。