We have found the problem but what can be done about it I'm not sure. Something in the changes between xorg 1.3 and 1.4 now creates a necessity to start sdl games with export SDL_VIDEO_X11_DGAMOUSE=0 After this mouse is fine.