I think this assert is no longer valid: assert(sz == vmesa->total_alloc[heap]) in via_tex.c line 429 There are a few linked lists to maintain references to the textures in use, one of those lists contains the textures pending to be released but that assert does not consider it.
There are many, many bugs depending on this assert on the net. Googling "viaSwapOutWork" will show some of these. I have a similar problem: when I use glCallLists() on lists returned by glXUseXFont(), the first time I run my program, I have this error: via_tex.c: viaSwapOutWork: Assertion 'sz == vmesa->total_alloc[heap]' failed. Aborted from the second run on, everything runs fine. If this assert is unnecessary, I think it should be removed as soon as possible, since it is the root of many other bugs, for example: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-via/+bug/104569 http://www.nabble.com/Mesa-glut-demos-was:-Re:-Mesa-DRI-installed-correctly,-but-3D-apps-dont-work-t1982539.html
*** Bug 15668 has been marked as a duplicate of this bug. ***
Mass version move, cvs -> git
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/openchrome/old-bug-database/issues/5.
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.