LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: limon

fglrx + xgl, 窗口响应很慢?

[复制链接]
发表于 2006-10-4 10:02:59 | 显示全部楼层
Post by limon
你死机的原因八成是这个,不是glx:
Option        "AGPFastWrite" "1"

不是。我现在觉得有好几个可能。
1、fglrx的问题。只要lsmod里有fglrx,就会死机
2、load glx的问题,只要用了load glx就死机,不用就不死。
昨天用了草给我写的xorg.conf,结果现在还是死机。


另外limon,你建议的用9999的mesa和libdrm我也已经试过了,但是死机依旧。我现在正在恢复用fglrx算了。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-10-4 10:11:50 | 显示全部楼层
折腾一阵,我用上开源dri了,按wiki说的作,用源里的版本就够了,但是要做个链接
ln -s /usr/lib/dri/r300_dri.so /usr/lib/xorg/modules/dri/r300_dri.so

beryl能用,但是画面偶尔破碎,不太稳定,速度也不快。再研究研究。
回复 支持 反对

使用道具 举报

发表于 2006-10-4 10:13:53 | 显示全部楼层
Post by limon
折腾一阵,我用上开源dri了,按wiki说的作,用源里的版本就够了,但是要做个链接
ln -s /usr/lib/dri/r300_dri.so /usr/lib/xorg/modules/dri/r300_dri.so

beryl能用,但是画面偶尔破碎,不太稳定,速度也不快。再研究研究。


wiki里似乎没有提到内核编译的要求。我打算还是停一停不搞开源驱动了,继续用fglrx。
可是看zhllg的那个视频,他显卡也不强不过效果很流畅的呀。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-10-4 10:16:59 | 显示全部楼层
zhllg 能把你的xorg.conf和启动beryl的脚本贴一下吗?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-10-4 10:24:49 | 显示全部楼层
Post by sheep204
wiki里似乎没有提到内核编译的要求。我打算还是停一停不搞开源驱动了,继续用fglrx。
可是看zhllg的那个视频,他显卡也不强不过效果很流畅的呀。


他用的是r200吧?9500前的应该没什么问题
回复 支持 反对

使用道具 举报

发表于 2006-10-4 10:33:13 | 显示全部楼层
Post by sheep204
wiki里似乎没有提到内核编译的要求。我打算还是停一停不搞开源驱动了,继续用fglrx。
可是看zhllg的那个视频,他显卡也不强不过效果很流畅的呀。


我给你贴的文章里面有编译内核的要求.

说实话,你一直提供的信息不够,到现在我所掌握的是
"我一打开glx,就死机"
让你贴log,贴出来的竟然是fglrx的log.
忽忽,你还是自己搞定吧.
回复 支持 反对

使用道具 举报

发表于 2006-10-4 10:35:10 | 显示全部楼层
Post by limon
他用的是r200吧?9500前的应该没什么问题

小弟是r300
画面偶尔有点破碎.
开了beryl,所有的opengl程序都有问题,一打开就"破碎"
包括supertux,包括glxgears.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-10-4 10:57:49 | 显示全部楼层
firefox滚动页面很卡,你有这种情况吗?
回复 支持 反对

使用道具 举报

发表于 2006-10-4 11:12:45 | 显示全部楼层
比较卡,但是比xgl好多了
我的xorg.conf在下面,我是用普通方式进入X,然后执行beryl-start的
  1. Section "ServerLayout"
  2.         Identifier     "Server Layout"
  3.         Screen         "Screen0" 0 0
  4.         InputDevice    "Mouse1" "CorePointer"
  5.         InputDevice    "Synaptics Mouse" "AlwaysCore"
  6.         InputDevice    "Keyboard1" "CoreKeyboard"
  7.         Option         "AIGLX" "true"
  8. EndSection
  9. Section "Files"
  10.         FontPath     "/usr/share/fonts/100dpi"
  11.         FontPath     "/usr/share/fonts/75dpi"
  12.         FontPath     "/usr/share/fonts/TTF"
  13.         FontPath     "/usr/share/fonts/Type1"
  14.         FontPath     "/usr/share/fonts/baekmuk-fonts"
  15.         FontPath     "/usr/share/fonts/corefonts"
  16.         FontPath     "/usr/share/fonts/default"
  17.         FontPath     "/usr/share/fonts/dejavu"
  18.         FontPath     "/usr/share/fonts/kochi-substitute"
  19.         FontPath     "/usr/share/fonts/misc"
  20.         FontPath     "/usr/share/fonts/ttf-bitstream-vera"
  21.         FontPath     "/usr/share/fonts/wqy-bitmapfont"
  22. EndSection
  23. Section "Module"
  24.         Load  "dbe"          # Double buffer extension
  25.         Load  "synaptics"
  26.         Load  "freetype"
  27.         Load  "type1"
  28.         SubSection  "extmod"
  29.         #      Option    "omit xfree86-dga"
  30.         EndSubSection
  31.         Load  "glx"   # libglx.a
  32.         Load  "dri"   # libdri.a
  33.         Load  "drm"   # libdrm.a
  34. EndSection
  35. Section "InputDevice"
  36.         Identifier  "Keyboard1"
  37.         Driver      "kbd"
  38.         Option            "AutoRepeat" "500 30"
  39.         Option            "XkbModel" "pc101"
  40.         Option            "XkbLayout" "us"
  41. EndSection
  42. Section "InputDevice"
  43.         Identifier  "Mouse1"
  44.         Driver      "mouse"
  45.         Option            "Protocol" "ImPS/2"
  46.         Option            "ZAxisMapping" "4 5"
  47.         Option            "Device" "/dev/input/mice"
  48. EndSection
  49. Section "InputDevice"
  50.         Identifier  "Synaptics Mouse"
  51.         Driver      "synaptics"
  52.         Option            "Device" "/dev/input/event0"
  53.         Option            "Protocol" "auto-dev"
  54.         Option            "LeftEdge" "1700"
  55.         Option            "RightEdge" "5900"
  56.         Option            "TopEdge" "1700"
  57.         Option            "BottomEdge" "4200"
  58.         Option            "FingerLow" "25"
  59.         Option            "FingerHigh" "50"
  60.         Option            "MaxTapTime" "0"
  61.         Option            "MaxTapMove" "220"
  62.         Option            "VertScrollDelta" "100"
  63.         Option            "MinSpeed" "0.09"
  64.         Option            "MaxSpeed" "0.18"
  65.         Option            "AccelFactor" "0.0015"
  66.         Option            "SHMConfig" "on"
  67. #       Option        "Repeater"        "/dev/ps2mouse"
  68. EndSection
  69. Section "Monitor"
  70.         Identifier   "Monitor0"
  71.         DisplaySize  444        278
  72.         HorizSync    31.5 - 37.9
  73.         VertRefresh  50.0 - 70.0
  74.         Option            "DPMS"
  75. EndSection
  76. Section "Device"
  77.         Option            "TVFormat" "PAL-B"
  78.         Option            "TVStandard" "VIDEO"
  79.         #Option            "TVHSizeAdj" "0"
  80.         #Option            "TVVSizeAdj" "0"
  81.         #Option            "TVHPosAdj" "0"
  82.         #Option            "TVVPosAdj" "0"
  83.         #Option            "TVHStartAdj" "0"
  84.         #Option            "TVColorAdj" "0"
  85.         #Option            "GammaCorrectionI" "0x00000000"
  86.         #Option            "GammaCorrectionII" "0x00000000"
  87.         #Option            "Capabilities" "0x00000000"
  88.         #Option            "CapabilitiesEx" "0x00000000"
  89.         Option            "VideoOverlay" "on"
  90.         Option            "OpenGLOverlay" "off"
  91.         #Option            "CenterMode" "off"
  92.         #Option            "PseudoColorVisuals" "off"
  93.         #Option            "Stereo" "off"
  94.         #Option            "StereoSyncEnable" "1"
  95.         Option            "FSAAEnable" "yes"
  96.         Option            "FSAAScale" "1"
  97.         Option            "FSAADisableGamma" "no"
  98.         Option            "FSAACustomizeMSPos" "no"
  99.         #Option            "FSAAMSPosX0" "0.000000"
  100.         #Option            "FSAAMSPosY0" "0.000000"
  101.         #Option            "FSAAMSPosX1" "0.000000"
  102.         #Option            "FSAAMSPosY1" "0.000000"
  103.         #Option            "FSAAMSPosX2" "0.000000"
  104.         #Option            "FSAAMSPosY2" "0.000000"
  105.         #Option            "FSAAMSPosX3" "0.000000"
  106.         #Option            "FSAAMSPosY3" "0.000000"
  107.         #Option            "FSAAMSPosX4" "0.000000"
  108.         #Option            "FSAAMSPosY4" "0.000000"
  109.         #Option            "FSAAMSPosX5" "0.000000"
  110.         #Option            "FSAAMSPosY5" "0.000000"
  111.         #Option            "BlockSignalsOnLock" "on"
  112.         #Option            "ForceGenericCPU" "no"
  113.         Identifier  "ATI Graphics Adapter connector 0"
  114.         Driver      "fglrx"
  115.         Option            "no_accel" "no"
  116.         Option            "no_dri" "no"
  117.         Option            "mtrr" "off"
  118. #        Option            "DesktopSetup" "single"
  119. #        Option            "ForceMonitors" "lvds,nocrt1,nocrt2,notmds1,notmds2,notmds2i"
  120.         Option            "UseInternalAGPGART" "no"
  121.         Option            "KernelModuleParm" "agplock=0"
  122.         Option            "UseFastTLS" "1"
  123.         BusID       "PCI:1:0:0"
  124.         Screen 0
  125. EndSection
  126. Section "Device"
  127.          Identifier         "TVOut"
  128.          Driver          "radeon"
  129.          Option          "AGPMode" "4"
  130.          Option          "AGPFastWrite" "yes"
  131.          Option          "TVOutput" "PAL"
  132.          Option          "IgnoreEDID" "true"
  133.          Option          "MonitorLayout" "NONE, CRT"   #here it is!
  134.          BusID           "PCI:1:0:0"
  135.          Screen 0
  136. EndSection
  137. Section "Device"
  138.          Identifier  "ATI"
  139.          Driver      "radeon"
  140.          Option      "AGPMode" "4"
  141.          Option      "EnablePageFlip" "True"
  142.          Option      "XAANoOffscreenPixmaps" "true"
  143.          Option      "XaaNoScanlineImageWriteRect"
  144.          Option      "XaaNoScanlineCPUToScreenColorExpandFill"
  145.          BusID       "PCI:1:0:0"
  146.          Screen 0
  147. EndSection
  148. Section "Screen"
  149.         Identifier "Screen0"
  150. #        Device     "ATI Graphics Adapter connector 0"
  151. #        Device     "TVout"
  152.         Device     "ATI"
  153.         Monitor    "Monitor0"
  154.         DefaultDepth     24
  155.         SubSection "Display"
  156.                 Modes       "800x600"
  157. #                Modes       "1024x768" "800x600"
  158. #                Modes       "1280x1024" "1024x768" "800x600"
  159. #                ViewPort    0 0  
  160. #                Virtual     1280 1024
  161.                 Depth    16
  162. #                Modes    "1680x1050" "1280x1024" "1024x768" "800x600"
  163.         EndSubSection
  164. EndSection
  165. Section "DRI"
  166.         Mode         0666
  167. EndSection
  168. Section "Extensions"
  169.         Option        "Composite" "enable"
  170. EndSection
复制代码
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-10-4 12:25:55 | 显示全部楼层
谢了,比较之下看来还是fglrx快得多
回复 支持 反对

使用道具 举报

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

本版积分规则

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