more X11/Linux debug-graphics fixes