LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: 好大一只鸟

安装桌面xorg的疑问?

[复制链接]
 楼主| 发表于 2011-5-19 18:58:33 | 显示全部楼层
执行aticonfig --initial 命令它自动写xorg.conf配置文件吧,不用手工输入什么吧!晚上试试
回复 支持 反对

使用道具 举报

 楼主| 发表于 2011-5-19 19:47:21 | 显示全部楼层
wpahipc ~ # aticonfig --initial
Uninitialised file found, configuring.
PowerXpress error: Cannot stat '/usr/lib64/fglrx/switchlibGL': No such file or directory
Failed to initialize libglx for discrete GPU
Using /etc/X11/xorg.conf
Saving back-up to /etc/X11/xorg.conf.original-0
wpahipc ~ # eselect opengl set ati
Switching to ati OpenGL interface... done
wpahipc ~ # aticonfig --initial
Found fglrx primary device section
PowerXpress error: Cannot stat '/usr/lib64/fglrx/switchlibGL': No such file or directory
Failed to initialize libglx for discrete GPU
Using /etc/X11/xorg.conf
Saving back-up to /etc/X11/xorg.conf.fglrx-0
wpahipc ~ # startx
xauth:  file /root/.serverauth.16122 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 19:46:01 2011
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE) Failed to load module "dri" (module does not exist, 0)
(EE) Failed to load module "dri2" (module does not exist, 0)
(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:0:0) found
(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:2:0) found
(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:10:0) found
(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:17:0) found
(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:18:0) found
(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:18:2) found
(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:19:0) found
(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:19:2) found
(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:20:0) found
(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:20:1) found
(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:20:2) found
(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:20:3) found
(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:20:4) found
(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:20:5) found
(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:21:0) found
(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:21:1) found
(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:22:0) found
(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:22:2) found
(WW) fglrx: No matching Device section for instance (BusID PCI:0@1:0:1) found
/etc/X11/xinit/xinitrc: line 59: twm: command not found
/etc/X11/xinit/xinitrc: line 60: xclock: command not found
/etc/X11/xinit/xinitrc: line 61: xterm: command not found
/etc/X11/xinit/xinitrc: line 63: exec: xterm: not found
/etc/X11/xinit/xinitrc: line 62: xterm: command not found
xinit: connection to X server lost

waiting for X server to shut down

还是不行呀
回复 支持 反对

使用道具 举报

发表于 2011-5-19 20:17:30 | 显示全部楼层
Post by 好大一只鸟;2139703
wpahipc ~ # aticonfig --initial
Uninitialised file found, configuring.
PowerXpress error: Cannot stat '/usr/lib64/fglrx/switchlibGL': No such file or directory
Failed to initialize libglx for discrete GPU
Using /etc/X11/xorg.conf
Saving back-up to /etc/X11/xorg.conf.original-0
wpahipc ~ # eselect opengl set ati
Switching to ati OpenGL interface... done
wpahipc ~ # aticonfig --initial
Found fglrx primary device section
PowerXpress error: Cannot stat '/usr/lib64/fglrx/switchlibGL': No such file or directory
Failed to initialize libglx for discrete GPU
Using /etc/X11/xorg.conf
Saving back-up to /etc/X11/xorg.conf.fglrx-0
wpahipc ~ # startx
xauth:  file /root/.serverauth.16122 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 19:46:01 2011
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE) Failed to load module "dri" (module does not exist, 0)
(EE) Failed to load module "dri2" (module does not exist, 0)
(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:0:0) found
(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:2:0) found
(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:10:0) found
(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:17:0) found
(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:18:0) found
(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:18:2) found
(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:19:0) found
(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:19:2) found
(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:20:0) found
(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:20:1) found
(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:20:2) found
(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:20:3) found
(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:20:4) found
(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:20:5) found
(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:21:0) found
(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:21:1) found
(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:22:0) found
(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:22:2) found
(WW) fglrx: No matching Device section for instance (BusID PCI:0@1:0:1) found
/etc/X11/xinit/xinitrc: line 59: twm: command not found
/etc/X11/xinit/xinitrc: line 60: xclock: command not found
/etc/X11/xinit/xinitrc: line 61: xterm: command not found
/etc/X11/xinit/xinitrc: line 63: exec: xterm: not found
/etc/X11/xinit/xinitrc: line 62: xterm: command not found
xinit: connection to X server lost

waiting for X server to shut down

还是不行呀


內核選項找找有沒有dri、dri2的,將它編譯為模塊。
(EE) Failed to load module "dri" (module does not exist, 0)
(EE) Failed to load module "dri2" (module does not exist, 0)

還沒有裝最簡單的X管理器,執行:
# emerge  twm xclock xterm
如果再次startx正常的話,可按裝喜歡的X server了,同時可刪除twm、xclock、xterm。

/etc/X11/xinit/xinitrc: line 59: twm: command not found
/etc/X11/xinit/xinitrc: line 60: xclock: command not found
/etc/X11/xinit/xinitrc: line 61: xterm: command not found
/etc/X11/xinit/xinitrc: line 63: exec: xterm: not found
/etc/X11/xinit/xinitrc: line 62: xterm: command not found
回复 支持 反对

使用道具 举报

 楼主| 发表于 2011-5-19 20:41:03 | 显示全部楼层
好的,谢谢,我在安装xfce4,安装好看看能不能启动,然后再重新编译一下内核把dri、dri2编译进去
回复 支持 反对

使用道具 举报

发表于 2011-5-19 21:06:08 | 显示全部楼层
Post by 好大一只鸟;2139707
好的,谢谢,我在安装xfce4,安装好看看能不能启动,然后再重新编译一下内核把dri、dri2编译进去

建議先用startx測試,正常後在裝xfce;否則會比較悲劇。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2011-5-19 21:08:41 | 显示全部楼层
好的,我知道了,以后注意了,dri、dri2正常在编译内核的哪一项里???
回复 支持 反对

使用道具 举报

发表于 2011-5-19 21:12:07 | 显示全部楼层
Post by 好大一只鸟;2139710
好的,我知道了,以后注意了,dri、dri2正常在编译内核的哪一项里???


內核選項上有個搜索功能,自己讀一下上面的鳥語。
然後就會知道dri大概在哪個位置。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2011-5-19 23:43:23 | 显示全部楼层
我把dri编译成模块也就是M,现在运行startx效果还是那样!不过我用startxfce4命令的话可以启动桌面系统了!
(EE) Failed to load module "dri" (module does not exist, 0)
(EE) Failed to load module "dri2" (module does not exist, 0)
这个还是没有解决!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2011-5-20 00:01:29 | 显示全部楼层
wpahipc ~ # aticonfig --initial
Found fglrx primary device section
PowerXpress error: Cannot stat '/usr/lib64/fglrx/switchlibGL': No such file or directory
Failed to initialize libglx for discrete GPU
Using /etc/X11/xorg.conf
Saving back-up to /etc/X11/xorg.conf.fglrx-2
回复 支持 反对

使用道具 举报

发表于 2011-5-20 05:34:13 | 显示全部楼层
Post by 好大一只鸟;2139724
我把dri编译成模块也就是M,现在运行startx效果还是那样!不过我用startxfce4命令的话可以启动桌面系统了!
(EE) Failed to load module "dri" (module does not exist, 0)
(EE) Failed to load module "dri2" (module does not exist, 0)
这个还是没有解决!

錯誤信息仍然是模塊不存在。既然已編譯成模塊的話,去/lib/modules/目錄下搜一下有沒有這個模塊?進一步的原因我就不知道了,有沒有可能你新編譯的內核沒有複製到/boot下?也有可能需要执行modules_update?

(EE) Failed to load module "dri" (module does not exist, 0)
(EE) Failed to load module "dri2" (module does not exist, 0)
回复 支持 反对

使用道具 举报

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

本版积分规则

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