LinuxSir.cn,穿越时空的Linuxsir!

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

X和XGL都是灰格屏幕,有人知道什么问题吗?

[复制链接]
发表于 2006-9-29 23:27:27 | 显示全部楼层 |阅读模式
显卡: nvidia mx 440 AGP 8X
系统:gentoo 2006.1(LiveCD自动安装)
Xorg:xorg 7.0
显卡驱动:nvidia-drivers 1.0.8762-r1
驱动正常,direct rending:YES

启动gnome没有问题,正常进系统。

xgl等都是正常安装的,全部OK,但按wiki上的操作,以windowed模式运行xgl的时候,开始提示couldn't open socket inet6... 应该是XGL要通过ipv6打开端口监听,OK,内核编译进ipv6模块,modprobe ipv6,再运行xgl,没有任何错误提示,但只出来一个灰色格子组成的屏幕。运行的是这个命令:
  1. Xgl :1 -ac -accel glx:pbuffer -accel xv -fp /usr/share/fonts/misc
复制代码


然后想起来自己之前etc-update之后有一次提示找不到XDM,用starx的时候也是只有一个灰格子的屏幕,就运行了一下X,发现果然是这样,不仅是XGL,X也是如此。看来XGL没什么问题,有问题的是X。

疑惑的是,为什么对gnome没有影响?

查看xorg.log,只有些提示字体路径不正确的WW,没有EE,百思不得其解,郁闷的是不知道这种情形怎么去搜索。

不知道各位有没有遇到过,如果有解决办法还望不吝赐教。
附我的xorg.conf:


  1. Section "ServerLayout"
  2.         Identifier        "X.Org Configured"
  3.         Screen        0        "Screen0" 0 0
  4.         InputDevice        "Keyboard0" "CoreKeyboard"
  5. # PS/2 Mouse not detected
  6. # Serial Mouse not detected
  7.         InputDevice        "USB Mouse" "AlwaysCore"
  8. #No Synaptics touchpad found
  9. EndSection

  10. Section "ServerFlags"
  11.         Option        "AllowMouseOpenFail" "true"
  12.        
  13. EndSection

  14. Section "Files"
  15.         FontPath        "/usr/share/fonts/util"
  16.         ........
  17.         FontPath        "/usr/share/fonts/xfonts-cronyx-koi8u-misc"
  18. EndSection

  19. Section "Module"
  20.         Load        "ddc"
  21.         Load        "vbe"
  22. #        Load        "GLcore"
  23.         Load        "dbe"
  24. #        Load        "dri"
  25.         Load        "extmod"
  26.         Load        "glx"
  27.         Load        "bitmap"
  28.         Load        "type1"
  29.         Load        "freetype"
  30.         Load        "record"
  31. EndSection

  32. Section "InputDevice"
  33.         Identifier        "Keyboard0"
  34.         Driver        "kbd"
  35.         Option        "CoreKeyboard"
  36.         Option        "XkbRules" "xorg"
  37.         Option        "XkbModel" "pc104"
  38.         Option        "XkbOptions" "grp:toggle,grp_led:scroll"
  39.         Option        "XkbVariant" ",winkeys"
  40. EndSection

  41. Section "InputDevice"
  42.         Identifier        "Serial Mouse"
  43.         Driver        "mouse"
  44.         Option        "Protocol" "Microsoft"
  45.         Option        "Device" "/dev/ttyS0"
  46.         Option        "Emulate3Buttons" "true"
  47.         Option        "Emulate3Timeout" "70"
  48.         Option        "SendCoreEvents"  "true"
  49. EndSection

  50. Section "InputDevice"
  51.         Identifier        "PS/2 Mouse"
  52.         Driver        "mouse"
  53.         Option        "Protocol" "IMPS/2"
  54.         Option        "Device" "/dev/misc/psaux"
  55.         Option        "Emulate3Buttons" "true"
  56.         Option        "Emulate3Timeout" "70"
  57.         Option        "SendCoreEvents"  "true"
  58.         Option        "ZAxisMapping" "4 5"
  59. EndSection

  60. Section "InputDevice"
  61.         Identifier        "USB Mouse"
  62.         Driver        "mouse"
  63.         Option        "Device" "/dev/input/mice"
  64.         Option        "SendCoreEvents" "true"
  65.         Option        "Protocol" "IMPS/2"
  66.         Option        "ZAxisMapping" "4 5"
  67.         Option        "Buttons" "5"
  68. EndSection

  69. Section "InputDevice"
  70.         Identifier        "Synaptics"
  71.         Driver        "synaptics"
  72.         Option        "Protocol" "event"
  73.         Option        "Device" ""
  74.         Option        "LeftEdge" "1900"
  75.         Option        "RightEdge" "5400"
  76.         Option        "TopEdge" "1900"
  77.         Option        "BottomEdge" "4000"
  78.         Option        "FingerLow" "25"
  79.         Option        "FingerHigh" "30"
  80.         Option        "MaxTapTime" "180"
  81.         Option        "MaxTapMove" "220"
  82.         Option        "VertScrollDelta" "100"
  83.         Option        "MinSpeed" "0.02"
  84.         Option        "MaxSpeed" "0.10"
  85.         Option        "AccelFactor" "0.0010"
  86.         Option        "SHMConfig" "on"
  87. EndSection

  88. # Auto-generated by mkxf86config

  89. Section "Monitor"
  90.         Identifier   "Monitor0"
  91.         HorizSync    28.0 - 96.0
  92.         VertRefresh  50.0 - 75.0
  93. EndSection

  94. Section "Device"
  95.         ### Available Driver options are:-
  96.         # sw_cursor is needed for some ati and radeon cards
  97.         #Option     "sw_cursor"
  98.         #Option     "hw_cursor"
  99.         #Option     "NoAccel"
  100.         #Option     "ShowCache"
  101.         #Option     "ShadowFB"
  102.         #Option     "UseFBDev"
  103.         #Option     "Rotate"
  104.         Identifier  "Card0"
  105.         # The following line is auto-generated by x11-misc/mkxf86config
  106. #        Driver      "vesa"
  107.         Driver      "nvidia"
  108.         VendorName  "All"
  109.         BoardName   "All"
  110.         Option      "NoLogo" "true"
  111. #        BusID       "PCI:1:0:0"
  112. EndSection

  113. Section "Screen"
  114.         Identifier        "Screen0"
  115.         Device        "Card0"
  116.         Monitor        "Monitor0"
  117.         DefaultColorDepth 24
  118.         SubSection "Display"
  119.                 Depth        1
  120.                 Modes "1024x768" "800x600" "640x480"
  121.         EndSubSection
  122.         SubSection "Display"
  123.                 Depth        4
  124.                 Modes "1024x768" "800x600" "640x480"
  125.         EndSubSection
  126.         SubSection "Display"
  127.                 Depth        8
  128.                 Modes "1024x768" "800x600" "640x480"
  129.         EndSubSection
  130.         SubSection "Display"
  131.                 Depth        15
  132.                 Modes "1024x768" "800x600" "640x480"
  133.         EndSubSection
  134.         SubSection "Display"
  135.                 Depth        16
  136.                 Modes "1024x768" "800x600" "640x480"
  137.         EndSubSection
  138.         SubSection "Display"
  139.                 Depth        24
  140.                 Modes "1024x768" "800x600" "640x480"
  141.         EndSubSection
  142.         SubSection "Display"
  143.                 Depth        32
  144.                 Modes "1024x768" "800x600" "640x480"
  145.         EndSubSection
  146. EndSection

  147. Section "DRI"
  148.         Mode 0666
  149. EndSection
复制代码

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
发表于 2006-9-29 23:57:03 | 显示全部楼层
老兄,nvidia用最新的驱动拉
什么aiglx/xgl都不需要
http://gentoo-wiki.com/Compiz
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-9-30 09:46:31 | 显示全部楼层
在考虑中,矛盾中,呵呵。xorg 7.1也要搞,准备放弃XGL了。
回复 支持 反对

使用道具 举报

发表于 2006-9-30 09:58:13 | 显示全部楼层
zhllg兄,按照指南做了,根本无法载入compiz
回复 支持 反对

使用道具 举报

发表于 2006-9-30 10:06:54 | 显示全部楼层
sorry, 我没有n卡
回复 支持 反对

使用道具 举报

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

本版积分规则

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