On OpenBSD with 6.8.2 and HEAD the via driver does not restore the text mode correctly on exit or switch to a text console. This appears to be fixed by the following patch to x86emu by Michael Shalayeff, inspired by a similar change in XFree86.
Created attachment 2337 [details] [review] patch to x86emu
Matthieu, A long time since this was reported. Is the status still the same? Should we really consider this a via driver bug? /Thomas
The problem is not in the VIA driver. It's a bug in x86emu that causes the BIOS calls to fail on systems that use x86emu for that. It was fixed in XFree86. To avoid licensing problems, I asked Mickey to look at the code and design an independant fix. x86emu is not my area in the X server that's why I submitted this here, and then more or less forgot about it. Unfortunatly I can't test it in HEAD on OpenBSD anymore, since the via driver now requires libdrm installed (and it isn't supported on OpenBSD yet).
Marking broken (status null/blank) bugs in xorg with no activity in a long time as fixed. Please reopen if you think it's necessary, but first do a search if a similar bug report is already filed and in a NEW/ASSIGNED state. These bugs do not currently show in most search results as they do not have any status. Sorry for this janitorial spam, you know where to send hate mails to when your inbox gets full of bugs you're subscribed to.
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.