LinuxSir.cn,穿越时空的Linuxsir!

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

小结xorg1.5.3升级

[复制链接]
发表于 2008-12-1 17:43:27 | 显示全部楼层 |阅读模式
感谢为本帖提供修改建议的朋友,就不一一点名了。

----------------------------------------------------------------------------------------------------------

xorg.conf是通过hwd -xa生成的。

1、注释掉Section "Files"中的RgbPath项
1. remove "rgbpath" in section"files"

2、修改i810为intel(我原先用i810,现在只能用intel,根据你的自己设置)
2. change i810 to intel (if there is)

3、注释掉Section "ServerLayout"中inputdevice项
删除所有Section “InputDevice”
3 comments inputdevice in section "serverlayout" and remove all section "inputdevice"

4. rc.conf中的daemons添加hal
4. add hal in daemons list in rc.conf

5. 或许你还需要添加下面的配置 (这个是备用方案,以禁用X的hal)
5. may be you also need this

Section "ServerFlags"
Option "AllowEmptyInput" "False"
Option "AutoAddDevices" "False"
EndSection
  1. Section "ServerLayout"
  2.         Identifier   "Default Layout"
  3.         Screen          "Default Screen"
  4. #        InputDevice  "Keyboard0" "CoreKeyboard"
  5. #        InputDevice  "PS/2 Mouse" "CorePointer"
  6. EndSection
  7. Section "ServerFlags"
  8.         Option          "AllowMouseOpenFail"  "true"       
  9. #        Option          "AutoAddDevices" "False"
  10. EndSection
  11. Section "Files"
  12.         ModulePath   "/usr/lib/xorg/modules"
  13.         FontPath     "/usr/share/fonts/misc:unscaled"
  14.         FontPath     "/usr/share/fonts/misc"
  15.         FontPath     "/usr/share/fonts/75dpi:unscaled"
  16.         FontPath     "/usr/share/fonts/75dpi"
  17.         FontPath     "/usr/share/fonts/100dpi:unscaled"
  18.         FontPath     "/usr/share/fonts/100dpi"
  19.         FontPath     "/usr/share/fonts/PEX"
  20. # Additional fonts: Locale, Gimp, TTF...
  21.         FontPath     "/usr/share/fonts/cyrillic"
  22. #        FontPath     "/usr/share/lib/X11/fonts/latin2/75dpi"
  23. #        FontPath     "/usr/share/lib/X11/fonts/latin2/100dpi"
  24. # True type and type1 fonts are also handled via xftlib, see /etc/X11/XftConfig!
  25.         FontPath     "/usr/share/fonts/Type1"
  26.         FontPath     "/usr/share/fonts/ttf/western"
  27.         FontPath     "/usr/share/fonts/ttf/decoratives"
  28.         FontPath     "/usr/share/fonts/truetype"
  29.         FontPath     "/usr/share/fonts/truetype/openoffice"
  30.         FontPath     "/usr/share/fonts/truetype/ttf-bitstream-vera"
  31.         FontPath     "/usr/share/fonts/latex-ttf-fonts"
  32.         FontPath     "/usr/share/fonts/defoma/CID"
  33.         FontPath     "/usr/share/fonts/defoma/TrueType"
  34.         FontPath     "/usr/share/fonts/wqy-unibit"
  35. EndSection
  36. Section "Module"
  37.         Load  "ddc"  # ddc probing of monitor
  38.         Load  "dbe"
  39.         Load  "dri"
  40.         Load  "extmod"
  41.         Load  "glx"
  42.         Load  "bitmap" # bitmap-fonts
  43.         Load  "type1"
  44.         Load  "freetype"
  45.         Load  "record"
  46. #        Load  "synaptics"
  47. EndSection
  48. # Auto-generated by Archie mkxcfg
  49. #Section "InputDevice"
  50. #        Identifier  "Keyboard0"
  51. #        Driver      "keyboard"
  52. #     Option      "CoreKeyboard"
  53. #        Option "XkbRules" "xorg"
  54. #        Option "XkbModel" "pc105"
  55. #        Option "XkbLayout" "us"
  56. #        Option "XkbVariant" ""
  57. #EndSection
  58. #Section "InputDevice"
  59. #        Identifier  "Serial Mouse"
  60. #        Driver      "mouse"
  61. #        Option      "Protocol" "Microsoft"
  62. #        Option      "Device" "/dev/ttyS0"
  63. #        Option      "Emulate3Buttons" "true"
  64. #        Option      "Emulate3Timeout" "70"
  65. #        Option        "SendCoreEvents"  "true"
  66. #EndSection
  67. #Section "InputDevice"
  68. #        Identifier  "PS/2 Mouse"
  69. #        Driver      "mouse"
  70. #        Option      "Protocol" "auto"
  71. #        Option      "ZAxisMapping"          "4 5"
  72. #        Option      "Device" "/dev/psaux"
  73. #        Option      "Emulate3Buttons" "true"
  74. #        Option      "Emulate3Timeout" "70"
  75. #        Option        "SendCoreEvents"  "true"
  76. #EndSection
  77. #Section "InputDevice"
  78. #        Identifier      "USB Mouse"
  79. #        Driver          "mouse"
  80. #        Option          "Device"                "/dev/input/mice"
  81. #           Option                 "SendCoreEvents"        "true"
  82. #        Option          "Protocol"              "IMPS/2"
  83. #        Option          "ZAxisMapping"          "4 5"
  84. #        Option          "Buttons"               "5"
  85. #EndSection
  86. Section "Device"
  87.         Identifier  "Intel Integrated Graphics Controller"
  88.         Driver      "intel"
  89. #        BusID       "PCI:0:2:0"
  90. #        Option        "No Accel"
  91. #        Option        "DRI" "true"
  92. #        Option      "monitor-VGA"  "External LCD"
  93. #        Option      "monitor-LVDS" "Integrated LCD"
  94. EndSection
  95. #Section "Monitor"
  96. #        Identifier   "External LCD"
  97. #        Option         "DPMS"
  98. #EndSection
  99. Section "Monitor"
  100.         Identifier   "Integrated LCD"
  101. #        Option         "DPMS"
  102. #        Option          "LeftOf"  "External LCD"
  103. EndSection
  104. # Auto-generated by Archie mkxcfg
  105. Section "Screen"
  106.         Identifier          "Default Screen"
  107.         Device       "Intel Integrated Graphics Controller"
  108.         Monitor      "Integrated LCD"
  109.         DefaultDepth 24
  110.         SubSection "Display"
  111.                 Depth          24
  112.                 Modes   "1024x768"
  113.                 Virtual 2048 768
  114.         EndSubSection
  115. EndSection
复制代码
发表于 2008-12-1 18:33:44 | 显示全部楼层
我把xorg.conf直接给删了就好了。。。
回复 支持 反对

使用道具 举报

发表于 2008-12-1 19:02:13 | 显示全部楼层
这个最省事
不过显示效果不好
回复 支持 反对

使用道具 举报

发表于 2008-12-1 20:02:50 | 显示全部楼层
谢谢楼主的方法,测试成功,第2点N卡不用改还是用原来的nvidia蛮好
直接删除能进x但是真的是惨不忍睹阿
回复 支持 反对

使用道具 举报

发表于 2008-12-1 20:04:41 | 显示全部楼层
也不知道怎么折腾的,反正是把X搞好了,下午一生气,差点把arch给删了,
回复 支持 反对

使用道具 举报

发表于 2008-12-2 01:47:19 | 显示全部楼层
ti 4200显卡,更新xorg1.5.3 nv96.43.09后文字重叠,实在受不了了,现在降回1.4.2,驱动仍是96.43.09 一切又重回正常
回复 支持 反对

使用道具 举报

发表于 2008-12-2 02:05:24 | 显示全部楼层
Post by 逆漩;1917559
ti 4200显卡,更新xorg1.5.3 nv96.43.09后文字重叠,实在受不了了,现在降回1.4.2,驱动仍是96.43.09 一切又重回正常


现在N卡的驱动..只有5xxx以上的卡才会没啥问题

71xx直接不支持.
96xx只是初步支持
只有173xx或最新的驱动才能很好的支持xorg7.4
回复 支持 反对

使用道具 举报

发表于 2008-12-2 04:56:26 | 显示全部楼层
我的问题也解决了~~~
回复 支持 反对

使用道具 举报

发表于 2008-12-2 09:53:57 | 显示全部楼层
Post by 32idea;1917401
也不知道怎么折腾的,反正是把X搞好了,下午一生气,差点把arch给删了,


我现在连x都进不去,键盘也没有,更郁闷吧,早知道不升级了。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-12-2 10:29:19 | 显示全部楼层
Post by rabbit407;1917636
我现在连x都进不去,键盘也没有,更郁闷吧,早知道不升级了。


看看错误提示是什么,顺便把你的显卡说一下
回复 支持 反对

使用道具 举报

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

本版积分规则

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