LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: 聚焦深空

ATI KMS 资源

[复制链接]
发表于 2009-6-14 22:54:12 | 显示全部楼层
。。还说节能,不知道是不是这个补丁的原因,我的显示器无法通过类似

xset dpms force off关闭了。

xfce4-power-manager也不能关闭显示器。

如果要除去这个补丁,我又要编译一次内核。晕。

---------------

我直接反打这个补丁,然后编译,内核默认只是编译修改过的几个模块。没有关系把应该。

可是我还是没有办法关闭屏幕了。2.6.29-rc8那个可以。。天哪。。这个补丁看来并不完美,或者drm-radeon-pm.patch就是搞这个的,只是我修改的有问题。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-6-15 09:43:29 | 显示全部楼层
您备份一下多好。
比如内核,只需要备份 /boot /lib/modules /lib/firmware 下相应部分。
回复 支持 反对

使用道具 举报

发表于 2009-6-15 12:28:05 | 显示全部楼层
那倒是无所谓,有pacman包管理器,包都还在。只不过是arch第3次编译了,因为打上官方补丁,我也得3次编译。

不知道您有没有这样的情况,无法关闭屏幕。还有分辨率是否可调。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-6-16 08:45:21 | 显示全部楼层
Post by jarryson;1998058
那倒是无所谓,有pacman包管理器,包都还在。只不过是arch第3次编译了,因为打上官方补丁,我也得3次编译。

为什么必须3次,打好补丁,只需要一次吧。
Post by jarryson;1998058
  不知道您有没有这样的情况,无法关闭屏幕。还有分辨率是否可调。

偶这里屏保能出来,没注意是否能关闭屏幕,一般离开机器时间不长,有时间确认下。
分辨率不可调,只能看到 1280x800 一项,查 dmesg 发现加载 drm 模块时已经给设置过,不解。
不知再接个显示器会怎样。
回复 支持 反对

使用道具 举报

发表于 2009-6-17 21:02:45 | 显示全部楼层
good news,KMS肯定能进2.6.31了。已经进linus的git源了,就等libdrm,xf86-video-ati这两个合并radeon的KMS了

Okay radeon TTM/KMS has landed in Linus tree under staging.

To enable it you need to enable CONFIG_DRM_RADEON_KMS, which relies on CONFIG_STAGING being set.

please read the CONFIG_STAGING warnings, esp the
"lease note that these drivers are under heavy
development, may or may not work, and may contain userspace
interfaces that most likely will be changed in the near
future."

Now to get a userspace that can use this code you need to get

git://git.freedesktop.org/git/mesa/libdrm master branch
and build it with --enable-radeon-experimental-api and install that.

git://git.freedesktop.org/git/xorg/driver/xf86-video-ati kms-support branch
build that second

git://git.freedesktop.org/git/mesa/mesa.git master branch
build this with libdrm_radeon somewhere that pkgconfig can find it.

You should either have KMS + DRI2, or a pile of smoking trash.

Please report any mode type issues on #radeon or dri-devel mailing list.

If you can't compile or configure your system to use this please wait until you have a distro do it for you.

If you are using Fedora 11, grab the latest xf86-video-ati from koji and all you need is the new kernel bits.

Known issues:
My DDX reports something about DRM 2.0.0 and wanting 1.2.x or something like that, you messed up setting up the DDX or are
still using the system DDX.
Xv might be broken on resize (or normally)
r600/r700 doesn't work (no surprise its not ready yet)
回复 支持 反对

使用道具 举报

发表于 2009-6-18 13:27:50 | 显示全部楼层
现在有个补丁,不知道是不是可以修正无法关闭屏幕的bug,加上arch第4次编译了内核,我也要同步。。第几次编译是因为arch官方补丁有更改,修改了很多bug

http://cvs.fedoraproject.org/vie ... ixes.patch?view=log

http://cvs.fedoraproject.org/vie ... -fix.patch?view=log

http://cvs.fedoraproject.org/vie ... mmit.patch?view=log

http://cvs.fedoraproject.org/vie ... iids.patch?view=log
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-6-18 13:39:43 | 显示全部楼层
看来您有必要使用 ccache,否则不是折腾机器么。
回复 支持 反对

使用道具 举报

发表于 2009-6-18 14:21:33 | 显示全部楼层
呵呵,我想我可能还是需要git内核,这么多补丁,好麻烦啊。

不知道您更新了没

- drm-connector-dpms-fix.patch - allow hw to dpms off
- drm-dont-frob-i2c.patch - don't play with i2c bits just do EDID
- drm-intel-tv-fix.patch - fixed intel tv after connector dpms
- drm-modesetting-radeon-fixes.patch - fix AGP issues (go faster) (otaylor)
- drm-radeon-fix-ring-commit.patch - fix stability on some radeons
- drm-radeon-new-pciids.patch - add rv770/790 support
- drm-intel-vmalloc.patch - fix vmalloc patch

而且libdrm,mesa,xf86-video-ati的git树也变了。

-------------------------
不需要drm-connector-dpms-fix.patch, drm-radeon-fix-ring-commit.patch,drm-intel-vmalloc.patch,不然有错误

不过dpms那个也不是修正ATI卡的,是用来给intel用的,已经包含在2.6.30里了,我的问题还是没能解决。。浪费我时间啊。。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-6-18 20:51:54 | 显示全部楼层
偶现在用的是 14 楼 iamfool 给出的内核,参考您前几帖该升级到官方 git 内核。
不急,慢慢来。
作为一懒人,偶仅在发现感兴趣的东西时才会升级。
回复 支持 反对

使用道具 举报

发表于 2009-6-19 03:36:28 | 显示全部楼层
呵呵,libdrm,mesa,ati驱动的git树位置都变了,如35贴写的。

感觉2D性能稍微有提升,gtkperf体现出来的。但是glxgears没什么变化
回复 支持 反对

使用道具 举报

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

本版积分规则

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