Using latest Mesa CVS with Unichrome DRI and Xorg 6.8.1, I'm getting this assert failure if my application tries to open a window at the same size as the screen resolution, or calls glutFullScreen(). via_context.c:218: calculate_buffer_parameters: Assertion `vmesa->back.pitch == vmesa->front.pitch' failed. The following is enough to trigger it (with screen res at 800x600): glutInit(&argc, argv); glutInitWindowPosition(0, 0); glutInitWindowSize( 800, 600); glutInitDisplayMode(GLUT_RGBA | GLUT_DOUBLE | GLUT_ALPHA); if (glutCreateWindow("test") == GL_FALSE) exit(1); With 'glutInitWindowSize( 799, 599);' the asset doesn't fail.
This only matters for the experimental pageflipping code. Moved the assert into a nearby #ifdef.
Mass version move, cvs -> git
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.