Comment 5 for bug 550850

Revision history for this message
Martin Garton (garton) wrote :

I decided to run strace on compiz, and perhaps this is a clue. Here is an excerpt from the strace output just before the error:

8346 ioctl(5, 0xc010640b, 0xbfe94660) = 0
8346 ioctl(5, 0xc00c6469, 0xbfe94684) = 0
8346 ioctl(5, 0xc010640b, 0xbfe94660) = 0
8346 ioctl(5, 0xc00c6469, 0xbfe94684) = 0
8346 ioctl(5, 0xc010640b, 0xbfe94660) = 0
8346 ioctl(5, 0xc00c6469, 0xbfe94684) = 0
8346 ioctl(5, 0x40086409, 0xbfe94728) = 0
8346 ioctl(5, 0x40086409, 0xbfe94728) = 0
8346 ioctl(5, 0xc0206466, 0xa1d4174) = -1 ENOMEM (Cannot allocate memory)
8346 write(2, "drmRadeonCmdBuffer: -12. Kernel "..., 101) = 101

So immediately before the error I am getting ENOMEM returned. FYI, fd 5 is /dev/dri/card0