Linux:硬件

来自Shiyin's note
(重定向自硬件:显卡驱动
跳到导航 跳到搜索

蓝牙

  • bluez,bluez-tools
  • 自动连接: bluetoothctl运行后 trust macaddr

显卡

  • 查看显卡
lspci | grep VGA
  • 3D 加速
glxinfo | grep render
glxgear
  • 重新启动X
sytemctl restart display-manager
sytemctl status display-manager
  • xorg.conf文件

Fedora releases since Fedora 10 do not create a /etc/X11/xorg.conf file, used to configure the X server, by default. The X configuration is automatically determined each time X is started. In most cases, this works well and there is no need to manually specify X configuration information.

If you need to make manual changes to X configuration for any reason, you will first need to create a /etc/X11/xorg.conf file.

Xorg -configure

You can create a basic xorg.conf using the X executable itself. As root run:

Xorg :1 -configure

This will create the file /root/xorg.conf.new, which you can then copy to /etc/X11/xorg.conf:

cp /root/xorg.conf.new /etc/X11/xorg.conf 

and edit according to your needs.

所以如果nvidia驱动启动不来,要删除/etc/X11/xorg.conf 文件

NVIDIA=

fedora 17:nvidia驱动

GDM/KDM

如何重新启动GDM/KDM

init 3 
init 5


ATI

  • 开源驱动:xorg-x11-drv-ati