LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
123
返回列表 发新帖
楼主: laris

哈哈!XGL在Debian Sid下也很简单吗!

[复制链接]
发表于 2006-10-11 19:27:36 | 显示全部楼层
终于弄好了。参照的文档 Gentoo-wiki :http://gentoo-wiki.com/HOWTO_AIGLX
开8xAA的效果:

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
回复 支持 反对

使用道具 举报

发表于 2006-10-11 23:18:58 | 显示全部楼层
想问下楼上改哪了,我是i810的
启动compiz有以下错误:
libGL warning: 3D driver claims to not support visual 0x4b
/usr/bin/compiz.real: No stencil buffer. Clipping of transformed windows is not going to be correct when screen is transformed.
没有边框,其他效果都有
回复 支持 反对

使用道具 举报

发表于 2006-10-12 09:36:35 | 显示全部楼层
请教楼主如果是nvidia的卡, 需要DRI section么?

nvidia的驱动似乎要禁用DRI
回复 支持 反对

使用道具 举报

发表于 2006-10-12 09:43:42 | 显示全部楼层
Post by deevarvar
想问下楼上改哪了,我是i810的
启动compiz有以下错误:
libGL warning: 3D driver claims to not support visual 0x4b
/usr/bin/compiz.real: No stencil buffer. Clipping of transformed windows is not going to be correct when screen is transformed.
没有边框,其他效果都有

http://gentoo-wiki.com/HOWTO_AIGLX这篇文章改了xorg.conf
写了个compiz-aixgl脚本来启动compiz就好了
  1. # Start window decorator
  2. gtk-window-decorator --replace &

  3. # Start compiz
  4. compiz --replace --indirect-rendering --strict-binding gconf move resize minimize place decoration wobbly cube rotate scale switcher zoom fade screenshot water dbus
复制代码
回复 支持 反对

使用道具 举报

发表于 2006-10-12 09:56:58 | 显示全部楼层
请问一下这是什么问题?
/usr/bin/compiz.real: GLX_EXT_texture_from_pixmap is missing
/usr/bin/compiz.real: Failed to manage screen: 0
/usr/bin/compiz.real: No manageable screens found on display :0.0
回复 支持 反对

使用道具 举报

发表于 2006-10-12 10:28:22 | 显示全部楼层
还有 ,装好compiz后一定要重新安装一下compiz-plugins
  1. aptitude  reinstall compiz-plugins
复制代码
回复 支持 反对

使用道具 举报

发表于 2006-10-12 10:50:51 | 显示全部楼层
Post by yangzhe1990
请问一下这是什么问题?
/usr/bin/compiz.real: GLX_EXT_texture_from_pixmap is missing
/usr/bin/compiz.real: Failed to manage screen: 0
/usr/bin/compiz.real: No manageable screens found on display :0.0



显卡驱动有问题!
如果是nvidia的显卡,使用experimental中的的9625版驱动即可。
回复 支持 反对

使用道具 举报

发表于 2006-10-12 13:20:01 | 显示全部楼层
我显卡都没有弄好,还随机性的死机

debian sid ati m6 ly
回复 支持 反对

使用道具 举报

发表于 2006-10-13 20:42:21 | 显示全部楼层
按大家说的做法作了,启动compiz后白屏了
整个屏幕白哗哗的啥都没有
但是按Ctrl+Alt+左右键时竟然有白色的方块在转
到底哪儿弄错了,哪位高人指点下
回复 支持 反对

使用道具 举报

发表于 2006-10-15 01:42:28 | 显示全部楼层
俺的也成功了!谢谢laris带来了好消息
特别谢谢“高热”兄提供了一个好网址,俺就是按照里面的指示设置xorg.conf文件的,现在窗口的标题及装饰终于出来了,正在体验新奇中,感觉MS瘟倒死真的可能要死一边去了(如果不是国内银行不争气的话)
俺的系统:
Duron750+MX440+Sid+下载的Nvidia9625测试版驱动+apt安装compiz
登录后启动compiz,命令如下:
compiz --replace gconf&
如果没有成功,使用以下命令恢复原状
metacity --replace gconf&
记了说了,使用特效时还算顺畅,最高CPU占用约90%,平时晃动窗口时约80%,俺的CPU是Duron750的
xorg.conf文件如下:
  1. # nvidia-xconfig: X configuration file generated by nvidia-xconfig
  2. # nvidia-xconfig:  version 1.0  (buildmeister@builder3)  Thu Sep 14 15:50:24 PDT 2006
  3. # /etc/X11/xorg.conf (xorg X Window System server configuration file)
  4. #
  5. # This file was generated by dexconf, the Debian X Configuration tool, using
  6. # values from the debconf database.
  7. #
  8. # Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
  9. # (Type "man /etc/X11/xorg.conf" at the shell prompt.)
  10. #
  11. # This file is automatically updated on xserver-xorg package upgrades *only*
  12. # if it has not been modified since the last upgrade of the xserver-xorg
  13. # package.
  14. #
  15. # If you have edited this file but would like it to be automatically updated
  16. # again, run the following command:
  17. #   sudo dpkg-reconfigure -phigh xserver-xorg
  18. #增加了这一段
  19. Section "DRI"
  20.         Group        0
  21.         Mode        0666
  22. EndSection
  23. Section "ServerLayout"
  24.     Identifier     "Default Layout"
  25.     Screen         "Default Screen" 0 0
  26.     InputDevice    "Generic Keyboard"
  27.     InputDevice    "Configured Mouse"
  28. #增加使用AIGLX实现使用GLX
  29.     Option         "AIGLX" "true"
  30. EndSection
  31. Section "Files"
  32.         # path to defoma fonts
  33.     FontPath        "/usr/share/fonts/X11/misc"
  34.     FontPath        "/usr/X11R6/lib/X11/fonts/misc"
  35.     FontPath        "/usr/share/fonts/X11/cyrillic"
  36.     FontPath        "/usr/X11R6/lib/X11/fonts/cyrillic"
  37.     FontPath        "/usr/share/fonts/X11/100dpi/:unscaled"
  38.     FontPath        "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
  39.     FontPath        "/usr/share/fonts/X11/75dpi/:unscaled"
  40.     FontPath        "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
  41.     FontPath        "/usr/share/fonts/X11/Type1"
  42.     FontPath        "/usr/X11R6/lib/X11/fonts/Type1"
  43.     FontPath        "/usr/share/fonts/X11/100dpi"
  44.     FontPath        "/usr/X11R6/lib/X11/fonts/100dpi"
  45.     FontPath        "/usr/share/fonts/X11/75dpi"
  46.     FontPath        "/usr/X11R6/lib/X11/fonts/75dpi"
  47.     FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
  48. EndSection
  49. Section "Module"
  50.     Load           "bitmap"
  51.     Load           "ddc"
  52.     Load           "extmod"
  53.     Load           "freetype"
  54.     Load           "glx"
  55.     Load           "int10"
  56.     Load           "type1"
  57.     Load           "vbe"
  58. EndSection
  59. Section "InputDevice"
  60.     Identifier     "Generic Keyboard"
  61.     Driver         "kbd"
  62.     Option         "CoreKeyboard"
  63.     Option         "XkbRules" "xorg"
  64.     Option         "XkbModel" "pc104"
  65.     Option         "XkbLayout" "us"
  66. EndSection
  67. Section "InputDevice"
  68.     Identifier     "Configured Mouse"
  69.     Driver         "mouse"
  70.     Option         "CorePointer"
  71.     Option         "Device" "/dev/input/mice"
  72.     Option         "Protocol" "ExplorerPS/2"
  73. EndSection
  74. Section "Monitor"
  75.     Identifier     "SyncMaster"
  76.     HorizSync       30.0 - 81.0
  77.     VertRefresh     56.0 - 75.0
  78.     Option         "DPMS"
  79. EndSection
  80. Section "Device"
  81.     Identifier     "MX440"
  82.     Driver         "nvidia"
  83. #增加以下选项,某些可能不是必须的
  84.     Option           "RenderAccel"        "true"
  85.     Option           "BackingStore"        "ture"
  86.     Option           "XAANoOffscreenPixmaps"        "true"
  87.     Option           "DRI"        "true"
  88.     Option           "AllowGLXWithComposite"        "true"
  89. EndSection
  90. Section "Screen"
  91.     Identifier     "Default Screen"
  92.     Device         "MX440"
  93.     Monitor        "SyncMaster"
  94.     DefaultDepth    24
  95. #增加一个选项
  96.     Option            "AddARGBGLXVisuals"                "true"
  97.     SubSection     "Display"
  98.         Depth       1
  99.         Modes      "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
  100.     EndSubSection
  101.     SubSection     "Display"
  102.         Depth       4
  103.         Modes      "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
  104.     EndSubSection
  105.     SubSection     "Display"
  106.         Depth       8
  107.         Modes      "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
  108.     EndSubSection
  109.     SubSection     "Display"
  110.         Depth       15
  111.         Modes      "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
  112.     EndSubSection
  113.     SubSection     "Display"
  114.         Depth       16
  115.         Modes      "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
  116.     EndSubSection
  117.     SubSection     "Display"
  118.         Depth       24
  119.         Modes      "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
  120.     EndSubSection
  121. EndSection
  122. #增加以下以使用Composite
  123. Section "Extensions"
  124.     Option         "Composite" "Enable"
  125. EndSection
复制代码
回复 支持 反对

使用道具 举报

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

本版积分规则

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