Bug 63857 - version 0.3.2 failing on VIA VT3324 (CX700). Card-Ids (1106|3157)
Summary: version 0.3.2 failing on VIA VT3324 (CX700). Card-Ids (1106|3157)
Status: RESOLVED INVALID
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/openchrome (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: medium blocker
Assignee: Openchrome development list
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-23 21:27 UTC by willem
Modified: 2017-01-22 18:47 UTC (History)
4 users (show)

See Also:
i915 platform:
i915 features:


Attachments
original patch 0001 (2.60 KB, text/plain)
2013-04-24 14:28 UTC, willem
no flags Details
original patch 0002 (790 bytes, text/plain)
2013-04-24 14:28 UTC, willem
no flags Details
original patch 0003 (1.41 KB, text/plain)
2013-04-24 14:28 UTC, willem
no flags Details
original patch 0004 (7.77 KB, text/plain)
2013-04-24 14:29 UTC, willem
no flags Details
make iga[12]_crtc_mode_fixup more verbose when the mode is rejected (2.71 KB, patch)
2013-04-24 17:30 UTC, Xavier Bachelot
no flags Details | Splinter Review
Xorg.0.log without any monitor.conf (38.70 KB, text/plain)
2013-04-27 11:49 UTC, willem
no flags Details
latest Xorg.0.log; still failing (15.64 KB, text/plain)
2013-05-11 18:48 UTC, willem
no flags Details
attachment-4186-0.html (2.27 KB, text/html)
2013-05-11 19:14 UTC, willem
no flags Details
attachment-4186-1.dat (1 bytes, multipart/alternative)
2013-05-11 19:14 UTC, willem
no flags Details
Xorg.0.log (15.64 KB, text/x-log)
2013-05-11 19:14 UTC, willem
no flags Details
attachment-4199-0.html (2.27 KB, text/html)
2013-05-11 19:14 UTC, willem
no flags Details
attachment-4199-1.dat (1 bytes, multipart/alternative)
2013-05-11 19:14 UTC, willem
no flags Details
Xorg.0.log (15.64 KB, text/plain)
2013-05-11 19:14 UTC, willem
no flags Details
latest Xorg.0.log; still failing (15.68 KB, text/plain)
2013-05-19 22:07 UTC, willem
no flags Details
patch to allow probing tv out (871 bytes, patch)
2013-05-20 11:23 UTC, Xavier Bachelot
no flags Details | Splinter Review
still no joy (15.24 KB, text/plain)
2013-05-20 16:18 UTC, willem
no flags Details

Description willem 2013-04-23 21:27:40 UTC
Up till today I was a happy camper. Was running openchrome smoothly on my VIA EPIA EX10000EG...

I did have some troubles end of last year. Version 0.3.0 did not work for me.

Gladly Harry de Boer helped us out with some cool patches.
Downloaded the sources, applied the patches, did a manual install and... it worked!

Now, four months later, I upgraded my system to run the latest version of X.
The patched openchrome driver did no longer work. Complained about version mismatch.
So I had to install the xf86-video-openchrome package from ArchLinux. Thinking: these cool patches that Harry made surely made it to this release.

Maybe they did.

But the (unpatched) driver does not work no longer for me.

X crashes with:

[  4525.285]
Fatal server error:
[  4525.285] AddScreen/ScreenInit failed for driver 0
[  4525.285]
[  4525.285] (EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
[  4525.285] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[  4525.285] (EE)

I did not change my xorg config. It still reads:

Section "Monitor"
  Identifier "Monitor0"
#  HorizSync 30 - 50
#  VertRefresh 50.0 - 50.0
EndSection

Section "Device"
  Identifier "Device0"
  Driver "openchrome"
#  Driver "vesa"
  Option "ActiveDevice" "TV"
#  Option "ActiveDevice" "DFP"
  Option "TVType" "PAL"
  Option "TVOutput" "S-Video"
EndSection

Section "Screen"
  Identifier "Screen0"
  Device "Device0"
  Monitor "Monitor0"
#  DefaultDepth 32
  SubSection "Display"
    Viewport 0 0
    Modes "720x576" "720x576Noscale"
#    Modes "1920x1080"
#    Virtual 3200 1080
#    Modes "640x480"
#    Modes "1024x768"
  EndSubSection
EndSection

Any help appreciated...

Thanks,
Willem
Comment 1 Bartosz Kosiorek 2013-04-24 12:17:12 UTC
Please provide these patches for old openchrome 0.3.0 and attach
Xorg.0.log file after crash.
Comment 2 Bartosz Kosiorek 2013-04-24 12:21:18 UTC
I found following patch list:
http://lists.freedesktop.org/archives/openchrome-devel/2012-November/000841.html
Comment 3 willem 2013-04-24 14:28:00 UTC
Created attachment 78428 [details]
original patch 0001
Comment 4 willem 2013-04-24 14:28:26 UTC
Created attachment 78429 [details]
original patch 0002
Comment 5 willem 2013-04-24 14:28:44 UTC
Created attachment 78430 [details]
original patch 0003
Comment 6 willem 2013-04-24 14:29:04 UTC
Created attachment 78431 [details]
original patch 0004
Comment 7 Xavier Bachelot 2013-04-24 17:29:23 UTC
The patches mentioned above have been pushed to master some time ago and are part of the 0.3.2 release.

What Willem is seeing is a failure to initialize the driver because the selected mode has been rejected by iga[12]_crtc_mode_fixup. However, the current code is not verbose at all on the reason for the rejection. I'm attaching a patch that doesn't fix the issue, but should provide more information on the mode rejection.

The same mode rejection bug has been reported already and has been somewhat worked around by changing the connected monitor and thus the used mode.
See https://bugs.freedesktop.org/show_bug.cgi?id=63194

Changing the screen won't indeed work here as the screen is a TV set, but it might be possible to tweak HorizSync and VertRefresh in the X conf to work around it. Anyway, this look as a regression, either in openchrome or in the X server and would need a proper fix.

Bartosz, I've assigned the ticket back to openchrome-devel ML so the replies are still going to the mailing list. You're still in CC: though.
Comment 8 Xavier Bachelot 2013-04-24 17:30:21 UTC
Created attachment 78433 [details] [review]
make iga[12]_crtc_mode_fixup more verbose when the mode is rejected
Comment 9 willem 2013-04-27 11:47:43 UTC
Just did some more testing.
Disconnected the TV and connected a 1920x1080 panel through DVI.
Removed the /etc/X11/xorg.d/10-monitor.conf to rely on defaults and auto detects.

Same error.
Attached Xorg.0.log.
Comment 10 willem 2013-04-27 11:49:54 UTC
Created attachment 78553 [details]
Xorg.0.log without any monitor.conf
Comment 11 willem 2013-05-11 18:48:47 UTC
Created attachment 79175 [details]
latest Xorg.0.log; still failing

Hi,

Just built from git. Still failing. Attached is the Xorg.0.log.

Anything else I can do?

Regards,
Willem
Comment 12 willem 2013-05-11 19:14:05 UTC
Created attachment 79177 [details]
attachment-4186-0.html

On 04/24/2013 07:30 PM, bugzilla-daemon@freedesktop.org wrote:
>
> *Comment # 8 <https://bugs.freedesktop.org/show_bug.cgi?id=63857#c8>
> on bug 63857 <https://bugs.freedesktop.org/show_bug.cgi?id=63857> from
> Xavier Bachelot <mailto:xavier@bachelot.org> *
> Created attachment 78433 [details] [review] <attachment.cgi?id=78433> [details] <attachment.cgi?id=78433&action=edit> [review] <page.cgi?id=splinter.html&bug=63857&attachment=78433>
> make iga[12]_crtc_mode_fixup more verbose when the mode is rejected
> ------------------------------------------------------------------------
> You are receiving this mail because:
>
>   * You are on the CC list for the bug.
>   * You reported the bug.
>
Hi,

Just built from git. Still failing. This is the Xorg.0.log.

Anything else I can do?

Regards,
Willem
Comment 13 willem 2013-05-11 19:14:06 UTC
Created attachment 79178 [details]
attachment-4186-1.dat
Comment 14 willem 2013-05-11 19:14:06 UTC
Created attachment 79179 [details]
Xorg.0.log
Comment 15 willem 2013-05-11 19:14:06 UTC
Created attachment 79180 [details]
attachment-4199-0.html

On 04/24/2013 07:30 PM, bugzilla-daemon@freedesktop.org wrote:
>
> *Comment # 8 <https://bugs.freedesktop.org/show_bug.cgi?id=63857#c8>
> on bug 63857 <https://bugs.freedesktop.org/show_bug.cgi?id=63857> from
> Xavier Bachelot <mailto:xavier@bachelot.org> *
> Created attachment 78433 [details] [review] <attachment.cgi?id=78433> [details] <attachment.cgi?id=78433&action=edit> [review] <page.cgi?id=splinter.html&bug=63857&attachment=78433>
> make iga[12]_crtc_mode_fixup more verbose when the mode is rejected
> ------------------------------------------------------------------------
> You are receiving this mail because:
>
>   * You are on the CC list for the bug.
>   * You reported the bug.
>
Hi,

Just built from git. Still failing. This is the Xorg.0.log.

Anything else I can do?

Regards,
Willem
Comment 16 willem 2013-05-11 19:14:06 UTC
Created attachment 79181 [details]
attachment-4199-1.dat
Comment 17 willem 2013-05-11 19:14:06 UTC
Created attachment 79182 [details]
Xorg.0.log
Comment 18 willem 2013-05-19 22:07:02 UTC
Created attachment 79555 [details]
latest Xorg.0.log; still failing

Just updated to the latest git clone. Compiled and installed. Still failing. Attached the Xorg.0.log.

Anything else I can do?
Comment 19 Xavier Bachelot 2013-05-20 11:23:22 UTC
Created attachment 79567 [details] [review]
patch to allow probing tv out

Ok, I think I understand what is happening now. The tv out port is not probed because of commit 76515c8a369346d76864e55610a6a747d9b152d8
Please try this patch, it should fix the issue.
Comment 20 willem 2013-05-20 16:18:09 UTC
Created attachment 79578 [details]
still no joy

Attached the Xorg.0.log when there is only a DVI panel connected. No joy in starting up LXDM.

When there is a TV connected, the box completely freezes. I lose connection - even ping does no longer work, so seems to me a kernel freeze.

The boot-blurb is shown on the TV set but when it tries to start LXDM the box freezes... There is no way I can get the Xorg.0.log file. The file is empty at the moment this happens (this I know because the box boots from the network and I can look into the "local" files on the server...).
Comment 21 James Simmons 2013-05-20 22:25:21 UTC
Do you know how to use git ? We need to bisect to see where the problem is.
Comment 22 willem 2013-05-20 23:02:25 UTC
On 05/21/2013 12:25 AM, bugzilla-daemon@freedesktop.org wrote:
>
> *Comment # 21 <https://bugs.freedesktop.org/show_bug.cgi?id=63857#c21>
> on bug 63857 <https://bugs.freedesktop.org/show_bug.cgi?id=63857> from
> James Simmons <mailto:jsimmons@infradead.org> *
> Do you know how to use git ? We need to bisect to see where the problem is.
> ------------------------------------------------------------------------
> You are receiving this mail because:
>
>   * You are on the CC list for the bug.
>   * You reported the bug.
>
I think I do... I just cloned the latest one, then applied the patch
provided by Xavier, recompiled, re-installed.
Do you want me to try the latest git?
Comment 23 Kevin Brace 2017-01-22 18:47:18 UTC
We no longer support older releases like Version 0.3.x.
If the problem persists with the latest official release version (Version 0.5) or the latest OpenChrome Git repository code (Version 0.5.181), please file a new bug report against the latest version.
I will be closing the bug report due to these reasons.


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.