LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: tony2u

Mesa 7.5正式发布:引入Gallium3D构架

[复制链接]
发表于 2009-7-20 13:51:21 | 显示全部楼层
我使用的是kernel26-git 2.6.31rc1,可以开启KMS,不过有KMS的时候是没办法开启3D的。

7月2日左右的git版本的libdrm,mesa,xf86-video-ati配合可以开启KMS+3D。

现在mesa怎么都不能通过编译。libdrm和xf86-video-ati都可以通过编译

2.6.31rc3内核 没办法打utf8字符补丁

mesa编译错误git版本也好,7.5也好,都是类似的错误)
  1. gcc -c -I. -I../../../../../../src/gallium/include -I../../../../../../src/gallium/auxiliary -I../../../../../../src/gallium/drivers -I/src/gallium/include -I/src/gallium/auxiliary -I/src/gallium/drivers -I../../../../../../src/gallium/drivers/r300 -I/usr/include/drm   -march=k8-sse3 -mtune=generic -O2 -pipe -fomit-frame-pointer -Wall -Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing  -fPIC  -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -D_GNU_SOURCE -DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_XCB -DGLX_USE_TLS -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS  radeon_r300.c -o radeon_r300.o
  2. radeon_r300.c: In function ‘radeon_r300_validate’:
  3. [b]radeon_r300.c:60: error: too many arguments to function ‘radeon_cs_space_check’[/b]
  4. radeon_r300.c: In function ‘do_ioctls’:
  5. radeon_r300.c:153: warning: implicit declaration of function ‘drmCommandWriteRead’
  6. radeon_r300.c: In function ‘radeon_create_r300_winsys’:
  7. radeon_r300.c:198: warning: implicit declaration of function ‘radeon_cs_manager_gem_ctor’
  8. radeon_r300.c:198: warning: assignment makes pointer from integer without a cast
  9. make[5]: *** [radeon_r300.o] Error 1
  10. make[5]: *** Waiting for unfinished jobs....
  11. radeon_drm.c: In function ‘radeon_create_screen’:
  12. radeon_drm.c:44: warning: implicit declaration of function ‘r300_create_screen’
  13. radeon_drm.c:44: warning: return makes pointer from integer without a cast
  14. radeon_drm.c: In function ‘radeon_create_context’:
  15. radeon_drm.c:54: warning: passing argument 2 of ‘r300_create_context’ from incompatible pointer type
  16. ../../../../../../src/gallium/drivers/r300/r300_winsys.h:97: note: expected ‘struct r300_winsys *’ but argument is of type ‘struct pipe_winsys *’
  17. In file included from radeon_drm.h:41,
  18.                  from radeon_buffer.h:47,
  19.                  from radeon_buffer.c:34:
  20. radeon_r300.h:35: warning: ‘struct radeon_winsys’ declared inside parameter list
  21. radeon_r300.h:35: warning: its scope is only this definition or declaration, which is probably not what you want
  22. radeon_buffer.c: In function ‘radeon_pipe_winsys’:
  23. radeon_buffer.c:178: warning: implicit declaration of function ‘radeon_bo_manager_gem_ctor’
  24. radeon_buffer.c:178: warning: assignment makes pointer from integer without a cast
  25. radeon_buffer.c:165: warning: unused variable ‘bom’
  26. make[5]: Leaving directory `/home/lh/ABS/system/ATI/mesa/src/Mesa-7.5/src/gallium/winsys/drm/radeon/core'
  27. make[4]: *** [default] Error 1
  28. make[4]: Leaving directory `/home/lh/ABS/system/ATI/mesa/src/Mesa-7.5/src/gallium/winsys/drm/radeon'
  29. make[3]: *** [default] Error 1
  30. make[3]: Leaving directory `/home/lh/ABS/system/ATI/mesa/src/Mesa-7.5/src/gallium/winsys/drm'
  31. make[2]: *** [default] Error 1
  32. make[2]: Leaving directory `/home/lh/ABS/system/ATI/mesa/src/Mesa-7.5/src/gallium/winsys'
  33. make[1]: *** [subdirs] Error 1
  34. make[1]: Leaving directory `/home/lh/ABS/system/ATI/mesa/src/Mesa-7.5/src'
  35. make: *** [default] Error 1
复制代码
回复 支持 反对

使用道具 举报

发表于 2009-7-20 16:06:33 | 显示全部楼层
kms除了不闪,还有什么好处?
回复 支持 反对

使用道具 举报

发表于 2009-7-20 17:14:15 | 显示全部楼层
控制台高分辨率,更高效的渲染。马上就会有完全运行在用户空间的X。安全
回复 支持 反对

使用道具 举报

发表于 2009-7-21 00:39:13 | 显示全部楼层
mesa 7.5 已经不在testing里啦,被拿掉了?
回复 支持 反对

使用道具 举报

发表于 2009-7-21 00:53:00 | 显示全部楼层
Post by xcxxb;2008000
mesa 7.5 已经不在testing里啦,被拿掉了?


已经进extra了,真快。
回复 支持 反对

使用道具 举报

发表于 2009-7-21 02:04:50 | 显示全部楼层
Post by 难免有错;2008001
已经进extra了,真快。
没进extra,只是从testing中撤掉了,估计有大bug
回复 支持 反对

使用道具 举报

发表于 2009-7-21 02:54:01 | 显示全部楼层
Post by xcxxb;2008007
没进extra,只是从testing中撤掉了,估计有大bug


你的extra跟我的不同?
回复 支持 反对

使用道具 举报

发表于 2009-7-21 09:50:56 | 显示全部楼层
Post by 难免有错;2008009
你的extra跟我的不同?


有没有进extra,不必争论,各个源同步时间都有差异,一切以这里为准:

http://www.archlinux.org/packages/?sort=-last_update
回复 支持 反对

使用道具 举报

发表于 2009-7-21 10:24:28 | 显示全部楼层
诡异,原来是我系统出了毛病,执行pacman -Sc后再更新就好了。
回复 支持 反对

使用道具 举报

发表于 2009-7-27 10:32:48 | 显示全部楼层
对ATI来说是个好消息
回复 支持 反对

使用道具 举报

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

本版积分规则

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