[已解决]ibm X31 Ati Mobility Radeon(M6) 驱动及开启3D全攻略

各种窗口管理器和美化相关
回复
zishanchen
帖子: 2
注册时间: 2008-05-31 22:54

[已解决]ibm X31 Ati Mobility Radeon(M6) 驱动及开启3D全攻略

#1

帖子 zishanchen » 2008-05-31 23:10

UBUNTU8.04下 IBM X31 ATI(m6)显卡配置Compiz Fusion

1 . 选用闭源驱动

a.更新系统(所有命令在终端中输入,下同)
sudo apt-get update
sudo apt-get upgrade
b.确定显卡被识别
lspci | grep ATI
应该含有 "ATI Technologies Inc Radeon Mobility M6 LY"

c.安装开源驱动

注意:如果您安装了frlgx驱动,则必须将其拆卸,最简便的方法是在“系统——系统管理——受限驱动管理器”中将启用勾掉,并重新启动计算机。

在终端中输入
glxinfo | grep vendor
如果出现
server glx vendor string: SGI
client glx vendor string: SGI
OpenGL vendor string: Tungsten Graphics, Inc.
则可以继续安装开源驱动 。
sudo apt-get remove xorg-driver-fglrx;
sudo apt-get install libgl1-mesa-glx libgl1-mesa-dri
d.配置开源驱动

sudo dpkg-reconfigure xserver-xorg
选择驱动时一般保持默认即可。
并且
sudo gedit /etc/X11/xorg.conf
把底下代码完全替换原代码
######################################################################################
## xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by failsafeDexconf, using
# values from the debconf database and some overrides to use vesa mode.
#
# You should use dexconf or another such tool for creating a "real" xorg.conf
# For example:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection


Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizScrollDelta" "0"
EndSection

Section "Device"
Identifier "ATI Technologies Inc Radeon Mobility M6 LY"
Busid "PCI:1:0:0"
Driver "radeon"
Option "AGPSize" "32"
Option "XAANoOffscreenPixmaps" "on"
Option "AGPMode" "4"
Option "AGPFastWrite" "on"
Option "DisableGLXRootClipping" "on"
Option "AddARGBGLXVisuals" "on"
Option "AllowGLXWithComposite" "on"
Option "EnablePageFlip" "on"
EndSection

Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "ATI Technologies Inc Radeon Mobility M6 LY"
Monitor "Generic Monitor"
DefaultDepth 16
SubSection "Display"
Depth 8
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
screen 0 "Default Screen" 0 0
Inputdevice "Generic Keyboard"
Inputdevice "Configured Mouse"
Inputdevice "Synaptics Touchpad"
option "AIGLX" "true"
EndSection

Section "DRI"
Mode 0666
EndSection

Section "Extensions"
Option "Composite" "Enable"
EndSection
#########################################################################################


然后保存文件重新启动计算机。
e.检验设置

运行
glxinfo | grep “direct rendering”
得到“direct rendering: Yes”,即为设置正确,否则请仔细检查上述步骤或考虑选用闭源驱动。

==========================================================================================================================

2 Compiz安装篇
2.1 拆卸自带Compiz
在“系统——首选项——外观”中关闭桌面特效。
sudo apt-get autoremove compiz

2.2 安装Compiz Fusion
a.添加安装源
sudo gedit /etc/apt/sources.list
添加如下内容
deb http://download.tuxfamily.org/3v1deb feisty eyecandy
deb-src http://download.tuxfamily.org/3v1deb feisty eyecandy
并执行
sudo apt-get update
sudo wget http://download.tuxfamily.org/3v1deb/DD800CD9.gpg -O- | sudo apt-key add -

b.安装Compiz Fousion以及emerald-themes
sudo apt-get install compiz compiz-gnome
sudo apt-get install compizconfig-settings-manager
sudo apt-get install compiz-fusion-* emerald-themes

c.安装Fusion-ico
sudo apt-get install git git-core compiz-dev
git-clone git://anongit.opencompositing.org/users/crdlb/fusion-icon
cd fusion-icon
make
sudo make install

d.使用Compiz Fusion
在“系统——首选项——会话”中建立会话,名称为“Fusion-icon”,命令为“fusion-icon”,重新启动计算机后,就可以在屏幕右上角的Fusion-icon图表中切换 并设置您的Compiz Fusion了。
头像
lhw828
帖子: 2797
注册时间: 2007-03-15 16:58
来自: 湖北武汉
联系:

#2

帖子 lhw828 » 2008-06-02 3:33

ATI需要这样的帖子
头像
River Zhu
帖子: 30
注册时间: 2008-05-22 8:58

#3

帖子 River Zhu » 2008-06-02 8:29

哈哈,没怎么指望俺的X24显卡支持3D,看来这下可以试试了,就是不知道效果如何,卡不卡。楼主给个截图就爽了!
IBM X24
CPU 1.13G
Memory 384M
HD 80G/7200RPM
Xubuntu
Archlinux
zishanchen
帖子: 2
注册时间: 2008-05-31 22:54

x22 x23 x24 x30 x31 等用ATI的都可以

#4

帖子 zishanchen » 2008-06-02 11:54

x22 x23 x24 x30 x31 等用ATI的都可以

只要记得用:
lspci | grep ATI
显示的结果中"xxxxxxxx"(此xxxxxxxx为系统检测到的你的显卡型号)内的内容复制到
Section "Device"
Identifier "xxxxxxxx"

Section "Screen"

Device "xxxxxxxxx"

即可

ATI显卡在安装UBUNTU后,很多不会出现在“受限驱动管理器”中,默认的都是“vesa"驱动。

很懒,就不发截图了
头像
hualang0929
帖子: 1226
注册时间: 2006-11-11 10:23
来自: Mars
联系:

#5

帖子 hualang0929 » 2008-06-02 12:10

开源驱动本来就支持,是你自己搞复杂了。

再说 fglrx 本来就不支持
抬头望星空一片晴,我独行,夜已渐寒……
头像
River Zhu
帖子: 30
注册时间: 2008-05-22 8:58

#6

帖子 River Zhu » 2008-06-02 20:32

代码: 全选

Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "vbe"
EndSection 
这些load的module,我想知道是从哪里确定的,load的路径是哪?
我在/usr/lib/xorg/modules/下看了一些,但有几个没找到,包括:i2c、bitmap、ddc这三个。如何确定我的机器里有这些模块?
IBM X24
CPU 1.13G
Memory 384M
HD 80G/7200RPM
Xubuntu
Archlinux
Megaboy
帖子: 3
注册时间: 2008-08-20 13:26

#7

帖子 Megaboy » 2008-08-23 2:14

谢谢搂主。
heroteng
帖子: 128
注册时间: 2007-11-12 11:20

Re: [已解决]ibm X31 Ati Mobility Radeon(M6) 驱动及开启3D全攻略

#8

帖子 heroteng » 2009-02-18 17:07

mark
yutuv
帖子: 7
注册时间: 2008-10-04 21:58

Re: [已解决]ibm X31 Ati Mobility Radeon(M6) 驱动及开启3D全攻略

#9

帖子 yutuv » 2009-02-26 22:16

这个得收藏,我就是用X31的不搞不定 3D
xuriwuyun
帖子: 47
注册时间: 2008-10-18 15:44

Re: [已解决]ibm X31 Ati Mobility Radeon(M6) 驱动及开启3D全攻略

#10

帖子 xuriwuyun » 2009-03-06 14:35

霸道,真是太霸道
songshulu
帖子: 96
注册时间: 2009-03-11 11:11

Re: [已解决]ibm X31 Ati Mobility Radeon(M6) 驱动及开启3D全攻略

#11

帖子 songshulu » 2009-03-28 2:18

按照这个操作后,glxinfo | grep “direct rendering” ,结果还是 grep: rendering”: 没有该文件或目录
且播放电影只有蓝色了。
头像
wangdu2002
帖子: 13284
注册时间: 2008-12-13 19:39
来自: 物华天宝人杰地灵

Re: [已解决]ibm X31 Ati Mobility Radeon(M6) 驱动及开启3D全攻略

#12

帖子 wangdu2002 » 2009-03-28 2:23

楼主辛苦了,顶下! :em11
行到水穷处,坐看云起时。
海内生明月,天涯共此夕。
--------------------吾本独!
songshulu
帖子: 96
注册时间: 2009-03-11 11:11

Re: [已解决]ibm X31 Ati Mobility Radeon(M6) 驱动及开启3D全攻略

#13

帖子 songshulu » 2009-03-28 11:38

终端输入:glxinfo
name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_texture_from_pixmap,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
GLX_OML_swap_method, GLX_SGI_swap_control, GLX_SGIS_multisample,
GLX_SGIX_fbconfig, GLX_SGIX_visual_select_group
client glx vendor string: SGI
client glx version string: 1.4
client glx extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory,
GLX_MESA_copy_sub_buffer, GLX_MESA_swap_control,
GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_OML_sync_control,
GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync,
GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
GLX_SGIX_visual_select_group, GLX_EXT_texture_from_pixmap
GLX version: 1.2
GLX extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_swap_control,
GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_SGI_swap_control,
GLX_SGI_video_sync, GLX_SGIS_multisample, GLX_SGIX_fbconfig,
GLX_SGIX_visual_select_group
OpenGL vendor string: Tungsten Graphics, Inc.
OpenGL renderer string: Mesa DRI Radeon 20061018 AGP 4x x86/MMX/SSE2 NO-TCL
OpenGL version string: 1.3 Mesa 7.2
OpenGL extensions:
GL_ARB_imaging, GL_ARB_multisample, GL_ARB_multitexture,
GL_ARB_texture_border_clamp, GL_ARB_texture_compression,
GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
GL_ARB_texture_env_combine, GL_ARB_texture_env_crossbar,
GL_ARB_texture_env_dot3, GL_ARB_texture_mirrored_repeat,
GL_ARB_texture_rectangle, GL_ARB_transpose_matrix,
GL_ARB_vertex_buffer_object, GL_ARB_window_pos, GL_EXT_abgr, GL_EXT_bgra,
GL_EXT_blend_color, GL_EXT_blend_logic_op, GL_EXT_blend_minmax,
GL_EXT_blend_subtract, GL_EXT_clip_volume_hint,
GL_EXT_compiled_vertex_array, GL_EXT_convolution, GL_EXT_copy_texture,
GL_EXT_draw_range_elements, GL_EXT_fog_coord, GL_EXT_histogram,
GL_EXT_packed_pixels, GL_EXT_polygon_offset, GL_EXT_rescale_normal,
GL_EXT_secondary_color, GL_EXT_separate_specular_color,
GL_EXT_stencil_wrap, GL_EXT_subtexture, GL_EXT_texture, GL_EXT_texture3D,
GL_EXT_texture_edge_clamp, GL_EXT_texture_env_add,
GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3,
GL_EXT_texture_filter_anisotropic, GL_EXT_texture_lod_bias,
GL_EXT_texture_mirror_clamp, GL_EXT_texture_object,
GL_EXT_texture_rectangle, GL_EXT_vertex_array, GL_APPLE_packed_pixels,
GL_ATI_texture_env_combine3, GL_ATI_texture_mirror_once,
GL_IBM_rasterpos_clip, GL_IBM_texture_mirrored_repeat,
GL_MESA_ycbcr_texture, GL_MESA_window_pos, GL_NV_blend_square,
GL_NV_light_max_exponent, GL_NV_texture_rectangle,
GL_NV_texgen_reflection, GL_OES_read_format, GL_SGI_color_matrix,
GL_SGI_color_table, GL_SGIS_generate_mipmap, GL_SGIS_texture_border_clamp,
GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod

3 GLX Visuals
visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav
id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat
----------------------------------------------------------------------
0x21 16 tc 0 16 0 r y . 5 6 5 0 0 16 0 0 0 0 0 0 0 None
0x22 16 dc 0 16 0 r y . 5 6 5 0 0 16 0 0 0 0 0 0 0 None
0x54 32 tc 0 16 0 r . . 5 6 5 0 0 16 0 0 0 0 0 0 0 None

16 GLXFBConfigs:
visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav
id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat
----------------------------------------------------------------------
0x55 0 tc 0 16 0 r . . 5 6 5 0 0 16 0 0 0 0 0 0 0 None
0x56 0 tc 0 16 0 r . . 5 6 5 0 0 16 0 16 16 16 0 0 0 Slow
0x57 0 tc 0 16 0 r y . 5 6 5 0 0 16 0 0 0 0 0 0 0 None
0x58 0 tc 0 16 0 r y . 5 6 5 0 0 16 0 16 16 16 0 0 0 Slow
0x59 0 tc 0 16 0 r . . 5 6 5 0 0 16 8 0 0 0 0 0 0 Slow
0x5a 0 tc 0 16 0 r . . 5 6 5 0 0 16 8 16 16 16 0 0 0 Slow
0x5b 0 tc 0 16 0 r y . 5 6 5 0 0 16 8 0 0 0 0 0 0 Slow
0x5c 0 tc 0 16 0 r y . 5 6 5 0 0 16 8 16 16 16 0 0 0 Slow
0x5d 0 dc 0 16 0 r . . 5 6 5 0 0 16 0 0 0 0 0 0 0 None
0x5e 0 dc 0 16 0 r . . 5 6 5 0 0 16 0 16 16 16 0 0 0 Slow
0x5f 0 dc 0 16 0 r y . 5 6 5 0 0 16 0 0 0 0 0 0 0 None
0x60 0 dc 0 16 0 r y . 5 6 5 0 0 16 0 16 16 16 0 0 0 Slow
0x61 0 dc 0 16 0 r . . 5 6 5 0 0 16 8 0 0 0 0 0 0 Slow
0x62 0 dc 0 16 0 r . . 5 6 5 0 0 16 8 16 16 16 0 0 0 Slow
0x63 0 dc 0 16 0 r y . 5 6 5 0 0 16 8 0 0 0 0 0 0 Slow
0x64 0 dc 0 16 0 r y . 5 6 5 0 0 16 8 16 16 16 0 0 0 Slow

应该是已经装好了吧?

另外,X31应该是PC101键盘吧,我看楼主帖子里面是pc105
draenix
帖子: 1
注册时间: 2009-10-13 18:51

Re: [已解决]ibm X31 Ati Mobility Radeon(M6) 驱动及开启3D全攻略

#14

帖子 draenix » 2009-10-15 22:54

终于搞定了,在安装过程中碰到的几个问题记录一下。
在 1.d 步骤,替换了 xorg.conf 后重新启动之前,需要将系统-appearance里的效果关闭,否则重启后会出现无标题栏,终端显示空白无法输入命令的情况。

在2.c步骤,安装Fusion-ico的命令行有错误 应该是

sudo apt-get install git git-core compiz-dev
git clone git://anongit.opencompositing.org/users/crdlb/fusion-icon
cd fusion-icon
make
sudo make install

最后感谢lz的工作。
cykxl2008
帖子: 2
注册时间: 2011-01-10 19:46

Re: [已解决]ibm X31 Ati Mobility Radeon(M6) 驱动及开启3D全攻略

#15

帖子 cykxl2008 » 2011-01-14 15:48

和13楼的xd一样不行。我的是ibm a30,一个型号显卡但是16m现存
还是开不来了特效

谁能帮我一下
回复