在我的中Xorg.0.log
有这些行:
[ 36753.331] (II) LoadModule: "intel"
[ 36753.331] (WW) Warning, couldn't open module intel
和
[ 36753.331] (II) LoadModule: "radeon"
[ 36753.331] (II) Loading /usr/lib/xorg/modules/drivers/radeon_drv.so
问题是 和 都intel_drv.so
存在radeon_drv.so
,但只有其中之一成功加载:
[c4thewin@LenovoG500-C4tW ~]$ ls /usr/lib/xorg/modules/drivers
ati_drv.so fbdev_drv.so intel_drv.so modesetting_drv.so radeon_drv.so vesa_drv.so
我还读到modprobe
需要.ko
库作为参数,所以......
这不是modprobe
幕后操纵的吗?
为什么intel_drv.so
存在却无法加载?
编辑:
[c4thewin@LenovoG500-C4tW ~]$ lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation 3rd Gen Core processor DRAM Controller [8086:0154] (rev 09)
00:01.0 PCI bridge [0604]: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port [8086:0151] (rev 09)
00:02.0 VGA compatible controller [0300]: Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0166] (rev 09)
00:14.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller [8086:1e31] (rev 04)
00:16.0 Communication controller [0780]: Intel Corporation 7 Series/C216 Chipset Family MEI Controller #1 [8086:1e3a] (rev 04)
00:1a.0 USB controller [0c03]: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #2 [8086:1e2d] (rev 04)
00:1b.0 Audio device [0403]: Intel Corporation 7 Series/C216 Chipset Family High Definition Audio Controller [8086:1e20] (rev 04)
00:1c.0 PCI bridge [0604]: Intel Corporation 7 Series/C216 Chipset Family PCI Express Root Port 1 [8086:1e10] (rev c4)
00:1c.1 PCI bridge [0604]: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 2 [8086:1e12] (rev c4)
00:1d.0 USB controller [0c03]: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #1 [8086:1e26] (rev 04)
00:1f.0 ISA bridge [0601]: Intel Corporation HM76 Express Chipset LPC Controller [8086:1e59] (rev 04)
00:1f.2 IDE interface [0101]: Intel Corporation 7 Series Chipset Family 4-port SATA Controller [IDE mode] [8086:1e01] (rev 04)
00:1f.3 SMBus [0c05]: Intel Corporation 7 Series/C216 Chipset Family SMBus Controller [8086:1e22] (rev 04)
00:1f.5 IDE interface [0101]: Intel Corporation 7 Series Chipset Family 2-port SATA Controller [IDE mode] [8086:1e09] (rev 04)
01:00.0 Display controller [0380]: Advanced Micro Devices, Inc. [AMD/ATI] Sun PRO [Radeon HD 8570A/8570M] [1002:6663]
02:00.0 Ethernet controller [0200]: Qualcomm Atheros QCA8172 Fast Ethernet [1969:10a0] (rev 10)
03:00.0 Network controller [0280]: Qualcomm Atheros AR9485 Wireless Network Adapter [168c:0032] (rev 01)
[c4thewin@LenovoG500-C4tW ~]$ cat /sys/class/graphics/fb*/name
inteldrmfb
[c4thewin@LenovoG500-C4tW ~]$ cd /usr/lib/xorg/modules/drivers
[c4thewin@LenovoG500-C4tW drivers]$ ls -l .
total 2316
-rwxr-xr-x 1 root root 10440 Mar 16 22:38 ati_drv.so
-rwxr-xr-x 1 root root 23624 Nov 22 2016 fbdev_drv.so
-rwxr-xr-x 1 root root 1719632 Apr 20 17:30 intel_drv.so
-rwxr-xr-x 1 root root 86272 Apr 7 20:46 modesetting_drv.so
-rwxr-xr-x 1 root root 493896 Mar 16 22:38 radeon_drv.so
-rwxr-xr-x 1 root root 27696 Nov 21 2016 vesa_drv.so
[c4thewin@LenovoG500-C4tW drivers]$ ldd intel_drv.so
linux-vdso.so.1 (0x00007fffb1d5d000)
libpciaccess.so.0 => /usr/lib/libpciaccess.so.0 (0x00007fb37a835000)
libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0x00007fb37a58d000)
libm.so.6 => /usr/lib/libm.so.6 (0x00007fb37a27b000)
libudev.so.1 => /usr/lib/libudev.so.1 (0x00007fb37a25a000)
libdrm_intel.so.1 => /usr/lib/libdrm_intel.so.1 (0x00007fb37a036000)
libdrm.so.2 => /usr/lib/libdrm.so.2 (0x00007fb379e25000)
libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007fb379c05000)
libc.so.6 => /usr/lib/libc.so.6 (0x00007fb379860000)
/usr/lib64/ld-linux-x86-64.so.2 (0x000056245148b000)
libresolv.so.2 => /usr/lib/libresolv.so.2 (0x00007fb37964a000)
libcap.so.2 => /usr/lib/libcap.so.2 (0x00007fb379446000)
librt.so.1 => /usr/lib/librt.so.1 (0x00007fb37923e000)
[c4thewin@LenovoG500-C4tW drivers]$ ldd radeon_drv.so
linux-vdso.so.1 (0x00007ffc65de5000)
libdrm_radeon.so.1 => /usr/lib/libdrm_radeon.so.1 (0x00007f9e642d8000)
libudev.so.1 => /usr/lib/libudev.so.1 (0x00007f9e642b7000)
libc.so.6 => /usr/lib/libc.so.6 (0x00007f9e63f12000)
libdrm.so.2 => /usr/lib/libdrm.so.2 (0x00007f9e63d01000)
libm.so.6 => /usr/lib/libm.so.6 (0x00007f9e639ef000)
libresolv.so.2 => /usr/lib/libresolv.so.2 (0x00007f9e637d9000)
libcap.so.2 => /usr/lib/libcap.so.2 (0x00007f9e635d3000)
librt.so.1 => /usr/lib/librt.so.1 (0x00007f9e633cb000)
libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f9e631ad000)
/usr/lib64/ld-linux-x86-64.so.2 (0x000055d9f46ff000)