LinuxSir.cn,穿越时空的Linuxsir!

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

安装桌面xorg的疑问?

[复制链接]
发表于 2011-5-19 00:33:05 | 显示全部楼层 |阅读模式
我的显卡是ati hd 5770的显卡,昨晚安装好gentoo系统,今晚升级了一下,顺便安装了xorg-server,执行Xorg -configure命令后提示如下:

wpahipc ~ # Xorg -configure

This is a pre-release version of the X server from The X.Org Foundation.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.

X.Org X Server 1.10.1.901 (1.10.2 RC 1)
Release Date: 2011-05-06
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.38-gentoo-r5 x86_64 Gentoo
Current Operating System: Linux wpahipc 2.6.38-gentoo-r5 #1 SMP Wed May 18 07:31:50 CST 2011 x86_64
Kernel command line: root=/dev/ram0 real_root=/dev/sda2
Build Date: 19 May 2011  12:03:19AM

Current version of pixman: 0.22.0
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu May 19 00:30:48 2011
List of video drivers:
        fglrx
No devices to configure.  Configuration failed.

请问是怎么回事,应该如何解决,麻烦知道的指教一下,谢谢
 楼主| 发表于 2011-5-19 00:36:45 | 显示全部楼层
执行startx命令信息如下:

wpahipc ~ # startx
xauth:  file /root/.serverauth.15737 does not exist


This is a pre-release version of the X server from The X.Org Foundation.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.

X.Org X Server 1.10.1.901 (1.10.2 RC 1)
Release Date: 2011-05-06
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.38-gentoo-r5 x86_64 Gentoo
Current Operating System: Linux wpahipc 2.6.38-gentoo-r5 #1 SMP Wed May 18 07:31:50 CST 2011 x86_64
Kernel command line: root=/dev/ram0 real_root=/dev/sda2
Build Date: 19 May 2011  12:03:19AM

Current version of pixman: 0.22.0
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu May 19 00:35:57 2011
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE) Failed to load module "ati" (module does not exist, 0)
(EE) Failed to load module "vesa" (module does not exist, 0)
(EE) Failed to load module "fbdev" (module does not exist, 0)
(EE) No drivers available.

Fatal server error:
no screens found

Please consult the The X.Org Foundation support
         at http://wiki.x.org
for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2011-5-19 00:38:25 | 显示全部楼层
make.conf文件如下,不知是不是哪里不对,知道的指正一下:

wpahipc ~ # vim /etc/make.conf
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
CFLAGS="-O2 -pipe"
CXXFLAGS="${CFLAGS}"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="x86_64-pc-linux-gnu"
# These are the USE flags that were used in addition to what is provided by the
# profile used for building.
USE="mmx sse sse2"

MAKEOPTS="-j5"
CCACHE_SIZE="2G"
CCACHE_DIR="/var/tmp/ccache"
ACCEPT_KEYWORDS="~amd64 amd64"

GENTOO_MIRRORS="http://mirrors.163.com/gentoo/"
SYNC="rsync://mirrors.163.com/gentoo-portage"

INPUT_DEVICES="evdev keyboard mouse"
VIDEO_CARDS="fglrx"
ALSA_CARDS="snd_hda_intel"
LINGUAS="en en_US zh zh_CN"
回复 支持 反对

使用道具 举报

 楼主| 发表于 2011-5-19 00:46:58 | 显示全部楼层
显卡驱动我安装了ati-drivers
回复 支持 反对

使用道具 举报

发表于 2011-5-19 07:03:53 | 显示全部楼层
Post by 好大一只鸟;2139619
执行startx命令信息如下:

wpahipc ~ # startx
xauth:  file /root/.serverauth.15737 does not exist


This is a pre-release version of the X server from The X.Org Foundation.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.

X.Org X Server 1.10.1.901 (1.10.2 RC 1)
Release Date: 2011-05-06
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.38-gentoo-r5 x86_64 Gentoo
Current Operating System: Linux wpahipc 2.6.38-gentoo-r5 #1 SMP Wed May 18 07:31:50 CST 2011 x86_64
Kernel command line: root=/dev/ram0 real_root=/dev/sda2
Build Date: 19 May 2011  12:03:19AM

Current version of pixman: 0.22.0
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu May 19 00:35:57 2011
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE) Failed to load module "ati" (module does not exist, 0)
(EE) Failed to load module "vesa" (module does not exist, 0)
(EE) Failed to load module "fbdev" (module does not exist, 0)
(EE) No drivers available.

Fatal server error:
no screens found

Please consult the The X.Org Foundation support
         at http://wiki.x.org
for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.


似乎你的內核的顯卡模塊ati沒有選擇,類似的frame buffer的模塊你也可能需要選上。
(EE) Failed to load module "ati" (module does not exist, 0)
(EE) Failed to load module "vesa" (module does not exist, 0)
(EE) Failed to load module "fbdev" (module does not exist, 0)

其次,你後面的USE標記應當包含X、cjk、unicode,以及gnome或者kde的某一個。

感覺的cpu很強悍啊! j5,那是什麼概念啊!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2011-5-19 09:11:20 | 显示全部楼层
CPU是AMD x4 955 呵呵,原来是我内核编译的问题呀,受教了,我是用 genkernel all编译的内核,那我重新编译一下现在的这个内核应该没有什么问题吧!
回复 支持 反对

使用道具 举报

发表于 2011-5-19 09:59:20 | 显示全部楼层
Post by 好大一只鸟;2139620
make.conf文件如下,不知是不是哪里不对,知道的指正一下:

wpahipc ~ # vim /etc/make.conf
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
CFLAGS="-O2 -pipe"
CXXFLAGS="${CFLAGS}"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="x86_64-pc-linux-gnu"
# These are the USE flags that were used in addition to what is provided by the
# profile used for building.
USE="mmx sse sse2"

MAKEOPTS="-j5"
CCACHE_SIZE="2G"
CCACHE_DIR="/var/tmp/ccache"
ACCEPT_KEYWORDS="~amd64 amd64"

GENTOO_MIRRORS="http://mirrors.163.com/gentoo/"
SYNC="rsync://mirrors.163.com/gentoo-portage"

INPUT_DEVICES="evdev keyboard mouse"
VIDEO_CARDS="fglrx"
ALSA_CARDS="snd_hda_intel"
LINGUAS="en en_US zh zh_CN"


evdev keyboard mouse没必要都加的
回复 支持 反对

使用道具 举报

发表于 2011-5-19 11:08:55 | 显示全部楼层
aticonfig --initial  执行过吗?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2011-5-19 15:58:15 | 显示全部楼层
aticonfig --initial 没有执行过!这个命令有什么用!
回复 支持 反对

使用道具 举报

发表于 2011-5-19 18:51:34 | 显示全部楼层
Post by 好大一只鸟;2139676
aticonfig --initial 没有执行过!这个命令有什么用!


aticonfig是ati-drivers自带的配置工具,具体可以aticonfig --help。
initial选项是初始化配置,在我机子上写了一个xorg.conf。(这个比较不爽。。)
回复 支持 反对

使用道具 举报

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

本版积分规则

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