[Openchrome-devel] [Bug 96633] Odd Resolutions on DVI output

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Jul 2 04:18:05 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=96633

--- Comment #11 from Eric <knoppix1337 at yahoo.com> ---
Regarding the following patch "Proposed fix for Wyse Vx0 DVI not working" from
Bug 94259 - No mouse cursor (invisible) with dual monitors and DVI/VGA "Y"
cable, no display on DVI:

diff --git a/src/via_display.c b/src/via_display.c
index 71d89fb..eeb9e50 100644
--- a/src/via_display.c
+++ b/src/via_display.c
@@ -2000,6 +2000,24 @@ viaIGA2Init(ScrnInfoPtr pScrn)
      *             1: Enable */
     ViaCrtcMask(hwp, 0x79, 0x00, 0x01);

+    /* Set DVP0 (Digital Video Port 0) source to IGA2. */
+    /* 3X5.96[7]   - DVP0 ALPHA Enable
+     *               0: Disable
+     *               1: Enable
+     * 3X5.96[6]   - DVP0 VSYNC Polarity
+     *               0: Positive
+     *               1: Negative
+     * 3X5.96[5]   - DVP0 HSYNC Polarity
+     *               0: Positive
+     *               1: Negative
+     * 3X5.96[4]   - DVP0 Data Source Selection 0
+     *               0: Primary Display
+     *               1: Secondary Display
+     * 3X5.96[3]   - DVP0 Clock Polarity
+     * 3X5.96[2:0] - DVP0 Clock Adjust
+     *               Valid Value: 0 through 7 */
+    ViaCrtcMask(hwp, 0x96, 0x10, 0x10);
+
     DEBUG(xf86DrvMsg(pScrn->scrnIndex, X_INFO,
                         "Exiting viaIGA2Init.\n"));
 }


When this patch is applied to the Vx0, it causes the odd resolution bug to now
appear on the Vx0 as well, ie: 1601x1201.

Hopefully this will help narrow down where the problem is coming from

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/openchrome-devel/attachments/20160702/9ccf84c8/attachment-0001.html>


More information about the Openchrome-devel mailing list