LinuxSir.cn,穿越时空的Linuxsir!

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

【求助】装了xf86-video-ati 6.10.0,X升级至1.4.2,现在进X鼠标不动了(鼠标问题已解决)..

[复制链接]
发表于 2009-4-23 16:03:51 | 显示全部楼层 |阅读模式
之前瞎折腾,感觉我的系统被我玩坏了......
(折腾全过程看这个帖子:http://www.linuxsir.cn/bbs/thread348954.html)
于是今天重装了下系统,下了个xf86-video-ati 6.9.0的,装上,修改xorg.conf,进不了X,出现如下错误:
No matching Device section for instance (BusID PCI:2:0:1) found
No devices detected
又去下了个6.10.0的,编译安装,重启还是这个提示...
于是改回radeonhd进X,发现6.9.0的下载页那里有个xorg-server-1.4.2的,下了,编译安装(原来编译这个要这么久的啊,花了我差不多半个钟..-____-!!!),用X -version查了下,版本变成1.4.2的了,接着我又将xorg.conf改回了radeon的驱动,重启,这下好了,有画面了,不花屏......
兴奋之余我马上就想去敲glxinfo | grep direct看看结果,但是...但是...但是我发现我的鼠标动不了了(键盘倒是正常)!!!................-___________-!!!!!
 楼主| 发表于 2009-4-23 16:07:59 | 显示全部楼层
我不会键盘操作,只会ctrl+alt+F1,然后进/etc/X11将xorg.conf复制到win下的E盘,现在我是在win下发帖,这是我的xorg.conf:
  1. # /.../
  2. # SaX generated X11 config file
  3. # Created on: 2009-04-23T13:34: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.   InputDevices "/dev/gpmdata"
  44.   InputDevices "/dev/input/mice"
  45. EndSection

  46. Section "ServerFlags"
  47.   Option       "AllowMouseOpenFail" "on"
  48.   Option       "ZapWarning" "on"
  49. EndSection

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

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


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


  77. Section "Monitor"
  78.   DisplaySize  410 257
  79.   HorizSync    30-81
  80.   Identifier   "Monitor[0]"
  81.   ModelName    "SAMSUNG SYNCMASTER"
  82.   Option       "DPMS"
  83.   Option       "PreferredMode" "1440x900"
  84.   VendorName   "SAM"
  85.   VertRefresh  43-75
  86.   UseModes     "Modes[0]"
  87. EndSection


  88. Section "Modes"
  89.   Identifier   "Modes[0]"
  90.   Modeline         "1440x900" 104.58 1440 1520 1672 1904 900 901 904 931
  91.   Modeline         "1440x900" 85.75 1440 1488 1520 1600 900 903 909 925 +HSync -Vsync
  92.   Modeline         "1280x960" 105.61 1280 1360 1496 1712 960 961 964 995
  93.   Modeline         "1280x960" 86.75 1280 1328 1360 1440 960 963 967 988 +HSync -Vsync
  94.   Modeline         "1024x768" 81.80 1024 1080 1192 1360 768 769 772 802
  95.   Modeline         "1024x768" 76.16 1024 1080 1192 1360 768 769 772 800
  96.   Modeline         "1024x768" 69.71 1024 1080 1184 1344 768 769 772 798
  97.   Modeline         "1024x768" 69.50 1024 1072 1104 1184 768 771 775 796 +HSync -Vsync
  98.   Modeline         "1024x768" 64.11 1024 1080 1184 1344 768 769 772 795
  99.   Modeline         "800x600" 48.91 800 840 920 1040 600 601 604 627
  100.   Modeline         "800x600" 45.50 800 840 920 1040 600 601 604 625
  101.   Modeline         "800x600" 44.00 800 848 880 960 600 603 607 622 +HSync -Vsync
  102.   Modeline         "800x600" 42.11 800 840 920 1040 600 601 604 623
  103.   Modeline         "800x600" 38.22 800 832 912 1024 600 601 604 622
  104.   Modeline         "1440x900" 106 1440 1520 1672 1904 900 903 909 934 +hsync -vsync
  105. EndSection


  106. Section "Screen"
  107.   DefaultDepth 24
  108.   SubSection "Display"
  109.     Depth      15
  110.     Modes      "1440x900" "1280x960" "1024x768" "800x600"
  111.   EndSubSection
  112.   SubSection "Display"
  113.     Depth      16
  114.     Modes      "1440x900" "1280x960" "1024x768" "800x600"
  115.   EndSubSection
  116.   SubSection "Display"
  117.     Depth      24
  118.     Modes      "1440x900" "1280x960" "1024x768" "800x600"
  119.   EndSubSection
  120.   SubSection "Display"
  121.     Depth      8
  122.     Modes      "1440x900" "1280x960" "1024x768" "800x600"
  123.   EndSubSection
  124.   Device       "Device[0]"
  125.   Identifier   "Screen[0]"
  126.   Monitor      "Monitor[0]"
  127. EndSection


  128. Section "Device"
  129.   BoardName    "Radeon X1650"
  130.   BusID        "2:0:0"
  131.   Driver       "radeon"
  132.   Identifier   "Device[0]"
  133.   Option       "monitor-DVI-I_1/digital" "Monitor[0]"
  134.   Option       "XAANoOffscreenPixmaps" "true"
  135.   VendorName   "ATI"
  136. EndSection



  137. Section "ServerLayout"
  138.   Identifier   "Layout[all]"
  139.   InputDevice  "Keyboard[0]" "CoreKeyboard"
  140.   InputDevice  "Mouse[1]" "CorePointer"
  141.   Option       "Clone" "off"
  142.   Option       "Xinerama" "off"
  143.   Screen       "Screen[0]"
  144. EndSection


  145. Section "DRI"
  146.     Group      "video"
  147.     Mode       0660
  148. EndSection

  149. Section "Extensions"
  150. EndSection
复制代码
回复 支持 反对

使用道具 举报

发表于 2009-4-23 16:23:40 | 显示全部楼层
Section "ServerFlags"
Option "AutoAddDevices" "false"
Option "AllowEmptyInput" "false"
EndSection

加上这段试试,注意合并,不要有两个
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-4-23 18:39:58 | 显示全部楼层
Post by trublemaker;1978426
Section "ServerFlags"
Option "AutoAddDevices" "false"
Option "AllowEmptyInput" "false"
EndSection

加上这段试试,注意合并,不要有两个

不行......
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-4-23 18:44:37 | 显示全部楼层
我的驱动和xorg-server 1.4.2都是在这里下的:
http://lists.freedesktop.org/arc ... 08-June/author.html
发现这上面还有几个input的包,不知跟鼠标问题有没关系呢?
回复 支持 反对

使用道具 举报

发表于 2009-4-23 20:00:48 | 显示全部楼层
你把 /var/log/xorg.log 帖上来看看

或者自己去看看,应该能找到原因。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-4-23 20:21:59 | 显示全部楼层
我装了那个xf86-input-elographics 1.2.2跟xf86-input-evdev-2.0.1之后鼠标恢复正常了。但是发现,我点“我的电脑”,看到显卡那里驱动程序显示的是radeonhd,我的xorg.conf里明明是radeon的啊。之后敲入glxinfo看到,google中:
name of display: :0.0
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Error: couldn't find RGB GLX visual

   visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
0x21 24 tc  1  0  0 c  .  .  0  0  0  0  0  0  0  0  0  0  0  0 0 None
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
0x22 24 dc  1  0  0 c  .  .  0  0  0  0  0  0  0  0  0  0  0  0 0 None
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
0x54 32 tc  1  0  0 c  .  .  0  0  0  0  0  0  0  0  0  0  0  0 0 None
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-4-25 20:15:33 | 显示全部楼层
今天下了个MesaLib-x.y.z,输入make linux-x86编译装上,之后glxinfo就有显示了(用make linux-dri还是提示那个错误...),但是还是显示direct rendering: No,折腾了差不多两个星期,问题又回到了本源.......
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-4-25 20:19:43 | 显示全部楼层
看到Mesa Home Page里的Compiling / Installing写着这段话:
1.1 Prerequisites for DRI and hardware acceleration

The following are required for DRI-based hardware acceleration with Mesa 7.3:
*dri2proto version 1.99.3 or later
*Linux 2.6.28
*libDRM version 2.4.3 or later
*Xorg server version 1.5 or later

是要我去升级内核跟Xorg么 =,=!!不会升级内核......
又要折腾一段时间了......

--------------------------分割线--------------------------
今天终于折腾完毕,返回这个帖子第38贴:
http://www.linuxsir.cn/bbs/thread348954-3.html
回复 支持 反对

使用道具 举报

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

本版积分规则

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