LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
12
返回列表 发新帖
楼主: kartwall

刚买了机器,G43芯片组,X4500显卡,貌似驱动有问题

[复制链接]
发表于 2009-2-23 17:53:57 | 显示全部楼层
Post by cwjiof;1951499
可否贴下你的 xorg.conf 来看看?

dir2 和 uxa 我都会设置,但 gem 怎样开的? 应该要 kernel 支持才行吧。

  1. Section "ServerLayout"
  2.         Identifier     "X.org Configured"
  3.         Screen      0  "Screen0" 0 0
  4. EndSection

  5. Section "Files"
  6.         ModulePath   "/usr/lib/xorg/modules"
  7.         FontPath     "built-ins"
  8. EndSection

  9. Section "Module"
  10.         Load  "dri"
  11.         Load  "glx"
  12.         Load  "dbe"
  13.         Load  "extmod"
  14.         Load  "dri2"
  15. EndSection

  16. Section "Monitor"
  17.         Identifier   "Monitor0"
  18.         VendorName   "Monitor Vendor"
  19.         ModelName    "Monitor Model"
  20. EndSection

  21. Section "Device"
  22.         Identifier  "Card0"
  23.         Driver      "intel"
  24.         VendorName  "Intel Corporation"
  25.         BoardName   "Mobile 4 Series Chipset Integrated Graphics Controller"
  26.         BusID       "PCI:0:2:0"
  27.         Option      "AccelMethod"  "UXA"
  28. EndSection

  29. Section "Screen"
  30.         Identifier "Screen0"
  31.         Device     "Card0"
  32.         Monitor    "Monitor0"
  33.         SubSection "Display"
  34.                 Viewport   0 0
  35.                 Depth     1
  36.         EndSubSection
  37.         SubSection "Display"
  38.                 Viewport   0 0
  39.                 Depth     4
  40.         EndSubSection
  41.         SubSection "Display"
  42.                 Viewport   0 0
  43.                 Depth     8
  44.         EndSubSection
  45.         SubSection "Display"
  46.                 Viewport   0 0
  47.                 Depth     15
  48.         EndSubSection
  49.         SubSection "Display"
  50.                 Viewport   0 0
  51.                 Depth     16
  52.         EndSubSection
  53.         SubSection "Display"
  54.                 Viewport   0 0
  55.                 Depth     24
  56.         EndSubSection
  57. EndSection
复制代码


2.6.28就支持gem了啊
回复 支持 反对

使用道具 举报

发表于 2009-2-23 19:47:21 | 显示全部楼层
多謝了!

原来是我的 xorg-server 不行,没有 dri2模块。

干脆去编译 xorg-server-git,将 PKGBUILD 中的 --disable-dri2 改成 --enable-dri2 就可以了。

但最新的 xorg-server 要在 xorg.conf 中添加:

Section "ServerFlags"
       Option "DontZap" "false"
EndSection

不然,ctrl+alt+backspace 会不起作用。
回复 支持 反对

使用道具 举报

发表于 2009-2-24 10:08:17 | 显示全部楼层
Post by crazyatom;1951482
我没用aur里的   自己写的pkgbuild编译的


牛人,顶一个
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-2-24 10:37:13 | 显示全部楼层
各位高手,我就是按照wiki.archlinux.org中的Beginner's Guide做的。

pacman -S libgl
pacman -S xorg
pacman -S xf86-input-evdev
pacman -S mesa
pacman -S xf86-video-intel

然后就使用Xorg -configure生成了xorg.conf,用X测试OK,但是在ctrl+alt+backspace退出时显示器显示over range。

然后按照wiki上的,增加了显示器的HorizSync, VertRefresh,增加了分辨率的设定。再测试,这次一启动就显示over range了。可能和我设置的分辨率 1152x864有关。但是我的显示器是17液晶,应该可以上到1280x800的。
回复 支持 反对

使用道具 举报

发表于 2009-2-24 18:34:29 | 显示全部楼层
呵呵,人家看了我们的回复,始终不得要领,给逼急了,跑到 Arch 英文论坛上提问去了。其实答案这里都己经说完了,连配置文件都贴出来了。

看来以后要正面回答问题才行啊。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-2-25 10:09:38 | 显示全部楼层
没错。在英文论坛我看到了我想要的答案。首先我明白了extra中的xf86-video-intel等一堆包都是不可以滴,这是关键。一开始我认为是哪里配置错了,不是包滴问题。而且这里你们贴的是xorg.conf,和xorg.conf没有关系。

后来晚上回家,这样做了一下就OK了:

yaourt -S pthread-stub
yaourt -S libdrm-newest
yaourt -S xf86-video-intel-newest
回复 支持 反对

使用道具 举报

发表于 2009-2-25 14:26:15 | 显示全部楼层
俺的本子怎么glxgrears测试200fps?
回复 支持 反对

使用道具 举报

发表于 2009-2-27 10:02:29 | 显示全部楼层
顺便搭车问问,我编译AUR的libdrm,编译完提示和libdrm冲突不能安装,有哈好办法没
回复 支持 反对

使用道具 举报

发表于 2009-2-27 13:24:12 | 显示全部楼层
当然是强行删除libdrm阿。

pacman -Rd libdrm

然后pacman -U --asdeps libdrm2***.pkg.gz
回复 支持 反对

使用道具 举报

发表于 2009-2-27 16:05:47 | 显示全部楼层
Post by cwjiof;1952004
呵呵,人家看了我们的回复,始终不得要领,给逼急了,跑到 Arch 英文论坛上提问去了。其实答案这里都己经说完了,连配置文件都贴出来了。

看来以后要正面回答问题才行啊。

原来arch官方论坛上的帖子是你问的啊,因为上不了国外网,AUR不方便,所以用不到最新的驱动,我的x4500运行glxgear也100多fps
我现在用的是ubuntu,默认就上400了,3d没问题,就是分辨率最高就1024*768,如果arch下驱动行了,就回来,呵呵
回复 支持 反对

使用道具 举报

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

本版积分规则

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