Bug 16108 - [855GM] minor font corruption on Linux text console
Summary: [855GM] minor font corruption on Linux text console
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: unspecified
Hardware: Other Linux (All)
: medium normal
Assignee: Jesse Barnes
QA Contact: Xorg Project Team
Keywords: NEEDINFO
Depends on:
Reported: 2008-05-26 13:13 UTC by danielllano
Modified: 2008-06-30 01:20 UTC (History)
0 users

See Also:
i915 platform:
i915 features:

xorg 1.4.1~git20080517-1 intel 855gm driver 2.3.1-1 minor font corruption (164.41 KB, image/jpeg)
2008-05-26 13:13 UTC, danielllano
no flags Details

Description danielllano 2008-05-26 13:13:29 UTC
Created attachment 16745 [details]
xorg 1.4.1~git20080517-1 intel 855gm driver 2.3.1-1 minor font corruption

There is sometimes minor font corruption when I switch to the Linux console.
It may be related to Bug #11305 as it may not be totally fixed.
Take a look at the "b"s at the image attached.
Comment 1 Jesse Barnes 2008-06-06 12:13:08 UTC
Does the font get fixed if you load a new font, e.g. using 'setfont' at the console?  If so, we might be clobbering font memory somehow...
Comment 2 Jesse Barnes 2008-06-06 12:38:42 UTC
I played around a bit with setfont myself, and found that this patch helped a little (it correctly restored the pre-startup font during VT switch, but clobbered any setting I had done during the VT switch):

diff --git a/src/i830_driver.c b/src/i830_driver.c
index b28b4de..44e9b10 100644
--- a/src/i830_driver.c
+++ b/src/i830_driver.c
@@ -2110,7 +2110,7 @@ SaveHWState(ScrnInfoPtr pScrn)

-   vgaHWSave(pScrn, vgaReg, VGA_SR_FONTS);
+   vgaHWSave(pScrn, vgaReg, VGA_SR_ALL);

    return TRUE;
@@ -2346,7 +2346,7 @@ RestoreHWState(ScrnInfoPtr pScrn)

-   vgaHWRestore(pScrn, vgaReg, VGA_SR_FONTS);
+   vgaHWRestore(pScrn, vgaReg, VGA_SR_ALL);

    return TRUE;

Comment 3 Michael Fu 2008-06-22 19:28:52 UTC
ping response, daniel.
Comment 4 danielllano 2008-06-23 14:17:35 UTC
I do not have an easy way to reproduce this bug.
If you can not reproduce it, close it if you want and I will reopen when I find a way to reproduce it reliably.
Anyway I also saw the same problem, in the past weeks, with the same driver in a modern Intel Graphics Media Accelerator X3100 on X86-64.
Comment 5 Jesse Barnes 2008-06-23 14:19:49 UTC
If you end up reproducing it, can you try using 'setfont' and the patch I posted to see if things behave differently?

Comment 6 Michael Fu 2008-06-30 01:20:43 UTC
set as notabug for now and wait for bug reporter to reopen if he can reproduce...

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.