LinuxSir.cn,穿越时空的Linuxsir!

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

Compiz-fusion+Aiglx+ATi+openSUSE 10.2

[复制链接]
发表于 2007-9-2 14:19:33 | 显示全部楼层 |阅读模式
相信很多人都知道Compiz-fusion吧?据说是Beryl和Copmiz合并的产物,相信很多人也看过视频,也想试试吧?因为我的是Ati IGP340m,最不受支持的a card,唯有使用aiglx拉。好,废话不说,我就把我的配置贴出来大家分享。
1、首先是安装:
在Yast2中添加源:
http://download.opensuse.org/repositories/X11:/XGL/openSU
  1. [/CODE]SE_10.2/
  2. 这个是安装Compiz-fusion的,KDE的用户选择Compiz-fusion-KDE即可,Gnome的把KDE相应的改成Gnome即可,然后选择依赖性检测,自动选好要安装的软件包,另外就是主题了,选Compiz-emerald,和Compiz-emerald-themes,如果你喜欢用emerald的主题:)
  3. 装了Compiz-fusion还不够,因为我介绍的方法是用Aiglx,因此还要更新一下MESA,开源显卡驱动拉,哈哈,在Yast2中添加源:
  4. [url]http://download.opensuse.org/repositories/xorg72/openSUSE_10.2/[/url]
  5. 更新就是拉。
  6. 2、配置
  7. 首先是Aiglx,参照openSUSE官网上介绍的方法配置Aiglx是不行的(只适用于Beryl,至少我是这样,配置完Aiglx后启动compiz-fusion,所有阴影都是白框:mad: ),后来我搜了一下,找到一个德语网站介绍,看不懂,但是按照配置搞定了~!:2cool
  8. 现贴出我的xorg.conf
  9. [CODE]
  10. # /.../
  11. # SaX generated X11 config file
  12. # Created on: 2007-08-27T21:07:31+0800.
  13. #
  14. # Version: 8.1
  15. # Contact: Marcus Schaefer <sax@suse.de>, 2005
  16. # Contact: SaX-User list <https://lists.berlios.de/mailman/listinfo/sax-users>
  17. #
  18. # Automatically generated by [ISaX] (8.1)
  19. # PLEASE DO NOT EDIT THIS FILE!
  20. #
  21. Section "Files"
  22.   FontPath     "/usr/share/fonts/misc:unscaled"
  23.   FontPath     "/usr/share/fonts/local"
  24.   FontPath     "/usr/share/fonts/75dpi:unscaled"
  25.   FontPath     "/usr/share/fonts/100dpi:unscaled"
  26.   FontPath     "/usr/share/fonts/Type1"
  27.   FontPath     "/usr/share/fonts/URW"
  28.   FontPath     "/usr/share/fonts/Speedo"
  29.   FontPath     "/usr/share/fonts/PEX"
  30.   FontPath     "/usr/share/fonts/cyrillic"
  31.   FontPath     "/usr/share/fonts/latin2/misc:unscaled"
  32.   FontPath     "/usr/share/fonts/latin2/75dpi:unscaled"
  33.   FontPath     "/usr/share/fonts/latin2/100dpi:unscaled"
  34.   FontPath     "/usr/share/fonts/latin2/Type1"
  35.   FontPath     "/usr/share/fonts/latin7/75dpi:unscaled"
  36.   FontPath     "/usr/share/fonts/baekmuk:unscaled"
  37.   FontPath     "/usr/share/fonts/japanese:unscaled"
  38.   FontPath     "/usr/share/fonts/kwintv"
  39.   FontPath     "/usr/share/fonts/truetype"
  40.   FontPath     "/usr/share/fonts/uni:unscaled"
  41.   FontPath     "/usr/share/fonts/CID"
  42.   FontPath     "/usr/share/fonts/ucs/misc:unscaled"
  43.   FontPath     "/usr/share/fonts/ucs/75dpi:unscaled"
  44.   FontPath     "/usr/share/fonts/ucs/100dpi:unscaled"
  45.   FontPath     "/usr/share/fonts/hellas/misc:unscaled"
  46.   FontPath     "/usr/share/fonts/hellas/75dpi:unscaled"
  47.   FontPath     "/usr/share/fonts/hellas/100dpi:unscaled"
  48.   FontPath     "/usr/share/fonts/hellas/Type1"
  49.   FontPath     "/usr/share/fonts/misc/sgi:unscaled"
  50.   FontPath     "/usr/share/fonts/xtest"
  51.   FontPath     "/opt/kde3/share/fonts"
  52.   FontPath     "unix/:7100"
  53.   InputDevices "/dev/gpmdata"
  54.   InputDevices "/dev/input/mice"
  55. EndSection

  56. Section "ServerFlags"
  57.   Option       "AllowMouseOpenFail" "on"
  58.   Option       "Randr" "on"
  59. EndSection

  60. Section "Module"
  61.   Load         "glx"
  62.   Load         "type1"
  63.   Load         "extmod"
  64.   Load         "dbe"
  65.   Load         "freetype"
  66.   Load         "v4l"
  67.   Load         "dri"
  68. EndSection

  69. Section "InputDevice"
  70.   Driver       "kbd"
  71.   Identifier   "Keyboard[0]"
  72.   Option       "Protocol" "Standard"
  73.   Option       "XkbLayout" "us"
  74.   Option       "XkbModel" "pc104"
  75.   Option       "XkbRules" "xfree86"
  76. EndSection

  77. Section "InputDevice"
  78.   Driver       "mouse"
  79.   Identifier   "Mouse[1]"
  80.   Option       "Buttons" "5"
  81.   Option       "Device" "/dev/input/mice"
  82.   Option       "Name" "Logitech USB-PS/2 Optical Mouse"
  83.   Option       "Protocol" "explorerps/2"
  84.   Option       "Vendor" "Sysp"
  85.   Option       "ZAxisMapping" "4 5"
  86. EndSection

  87. Section "InputDevice"
  88.   Driver       "synaptics"
  89.   Identifier   "Mouse[3]"
  90.   Option       "AccelFactor" "0.1"
  91.   Option       "BottomEdge" "650"
  92.   Option       "Buttons" "7"
  93.   Option       "CircScrollDelta" "0.1"
  94.   Option       "CircScrollTrigger" "2"
  95.   Option       "CircularScrolling" "1"
  96.   Option       "Device" "/dev/input/mice"
  97.   Option       "EdgeMotionMaxSpeed" "15"
  98.   Option       "EdgeMotionMinSpeed" "15"
  99.   Option       "Emulate3Buttons" "on"
  100.   Option       "EmulateMidButtonTime" "75"
  101.   Option       "FingerHigh" "15"
  102.   Option       "FingerLow" "14"
  103.   Option       "HorizScrollDelta" "20"
  104.   Option       "InputFashion" "Mouse"
  105.   Option       "LeftEdge" "120"
  106.   Option       "MaxSpeed" "3"
  107.   Option       "MaxTapMove" "110"
  108.   Option       "MaxTapTime" "180"
  109.   Option       "MinSpeed" "0.2"
  110.   Option       "Name" "ALPS;Touchpad"
  111.   Option       "Protocol" "auto-dev"
  112.   Option       "RightEdge" "830"
  113.   Option       "SHMConfig" "on"
  114.   Option       "TopEdge" "120"
  115.   Option       "UpDownScrolling" "1"
  116.   Option       "Vendor" "Sysp"
  117.   Option       "VertScrollDelta" "20"
  118.   Option       "ZAxisMapping" "4 5"
  119. EndSection

  120. Section "Monitor"
  121.   DisplaySize  290 210
  122.   HorizSync    29-50
  123.   Identifier   "Monitor[0]"
  124.   ModelName    "LCD MONITOR"
  125.   Option       "DPMS"
  126.   VendorName   "QDS"
  127.   VertRefresh  43-60
  128.   UseModes     "Modes[0]"
  129. EndSection

  130. Section "Modes"
  131.   Identifier   "Modes[0]"
  132.   Modeline         "1024x768" 64.11 1024 1080 1184 1344 768 769 772 795
  133.   Modeline         "1024x768" 55.00 1024 1072 1104 1184 768 771 775 790 +HSync -VSync
  134.   Modeline         "1024x600" 48.96 1024 1064 1168 1312 600 601 604 622
  135.   Modeline         "1024x600" 43.00 1024 1072 1104 1184 600 603 613 619 +HSync -VSync
  136.   Modeline         "800x600" 38.22 800 832 912 1024 600 601 604 622
  137.   Modeline         "800x600" 34.75 800 848 880 960 600 603 607 617 +HSync -VSync
  138.   Modeline         "768x576" 34.96 768 792 872 976 576 577 580 597
  139.   Modeline         "768x576" 32.25 768 816 848 928 576 579 583 593 +HSync -VSync
  140.   Modeline         "640x480" 23.86 640 656 720 800 480 481 484 497
  141.   Modeline         "640x480" 23.25 640 688 720 800 480 483 487 494 +HSync -VSync
  142. EndSection

  143. Section "Screen"
  144.   DefaultDepth 24
  145.   SubSection "Display"
  146.     Depth      15
  147.     Modes      "1024x768" "1024x600" "800x600" "768x576" "640x480"
  148.   EndSubSection
  149.   SubSection "Display"
  150.     Depth      16
  151.     Modes      "1024x768" "1024x600" "800x600" "768x576" "640x480"
  152.   EndSubSection
  153.   SubSection "Display"
  154.     Depth      24
  155.     Modes      "1024x768" "1024x600" "800x600" "768x576" "640x480"
  156.   EndSubSection
  157.   SubSection "Display"
  158.     Depth      8
  159.     Modes      "1024x768" "1024x600" "800x600" "768x576" "640x480"
  160.   EndSubSection
  161.   Device       "Device[0]"
  162.   Identifier   "Screen[0]"
  163.   Monitor      "Monitor[0]"
  164. EndSection

  165. Section "Device"
  166.   BoardName    "RS200 4337"
  167.   BusID        "1:5:0"
  168.   Driver       "radeon"
  169.   Identifier   "Device[0]"
  170.   Screen       0
  171.   VendorName   "ATI"
  172.   Option       "XAANoOffscreenPixmaps" "true"
  173.   Option       "DRI" "true"
  174.   Option       "GARTSize" "64"
  175.   Option       "VideoOverlay" "on"
  176.   Option       "KernelModuleParm" "locked-userpages=0"
  177.   Option       "AccelMethod" "XAA"
  178.   Option       "AccelDFS"    "1"
  179.   Option       "AGPFastWrite" "1"
  180.   Option       "EnablePageFlip" "1"
  181.   Option       "ColorTiling" "1"
  182. EndSection

  183. Section "ServerLayout"
  184.   Identifier   "Layout[all]"
  185.   InputDevice  "Keyboard[0]" "CoreKeyboard"
  186.   InputDevice  "Mouse[1]" "CorePointer"
  187.   InputDevice  "Mouse[3]" "SendCoreEvents"
  188.   Option       "Clone" "off"
  189.   Option       "Xinerama" "off"
  190.   Option       "AIGLX" "true"
  191.   Screen       "Screen[0]"
  192. EndSection

  193. Section "DRI"
  194.     Group      0
  195.     Mode       0666
  196. EndSection

  197. Section "Extensions"
  198.   Option       "Composite" "Enable"
  199. EndSection

复制代码

配置完Aiglx后先别急着,先打开终端,输入compiz --replace ccp & emerald --replace &,测试一下,如果效果出来了,恭喜~!
接着就是启动,因为我用的是KDE,所以只介绍通用方法,就是在你所在用户的目录下,即~/然后输入cp .xinitrc.template .xinitrc,然后vi .xinitrc,找到#Add your own lines here,在下面添加
exec compiz --replace ccp &
exec emerald --replace &
一切ok拉,重启,看是否自动启动?若是,你已经进入了3D linux桌面年代拉~!;)
发表于 2007-9-3 08:22:37 | 显示全部楼层
尝Õ下了

谢谢分«
回复 支持 反对

使用道具 举报

发表于 2007-9-3 09:57:39 | 显示全部楼层
做个记号 收藏一下
家里有台ati集成卡的本,有空试试
回复 支持 反对

使用道具 举报

发表于 2007-9-3 15:22:19 | 显示全部楼层
收!(凑字)
回复 支持 反对

使用道具 举报

发表于 2007-11-22 22:06:30 | 显示全部楼层

晕改了哪些地方啊? ~~贴出来有什么用

Post by henryou899;1755285
相信很多人都知道Compiz-fusion吧?据说是Beryl和Copmiz合并的产物,相信很多人也看过视频,也想试试吧?因为我的是Ati IGP340m,最不受支持的a card,唯有使用aiglx拉。好,废话不说,我就把我的配置贴出来大家分享。
1、首先是安装:
在Yast2中添加源:
http://download.opensuse.org/repositories/X11:/XGL/openSUSE_10.2/
这个是安装Compiz-fusion的,KDE的用户选择Compiz-fusion-KDE即可,Gnome的把KDE相应的改成Gnome即可,然后选择依赖性检测,自动选好要安装的软件包,另外就是主题了,选Compiz-emerald,和Compiz-emerald-themes,如果你喜欢用emerald的主题
装了Compiz-fusion还不够,因为我介绍的方法是用Aiglx,因此还要更新一下MESA,开源显卡驱动拉,哈哈,在Yast2中添加源:
http://download.opensuse.org/repositories/xorg72/openSUSE_10.2/
更新就是拉。
2、配置
首先是Aiglx,参照openSUSE官网上介绍的方法配置Aiglx是不行的(只适用于Beryl,至少我是这样,配置完Aiglx后启动compiz-fusion,所有阴影都是白框:mad: ),后来我搜了一下,找到一个德语网站介绍,看不懂,但是按照配置搞定了~!:2cool
现贴出我的xorg.conf

  1. # /.../
  2. # SaX generated X11 config file
  3. # Created on: 2007-08-27T21:07:31+0800.
  4. #
  5. # Version: 8.1
  6. # Contact: Marcus Schaefer <sax@suse.de>, 2005
  7. # Contact: SaX-User list <https://lists.berlios.de/mailman/listinfo/sax-users>
  8. #
  9. # Automatically generated by [ISaX] (8.1)
  10. # PLEASE DO NOT EDIT THIS FILE!
  11. #
  12. Section "Files"
  13.   FontPath     "/usr/share/fonts/misc:unscaled"
  14.   FontPath     "/usr/share/fonts/local"
  15.   FontPath     "/usr/share/fonts/75dpi:unscaled"
  16.   FontPath     "/usr/share/fonts/100dpi:unscaled"
  17.   FontPath     "/usr/share/fonts/Type1"
  18.   FontPath     "/usr/share/fonts/URW"
  19.   FontPath     "/usr/share/fonts/Speedo"
  20.   FontPath     "/usr/share/fonts/PEX"
  21.   FontPath     "/usr/share/fonts/cyrillic"
  22.   FontPath     "/usr/share/fonts/latin2/misc:unscaled"
  23.   FontPath     "/usr/share/fonts/latin2/75dpi:unscaled"
  24.   FontPath     "/usr/share/fonts/latin2/100dpi:unscaled"
  25.   FontPath     "/usr/share/fonts/latin2/Type1"
  26.   FontPath     "/usr/share/fonts/latin7/75dpi:unscaled"
  27.   FontPath     "/usr/share/fonts/baekmuk:unscaled"
  28.   FontPath     "/usr/share/fonts/japanese:unscaled"
  29.   FontPath     "/usr/share/fonts/kwintv"
  30.   FontPath     "/usr/share/fonts/truetype"
  31.   FontPath     "/usr/share/fonts/uni:unscaled"
  32.   FontPath     "/usr/share/fonts/CID"
  33.   FontPath     "/usr/share/fonts/ucs/misc:unscaled"
  34.   FontPath     "/usr/share/fonts/ucs/75dpi:unscaled"
  35.   FontPath     "/usr/share/fonts/ucs/100dpi:unscaled"
  36.   FontPath     "/usr/share/fonts/hellas/misc:unscaled"
  37.   FontPath     "/usr/share/fonts/hellas/75dpi:unscaled"
  38.   FontPath     "/usr/share/fonts/hellas/100dpi:unscaled"
  39.   FontPath     "/usr/share/fonts/hellas/Type1"
  40.   FontPath     "/usr/share/fonts/misc/sgi:unscaled"
  41.   FontPath     "/usr/share/fonts/xtest"
  42.   FontPath     "/opt/kde3/share/fonts"
  43.   FontPath     "unix/:7100"
  44.   InputDevices "/dev/gpmdata"
  45.   InputDevices "/dev/input/mice"
  46. EndSection

  47. Section "ServerFlags"
  48.   Option       "AllowMouseOpenFail" "on"
  49.   Option       "Randr" "on"
  50. EndSection

  51. Section "Module"
  52.   Load         "glx"
  53.   Load         "type1"
  54.   Load         "extmod"
  55.   Load         "dbe"
  56.   Load         "freetype"
  57.   Load         "v4l"
  58.   Load         "dri"
  59. EndSection

  60. Section "InputDevice"
  61.   Driver       "kbd"
  62.   Identifier   "Keyboard[0]"
  63.   Option       "Protocol" "Standard"
  64.   Option       "XkbLayout" "us"
  65.   Option       "XkbModel" "pc104"
  66.   Option       "XkbRules" "xfree86"
  67. EndSection

  68. Section "InputDevice"
  69.   Driver       "mouse"
  70.   Identifier   "Mouse[1]"
  71.   Option       "Buttons" "5"
  72.   Option       "Device" "/dev/input/mice"
  73.   Option       "Name" "Logitech USB-PS/2 Optical Mouse"
  74.   Option       "Protocol" "explorerps/2"
  75.   Option       "Vendor" "Sysp"
  76.   Option       "ZAxisMapping" "4 5"
  77. EndSection

  78. Section "InputDevice"
  79.   Driver       "synaptics"
  80.   Identifier   "Mouse[3]"
  81.   Option       "AccelFactor" "0.1"
  82.   Option       "BottomEdge" "650"
  83.   Option       "Buttons" "7"
  84.   Option       "CircScrollDelta" "0.1"
  85.   Option       "CircScrollTrigger" "2"
  86.   Option       "CircularScrolling" "1"
  87.   Option       "Device" "/dev/input/mice"
  88.   Option       "EdgeMotionMaxSpeed" "15"
  89.   Option       "EdgeMotionMinSpeed" "15"
  90.   Option       "Emulate3Buttons" "on"
  91.   Option       "EmulateMidButtonTime" "75"
  92.   Option       "FingerHigh" "15"
  93.   Option       "FingerLow" "14"
  94.   Option       "HorizScrollDelta" "20"
  95.   Option       "InputFashion" "Mouse"
  96.   Option       "LeftEdge" "120"
  97.   Option       "MaxSpeed" "3"
  98.   Option       "MaxTapMove" "110"
  99.   Option       "MaxTapTime" "180"
  100.   Option       "MinSpeed" "0.2"
  101.   Option       "Name" "ALPS;Touchpad"
  102.   Option       "Protocol" "auto-dev"
  103.   Option       "RightEdge" "830"
  104.   Option       "SHMConfig" "on"
  105.   Option       "TopEdge" "120"
  106.   Option       "UpDownScrolling" "1"
  107.   Option       "Vendor" "Sysp"
  108.   Option       "VertScrollDelta" "20"
  109.   Option       "ZAxisMapping" "4 5"
  110. EndSection

  111. Section "Monitor"
  112.   DisplaySize  290 210
  113.   HorizSync    29-50
  114.   Identifier   "Monitor[0]"
  115.   ModelName    "LCD MONITOR"
  116.   Option       "DPMS"
  117.   VendorName   "QDS"
  118.   VertRefresh  43-60
  119.   UseModes     "Modes[0]"
  120. EndSection

  121. Section "Modes"
  122.   Identifier   "Modes[0]"
  123.   Modeline         "1024x768" 64.11 1024 1080 1184 1344 768 769 772 795
  124.   Modeline         "1024x768" 55.00 1024 1072 1104 1184 768 771 775 790 +HSync -VSync
  125.   Modeline         "1024x600" 48.96 1024 1064 1168 1312 600 601 604 622
  126.   Modeline         "1024x600" 43.00 1024 1072 1104 1184 600 603 613 619 +HSync -VSync
  127.   Modeline         "800x600" 38.22 800 832 912 1024 600 601 604 622
  128.   Modeline         "800x600" 34.75 800 848 880 960 600 603 607 617 +HSync -VSync
  129.   Modeline         "768x576" 34.96 768 792 872 976 576 577 580 597
  130.   Modeline         "768x576" 32.25 768 816 848 928 576 579 583 593 +HSync -VSync
  131.   Modeline         "640x480" 23.86 640 656 720 800 480 481 484 497
  132.   Modeline         "640x480" 23.25 640 688 720 800 480 483 487 494 +HSync -VSync
  133. EndSection

  134. Section "Screen"
  135.   DefaultDepth 24
  136.   SubSection "Display"
  137.     Depth      15
  138.     Modes      "1024x768" "1024x600" "800x600" "768x576" "640x480"
  139.   EndSubSection
  140.   SubSection "Display"
  141.     Depth      16
  142.     Modes      "1024x768" "1024x600" "800x600" "768x576" "640x480"
  143.   EndSubSection
  144.   SubSection "Display"
  145.     Depth      24
  146.     Modes      "1024x768" "1024x600" "800x600" "768x576" "640x480"
  147.   EndSubSection
  148.   SubSection "Display"
  149.     Depth      8
  150.     Modes      "1024x768" "1024x600" "800x600" "768x576" "640x480"
  151.   EndSubSection
  152.   Device       "Device[0]"
  153.   Identifier   "Screen[0]"
  154.   Monitor      "Monitor[0]"
  155. EndSection

  156. Section "Device"
  157.   BoardName    "RS200 4337"
  158.   BusID        "1:5:0"
  159.   Driver       "radeon"
  160.   Identifier   "Device[0]"
  161.   Screen       0
  162.   VendorName   "ATI"
  163.   Option       "XAANoOffscreenPixmaps" "true"
  164.   Option       "DRI" "true"
  165.   Option       "GARTSize" "64"
  166.   Option       "VideoOverlay" "on"
  167.   Option       "KernelModuleParm" "locked-userpages=0"
  168.   Option       "AccelMethod" "XAA"
  169.   Option       "AccelDFS"    "1"
  170.   Option       "AGPFastWrite" "1"
  171.   Option       "EnablePageFlip" "1"
  172.   Option       "ColorTiling" "1"
  173. EndSection

  174. Section "ServerLayout"
  175.   Identifier   "Layout[all]"
  176.   InputDevice  "Keyboard[0]" "CoreKeyboard"
  177.   InputDevice  "Mouse[1]" "CorePointer"
  178.   InputDevice  "Mouse[3]" "SendCoreEvents"
  179.   Option       "Clone" "off"
  180.   Option       "Xinerama" "off"
  181.   Option       "AIGLX" "true"
  182.   Screen       "Screen[0]"
  183. EndSection

  184. Section "DRI"
  185.     Group      0
  186.     Mode       0666
  187. EndSection

  188. Section "Extensions"
  189.   Option       "Composite" "Enable"
  190. EndSection

复制代码

配置完Aiglx后先别急着,先打开终端,输入compiz --replace ccp & emerald --replace &,测试一下,如果效果出来了,恭喜~!
接着就是启动,因为我用的是KDE,所以只介绍通用方法,就是在你所在用户的目录下,即~/然后输入cp .xinitrc.template .xinitrc,然后vi .xinitrc,找到#Add your own lines here,在下面添加
exec compiz --replace ccp &
exec emerald --replace &
一切ok拉,重启,看是否自动启动?若是,你已经进入了3D linux桌面年代拉~!;)

晕改了哪些地方啊? ~~贴出来有什么用
回复 支持 反对

使用道具 举报

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

本版积分规则

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