I've seen so much activity on the r300_driver recently, I thought it'd be good time to test it out on my 9800 and give as much feedback as possible.


Unfortunately, I'm not even able to get it to compile. I think I've followed the instructions correctly. I actually copied the r300_driver/r300 directory into the Mesa source tree (rather than linking it) and added the r300 driver to the linux-dri config file. I've set DRM_SOURCE_PATH to the correct directory.

This is the error I get:

make[6]: Entering directory `/home/adamk/saved/source/Mesa/src/mesa/drivers/dri/r300'
gcc -c -I. -I../../../../../src/mesa/drivers/dri/common -Iserver -I../../../../../../drm/shared -I../../../../../../drm/
linux -I../../../../../include -I../../../../../include/GL/internal -I../../../../../src/mesa -I../../../../../src/mesa/
main -I../../../../../src/mesa/glapi -I../../../../../src/mesa/math -I../../../../../src/mesa/transform -I../../../../..
/src/mesa/shader -I../../../../../src/mesa/swrast -I../../../../../src/mesa/swrast_setup -I../dri_client -I../dri_client
/imports -Wall -O -g -std=c99 -fPIC -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE
-D_GNU_SOURCE -DDRI_NEW_INTERFACE_ONLY -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DCOMPILE_R300 -DGLX_DIRECT_RENDERING -D_P
OSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DDRI_NEW_INTERFACE_ONLY -DPTHREADS -DU
SE_EXTERNAL_DXTN_LIB=1 -DCOMPILE_R300 -DGLX_DIRECT_RENDERING r300_ioctl.c -o r300_ioctl.o
In file included from r300_ioctl.c:47:
r300_context.h:58: warning: redefinition of `uint32_t'
/usr/include/stdint.h:52: warning: `uint32_t' previously declared here
r300_context.h:59: warning: redefinition of `uint8_t'
/usr/include/stdint.h:49: warning: `uint8_t' previously declared here
In file included from r300_ioctl.c:47:
r300_context.h:124:1: warning: "TEX_ALL" redefined
In file included from r200_ioctl.h:44,
from radeon_lock.h:38,
from r300_context.h:54,
from r300_ioctl.c:47:
r200_context.h:98:1: warning: this is the location of the previous definition
r300_ioctl.c: In function `r300ClearBuffer':
r300_ioctl.c:67: error: `drm_r300_cmd_header_t' undeclared (first use in this function)
r300_ioctl.c:67: error: (Each undeclared identifier is reported only once
r300_ioctl.c:67: error: for each function it appears in.)
r300_ioctl.c:67: error: `cmd' undeclared (first use in this function)
r300_ioctl.c:85: error: parse error before ')' token
r300_ioctl.c:89: error: parse error before ')' token
r300_ioctl.c:141: error: parse error before ')' token
r300_ioctl.c:168: error: parse error before ')' token
r300_ioctl.c:169: error: parse error before ')' token
r300_ioctl.c:170: error: parse error before ')' token
r300_ioctl.c:171: error: parse error before ')' token
r300_ioctl.c:189: error: parse error before ')' token
r300_ioctl.c:226: error: parse error before ')' token
r300_ioctl.c:227: error: `R300_CMD_PACKET3' undeclared (first use in this function)
r300_ioctl.c:228: error: `R300_CMD_PACKET3_CLEAR' undeclared (first use in this function)
r300_ioctl.c: In function `r300RefillCurrentDmaRegion':
r300_ioctl.c:358: warning: passing arg 1 of `r200FlushCmdBufLocked' from incompatible pointer type
r300_ioctl.c:373: warning: assignment from incompatible pointer type
r300_ioctl.c:377: warning: assignment from incompatible pointer type
make[6]: *** [r300_ioctl.o] Error 1


Know what I'm doing wrong?

Adam



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to