Matthias Scheler wrote:
Hello,

XFree86 4.4.0 works basically on my NetBSD-i386 1.6ZK system using an
ATI Radeon 8500 LE. But when I try to switch back to text console
the screen stays empty. It appears that restoring the text mode doesn't
work properly anymore. Did anybody else experience this problem?

Yes. Several OpenBSD users found that too. The attached diff fixes it.
--
Matthieu Herrb
Index: radeon_driver.c
===================================================================
RCS file: /cvs/XF4/xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -u -r1.4 -r1.5
--- radeon_driver.c     2004/02/13 22:41:18     1.4
+++ radeon_driver.c     2004/02/20 22:33:09     1.5
@@ -5497,7 +5497,7 @@
         */
        vgaHWSave(pScrn, &hwp->SavedReg, VGA_SR_MODE); /* Save mode only */
 #else
-       vgaHWSave(pScrn, &hwp->SavedReg, VGA_SR_MODE | VGA_SR_FONTS); /* Save mode
+       vgaHWSave(pScrn, &hwp->SavedReg, VGA_SR_ALL); /* Save mode
                                                       * & fonts & cmap
                                                       */
 #endif

Reply via email to