[i=s] 本帖最后由 q7262395 于 2013-2-28 23:10 编辑 [/i]
各位好,
笔记本信息如下:i5-2450,8GB,HD300+ATI HD7650,500Gb(win7)+500GB(CentOS)
大致描述下我的情况,今天下午安装了CentOS6.3 64位系统,安装完成后,系统一切正常,所有驱动正常,只是风扇一直全速转动,笔记本温度偏高。于是update了一下,内核版本变为2.6.32-279.22.1.el6.x86_64。
网上查了下,应该是因为独立显卡同时在运行的原因,上ATI官网看了下,如果使用ATI官方驱动的话,是可以在图形界面选择使用什么显卡。
于是在官网下载了linux驱动amd-driver-installer-catalyst-13.1-linux-x86.x86_64,在文本模式安装驱动一切也正常。生成配置文件正常,重启后进入桌面也是正常的,一般说来到这里就是没有问题的了。事实上也确实如此,此时进入系统后,发现在菜单里面可以看到一个ccc的控制面板,进去发现里面可以双显卡切换。手一贱,直接点了个却换到集成显卡,提示需要restart系统后生效。悲剧由此发生,因为之前开机是设置到启动到文本模式,启动也正常,但是在进入系统后发现在startx的时候启动不了图形界面。由于在命令行下不能截图,所以没记住问题出在哪里,哪些地方记录了这些日志,大家给判断下问题大概出在什么地方。谢谢了。
有什么地方表述不正确的,请指出下。谢谢各位。
/etc/X11/xorg.conf
Section "ServerLayout"
Identifier "aticonfig Layout"
Screen 0 "aticonfig-Screen[0]-0" 0 0
EndSection
Section "Module"
EndSection
Section "Monitor"
Identifier "aticonfig-Monitor[0]-0"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection
Section "Device"
Identifier "aticonfig-Device[0]-0"
Driver "fglrx"
BusID "PCI:1:0:0"
EndSection
Section "Screen"
Identifier "aticonfig-Screen[0]-0"
Device "aticonfig-Device[0]-0"
Monitor "aticonfig-Monitor[0]-0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
[font=楷体_GB2312]日志信息/var/log/Xorg.0.log[/font]
[ 1117.902]
X.Org X Server 1.10.6
Release Date: 2012-02-10
[ 1117.904] X Protocol Version 11, Revision 0
[ 1117.905] Build Operating System: c6b7 2.6.32-220.el6.x86_64
[ 1117.906] Current Operating System: Linux N4120-Computer 2.6.32-279.22.1.el6.x86_64 #1 SMP Wed Feb 6 03:10:46 UTC 2013 x86_64
[ 1117.906] Kernel command line: ro root=UUID=e7081517-3db0-4e64-abb6-bf1754ca37bc rd_NO_LUKS KEYBOARDTYPE=pc KEYTABLE=us rd_NO_MD LANG=zh_CN.UTF-8 rd_NO_LVM rd_NO_DM quiet crashkernel=129M@0M
[ 1117.908] Build Date: 24 January 2013 04:14:37PM
[ 1117.908] Build ID: xorg-x11-server 1.10.6-1.0.1.el6.centos
[ 1117.909] Current version of pixman: 0.18.4
[ 1117.910] Before reporting problems, check http://wiki.centos.org/Documentation
to make sure that you have the latest version.
[ 1117.911] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 1117.913] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Feb 28 22:46:00 2013
[ 1117.914] (==) Using config file: "/etc/X11/xorg.conf"
[ 1117.915] (==) ServerLayout "aticonfig Layout"
[ 1117.915] (**) |-->Screen "aticonfig-Screen[0]-0" (0)
[ 1117.915] (**) | |-->Monitor "aticonfig-Monitor[0]-0"
[ 1117.915] (**) | |-->Device "aticonfig-Device[0]-0"
[ 1117.915] (==) Automatically adding devices
[ 1117.915] (==) Automatically enabling devices
[ 1117.915] (==) FontPath set to:
catalogue:/etc/X11/fontpath.d,
built-ins
[ 1117.915] (==) ModulePath set to "/usr/lib64/xorg/modules"
[ 1117.915] (II) The server relies on HAL to provide the list of input devices.
If no devices become available, reconfigure HAL or disable AutoAddDevices.
[ 1117.915] (II) Loader magic: 0x7d6da0
[ 1117.915] (II) Module ABI versions:
[ 1117.915] X.Org ANSI C Emulation: 0.4
[ 1117.915] X.Org Video Driver: 10.0
[ 1117.915] X.Org XInput driver : 12.2
[ 1117.915] X.Org Server Extension : 5.0
[ 1117.916] (--) PCI:*(0:0:2:0) 8086:0126:1028:052d rev 9, Mem @ 0xe0000000/4194304, 0xd0000000/268435456, I/O @ 0x00004000/64, BIOS @ 0x????????/131072
[ 1117.916] (--) PCI: (0:1:0:0) 1002:6741:1028:052d rev 0, Mem @ 0xc0000000/268435456, 0xe0700000/131072, I/O @ 0x00003000/256, BIOS @ 0x????????/131072
[ 1117.916] (II) "extmod" will be loaded by default.
[ 1117.916] (II) "dbe" will be loaded by default.
[ 1117.916] (II) "glx" will be loaded by default.
[ 1117.916] (II) "record" will be loaded by default.
[ 1117.916] (II) "dri" will be loaded by default.
[ 1117.916] (II) "dri2" will be loaded by default.
[ 1117.916] (II) LoadModule: "extmod"
[ 1117.916] (II) Loading /usr/lib64/xorg/modules/extensions/libextmod.so
[ 1117.917] (II) Module extmod: vendor="X.Org Foundation"
[ 1117.917] compiled for 1.10.6, module version = 1.0.0
[ 1117.917] Module class: X.Org Server Extension
[ 1117.917] ABI class: X.Org Server Extension, version 5.0
[ 1117.917] (II) Loading extension SELinux
[ 1117.917] (II) Loading extension MIT-SCREEN-SAVER
[ 1117.917] (II) Loading extension XFree86-VidModeExtension
[ 1117.917] (II) Loading extension XFree86-DGA
[ 1117.917] (II) Loading extension DPMS
[ 1117.917] (II) Loading extension XVideo
[ 1117.917] (II) Loading extension XVideo-MotionCompensation
[ 1117.917] (II) Loading extension X-Resource
[ 1117.917] (II) LoadModule: "dbe"
[ 1117.917] (II) Loading /usr/lib64/xorg/modules/extensions/libdbe.so
[ 1117.917] (II) Module dbe: vendor="X.Org Foundation"
[ 1117.917] compiled for 1.10.6, module version = 1.0.0
[ 1117.917] Module class: X.Org Server Extension
[ 1117.917] ABI class: X.Org Server Extension, version 5.0
[ 1117.917] (II) Loading extension DOUBLE-BUFFER
[ 1117.917] (II) LoadModule: "glx"
[ 1117.917] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[ 1117.917] (II) Module glx: vendor="X.Org Foundation"
[ 1117.917] compiled for 1.10.6, module version = 1.0.0
[ 1117.917] ABI class: X.Org Server Extension, version 5.0
[ 1117.917] (==) AIGLX enabled
[ 1117.917] (II) Loading extension GLX
[ 1117.917] (II) LoadModule: "record"
[ 1117.917] (II) Loading /usr/lib64/xorg/modules/extensions/librecord.so
[ 1117.917] (II) Module record: vendor="X.Org Foundation"
[ 1117.917] compiled for 1.10.6, module version = 1.13.0
[ 1117.917] Module class: X.Org Server Extension
[ 1117.917] ABI class: X.Org Server Extension, version 5.0
[ 1117.917] (II) Loading extension RECORD
[ 1117.917] (II) LoadModule: "dri"
[ 1117.917] (II) Loading /usr/lib64/xorg/modules/extensions/libdri.so
[ 1117.917] (II) Module dri: vendor="X.Org Foundation"
[ 1117.917] compiled for 1.10.6, module version = 1.0.0
[ 1117.917] ABI class: X.Org Server Extension, version 5.0
[ 1117.917] (II) Loading extension XFree86-DRI
[ 1117.917] (II) LoadModule: "dri2"
[ 1117.917] (II) Loading /usr/lib64/xorg/modules/extensions/libdri2.so
[ 1117.918] (II) Module dri2: vendor="X.Org Foundation"
[ 1117.918] compiled for 1.10.6, module version = 1.2.0
[ 1117.918] ABI class: X.Org Server Extension, version 5.0
[ 1117.918] (II) Loading extension DRI2
[ 1117.918] (II) LoadModule: "fglrx"
[ 1117.918] (II) Loading /usr/lib64/xorg/modules/drivers/fglrx_drv.so
[ 1117.928] (II) Module fglrx: vendor="FireGL - AMD Technologies Inc."
[ 1117.928] compiled for 1.4.99.906, module version = 9.1.11
[ 1117.928] Module class: X.Org Video Driver
[ 1117.929] (II) Loading sub module "fglrxdrm"
[ 1117.929] (II) LoadModule: "fglrxdrm"
[ 1117.929] (II) Loading /usr/lib64/xorg/modules/linux/libfglrxdrm.so
[ 1117.929] (II) Module fglrxdrm: vendor="FireGL - AMD Technologies Inc."
[ 1117.929] compiled for 1.4.99.906, module version = 9.1.11
[ 1117.929] (II) AMD Proprietary Linux Driver Version Identifier:9.01.11
[ 1117.929] (II) AMD Proprietary Linux Driver Release Identifier: 9.012
[ 1117.929] (II) AMD Proprietary Linux Driver Build Date: Dec 19 2012 14:41:10
[ 1117.929] (--) using VT number 7
[ 1117.933] (WW) Falling back to old probe method for fglrx
[ 1117.939] (II) Loading PCS database from /etc/ati/amdpcsdb /etc/ati/amdpcsdb.default
[ 1117.941] ukiDynamicMajor: found major device number 249
[ 1117.941] ukiDynamicMajor: found major device number 249
[ 1117.941] ukiOpenByBusid: Searching for BusID PCI:1:0:0
[ 1117.941] ukiOpenDevice: node name is /dev/ati/card0
[ 1117.941] ukiOpenDevice: open result is 9, (OK)
[ 1117.941] ukiOpenByBusid: ukiOpenMinor returns 9
[ 1117.941] ukiOpenByBusid: ukiGetBusid reports PCI:1:0:0
[ 1117.942] (--) Chipset Supported AMD Graphics Processor (0x6741) found
[ 1117.942] (II) fglrx: intel VGA device detected, load intel driver.
[ 1117.942] (II) LoadModule: "intel"
[ 1117.942] (II) Loading /usr/lib64/xorg/modules/drivers/intel_drv.so
[ 1117.943] (II) Module intel: vendor="X.Org Foundation"
[ 1117.943] compiled for 1.10.4, module version = 2.16.0
[ 1117.943] Module class: X.Org Video Driver
[ 1117.943] ABI class: X.Org Video Driver, version 10.0
[ 1117.943] (II) AMD Video driver is running on a device belonging to a group targeted for this release
[ 1117.943] (II) AMD Video driver is signed
[ 1117.943] (II) Loading /usr/lib64/xorg/modules/drivers/fglrx_drv.so
[ 1117.943] (II) Loading /usr/lib64/xorg/modules/linux/libfglrxdrm.so
[ 1117.943] (II) fglrx(0): pEnt->device->identifier=0x20332f0
[ 1117.944] (II) Loading /usr/lib64/xorg/modules/drivers/intel_drv.so
[ 1117.944] (II) intel(1): pEnt->device->identifier=(nil)
[ 1117.944] (EE) Screen 1 deleted because of no matching config section.
[ 1117.944] (II) UnloadModule: "intel"
[ 1117.944] (II) Unloading intel
[ 1117.944] (II) fglrx(0): === [xdl_xs110_atiddxPreInit] === begin
[ 1117.945] (II) fglrx(0): PowerXpress: Integrated GPU is selected.
[ 1117.959] (EE) fglrx(0): PowerXpress: /usr/lib64/fglrx/switchlibGL failed with exit status 1
[ 1117.959] (II) fglrx(0): PowerXpress: Diagnostic output from /usr/lib64/fglrx/switchlibGL:
library file /usr/lib/FGL.renamed.libGL.so.1.2 not exist, can't switch
[ 1117.959] (EE) fglrx(0): PowerXpress: Fail to switch libGL link files.
[ 1117.959] (WW) fglrx(0): PreInit PowerXpress failed!
Backtrace:
[ 1117.959] 0: /usr/bin/X (xorg_backtrace+0x28) [0x463338]
[ 1117.959] 1: /usr/bin/X (0x400000+0x65329) [0x465329]
[ 1117.959] 2: /lib64/libpthread.so.0 (0x7f3a2a90b000+0xf500) [0x7f3a2a91a500]
[ 1117.960] 3: /usr/lib64/xorg/modules/drivers/fglrx_drv.so (xdl_xs110_atiddxFreeScreen+0xed) [0x7f3a27f1f68d]
[ 1117.960] 4: /usr/bin/X (xf86DeleteScreen+0x7c) [0x47e6bc]
[ 1117.960] 5: /usr/bin/X (InitOutput+0x8c6) [0x475236]
[ 1117.960] 6: /usr/bin/X (0x400000+0x21c8d) [0x421c8d]
[ 1117.960] 7: /lib64/libc.so.6 (__libc_start_main+0xfd) [0x7f3a2a10acdd]
[ 1117.960] 8: /usr/bin/X (0x400000+0x219d9) [0x4219d9]
[ 1117.960] Segmentation fault at address 0x38
[ 1117.960]
Fatal server error:
[ 1117.960] Caught signal 11 (Segmentation fault). Server aborting
[ 1117.960]
[ 1117.960]
Please consult the CentOS support
at http://wiki.centos.org/Documentation
for help.
[ 1117.960] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 1117.960]
官方查到的Bug list
Bugs on this list are sorted by relevance, with the most relevant bugs at the top.
Thu Feb 28 2013 09:07:42 CST
Content: (EE) fglrx(0):Powerxpress:fail to switch libGL link files. Status: UNCONFIRMED, NEW, ASSIGNED, REOPENED
1977fx1250 于 2013-03-21 23:52:33发表:
学习了……
于 2013-03-09 23:32:06发表:
我今天也手残点来下,搜了下,通过命令切换到独立显卡就好了
进入命令模式,输入
aticonfig --px-dgpu
reboot
alick 于 2013-03-04 17:54:53发表:
由此可见Linux下双显卡切换还是不可靠~~
实在不行你到 windows 下把双显卡切换改回来。
q7262395 于 2013-03-01 23:09:14发表:
3# okzokz123
试过了,删除了之后,重新生成还是一样的,
不过我昨天就删除了/etc/X11/xorg.conf,这样子图形是可以起来了,但是如果再去打开ccc就提示,安装不正确,找不到硬件。。。
现在呢,就这样子用着了,不晓得咋个解决了。
okzokz123 于 2013-03-01 12:54:58发表:
删除 /etc/X11/xorg.conf 然后重新再 sudo aticonfig --initial -f 然后再startx 试一下
Beabletowin 于 2013-02-28 21:40:17发表:
没处理过,以前替一个朋友装因为是集成的,装后竟然无法进入到图形的界面,好尴尬