Comment 5 for bug 125396

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Unfortunately I have since got rid of that hardware. However even with my new hardware (Nvidia NVS290), the issue is trivial to reproduce; with and without compiz. Compile the below C program and watch the CPU usage of Xorg. It's totally unacceptable to anyone with programming and graphics knowledge...

#include <stdio.h>
#define LINES_PER_SEC 100
int
main(int argc, char *argv[])
{
        int n;
        for (n=0; n < 10000; n++)
        {
                usleep(1000000/LINES_PER_SEC);
                printf("Hello world %d\n", n);
        }
        return 0;
}