ati显卡驱动风波

清明节放假这几天尽摆弄系统了,重新格式化了我的linux分区,然后在笔者的1.5T的硬盘上存了FreeBSD、WindowsXP、WindowsVista和Ubuntu好几个VDI虚拟盘(virtualbox虚拟机所制造出的),以后使用系统不用愁了,嘿嘿。


说了半天还没有说到正题,笔者的笔记本是ati独立显卡,当初买笔记本时就是考虑只买独立显卡的笔记本,结果现在给自己制造了不少的麻烦,以前在《Linux应用心得》、《终于尝试了Fedora7》和《太帅了,3D》等文中曾经提到,在以前fedora5至fedora8系统的安装过程中,一直为解决ati显卡驱动和系统的3d效果的兼容性作斗争,一直持续到现在(当然现在也在继续作)。

fedora10的发布,的确欢欣鼓舞,特别fedora的官方网站提到对ati显卡的支持性将更好、更快,当时fedora10在笔者工作的笔记本上已经扎根了,但是笔者的个人笔记本上却是犹豫不决。fedora8实在太棒了,解决了笔者很多的问题。可以说fedora8是当时以往linux桌面操作系统最优秀且最经典的一个。但是fedora10也同样优秀,在长期的工作当中,体验了fedora10的乐趣,于是下决心升级了。

升级很容易,直接硬盘挂载iso就可以了,这里升级安装fedora10的废话就不多说了。
升级完成之后,打开软件正常不,发现openoffice打不开,提示错误:
Xlib:  extension "RANDR" missing on display ":0.0".
X-Error: BadRequest (invalid request code or no such operation)
   Major opcode: 142
   Minor opcode: 19
   Resource ID:  0x4c00001
   Serial No:    126 (126)
These errors are reported asynchronously,
set environment variable SAL_SYNCHRONIZE to 1 to help debugging
soffice.bin: xcb_io.c:461: _XRead: Assertion `dpy->xcb->reply_data != 0' failed.

---start copy and paste here---
(I)    x.org loaded video driver of...
(II) Loading /usr/lib/xorg/modules/drivers//fglrx_drv.so
(--) Depth 24 pixmap format is 32 bpp
(III)  Desktop is: GNOME
(IV)   openoffice.org-kde version is: package openoffice.org-kde is not installed
(V)    libgcj version is: libgcj-4.3.2-7-i386
(VI)   kernel is: Linux 2.6.27.12-170.2.5.fc10.i686 #1 SMP Wed Jan 21 02:09:37 EST 2009 i686 i686 i386
(VII)  OpenOffice.org core rpm version is: openoffice.org-core-3.0.1-15.2.fc10-i386
(VIII) accessibility is: false
(IX)   fedora release is: Fedora release 10 (Cambridge)
(X)    LANG is: en_US.UTF-8
...start free space details ...
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda3             19402372  13637408   4779380  75% /
/dev/sda3             19402372  13637408   4779380  75% /
...end free space details ...
...start (default) java details ...
java version "1.6.0_0"
IcedTea6 1.4 (fedora-9.b14.fc10-i386) Runtime Environment (build 1.6.0_0-b14)
OpenJDK Client VM (build 14.0-b08, mixed mode)
...end (default) java details ...
...start sestatus details ...
SELinux status:                 disabled
...end sestatus details ...
...start stackreport details ...
0x1266c4: 0x1b4a40: /usr/lib/openoffice.org3/program/../basis-link/ure-link/lib/libuno_sal.so.3 + 0x256c4
0x126fff: 0x1b4a40: /usr/lib/openoffice.org3/program/../basis-link/ure-link/lib/libuno_sal.so.3 + 0x25fff
0x511400: 0x0:  + 0x400 (__kernel_sigreturn + 0x0)
0x659e28: 0x16fd7c: /lib/libc.so.6 + 0x2ce28 (abort + 0x188)
0x65140e: 0x16fd7c: /lib/libc.so.6 + 0x2440e (__assert_fail + 0xee)
0x9585ab: 0xfd268: /usr/lib/libX11.so.6 + 0x425ab
0x102fdd9: 0x93020: /usr/lib/fglrx/libGL.so.1 + 0x60dd9
...end stackreport details ...
...start sample ldd details ...
   linux-gate.so.1 =>  (0x00a0a000)
   libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0x00b27000)
   libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0x00758000)
   libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0x00110000)
   libgio-2.0.so.0 => /lib/libgio-2.0.so.0 (0x00f41000)
   libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0x0018c000)
   libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0x001b6000)
   libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0x009a4000)
   libcairo.so.2 => /usr/lib/libcairo.so.2 (0x001d3000)
   libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0x0024b000)
   libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00291000)
   libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00324000)
   libgmodule-2.0.so.0 => /lib/libgmodule-2.0.so.0 (0x0012d000)
   libgthread-2.0.so.0 => /lib/libgthread-2.0.so.0 (0x00131000)
   librt.so.1 => /lib/librt.so.1 (0x00136000)
   libdbus-glib-1.so.2 => /usr/lib/libdbus-glib-1.so.2 (0x008cb000)
   libdbus-1.so.3 => /lib/libdbus-1.so.3 (0x00a61000)
   libgobject-2.0.so.0 => /lib/libgobject-2.0.so.0 (0x00353000)
   libglib-2.0.so.0 => /lib/libglib-2.0.so.0 (0x00394000)
   libvclplug_genli.so => /usr/lib/openoffice.org/basis3.0/program/libvclplug_genli.so (0x00477000)
   libvclli.so => /usr/lib/openoffice.org/basis3.0/program/libvclli.so (0x00fb5000)
   libpspli.so => /usr/lib/openoffice.org/basis3.0/program/libpspli.so (0x004e4000)
   libsotli.so => /usr/lib/openoffice.org/basis3.0/program/libsotli.so (0x005ad000)
   libutlli.so => /usr/lib/openoffice.org/basis3.0/program/libutlli.so (0x0090c000)
   libtlli.so => /usr/lib/openoffice.org/basis3.0/program/libtlli.so (0x0062b000)
   libcomphelp4gcc3.so => /usr/lib/openoffice.org/basis3.0/program/libcomphelp4gcc3.so (0xb7f15000)
   libucbhelper4gcc3.so => /usr/lib/openoffice.org/basis3.0/program/libucbhelper4gcc3.so (0x006ad000)
   libuno_cppuhelpergcc3.so.3 => /usr/lib/openoffice.org/basis3.0/program/../ure-link/lib/libuno_cppuhelpergcc3.so.3 (0x007ed000)
   libuno_cppu.so.3 => /usr/lib/openoffice.org/basis3.0/program/../ure-link/lib/libuno_cppu.so.3 (0x00707000)
   libvos3gcc3.so => /usr/lib/openoffice.org/basis3.0/program/libvos3gcc3.so (0x00734000)
   libuno_sal.so.3 => /usr/lib/openoffice.org/basis3.0/program/../ure-link/lib/libuno_sal.so.3 (0xb7d59000)
   libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0x008ed000)
   libX11.so.6 => /usr/lib/libX11.so.6 (0xb7c58000)
   libXext.so.6 => /usr/lib/libXext.so.6 (0x00a31000)
   libdl.so.2 => /lib/libdl.so.2 (0x008a5000)
   libpthread.so.0 => /lib/libpthread.so.0 (0x00865000)
   libstlport_gcc.so => /usr/lib/openoffice.org/basis3.0/program/../ure-link/lib/libstlport_gcc.so (0x073c9000)
   libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7b65000)
   libm.so.6 => /lib/libm.so.6 (0x0097b000)
   libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x0087f000)
   libc.so.6 => /lib/libc.so.6 (0xb79f1000)
   libXcomposite.so.1 => /usr/lib/libXcomposite.so.1 (0x00b13000)
   libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0x00140000)
   libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0x005fb000)
   libpng12.so.0 => /usr/lib/libpng12.so.0 (0x009af000)
   libXrender.so.1 => /usr/lib/libXrender.so.1 (0x0088d000)
   libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0x00600000)
   libXi.so.6 => /usr/lib/libXi.so.6 (0x00896000)
   libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0x008aa000)
   libselinux.so.1 => /lib/libselinux.so.1 (0x009d6000)
   libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0x00aa2000)
   libz.so.1 => /lib/libz.so.1 (0x008b4000)
   libexpat.so.1 => /lib/libexpat.so.1 (0x00ae9000)
   /lib/ld-linux.so.2 (0x00608000)
   libnsl.so.1 => /lib/libnsl.so.1 (0x00a0b000)
   libcap.so.2 => /lib/libcap.so.2 (0x00603000)
   libSM.so.6 => /usr/lib/libSM.so.6 (0x008f4000)
   libICE.so.6 => /usr/lib/libICE.so.6 (0x00a41000)
   libi18nisolang1gcc3.so => /usr/lib/openoffice.org/basis3.0/program/libi18nisolang1gcc3.so (0x0089f000)
   libbasegfxli.so => /usr/lib/openoffice.org/basis3.0/program/libbasegfxli.so (0x072de000)
   libicuuc.so.40 => /usr/lib/libicuuc.so.40 (0xb78af000)
   libicule.so.40 => /usr/lib/libicule.so.40 (0x06f48000)
   libjvmaccessgcc3.so.3 => /usr/lib/openoffice.org/basis3.0/program/../ure-link/lib/libjvmaccessgcc3.so.3 (0x008fc000)
   libuno_salhelpergcc3.so.3 => /usr/lib/openoffice.org/basis3.0/program/../ure-link/lib/libuno_salhelpergcc3.so.3 (0x008e9000)
   libcrypt.so.1 => /lib/libcrypt.so.1 (0x00f0e000)
   libxcb-xlib.so.0 => /usr/lib/libxcb-xlib.so.0 (0x00143000)
   libxcb.so.1 => /usr/lib/libxcb.so.1 (0x04c98000)
   libXau.so.6 => /usr/lib/libXau.so.6 (0x008c8000)
   libuuid.so.1 => /lib/libuuid.so.1 (0x00903000)
   libicudata.so.40 => /usr/lib/libicudata.so.40 (0xb6b67000)
   libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x009f2000)
...end sample ldd details ...
---end copy and paste here---
paste the above into your bug report
Xlib:  extension "RANDR" missing on display ":0.0".
使用glxgearsfgl_glxgears都会显示:
X Error: BadRequest (invalid request code or no such operation) 1
Extension: 143 (Uknown extension)
Minor opcode: 19 (Unknown request)
Resource id: 0x17
amdcccle: xcb_io.c:461: _XRead: Assertion `dpy->xcb->reply_data != 0' failed.
Aborted
重新安装ati官方最新驱动,运行命令:
amdcccle
提示和上面一样的错误,仍然在网上Google,发现了一篇Fresh install of Fedora 10. OO3 crashes. randr,此篇帖子的jjcf89acknaksdoolan给出了比较中肯的建议,特别是最后sdoolan朋友的最后一回贴,重新点燃了对ati斗争的欲望,于是在gnome终端上输入:
export SAL_NOOPENGL=true
openoffice启动啦~,对笔者来说,是件惊喜的事情,但是事情没有解决,ati仍然显示不了3d效果,成功就在眼前,于是继续操作
1,备份原来/etc/X11/xorg.conf;
2,在终端下运行命令:
system-config-display
重新设置分辨率和刷新频率,如果没有安装这个命令,可以使用yum进行安装;
3,接着安装最新的ati显卡驱动ati-driver-installer-9-3-x86.x86_64.run
4,显卡驱动安装完成之后,运行命令:
aticonfig --dtop=horizontal --overlay-on=1
aticonfig --desktop-setup=horizontal
aticonfig --initial=dual-head --screen-layout=right
5,重启计算机。
启动之后,发现漂亮的3d界面出来了,而且不用修改SAL_NOOPENGL的值,ooo也可以启动了,不会发生core dump了。

笔者生成的xorg.conf配置文件如下:
xorg.conf

Monthly Archives

Pages

Powered by Movable Type 7.7.2

About this Entry

This page contains a single entry by Cnangel published on April 6, 2009 12:05 PM.

搬家小记 was the previous entry in this blog.

SMP(Symmetric Multi Processing) is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.