color corruption with openchrome on Fujitsu Siemens Amilo Pro V2030

Bug #1122991 reported by Rüdiger Kupper
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
openchrome
Confirmed
Medium
xserver-xorg-video-openchrome (CentOS)
Confirmed
Undecided
xserver-xorg-video-openchrome (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

After update to Lubuntu 12.10, I experience color corruption with the openchrome driver on my Fujitsu Siemens Amilo Pro V2030 notebook.
From the Xorg log I see that the driver correctly loads and identifies my notebook as Amilo Pro V2030. However, I see color corruption on the graphics screen (see attached screenshot):
All contents of the screen are displayed, but screen is typically divided into three horizontal stripes, tinted cyan, red, cyan. Sometimes there are no stripes, but a ghost image of the last screen before reboot, in cyan/red.
The mouse pointer is a red square.

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: xserver-xorg-video-openchrome 1:0.3.1-0ubuntu1
ProcVersionSignature: Ubuntu 3.5.0-23.35-generic 3.5.7.2
Uname: Linux 3.5.0-23-generic i686
ApportVersion: 2.6.1-0ubuntu10
Architecture: i386
Date: Tue Feb 12 12:39:45 2013
MarkForUpload: True
SourcePackage: xserver-xorg-video-openchrome
UpgradeStatus: Upgraded to quantal on 2013-02-12 (0 days ago)

Revision history for this message
Rüdiger Kupper (ruediger.kupper) wrote :
Revision history for this message
Rüdiger Kupper (ruediger.kupper) wrote :

Attaching Xorg.0.log.
Please tell me what else you need.

Revision history for this message
Rüdiger Kupper (ruediger.kupper) wrote :

Forcing vesa driver in xorg.conf yields correct, but slow display.

Revision history for this message
Rüdiger Kupper (ruediger.kupper) wrote :

Another screenshot of color corruption, created through software screenshot.

Revision history for this message
Rüdiger Kupper (ruediger.kupper) wrote :

News:
1. Booting from Lubuntu 12.10 live CD: Same problem.
2. Clean install from this very Lubuntu 12.10 live CD: Problem is gone.

In a clean installation of Lubuntu 12.10, the openchrome driver works well. I cannot see a difference to my previous installation (which previously was Ubuntu, then package ubuntu-desktop removed, and lubuntu-desktop installed).

One thought though: My old installation had GRUB 1, which never got replaced during updates. The new installation has GRUB 2. Perhaps this does a better job initializing the graphics

Still, graphics are corrupted when booting the live CD, indicating there is a problem to be solved.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in xserver-xorg-video-openchrome (Ubuntu):
status: New → Confirmed
Revision history for this message
In , Martin (martin-redhat-bugs) wrote :

Description of problem:
the openchrome driver update to version 0.3.0-3.20120806git causes the display content displayed to be corrupted (see screenshot)

Xorg.0.log and picture of the issue are attached

Revision history for this message
In , Martin (martin-redhat-bugs) wrote :

Created attachment 729937
Xorg.0.log

Revision history for this message
In , magilus (magilus) wrote :

Created attachment 77247
Xorg.0.log

Hi, since updating openchrome on my Amilo Pro V2030 (running EL 6.4) to version 0.3.0-3.20120806git, image corruption appears. I have also tried the latest version from git, which did not fix the issue.
Xorg.0.log and picture are attached.

Changed in openchrome:
importance: Unknown → Medium
status: Unknown → Confirmed
Revision history for this message
In , Martin (martin-redhat-bugs) wrote :

Created attachment 729947
picture of the issue

Revision history for this message
In , Martin (martin-redhat-bugs) wrote :

also happens with latest upstream version (git) and ubuntu 12.10.

Revision history for this message
In , magilus (magilus) wrote :

Created attachment 77250
picture of the issue

also happens with latest upstream version (git) and ubuntu 12.10.

Revision history for this message
In , magilus (magilus) wrote :

Created attachment 77251
picture of the issue

Revision history for this message
In , Martin (martin-redhat-bugs) wrote :

Created attachment 729948
picture of the issue

Revision history for this message
In , Xavier-3a (xavier-3a) wrote :

RHEL 6.4 (and clones) are using an openchrome snapshot between 0.3.0 and 0.3.1. RHEL 6.3 and earlier were using 0.2.904, this is a huge gap.
It would be nice if you can bisect the regression or at least try 0.2.905 and 0.2.906.
Also, can you please provide the X log from 0.3.2 (which is at this point similar to git master) ?

Revision history for this message
In , magilus (magilus) wrote :

hi, builds of 0.2.905 and 0.2.906 fail because of:
via_accel.c:37:22: error: xaalocal.h: No such file or directory

it seems as if the current version of xorg-x11-server-devel-1.13.0-11.sl6.i686 does not include xaalocal.h anymore. any help on building it anyway is much appreciated.

Revision history for this message
In , magilus (magilus) wrote :

Created attachment 77272
0.3.2 Xorg.0.log

Revision history for this message
In , Xavier-3a (xavier-3a) wrote :

XAA has been removed from X server 1.13, that's why 0.2.905 and 0.2.906 are not building. It might be possible to backport some fixes to allow building without XAA, I'll try to take a look.

Meanwhile, can you try to run 0.3.2 without 2D acceleration ? You need to use Option "NoAccel" in your X configuration.

Revision history for this message
In , magilus (magilus) wrote :

NoAccel does not solve the problem.

Revision history for this message
In , magilus (magilus) wrote :

Created attachment 77663
Xorg.0.log with noaccel true

Revision history for this message
In , magilus (magilus) wrote :

So, I've now compiled a KMS kernel based on those instructions: http://www.freedesktop.org/wiki/Openchrome/TtmGemKms

Does not work, image corruption (different now) still appears.

I'll attach logs regarding this issue.

Revision history for this message
In , magilus (magilus) wrote :

Created attachment 77940
Xorg.0.log with custom compiled kernelTtmGemKms )

Revision history for this message
In , magilus (magilus) wrote :

Created attachment 77941
picture of the issue (custom compiled kernelTtmGemKms )

please note that the above data from today all appeard in combination with via.modeset=1. ill also provide data for if via.modeset=0

Revision history for this message
In , magilus (magilus) wrote :

Created attachment 77942
Xorg.0.log with custom compiled kernelTtmGemKms and via.modeset=0

Revision history for this message
In , magilus (magilus) wrote :

Created attachment 77943
picture of the issue with custom compiled kernelTtmGemKms and via.modeset=0

heres the picture belonging to the issue.
the cursor corruption can be probably solved by using swcursor

besides of that, colors are unreal (too much blue, too much red), there's a little bit of image corruption in the middle of the background and sometimes there also was a translucent scientific logo in the middle everywhere.

Revision history for this message
In , magilus (magilus) wrote :

Created attachment 77944
screenshot of the issue (glxgears) with custom compiled kernelTtmGemKms and via.modeset=0

I just realized that you can even take normal screenshots of the issue. I found it interesting that you can't spot the red wheel in glxgears, here's another screenshot from it.

Revision history for this message
In , magilus (magilus) wrote :

Created attachment 77949
kernel log with custom compiled kernelTtmGemKms drm.debug=255 and via.modeset=1

Revision history for this message
In , Tomas (tomas-redhat-bugs) wrote :

We unfortunately don't have such device in house, Martin will you be able to test once test package is available and I can get the way how to distribute it to you?

Thanks
Tom

Revision history for this message
In , Martin (martin-redhat-bugs) wrote :

Hi Tom, yes, I am able to test, but it may take 7-14 days until I can provide you with the results. Just send it via e-mail. Thanks! :)

Revision history for this message
In , Xavier (xavier-redhat-bugs) wrote :

FWIW, we don't have such hardware upstream either. However, I've just ordered a board with an IGP from the same family, so I'll hopefully be able to reproduce the issue in the coming weeks.

Revision history for this message
In , Jsimmons-t (jsimmons-t) wrote :

Hello.

  The image corruption deals with the hardware cursor. I have seen this issue as well on my VX900 laptop but it doesn't happen all the time. Because of this I haven't been able to track down the problem. If you run into this problem all the time then we might be able to solve it. Also I never seen it in UMS mode like you have which tells me the same cursor bug exist for both the KMS kernel and the xorg UMS code for the cursor. Does this show up only on the LVDS or when you have external monitor plugged in? As for the wrong colors that is a kernel drm bug for the second display. I have seen it recently with my multiscreen testing for KMS.

Revision history for this message
In , magilus (magilus) wrote :

I tried using an external monitor but it does not work in any scenario (black image) - either because of the VGA-port being defective or a bug in the driver.

Revision history for this message
In , Jsimmons-t (jsimmons-t) wrote :

Created attachment 79651
Fix colors on second crtc

Can you try this patch against the drm-opernchrome tree. This should fix the wrong color issues you see. The cursor is still not fixed. I thing it is a initialization issue.

Revision history for this message
In , magilus (magilus) wrote :

drm-openchrome tree with that patch (via.modeset=0) shows the same behavior.

Revision history for this message
In , magilus (magilus) wrote :

Created attachment 79659
Xorg.0.log with patch from comment #18 applied

Revision history for this message
In , magilus (magilus) wrote :

Created attachment 79660
screenshot with patch from comment #18 applied (blueish, watermark)

Revision history for this message
In , Jsimmons-t (jsimmons-t) wrote :

Can you try with modeset=1. This patch only impacts KMS mode setting

Revision history for this message
In , magilus (magilus) wrote :

with via.modeset=1: colors ok, image still blurry.

Revision history for this message
In , Jsimmons-t (jsimmons-t) wrote :

Can you post Xorg.log and dmesg.

Revision history for this message
In , magilus (magilus) wrote :

Created attachment 79673
dmesg with patch from comment #18 applied and via.modeset=1

Revision history for this message
In , magilus (magilus) wrote :

Created attachment 79674
Xorg.0.log with patch from comment #18 applied and via.modeset=1

Revision history for this message
In , magilus (magilus) wrote :

Created attachment 80515
picture of issue with patch from comment #18 applied and via.modeset=1

heres another picture of the issue. any chance that it gets fixed?

Revision history for this message
In , Jsimmons-t (jsimmons-t) wrote :

Created attachment 80581
Turn off secondary cursor by default.

Here is a patch for broke cursor issue. Let me know if you can now use the second cursor.

Revision history for this message
In , Jsimmons-t (jsimmons-t) wrote :

Created attachment 80582
Test patch to see if LVDS is TTL

I have been thinking about why your LVDS is blurry. It could be a TTL based LVDS. Please try the test patch attached.

Revision history for this message
In , magilus (magilus) wrote :

applied the "Test patch to see if LVDS is TTL", and it works - great.

Not sure what the cursor patch is supposed to do (applied it, though), as far as I know the cursor issue only appeard with via.modeset=0 (I have taken out the swcursor option in xorg.conf)

Revision history for this message
In , magilus (magilus) wrote :

Created attachment 80870
Xorg.0.log with patches from 2013-06-09

Revision history for this message
In , magilus (magilus) wrote :

Created attachment 80871
dmesg with patches from 2013-06-09

Revision history for this message
In , Martin (martin-redhat-bugs) wrote :

FYI, James Simmons seems to have found a solution (at least for the issue in the drm kms tree of openchrome). Have a look at the upstream bug.

Revision history for this message
In , Jsimmons-t (jsimmons-t) wrote :

Much better. Could you post the output of dmidecode. I can use that output to handle your LVDS special case.

Revision history for this message
In , magilus (magilus) wrote :

Created attachment 81236
dmidecode

sorry for answering late, heres the dmidecode output

Revision history for this message
Raine (raine-virta) wrote :

Hi. I was having this problem every time on Lubuntu Live CD/USB, but it also happens sometimes after installation.

01:00.0 VGA compatible controller: VIA Technologies, Inc. CN700/P4M800 Pro/P4M800 CE/VN800 Graphics [S3 UniChrome Pro] (rev 01)

Revision history for this message
In , Jsimmons-t (jsimmons-t) wrote :

Thanks. I updated the drm-openchrome tree to handle your case automatically.

Revision history for this message
In , RHEL (rhel-redhat-bugs) wrote :

This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Revision history for this message
Alberto Jovito (thedemon007) wrote :

Can try live CD of 12.04 Precise Pangolin ?

Changed in xserver-xorg-video-openchrome (CentOS):
importance: Unknown → Undecided
status: Unknown → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.