如何生成 xorg.conf?(X-configure 段错误)

如何生成 xorg.conf?(X-configure 段错误)

我的视频卡工作正常,屏幕没有问题。
我正在尝试生成 xorg.conf,因此我执行了以下操作:

[ Logout ]
sudo service gdm stop
[ Move away xorg.conf.back and xorg.conf.fglrx-0 that were in /etc/X11 ]
sudo dpkg-reconfigure xserver-xorg
sudo X -configure

但是最后一个命令出现段错误:

X.Org X Server 1.7.6
Release Date: 2010-03-17
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.24-27-server i686 Ubuntu
Current Operating System: Linux nico 2.6.32-25-generic #44-Ubuntu SMP Fri Sep 17 20:26:08 UTC 2010 i686
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-2.6.32-25-generic root=UUID=7447ab16-3406-442d-81e5-bb6a2d795205 ro quiet splash
Build Date: 21 July 2010  12:47:34PM
xorg-server 2:1.7.6-2ubuntu7.3 (For technical support please see http://www.ubuntu.com/support) 
Current version of pixman: 0.16.4
 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: Fri Oct 15 16:06:11 2010
List of video drivers:
 i740
 ark
 geode
 siliconmotion
 mach64
 s3
 r128
 apm
 intel
 neomagic
 vesa
 trident
 chips
 s3virge
 fglrx
 sis
 savage
 rendition
 i128
 tseng
 ztv
 mga
 openchrome
 radeon
 ati
 nv
 v4l
 vmware
 cirrus
 tdfx
 nouveau
 sisusb
 voodoo
 fbdev
(EE) Can't load FireGL DRM library (libfglrxdrm.so).

Backtrace:
0: X (xorg_backtrace+0x3b) [0x80e938b]
1: X (0x8048000+0x61c8d) [0x80a9c8d]
2: (vdso) (__kernel_rt_sigreturn+0x0) [0x34d410]
3: X (xf86CallDriverProbe+0x182) [0x80b82d2]
4: X (DoConfigure+0x1c8) [0x816b898]
5: X (InitOutput+0x1da) [0x80b98aa]
6: X (0x8048000+0x1ebbb) [0x8066bbb]
7: /lib/tls/i686/cmov/libc.so.6 (__libc_start_main+0xe6) [0x467bd6]
8: X (0x8048000+0x1e961) [0x8066961]
Segmentation fault at address (nil)

Caught signal 11 (Segmentation fault). Server aborting

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.

 ddxSigGiveUp: Closing log

注意Can't load FireGL DRM library (libfglrxdrm.so)

注意:我确实有文件/usr/lib/fglrx/xorg/modules/linux/libfglrxdrm.so

奇怪的是,它会发生段错误,而我可以毫无问题地使用 Gnome,但是...
可能相关:我最近尝试从 ATI 的网站安装驱动程序,然后 glxgears 在启动时崩溃。

在这些条件下我如何生成 xorg.conf?
它可能涉及或不涉及解决段错误问题。

答案1

如果您使用专有驱动程序,Ati 的驱动程序将为您提供aticonfig负责管理 xorg.conf 的驱动程序。要生成 xorg.conf,请运行:

aticonfig --initial

答案2

您可以使用sudo dexconf -o /etc/X11/xorg.conf

相关内容