When switching video modes (Ctrl+/Ctrl-) using the VIA driver with DRI disabled, my screen goes black and the system is locked up completely. This is due to a problem in xfree86/drivers/via/via_driver.c, line 2295 (current CVS). The function VIASwitchMode does an unconditional call to kickVblank(), while kickVblank will crash the server when not in DRI mode. I solved this problem on my system by moving the call to kickVblank one line down so that it is only called when directRenderingEnabled is true.
Unconditionally depending on the existence of pVia->pDRIInfo->devPrivate _again_. I've now officially lost count.
Assigning to author.
Commited. Thanks. /Thomas
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.