LinuxSir.cn,穿越时空的Linuxsir!

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

升级xorg后,无法实现双头显示[已解决]

[复制链接]
发表于 2008-5-11 10:15:48 | 显示全部楼层 |阅读模式
昨天升级了xorg 先是无法启动xserver..
dpkg-reconfigure xserver-xorg 默认配置了一次后.进入了X  ..

之前xorg.conf

  1. # /etc/X11/xorg.conf (xorg X Window System server configuration file)
  2. #
  3. # This file was generated by dexconf, the Debian X Configuration tool, using
  4. # values from the debconf database.
  5. #
  6. # Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
  7. # (Type "man /etc/X11/xorg.conf" at the shell prompt.)
  8. #
  9. # This file is automatically updated on xserver-xorg package upgrades *only*
  10. # if it has not been modified since the last upgrade of the xserver-xorg
  11. # package.
  12. #
  13. # If you have edited this file but would like it to be automatically updated
  14. # again, run the following command:
  15. #   sudo dpkg-reconfigure -phigh xserver-xorg

  16. Section "Files"
  17.         FontPath        "/usr/share/fonts/X11/misc"
  18.         FontPath        "/usr/X11R6/lib/X11/fonts/misc"
  19.         FontPath        "/usr/share/fonts/X11/cyrillic"
  20.         FontPath        "/usr/X11R6/lib/X11/fonts/cyrillic"
  21.         FontPath        "/usr/share/fonts/X11/100dpi/:unscaled"
  22.         FontPath        "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
  23.         FontPath        "/usr/share/fonts/X11/75dpi/:unscaled"
  24.         FontPath        "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
  25.         FontPath        "/usr/share/fonts/X11/Type1"
  26.         FontPath        "/usr/X11R6/lib/X11/fonts/Type1"
  27.         FontPath        "/usr/share/fonts/X11/100dpi"
  28.         FontPath        "/usr/X11R6/lib/X11/fonts/100dpi"
  29.         FontPath        "/usr/share/fonts/X11/75dpi"
  30.         FontPath        "/usr/X11R6/lib/X11/fonts/75dpi"
  31.         # path to defoma fonts
  32.         FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
  33. EndSection

  34. Section "Module"
  35.         Load        "bitmap"
  36.         Load        "ddc"
  37.         Load        "dri"
  38.         Load        "extmod"
  39.         Load        "freetype"
  40.         Load        "glx"
  41.         Load        "int10"
  42.         Load        "vbe"
  43. EndSection

  44. Section "InputDevice"
  45.         Identifier        "Generic Keyboard"
  46.         Driver                "kbd"
  47.         Option                "CoreKeyboard"
  48.         Option                "XkbRules"        "xorg"
  49.         Option                "XkbModel"        "pc104"
  50.         Option                "XkbLayout"        "us"
  51. EndSection

  52. Section "InputDevice"
  53.         Identifier        "Configured Mouse"
  54.         Driver                "mouse"
  55.         Option                "CorePointer"
  56.         Option                "Device"                "/dev/input/mice"
  57.         Option                "Protocol"                "ImPS/2"
  58.         Option                "Emulate3Buttons"        "true"
  59. EndSection

  60. Section "InputDevice"
  61.         Identifier        "Synaptics Touchpad"
  62.         Driver                "synaptics"
  63.         Option                "SendCoreEvents"        "true"
  64.         Option                "Device"                "/dev/psaux"
  65.         Option                "Protocol"                "auto-dev"
  66.         Option                "HorizScrollDelta"        "0"
  67. EndSection

  68. Section "Device"
  69.         Identifier        "Radeon Mobility M7 LW [Radeon Mobility 7500]"
  70.         Driver                "ati"
  71.         BusID                "PCI:1:0:0"
  72.         Option                "XAANoOffscreenPixmaps"       
  73.         Option                "AGPMode"                "4"
  74.         Option                "AGPFastWrite"                "true"
  75.         Option                "MonitorLayout"                 "LCD, CRT"
  76.         Option                "CRT2Position"                  "RightOf"
  77.         Option                "MetaModes"                     "1280x1024-1024x768"
  78.         Option                "MergedXinerama"                "on"
  79.         Option                "MergedNonRectangular"          "true"
  80.         Option                "MergedFB"                      "true"
  81. EndSection

  82. Section "Monitor"
  83.         Identifier        "IBM LCD 14.1"
  84.         Option                "DPMS"
  85.         HorizSync        28-49
  86.         VertRefresh        43-72
  87. EndSection

  88. Section "Screen"
  89.         Identifier        "Default Screen"
  90.         Device                "Radeon Mobility M7 LW [Radeon Mobility 7500]"
  91.         Monitor                "IBM LCD 14.1"
  92.         DefaultDepth        24
  93.         SubSection "Display"
  94.                 Depth                24
  95.                 Modes                "1024x768"
  96.         EndSubSection
  97. EndSection
  98. #=====Xinerama==========Beginning of Dual Screen Settings===============
  99. Section        "Monitor"
  100.         Identifier        "Monitor0"
  101.         Option                "DPMS"        "true"
  102. EndSection
  103. Section        "Monitor"
  104.         Identifier        "Monitor1"
  105.         Option                "DPMS"        "true"
  106. EndSection
  107. Section        "Device"
  108.         Identifier        "ati0"
  109.         Driver                "ati"
  110.         Option                "MonitorLayout"        "LVDS,        CRT"
  111.         Screen                0
  112.         BusID                "PCI:1:0:0"
  113. EndSection
  114. Section        "Device"
  115.         Identifier        "ati1"
  116.         Driver                "ati"
  117.         Option                "MonitorLayout"        "LVDS,        CRT"
  118.         Screen                1
  119.         BusID                "PCI:1:0:0"
  120. EndSection
  121. Section        "Screen"
  122.         Identifier        "Screen0"
  123.         Device                "ati0"
  124.         Monitor                "Monitor0"
  125.         DefaultDepth        24
  126.         SubSection        "Display"
  127.                 Depth        24
  128.                 Modes        "1024x768"
  129.         EndSubSection
  130. EndSection
  131. Section        "Screen"
  132.         Identifier        "Screen1"
  133.         Device                "ati1"
  134.         Monitor                "Monitor1"
  135.         DefaultDepth        24
  136.         SubSection        "Display"
  137.                 Depth        24
  138.                 Modes        "1280x1024"
  139. #                Modes        "1024x768"
  140.         EndSubSection
  141. EndSection
  142. #==============End=================================

  143. Section "ServerLayout"
  144.         Option                "AIGLX"                "true"
  145.         Identifier        "Default Layout"
  146.         Screen                "Default Screen"
  147. #==============Xinerama==================
  148. #        Screen                0        "Screen0"        0        0
  149. #        Screen                1        "Screen1"        LeftOf        "Screen0"
  150.         Option                "Xinerama"        "true"
  151. #======================end===============
  152.         InputDevice        "Generic Keyboard"
  153.         InputDevice        "Configured Mouse"
  154.         InputDevice        "Synaptics Touchpad"
  155. EndSection

  156. Section "DRI"
  157.         Mode        0666
  158. EndSection

  159. Section        "Extensions"
  160.         Option                "Composite"        "Enable"
  161. EndSection

  162. Section        "ServerFlags"
  163.         Option                "AIGLX"                "off"
  164. EndSection

复制代码


重新配置之后的xorg.conf


  1. # xorg.conf (X.Org X Window System server configuration file)
  2. #
  3. # This file was generated by dexconf, the Debian X Configuration tool, using
  4. # values from the debconf database.
  5. #
  6. # Edit this file with caution, and see the xorg.conf manual page.
  7. # (Type "man xorg.conf" at the shell prompt.)
  8. #
  9. # This file is automatically updated on xserver-xorg package upgrades *only*
  10. # if it has not been modified since the last upgrade of the xserver-xorg
  11. # package.
  12. #
  13. # If you have edited this file but would like it to be automatically updated
  14. # again, run the following command:
  15. #   sudo dpkg-reconfigure -phigh xserver-xorg

  16. Section "InputDevice"
  17.         Identifier        "Generic Keyboard"
  18.         Driver                "kbd"
  19.         Option                "XkbRules"        "xorg"
  20.         Option                "XkbModel"        "pc104"
  21.         Option                "XkbLayout"        "us"
  22. EndSection

  23. Section "InputDevice"
  24.         Identifier        "Configured Mouse"
  25.         Driver                "mouse"
  26.         Option                "Emulate3Buttons"        "true"
  27. EndSection

  28. Section "Device"
  29.         Identifier        "Configured Video Device"
  30. EndSection

  31. Section "Monitor"
  32.         Identifier        "Configured Monitor"
  33. EndSection

  34. Section "Screen"
  35.         Identifier        "Default Screen"
  36.         Monitor                "Configured Monitor"
  37. EndSection
复制代码
 楼主| 发表于 2008-5-11 12:09:16 | 显示全部楼层
发现只要不加下面的这句就可以进入单屏幕
  1. Option                "Xinerama"        "true"
复制代码

并且命令行下显示有些看不清(发虚)
重新开机,系统加载的时候没有看不清,是启动xserver后发生的...
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-5-12 12:29:15 | 显示全部楼层
具体升级内容如下:

  1. x11-common (1:7.2-5) to 1:7.3+10
  2. xorg (1:7.2-5) to 1:7.3+10
  3. xserver-xorg (1:7.2-5) to 1:7.3+10
  4. xserver-xorg-core (2:1.3.0.0.dfsg-12) to 2:1.4.1~git20080131-4
  5. xserver-xorg-input-all (1:7.2-5) to 1:7.3+10
  6. xserver-xorg-input-evdev (1:1.1.5-3) to 1:1.2.0-1
  7. xserver-xorg-input-kbd (1:1.2.0-1+1.2.1) to 1:1.2.2-3
  8. xserver-xorg-input-mouse (1:1.2.2-1) to 1:1.2.3-2
  9. xserver-xorg-input-synaptics (0.14.7~git20070517-2) to 0.14.7~git20070706-2
  10. xserver-xorg-input-wacom (0.7.7.11-1) to 0.7.9.3-2
  11. xserver-xorg-video-all (1:7.2-5) to 1:7.3+10
  12. xserver-xorg-video-apm (1:1.1.1-7) to 1:1.1.1-10
  13. xserver-xorg-video-ark (1:0.6.0-6) to 1:0.6.0-9
  14. xserver-xorg-video-ati (1:6.6.3-2) to 1:6.8.0-1
  15. xserver-xorg-video-chips (1:1.1.1-4) to 1:1.1.1-9
  16. xserver-xorg-video-cirrus (1:1.1.0-3) to 1:1.1.0-8
  17. xserver-xorg-video-cyrix (1:1.1.0-4) to 1:1.1.0-8
  18. xserver-xorg-video-dummy (1:0.2.0-3) to 1:0.2.0-7
  19. xserver-xorg-video-fbdev (1:0.3.1-1) to 1:0.3.1-4
  20. xserver-xorg-video-glint (1:1.1.1-6) to 1:1.1.1-8
  21. xserver-xorg-video-i128 (1:1.2.1-2) to 1:1.2.1-4
  22. xserver-xorg-video-i740 (1:1.1.0-3) to 1:1.1.0-7
  23. xserver-xorg-video-i810 (2:2.1.0-2) to 2:2.2.1-2
  24. xserver-xorg-video-imstt (1:1.1.0-3) to 1:1.1.0-7
  25. xserver-xorg-video-intel (2:2.1.0-2) to 2:2.2.1-2
  26. xserver-xorg-video-mga (1:1.4.6.1.dfsg.1-3) to 1:1.4.8.dfsg.1-1
  27. xserver-xorg-video-neomagic (1:1.1.1-5) to 1:1.1.1-8
  28. xserver-xorg-video-newport (1:0.2.1-2) to 1:0.2.1-4
  29. xserver-xorg-video-nsc (1:2.8.2-2) to 1:2.8.3-2
  30. xserver-xorg-video-nv (1:2.1.3-1) to 1:2.1.8-3
  31. xserver-xorg-video-rendition (1:4.1.3.dfsg.1-2) to 1:4.1.3.dfsg.1-4
  32. xserver-xorg-video-s3 (1:0.5.0-2) to 1:0.5.0-4
  33. xserver-xorg-video-s3virge (1:1.9.1-3) to 1:1.9.1-7
  34. xserver-xorg-video-savage (1:2.1.3-1) to 1:2.1.3-5
  35. xserver-xorg-video-siliconmotion (1:1.5.1-1) to 1:1.5.1-3
  36. xserver-xorg-video-sis (1:0.9.3-2) to 1:0.9.3-6
  37. xserver-xorg-video-sisusb (1:0.8.1-3) to 1:0.8.1-9
  38. xserver-xorg-video-tdfx (1:1.3.0-1) to 1:1.3.0-6
  39. xserver-xorg-video-tga (1:1.1.0-3) to 1:1.1.0-9
  40. xserver-xorg-video-trident (1:1.2.3-1) to 1:1.2.4-1
  41. xserver-xorg-video-tseng (1:1.1.1-1) to 1:1.1.1-4
  42. xserver-xorg-video-v4l (0.1.1-3) to 0.1.1-6
  43. xserver-xorg-video-vesa (1:1.3.0-1) to 1:1.3.0-4
  44. xserver-xorg-video-vga (1:4.1.0-3) to 1:4.1.0-8
  45. xserver-xorg-video-via (1:0.2.2-2+b1) to 1:0.2.2-5
  46. xserver-xorg-video-vmware (1:10.13.0-3) to 1:10.16.1-1
  47. xserver-xorg-video-voodoo (1:1.1.1-2) to 1:1.1.1-5
复制代码

现在我想降级到原来的版本,但是包已经被我删了...
还有没有别的办法降级回原来状态?
希望有人能提供我之前的软件包
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-5-12 18:16:23 | 显示全部楼层
高人都在哪里啊/?帮帮忙啊
回复 支持 反对

使用道具 举报

发表于 2008-5-12 20:17:01 | 显示全部楼层
可能是软件包没装全.
fglrx-driver
fglrx-glx
装上试试
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-5-12 20:29:46 | 显示全部楼层
我的是T40, 显卡是ATI 7500 没有升级之前使用的就是开源驱动..
这个问题只是在升级之后才发生的...而且升级并没有删除任何包.
回复 支持 反对

使用道具 举报

发表于 2008-5-12 20:37:57 | 显示全部楼层
你的新xorg.conf中没有看到ati(xserver-xorg-video-ati)驱动,也没有glx(fglrx-glx),连Synaptics(xserver-xorg-input-synaptics)也没装
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-5-12 21:13:19 | 显示全部楼层
哦@!Sorry....

这个是我现在的xorg.conf
  1. # /etc/X11/xorg.conf (xorg X Window System server configuration file)
  2. #
  3. # This file was generated by dexconf, the Debian X Configuration tool, using
  4. # values from the debconf database.
  5. #
  6. # Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
  7. # (Type "man /etc/X11/xorg.conf" at the shell prompt.)
  8. #
  9. # This file is automatically updated on xserver-xorg package upgrades *only*
  10. # if it has not been modified since the last upgrade of the xserver-xorg
  11. # package.
  12. #
  13. # If you have edited this file but would like it to be automatically updated
  14. # again, run the following command:
  15. #   sudo dpkg-reconfigure -phigh xserver-xorg
  16. Section "Files"
  17.         FontPath        "/usr/share/fonts/X11/misc"
  18.         FontPath        "/usr/X11R6/lib/X11/fonts/misc"
  19.         FontPath        "/usr/share/fonts/X11/cyrillic"
  20.         FontPath        "/usr/X11R6/lib/X11/fonts/cyrillic"
  21.         FontPath        "/usr/share/fonts/X11/100dpi/:unscaled"
  22.         FontPath        "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
  23.         FontPath        "/usr/share/fonts/X11/75dpi/:unscaled"
  24.         FontPath        "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
  25.         FontPath        "/usr/share/fonts/X11/Type1"
  26.         FontPath        "/usr/X11R6/lib/X11/fonts/Type1"
  27.         FontPath        "/usr/share/fonts/X11/100dpi"
  28.         FontPath        "/usr/X11R6/lib/X11/fonts/100dpi"
  29.         FontPath        "/usr/share/fonts/X11/75dpi"
  30.         FontPath        "/usr/X11R6/lib/X11/fonts/75dpi"
  31.         # path to defoma fonts
  32.         FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
  33. EndSection
  34. Section "Module"
  35.         Load        "bitmap"
  36.         Load        "ddc"
  37.         Load        "dri"
  38.         Load        "extmod"
  39.         Load        "freetype"
  40.         Load        "glx"
  41.         Load        "int10"
  42.         Load        "vbe"
  43. EndSection
  44. Section "InputDevice"
  45.         Identifier        "Generic Keyboard"
  46.         Driver                "kbd"
  47.         Option                "CoreKeyboard"
  48.         Option                "XkbRules"        "xorg"
  49.         Option                "XkbModel"        "pc104"
  50.         Option                "XkbLayout"        "us"
  51. EndSection
  52. Section "InputDevice"
  53.         Identifier        "Configured Mouse"
  54.         Driver                "mouse"
  55.         Option                "CorePointer"
  56.         Option                "Device"                "/dev/input/mice"
  57.         Option                "Protocol"                "ImPS/2"
  58.         Option                "Emulate3Buttons"        "true"
  59. EndSection
  60. Section "InputDevice"
  61.         Identifier        "Synaptics Touchpad"
  62.         Driver                "synaptics"
  63.         Option                "SendCoreEvents"        "true"
  64.         Option                "Device"                "/dev/psaux"
  65.         Option                "Protocol"                "auto-dev"
  66.         Option                "HorizScrollDelta"        "0"
  67. EndSection
  68. Section "Device"
  69.         Identifier        "Radeon Mobility M7 LW [Radeon Mobility 7500]"
  70.         Driver                "ati"
  71.         BusID                "PCI:1:0:0"
  72.         Option                "XAANoOffscreenPixmaps"       
  73.         Option                "AGPMode"                "4"
  74.         Option                "AGPFastWrite"                "true"
  75.         Option                "MonitorLayout"                "LVDS,CRT"
  76.         Option                "CRT2Position"                "LeftOf"
  77.         Option                "MetaModes"                "1280x1024-1024x768"
  78.         Option                "MergedXinerama"        "on"
  79.         Option                "MergedNonRectangular"        "true"
  80.         Option                "MergedFB"                "true"
  81. EndSection
  82. Section "Monitor"
  83.         Identifier        "IBM LCD 14.1"
  84.         Option                "DPMS"
  85.         HorizSync        28-49
  86.         VertRefresh        43-72
  87. EndSection
  88. Section "Screen
  89.         Identifier        "Default Screen"
  90.         Device                "Radeon Mobility M7 LW [Radeon Mobility 7500]"
  91.         Monitor                "IBM LCD 14.1"
  92.         DefaultDepth        24
  93.         SubSection "Display"
  94.                 Depth                24
  95.                 Modes                "1024x768"               
  96.         EndSubSection
  97. EndSection
  98. #=====Xinerama==========Beginning of Dual Screen Settings===============
  99. Section        "Monitor"
  100.         Identifier        "Monitor0"
  101.         Option                "DPMS"        "true"
  102. EndSection
  103. Section        "Monitor"
  104.         Identifier        "Monitor1"
  105.         Option                "DPMS"        "true"
  106. EndSection
  107. Section        "Device"
  108.         Identifier        "ati0"
  109.         Driver                "ati"
  110.         Option                "MonitorLayout"        "LVDS,        CRT"
  111.         Screen                0
  112.         BusID                "PCI:1:0:0"
  113. EndSection
  114. Section        "Device"
  115.         Identifier        "ati1"
  116.         Driver                "ati"
  117.         Option                "MonitorLayout"        "LVDS,        CRT"
  118.         Screen                1
  119.         BusID                "PCI:1:0:0"
  120. EndSection
  121. Section        "Screen"
  122.         Identifier        "Screen0"
  123.         Device                "ati0"
  124.         Monitor                "Monitor0"
  125.         DefaultDepth        24
  126.         SubSection        "Display"
  127.                 Depth        24
  128.                 Modes        "1024x768"
  129.         EndSubSection
  130. EndSection
  131. Section        "Screen"
  132.         Identifier        "Screen1"
  133.         Device                "ati1"
  134.         Monitor                "Monitor1"
  135.         DefaultDepth        24
  136.         SubSection        "Display"
  137.                 Depth        24
  138.                 Modes        "1280x1024"
  139. #                Modes        "1024x768"
  140.         EndSubSection
  141. EndSection
  142. #==============End=================================
  143. Section "ServerLayout"
  144.         Option                "AIGLX"                "true"
  145.         Identifier        "Default Layout"
  146.         Screen                "Default Screen"
  147. #==============Xinerama==================
  148. #        Screen                0        "Screen0"        0        0
  149. #        Screen                1        "Screen1"        LeftOf        "Screen0"
  150. #        Option                "Xinerama"        "true"
  151. #======================end===============
  152.         InputDevice        "Generic Keyboard"
  153.         InputDevice        "Configured Mouse"
  154.         InputDevice        "Synaptics Touchpad"
  155. EndSection
  156. Section "DRI"
  157.         Mode        0666
  158. EndSection
  159. Section        "Extensions"
  160.         Option                "Composite"        "Enable"
  161. EndSection
  162. Section        "ServerFlags"
  163.         Option                "AIGLX"                "off"
  164. EndSection
复制代码
这个是现在的,但是无法双屏扩展显示,命令行状态发虚(看不清),
Option                "Xinerama"        "true"
如果不把Xinerama 这段注释,就无法启动xserver..在升级之前,上面这段是没有注释的....


谁有:
xserver-xorg (1:7.2-5)
xserver-xorg-core (2:1.3.0.0.dfsg-12)
两个包,回个帖子,或者直接发到我邮箱:soaing@gmail.com
回复 支持 反对

使用道具 举报

发表于 2008-5-12 21:35:48 | 显示全部楼层
xterm命令行字体可以重新设置一下,不知是不是终端字体设置问题。
双屏显示(多显示器)在升级时好象有提示的。在我的电脑上用的是nvidia-settings命令,不知这命令对你的显卡有没有用.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-5-12 21:45:07 | 显示全部楼层
Post by chinajz;1848800
xterm命令行字体可以重新设置一下,不知是不是终端字体设置问题。
双屏显示(多显示器)在升级时好象有提示的。在我的电脑上用的是nvidia-settings命令,不知这命令对你的显卡有没有用.


我说的命令行是Ctrl+Alt+F1..F6的命令行..并不是x下的命令行....
nvidia-settings我没有安装相应的包,估计也没什么用..
升级的时候没有提示.....

ps:命令行并非一开始就很虚,而是启动了x-server后变虚的!
楼上的兄弟,你现在的xserver-xorg  和 xserver-xorg-core 都是testing 最新的么?
回复 支持 反对

使用道具 举报

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

本版积分规则

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