LinuxSir.cn,穿越时空的Linuxsir!

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

第2次安装gentoo,遇到了gnome难题,第一次安装是OK的

[复制链接]
发表于 2007-3-29 17:31:24 | 显示全部楼层 |阅读模式
startx
提示错误:

  1. Please file an enhancement request (quoting the above) at:
  2. http://bugs.freedesktop.org/enter_bug.cgi?product=cairo
  3. gnome_segv: cairo-image-surface.c:199: _cairo_format_from_pixman_format: Assertion `NOT_REACHED' failed.
  4. Error: Cairo 1.4.2 does not yet support the requested image format:
  5.         Depth: 8
  6.         Alpha mask: 0x00000000
  7.         Red   mask: 0x00000003
  8.         Green mask: 0x00000004
  9.         Blue  mask: 0x00000008
复制代码


cat /etc/X11/xorg.conf

  1. localhost ~ # cat /etc/X11/xorg.conf
  2. Section "ServerLayout"
  3.         Identifier     "X.org Configured"
  4.         Screen      0  "Screen0" 0 0
  5.         InputDevice    "Mouse0" "CorePointer"
  6.         InputDevice    "Keyboard0" "CoreKeyboard"
  7. EndSection

  8. Section "Files"
  9.         RgbPath      "/usr/share/X11/rgb"
  10.         ModulePath   "/usr/lib/xorg/modules"
  11.         FontPath     "/usr/share/fonts/misc/"
  12.         FontPath     "/usr/share/fonts/TTF/"
  13.         FontPath     "/usr/share/fonts/OTF"
  14.         FontPath     "/usr/share/fonts/Type1/"
  15.         FontPath     "/usr/share/fonts/100dpi/"
  16.         FontPath     "/usr/share/fonts/75dpi/"
  17. EndSection

  18. Section "Module"
  19.         Load  "glx"
  20.         Load  "extmod"
  21.         Load  "xtrap"
  22.         Load  "record"
  23.         Load  "GLcore"
  24.         Load  "dbe"
  25.         Load  "dri"
  26.         Load  "freetype"
  27.         Load  "type1"
  28. EndSection

  29. Section "InputDevice"
  30.         Identifier  "Keyboard0"
  31.         Driver      "kbd"
  32. EndSection

  33. Section "InputDevice"
  34.         Identifier  "Mouse0"
  35.         Driver      "mouse"
  36.         Option      "Protocol" "auto"
  37.         Option      "Device" "/dev/input/mice"
  38.         Option      "ZAxisMapping" "4 5 6 7"
  39. EndSection

  40. Section "Monitor"
  41.         Identifier   "Monitor0"
  42.         VendorName   "Monitor Vendor"
  43.         ModelName    "Monitor Model"
  44. EndSection

  45. Section "Device"
  46.         ### Available Driver options are:-
  47.         ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
  48.         ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
  49.         ### [arg]: arg optional
  50.         #Option     "ShadowFB"                  # [<bool>]
  51.         #Option     "KGAUniversal"              # [<bool>]
  52.         Identifier  "Card0"
  53.         Driver      "vga"
  54.         VendorName  "Silicon Integrated Systems [SiS]"
  55.         BoardName   "661/741/760 PCI/AGP or 662/761Gx PCIE VGA Display Adapter"
  56.         BusID       "PCI:1:0:0"
  57. EndSection

  58. Section "Screen"
  59.         Identifier "Screen0"
  60.         Device     "Card0"
  61.         Monitor    "Monitor0"
  62.         SubSection "Display"
  63.                 Viewport   0 0
  64.                 Depth     1
  65.         EndSubSection
  66.         SubSection "Display"
  67.                 Viewport   0 0
  68.                 Depth     4
  69.         EndSubSection
  70.         SubSection "Display"
  71.                 Viewport   0 0
  72.                 Depth     8
  73.         EndSubSection
  74.         SubSection "Display"
  75.                 Viewport   0 0
  76.                 Depth     15
  77.         EndSubSection
  78.         SubSection "Display"
  79.                 Viewport   0 0
  80.                 Depth     16
  81.         EndSubSection
  82.         SubSection "Display"
  83.                 Viewport   0 0
  84.                 Depth     24
  85.         EndSubSection
  86. EndSection

  87. localhost ~ #
复制代码


uname -a
[/code]
localhost ~ # uname -a
Linux localhost 2.6.20-gentoo-r4 #2 SMP Thu Mar 29 09:10:29 GMT 2007 i686 Intel(R) Pentium(R) 4 CPU 2.60GHz GenuineIntel GNU/Linux
[/code]

安装gnome的时候,是emgre gnome-light
发表于 2007-3-29 21:33:12 | 显示全部楼层
sis的显卡有自己的驱动阿,你将显卡驱动改为“sis”试一下。
另外cairo也许也有点问题,可以重装一下试试,一般加上"pdf png glitz"等use参数。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-3-30 09:47:47 | 显示全部楼层
Post by jyr_king
sis的显卡有自己的驱动阿,你将显卡驱动改为“sis”试一下。
另外cairo也许也有点问题,可以重装一下试试,一般加上"pdf png glitz"等use参数。



嘿嘿,jyr_king果然好眼力,emerge sis果然好了
不过,在进入gnome的时候,提示一个错误对话框
要install bug-buddy
回复 支持 反对

使用道具 举报

发表于 2007-3-30 10:19:15 | 显示全部楼层
cairo need X flag, add it into /etc/portage/package.use as below:
x11-libs/cairo X
回复 支持 反对

使用道具 举报

发表于 2007-3-30 10:22:43 | 显示全部楼层
编译cairo的时候前面加上USE="X"就可以了~
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-3-30 14:40:13 | 显示全部楼层
现在gnome已经起来了,所以迫不及待的想体验一下3D...
emerge beryl
按照wiki上的操作安装....

Prerequisites : Cards Not Supported :SiS: 661/741/760 PCI/AGP or 662/761Gx PCIE  

lspci|grep vga

01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 661/741/760/761 PCI/AGP VGA Display Adapter

晕,我的卡不支持 beryl .天,,,,
回复 支持 反对

使用道具 举报

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

本版积分规则

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