LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 924|回复: 7

gentoo ati 双显示如何回到默认单显示?

[复制链接]
发表于 2008-11-3 13:14:45 | 显示全部楼层 |阅读模式
大伙哈:

前两天做网站,给笔记本挂了个CRT显示器,那是相当方便,现在我要回到默认的状态,回不来了,
也在ATI 显示器设置中禁用了CRT 可还是如此,
去掉了CRT ,登陆界面还是双显示的设置,玩游戏很卡,以前不卡的,是独立显卡。
有法子的给俺讲讲哈?
 楼主| 发表于 2008-11-3 13:17:45 | 显示全部楼层
顺便告下,现在显卡驱动都没法子重新安装了的。。。。

linora@linora ~ $ sudo emerge ati-drivers
Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) x11-drivers/ati-drivers-8.542
* ati-driver-installer-8-10-x86.x86_64.run RMD160 SHA1 SHA256 size ;-) ...  [ ok ]
* checking ebuild checksums ;-) ...                                     [ ok ]
* checking auxfile checksums ;-) ...                                    [ ok ]
* checking miscfile checksums ;-) ...                                   [ ok ]
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found kernel object directory:
* /lib/modules/2.6.27-gentoo/build
* Found sources for kernel version:
* 2.6.27-gentoo
>>> Unpacking source...
Warning: target directory exists /var/tmp/portage/x11-drivers/ati-drivers-8.542/work
Verifying archive integrity... All good.
Uncompressing ATI Proprietary Linux Driver-8.542...........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
* Applying ati-powermode-opt-path-2.patch ...                            [ ok ]
* Applying ati-drivers-2.6.27.patch ...                                  [ ok ]
* Converting 2.6.x/Makefile to use M= instead of SUBDIRS= ...            [ ok ]
>>> Unpacking ./../common/usr/src/ati/fglrx_sample_source.tgz to /var/tmp/portage/x11-drivers/ati-drivers-8.542/work/extra
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/x11-drivers/ati-drivers-8.542/work ...
* Preparing fglrx module
make -j3 HOSTCC=i686-pc-linux-gnu-gcc CROSS_COMPILE=i686-pc-linux-gnu- LDFLAGS= GCC_VER_MAJ=4 KVER=2.6.27-gentoo KDIR=/usr/src/linux kmod_build
make -C /usr/src/linux M=/var/tmp/portage/x11-drivers/ati-drivers-8.542/work/common/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/linux-2.6.27-gentoo'

  WARNING: Symbol version dump /usr/src/linux-2.6.27-gentoo/Module.symvers
           is missing; modules will have no dependencies and modversions.

  CC [M]  /var/tmp/portage/x11-drivers/ati-drivers-8.542/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
  CC [M]  /var/tmp/portage/x11-drivers/ati-drivers-8.542/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_io.o
  CC [M]  /var/tmp/portage/x11-drivers/ati-drivers-8.542/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_pci.o
在包含自 include/linux/gfp.h:4 的文件中在包含自 include/linux/gfp.h:4 的文件中,
                 从 include/linux/kmod.h:22,
                 从 include/linux/module.h:13,
                 从 include/linux/device.h:22,
                 从 include/linux/pci.h:53,
                 从 /var/tmp/portage/x11-drivers/ati-drivers-8.542/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_pci.c:35:
include/linux/mmzone.h:18:26: 错误:linux/bounds.h:没有那个文件或目录

                 从 include/linux/kmod.h:22,
                 从 include/linux/module.h:13,
                 从 /var/tmp/portage/x11-drivers/ati-drivers-8.542/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:91:
include/linux/mmzone.h:197:5: 警告:“MAX_NR_ZONES”未定义
In file included from include/linux/gfp.h:4,
                 from include/linux/kmod.h:22,
                 from include/linux/module.h:13,
                 from include/linux/device.h:22,
                 from include/linux/pci.h:53,
                 from /var/tmp/portage/x11-drivers/ati-drivers-8.542/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_pci.c:35:
include/linux/mmzone.h:218: 错误:‘MAX_NR_ZONES’ 未声明 (不在函数内)
include/linux/mmzone.h:18:26: 错误:linux/bounds.h:没有那个文件或目录
include/linux/mmzone.h:197:5: 警告:“MAX_NR_ZONES”未定义
In file included from include/linux/gfp.h:4,
                 from include/linux/kmod.h:22,
                 from include/linux/module.h:13,
                 from /var/tmp/portage/x11-drivers/ati-drivers-8.542/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:91:
include/linux/mmzone.h:218: 错误:‘MAX_NR_ZONES’ 未声明 (不在函数内)
在包含自 include/linux/gfp.h:4 的文件中,
                 从 include/linux/slab.h:12,
                 从 include/linux/percpu.h:5,
                 从 include/linux/rcupdate.h:39,
                 从 include/linux/rculist.h:10,
                 从 include/linux/dcache.h:6,
                 从 include/linux/fs.h:281,
                 从 include/linux/poll.h:11,
                 从 /var/tmp/portage/x11-drivers/ati-drivers-8.542/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_io.c:41:
include/linux/mmzone.h:18:26: 错误:linux/bounds.h:没有那个文件或目录
include/linux/mmzone.h:197:5: 警告:“MAX_NR_ZONES”未定义
In file included from include/linux/gfp.h:4,
                 from include/linux/slab.h:12,
                 from include/linux/percpu.h:5,
                 from include/linux/rcupdate.h:39,
                 from include/linux/rculist.h:10,
                 from include/linux/dcache.h:6,
                 from include/linux/fs.h:281,
                 from include/linux/poll.h:11,
                 from /var/tmp/portage/x11-drivers/ati-drivers-8.542/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_io.c:41:
include/linux/mmzone.h:218: 错误:‘MAX_NR_ZONES’ 未声明 (不在函数内)
在包含自 include/asm/pci.h:4 的文件中,
                 从 include/linux/pci.h:983,
                 从 /var/tmp/portage/x11-drivers/ati-drivers-8.542/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_pci.c:35:
include/linux/mm.h:438:63: 警告:“NR_PAGEFLAGS”未定义
include/linux/mm.h:486:62: 警告:“NR_PAGEFLAGS”未定义
在包含自 include/asm/pci.h:4 的文件中,
                 从 include/linux/pci.h:983,
                 从 /var/tmp/portage/x11-drivers/ati-drivers-8.542/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:98:
include/linux/mm.h:438:63: 警告:“NR_PAGEFLAGS”未定义
include/linux/mm.h:486:62: 警告:“NR_PAGEFLAGS”未定义
make[2]: *** [/var/tmp/portage/x11-drivers/ati-drivers-8.542/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_pci.o] 错误 1
make[2]: *** 正在等待未完成的任务....
make[2]: *** [/var/tmp/portage/x11-drivers/ati-drivers-8.542/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_io.o] 错误 1
/var/tmp/portage/x11-drivers/ati-drivers-8.542/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: 在函数 ‘__ke_vm_phys_addr_str’ 中:
/var/tmp/portage/x11-drivers/ati-drivers-8.542/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3528: 警告:返回时将整数赋给指针,未作类型转换
/var/tmp/portage/x11-drivers/ati-drivers-8.542/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3529: 警告:返回时将整数赋给指针,未作类型转换
/var/tmp/portage/x11-drivers/ati-drivers-8.542/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3530: 警告:返回时将整数赋给指针,未作类型转换
/var/tmp/portage/x11-drivers/ati-drivers-8.542/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3532: 警告:返回时将整数赋给指针,未作类型转换
/var/tmp/portage/x11-drivers/ati-drivers-8.542/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: 在顶层:
/var/tmp/portage/x11-drivers/ati-drivers-8.542/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:5780: 警告:从不兼容的指针类型初始化
/var/tmp/portage/x11-drivers/ati-drivers-8.542/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:5806: 警告:从不兼容的指针类型初始化
make[2]: *** [/var/tmp/portage/x11-drivers/ati-drivers-8.542/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o] 错误 1
make[1]: *** [_module_/var/tmp/portage/x11-drivers/ati-drivers-8.542/work/common/lib/modules/fglrx/build_mod/2.6.x] 错误 2
make[1]: Leaving directory `/usr/src/linux-2.6.27-gentoo'
make: *** [kmod_build] 错误 2
*
* ERROR: x11-drivers/ati-drivers-8.542 failed.
* Call stack:
* ebuild.sh, line   49:  Called src_compile
* environment, line 3200:  Called linux-mod_src_compile
* environment, line 2418:  Called die
* The specific snippet of code:
* eval "emake HOSTCC="$(tc-getBUILD_CC)"                                         CROSS_COMPILE=${CHOST}-                                                 LDFLAGS="$(get_abi_LDFLAGS)"                                                 ${BUILD_FIXES}                 ${BUILD_PARAMS}                                                 ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}";
* The die message:
* Unable to emake HOSTCC=i686-pc-linux-gnu-gcc CROSS_COMPILE=i686-pc-linux-gnu- LDFLAGS=  GCC_VER_MAJ=4 KVER=2.6.27-gentoo KDIR=/usr/src/linux kmod_build
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/x11-drivers/ati-drivers-8.542/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-drivers/ati-drivers-8.542/temp/environment'.
*

>>> Failed to emerge x11-drivers/ati-drivers-8.542, Log file:

>>>  '/var/tmp/portage/x11-drivers/ati-drivers-8.542/temp/build.log'

* Messages for package x11-drivers/ati-drivers-8.542:

*
* ERROR: x11-drivers/ati-drivers-8.542 failed.
* Call stack:
* ebuild.sh, line   49:  Called src_compile
* environment, line 3200:  Called linux-mod_src_compile
* environment, line 2418:  Called die
* The specific snippet of code:
* eval "emake HOSTCC="$(tc-getBUILD_CC)"                                         CROSS_COMPILE=${CHOST}-                                                 LDFLAGS="$(get_abi_LDFLAGS)"                                                 ${BUILD_FIXES}                 ${BUILD_PARAMS}                                                 ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}";
* The die message:
* Unable to emake HOSTCC=i686-pc-linux-gnu-gcc CROSS_COMPILE=i686-pc-linux-gnu- LDFLAGS=  GCC_VER_MAJ=4 KVER=2.6.27-gentoo KDIR=/usr/src/linux kmod_build
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/x11-drivers/ati-drivers-8.542/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-drivers/ati-drivers-8.542/temp/environment'.
*

* GNU info directory index is up-to-date.
回复 支持 反对

使用道具 举报

发表于 2008-11-3 13:31:19 | 显示全部楼层
/etc/ati/amdxxxdb 的一个文件,干掉
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-11-3 19:00:13 | 显示全部楼层
谢谢wd_afei 哈
我删掉那个文件了,为啥gdm登录还是2048x768的分辨率
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-11-3 19:07:48 | 显示全部楼层
现在还是2048x768的分辨率啊
wd_afe 还有那个地方要改啊。。。。。。
拜托了,鄙人找的好辛苦啊
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-11-3 19:29:51 | 显示全部楼层
搞定了哈
看了xorg.conf文件
把以下几项注释掉即可
Option "ForceMonitors" "notv"
Option "DesktopSetup"  "horizontal"
Option "OverlayOnCRTC2" "1"
Ok.
回复 支持 反对

使用道具 举报

发表于 2008-11-3 20:26:52 | 显示全部楼层
你的 xorg-server 不是1.5.× 的?我这里的ati-drivers都被block了
回复 支持 反对

使用道具 举报

发表于 2008-11-3 21:57:02 | 显示全部楼层
Post by hongshun;1903377
搞定了哈
看了xorg.conf文件
把以下几项注释掉即可
Option "ForceMonitors" "notv"
Option "DesktopSetup"  "horizontal"
Option "OverlayOnCRTC2" "1"
Ok.


额。。desktopsetup 肯定是要注释的呀。。。晕了。。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表