From: Arthur M. <art...@in...> - 2009-10-10 13:04:09
|
Arthur Marsh wrote, on 2009-10-10 21:39: > Hi, I did an apt-get source mesa and obtained the 7.6 sources, then > added r600 into debian/rules and attempted to build, but it failed at > this stage: > > gcc -c -I. -I../../../../../src/mesa/drivers/dri/common -Iserver > -I../../../../../include -I../../../../../src/mesa > -I../../../../../src/egl/main -I../../../../../src/egl/drivers/dri > -I/usr/include/drm -Wall -g -O2 -Wall -Wmissing-prototypes -std=c99 > -ffast-math -fno-strict-aliasing -fPIC -DUSE_X86_64_ASM -D_GNU_SOURCE > -DPTHREADS -DHAVE_POSIX_MEMALIGN -DGLX_USE_TLS -DPTHREADS > -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING > -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DCOMPILE_R600 -DR200_MERGED=0 > -DRADEON_COMMON=1 -DRADEON_COMMON_FOR_R600 r600_cmdbuf.c -o r600_cmdbuf.o > r600_cmdbuf.c: In function ‘r600_cs_emit’: > r600_cmdbuf.c:331: error: storage size of ‘cs_cmd’ isn’t known > r600_cmdbuf.c:332: error: array type has incomplete element type > r600_cmdbuf.c:353: error: ‘RADEON_CHUNK_ID_IB’ undeclared (first use in > this function) > r600_cmdbuf.c:353: error: (Each undeclared identifier is reported only once > r600_cmdbuf.c:353: error: for each function it appears in.) > r600_cmdbuf.c:358: error: ‘RADEON_CHUNK_ID_RELOCS’ undeclared (first use > in this function) > r600_cmdbuf.c:373: error: ‘DRM_RADEON_CS’ undeclared (first use in this > function) > r600_cmdbuf.c:332: warning: unused variable ‘cs_chunk’ > r600_cmdbuf.c:331: warning: unused variable ‘cs_cmd’ (I had previously compiled and installed the xf86-xorg-radeonhd driver version 1.3.0 without problems) I had some success building mesa as per the instructions at: http://www.x.org/wiki/radeonhd:experimental_3D but when it came running the compiled mesa, X started up showing: (II) AIGLX: Screen 0 is not DRI2 capable and Xorg.0.log also reported: (II) RADEONHD(0): EDID for output DVI-D_1 [mi] EQ overflowing. The server is probably stuck in an infinite loop. Backtrace: 0: /usr/bin/X(xorg_backtrace+0x26) [0x4ee026] 1: /usr/bin/X(mieqEnqueue+0x35b) [0x4cf38b] 2: /usr/bin/X(DGAStealMotionEvent+0x10e) [0x481f4e] 3: /usr/bin/X(xf86PostMotionEventP+0x1c5) [0x493e15] 4: /usr/lib/xorg/modules/input//evdev_drv.so [0x7fd6e4389c81] 5: /usr/bin/X [0x4837b5] 6: /usr/bin/X [0x4750b7] 7: /lib/libpthread.so.0 [0x300100e720] 8: /lib/libc.so.6(ioctl+0x7) [0x30004c54a7] 9: /usr/lib/libdrm.so.2(drmIoctl+0x23) [0x302a203623] 10: /usr/lib/libdrm.so.2(drmGetLock+0x67) [0x302a203837] 11: /usr/lib/xorg/modules/extensions//libdri.so(DRILock+0xed) [0x7fd707305cad] 12: /usr/lib/xorg/modules/extensions//libdri.so(DRIDoWakeupHandler+0x3d) [0x7fd7 07305d0d] 13: /usr/lib/xorg/modules/extensions//libdri.so(DRIWakeupHandler+0x66) [0x7fd707 304e26] 14: /usr/bin/X(WakeupHandler+0x4b) [0x45100b] 15: /usr/bin/X(WaitForSomething+0x1ef) [0x4ebc0f] 16: /usr/bin/X(Dispatch+0xa0) [0x44d180] 17: /usr/bin/X(main+0x3aa) [0x43337a] 18: /lib/libc.so.6(__libc_start_main+0xe6) [0x300041e5c6] 19: /usr/bin/X [0x432819] (my monitor is just a VGA monitor plugged into the VGA port on the computer. The DVI-D (HDMI) port is unused) glxgears and etracer both failed. I'm going to restore the stock Debian mesa for now. Arthur. |