To make a long story short, I've recently had to install LFS-7.2 on a
VIA mini-ITX board with a C7 CPU and CN700 (S3 Unichrome Pro) video. 
With the xf86-video-openchrome-0.3.1 driver, the X screen comes up with
a semi-transparent green "film" in a 16-bit color depth.  It doesn't
happen with 24-bit depth, but that can slow things noticably with a 1GHz
Pentium-III equivalent low-power CPU.  The problem can be found reported
with a Google search, but I found no recommendations.  Here's what
worked, and didn't, for me.

I tried the 0.3.3 and 0.4.0 drivers, but no joy.  Then I fell back to
the 0.2.906 driver, which does work, but floods the log with an error
message: "VIA EXA download src_pitch misaligned".  OK, so the driver
isn't perfect, and does have glitches, but it works well enough for me
and forthcoming fixes are unlikely.  I made the attached patch to shut
off the error message.

This may be somewhat "historical" at this point, but it's a path I was
forced to tread this week.  Google will search this list, so perhaps it
will help someone else in this position.

-- 
Paul Rogers
[email protected]
Rogers' Second Law: "Everything you do communicates."
(I do not personally endorse any additions after this line. TANSTAAFL
:-)
--- xf86-video-openchrome-0.2.906/src/via_accel.c~      2012-05-15 
13:57:45.000000000 -0700
+++ xf86-video-openchrome-0.2.906/src/via_accel.c       2017-08-19 
07:37:17.000000000 -0700
@@ -1836,7 +1836,9 @@
         return FALSE;
 
     if ((srcPitch & 3) || (srcOffset & 3)) {
-        ErrorF("VIA EXA download src_pitch misaligned\n");
+        /* PGR: Don't flood the log.
+        ErrorF("VIA EXA download src_pitch misaligned\n"); */
+
         return FALSE;
     }
 
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to