LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: 李这厮

HASHSTYLE HOWTO 大致翻译过了

[复制链接]
发表于 2007-3-23 11:52:35 | 显示全部楼层
问题解决了。只需将错误信息中包含文件libGLU.so的包media-libs/mesa重新编译一下,再重新编译x11-libs/gtkglarea即可。其他包依此解决,但不知为什么第一次编译media-libs/mesa会出问题。
回复 支持 反对

使用道具 举报

发表于 2007-3-23 17:05:44 | 显示全部楼层
看上去不错,不过还是等至少进入~再说了。
回复 支持 反对

使用道具 举报

发表于 2007-3-23 17:13:07 | 显示全部楼层
说实话,感觉提高的速度有限,没大感觉出来。
在我这里一启动beryl就死机,也不知什么地方的原因,现在已经恢复回X86了。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-3-23 18:04:35 | 显示全部楼层
我还有30多个包没弄完,还很多都是kde的。。
等弄好了我对比下两个系统下X什么的启动速度
不知道为什么我这firefox的启动速度非常不稳定,有时开机后第一次运行3-4秒就打开了,有时要10秒以上
回复 支持 反对

使用道具 举报

发表于 2007-3-23 19:41:36 | 显示全部楼层
        我还有30多个包没弄完,还很多都是kde的。。
等弄好了我对比下两个系统下X什么的启动速度
不知道为什么我这firefox的启动速度非常不稳定,有时开机后第一次运行3-4秒就打开了,有时要10秒以上

我这里firefox是这样的,网络不好的时候,半天半天起不来,能联网就很快。

说实话,感觉提高的速度有限,没大感觉出来。
在我这里一启动beryl就死机,也不知什么地方的原因,现在已经恢复回X86了。

我的本本跟你是一模一样的,只是没换硬盘。
昨天也花了整天整夜的时间重编了整个系统,遇到同样问题了,也是重编了mesa解决的:)。也没觉得有太多的速度提升。不过我用~x86与xfce4,beryl启动一直都有问题,显卡就是调不好啊。
我的xorg显示设置是这样的:

  1. Section "Device"
  2.         Identifier      "ATI"
  3.         Driver          "radeon"
  4.         Option          "AGPMode" "4"
  5.         Option          "GARTSize"  "64"
  6. #       Option          "BusType" "AGP"
  7.         Option          "AGPSize" "16" # default: 8
  8.         Option          "AGPFastWrite" "1"
  9. #       Option          "SWcursor" "true" # More stable this way.
  10.         Option          "EnablePageFlip" "true" # Faster.
  11. #       Option          "EnableDepthMoves" "false" # More stable this way.
  12.         Option          "RenderAccel" "on"
  13.         Option          "AccelMethod" "XAA" # or XAA, EXA, XAA more stable
  14.         Option          "DDCMode"
  15. #       Option          "SubPixelOrder" "NONE"
  16. #       Option          "ColorTiling" "false" # More stable this way.
  17. #       Option          "DynamicClocks" "true"
  18. #       Option          "bioshotkeys"   "True"
  19. #       Option          "XAANoOffscreenPixmaps" "true" # More stable this way.
  20.         Option          "DRI"   "true" #DRI option
  21.         # This two lines are needed to prevent fonts from being scrambled
  22.         #Option          "XaaNoScanlineImageWriteRect"
  23.         #Option          "XaaNoScanlineCPUToScreenColorExpandFill"
  24.         BusID           "PCI:1:0:0"
  25.         Screen 0
  26. EndSection


  27. Section "Extensions"
  28.         Option         "Composite"   "Enable"
  29. EndSection

  30. Section "ServerLayout"
  31.     Identifier  "Default Layout"
  32.     Screen      "Default Screen"
  33.     InputDevice "ThinkPad TrackPoint" "CorePointer"
  34.     InputDevice "Keyboard0" "CoreKeyboard"
  35.     Option      "AIGLX" "true"
  36. EndSection

  37. Section "DRI"
  38.         Group   0
  39.         Mode    0666
  40. EndSection

复制代码
回复 支持 反对

使用道具 举报

发表于 2007-3-23 19:49:03 | 显示全部楼层
这是我的,感觉还不错。
  1. # ----------- [ ServerLayout section ] ---------------- #
  2. Section "ServerLayout"
  3.         Identifier                "Default"
  4.         Screen 0                "LCD"
  5.         InputDevice        "Keyboard0"        "CoreKeyboard"
  6.         InputDevice        "Mouse0"                "CorePointer"
  7.         Option                "AIGLX"                "true"
  8. EndSection
  9. # ----------- [ Files ] -------------------------------#
  10. Section "Files"
  11.         RgbPath                "/usr/share/X11/rgb"
  12.         FontPath                "/usr/share/fonts/75dpi"
  13.         FontPath                "/usr/share/fonts/100dpi"
  14.         FontPath                "/usr/share/fonts/arphicfonts"
  15.         FontPath                "/usr/share/fonts/cjkuni-fonts"
  16.         FontPath                "/usr/share/fonts/corefonts"
  17.         FontPath                "/usr/share/fonts/default/ghostscript"
  18.         FontPath                "/usr/share/fonts/misc"
  19.         FontPath                "/usr/share/fonts/ttf-bitstream-vera"
  20.         FontPath                "/usr/share/fonts/Type1"
  21.         FontPath                "/usr/share/fonts/wqy-bitmapfont"
  22.         ModulePath        "/usr/lib/xorg/modules"
  23.         InputDevices        "/dev/input/mice"
  24. EndSection
  25. # ----------- [ Server flags ] ------------------------ #
  26. Section "ServerFlags"
  27.         Option        "DefaultServerLayout"        "Default"
  28.         Option         "AllowMouseOpenFail"        "on"
  29. EndSection
  30. # ----------- [ Modules ] ----------------------------- #
  31. Section "Module"
  32.         Load                "dbe"        #libdbe.so
  33.         Load                "type1"        #libtype1.so
  34.         Load                "freetype"        #libfreetype.so
  35.         Load                "extmod"        #libextmod.so
  36.         Load                "glx"                #libglx.so
  37.         Load                "dri"                #libdri.so
  38.         Load                "bitmap"        #libbitmap.so
  39.         Load                "drm"        # libdrm.a
  40.         Load                "xtrap"
  41.         Load                "record"
  42. EndSection
  43. # ----------- [ Input devices ] ----------------------- #
  44. Section "InputDevice"
  45.         Identifier        "Keyboard0"
  46.         Driver        "kbd"
  47.         Option        "Protocol"                "Standard"
  48.         Option        "XkbLayout"        "us"
  49.         Option        "XkbModel"        "pc104"
  50.         Option        "XkbRules"        "xorg"
  51. EndSection
  52. Section "InputDevice"
  53.         Identifier        "Mouse0"
  54.         Driver        "mouse"
  55.         Option        "Buttons"                "5"
  56.         Option        "Device"                "/dev/input/mice"
  57.         Option        "Name"                "Logitech Optical Wheel Mouse"
  58.         Option        "Protocol"                "explorerps/2"
  59.         Option        "Vendor"                "Sysp"
  60.         Option        "ZAxisMapping"        "4 5"
  61. EndSection
  62. # ----------- [ Graphics device ] --------------------- #
  63. Section "Device"
  64.         Identifier                "ATI"
  65.         Driver                "radeon"
  66.         VendorName        "ATI Technologies Inc"
  67.         BoardName        "ATI Radeon Mobility M6 LY (AGP)"
  68.         BusID                "PCI:1:0:0"
  69.         Screen                0
  70.         Option                "AGPSize"                                "16"
  71.         Option                "GARTSize"                        "64"
  72.         Option                "RingSize"                                "8"
  73.         Option                "BufferSize"                        "2"
  74.         Option                "EnableDepthMoves"                "yes"
  75. #        Option                "UseFBDev"                        "0"
  76.         Option                "mtrr"                                "on"
  77.         Option                "XAANoOffscreenPixmaps"        "true"
  78.         Option                "XaaNoScanlineImageWriteRect"
  79.         Option                "XaaNoScanlineCPUToScreenColorExpandFill"
  80. #        Option                "SWcursor"                        "off"
  81. #        Option                "NoAccel"                                "off"
  82. #        Option                "Dac6Bit"                                "off"
  83. #        Option                "UseFBDev"                        "off"
  84.         Option                "AGPMode"                        "4"
  85.         Option                "AGPFastWrite"                        "on"
  86.         Option                "BusType"                                "AGP"
  87. #        Option                "DDCMode"                        "on"
  88. #        Option                "DisplayPriority"                        "BIOS"
  89.         Option                "ColorTiling"                        "on"
  90.         Option                "EnablePageFlip"                "on"
  91.         Option                "RenderAccel"                        "on"
  92.         Option                "AccelMethod"                        "XAA"
  93.         Option                "AccelDFS"                        "on"
  94. #        Option                "SubPixelOrder"                        "RGB"
  95. #        Option                "dri"                                        "true"
  96. #        Option                "DynamicClocks"                "on"
  97. EndSection
  98. # ----------- [ Monitor section ] --------------------- #
  99. Section "Monitor"
  100.         Identifier                "Monitor0"
  101.         ModelName        "THINKPAD 1024X768 TFT LCD PANEL"
  102.         VendorName        "LCD"
  103.         DisplaySize        246        184                # 1024x768  105dpi
  104.         HorizSync                31 - 61
  105.         VertRefresh        50 - 76
  106.         Option                "dpms"
  107. EndSection
  108. # ----------- [ Screen section ] ---------------------- #
  109. Section "Screen"
  110.         Identifier                "LCD"
  111.         Device                "ATI"
  112.         Monitor                "Monitor0"
  113.         DefaultDepth        24
  114.         SubSection        "Display"
  115.                 Viewport   0 0
  116.                 Depth        24
  117.                 Modes        "1024x768"
  118.         EndSubSection
  119. EndSection
  120. # ----------- [ Misc ] -------------------------------- #
  121. Section "DRI"
  122. #        Group        0
  123.         Mode        0666
  124. EndSection
  125. # ----------- [ xorg-x11-6.8+] ------------------------ #
  126. Section "Extensions"
  127.         Option        "Composite"        "Enable"
  128. #        Option        "RENDER"                "Enable"
  129. EndSection
复制代码
回复 支持 反对

使用道具 举报

发表于 2007-3-24 06:28:39 | 显示全部楼层
zhoukb,哥们,你的显卡3D正常么?我的显卡更新后3D起不来了,连glxgears都运行不了。
正找原因,先问问你:)
回复 支持 反对

使用道具 举报

发表于 2007-3-24 10:24:13 | 显示全部楼层
hashstyle前glxgears 只有200多,你的多少?hashstyle后beryl根本不能用,一启动就死机,只能关闭电源重启。
回复 支持 反对

使用道具 举报

发表于 2007-3-24 10:53:13 | 显示全部楼层
hashstyle前我的glxgears用前面贴的那个配置有288,看官方论坛上有人贴出来有400多的,怎么调xorg.conf都调不出。
现在我运行glxgears,只出来个窗口闪一下就自动关闭了,也没有有用的错误提示,估计是重编系统的时候,用了太多次的--skipfirst了,也不知道跳过了哪个重要文件,在没找到更好的方法之前,正在重新 emerge -e 呢:(
回复 支持 反对

使用道具 举报

发表于 2007-3-24 11:23:51 | 显示全部楼层
Post by zhou3345
hashstyle前我的glxgears用前面贴的那个配置有288,看官方论坛上有人贴出来有400多的,怎么调xorg.conf都调不出。
现在我运行glxgears,只出来个窗口闪一下就自动关闭了,也没有有用的错误提示,估计是重编系统的时候,用了太多次的--skipfirst了,也不知道跳过了哪个重要文件,在没找到更好的方法之前,正在重新 emerge -e 呢:(

恩,我的跟你的差不多280~300,没到过400。
我劝你还是不要再编译了,我是全部成功编译的,也是有beryl的错误。
回复 支持 反对

使用道具 举报

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

本版积分规则

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