Not sure how I change video settings. It happens also if stty runs manually. strace shows no error. Likely just the returned values from ioctl are reported as errors.