Bug 15237

Summary: [945gm] broken colors with intel driver in xfce4
Product: xorg Reporter: Maciej Łoziński <loziniak>
Component: Driver/intelAssignee: Wang Zhenyu <zhenyu.z.wang>
Status: RESOLVED NOTOURBUG QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium CC: michael.fu, sergio
Version: 7.2 (2007.02)Keywords: NEEDINFO
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
photo of screen when using intel driver
none
the same image displayed with vesa driver
none
the test image
none
xorg.log with intel driver
none
xorg.conf none

Description Maciej Łoziński 2008-03-28 04:42:38 UTC
Created attachment 15535 [details]
photo of screen when using intel driver

When I enable "intel" driver instead of "vesa" which was auto-detected during installation, and restart X, colors on my screen start to appear very strange, while in vesa they look ok.

My configuration:
- Compaq nx7400 (EY611EA#AKD) laptop,
- 945GM chipset,
- GMA 950 graphics,
- Debian testing with kernel 2.6.22,
- xorg 7.2,
- Xfce 4.1,
- intel driver module version 2.2.0 

Here is a discussion that I started a while ago:
http://lists.freedesktop.org/archives/xorg/2007-December/031307.html

I attach photos of my screen and xorg.logs
Comment 1 Gordon Jin 2008-03-28 05:35:20 UTC
Please attach your xorg.conf and Xorg.0.log here. The links in the mailing list has been inaccessible.
Comment 2 Wang Zhenyu 2008-03-30 20:17:20 UTC
So your picture shows the problem is within video playback?
Comment 3 Maciej Łoziński 2008-03-31 01:09:40 UTC
Created attachment 15577 [details]
the same image displayed with vesa driver
Comment 4 Maciej Łoziński 2008-03-31 01:11:13 UTC
Created attachment 15579 [details]
the test image
Comment 5 Maciej Łoziński 2008-03-31 01:38:56 UTC
Created attachment 15580 [details]
xorg.log with intel driver
Comment 6 Maciej Łoziński 2008-03-31 01:42:14 UTC
Created attachment 15581 [details]
xorg.conf
Comment 7 Maciej Łoziński 2008-03-31 01:47:40 UTC
I added a few attachments. Sorry for not checking the links before posting. When you compare pictures (attachments 15535 and 15577), the difference becomes obvious.
Comment 8 Wang Zhenyu 2008-04-01 01:47:09 UTC
How can I produce this? load "test image" in what application?
Comment 9 Maciej Łoziński 2008-04-01 02:28:28 UTC
I was using GIMP's full screen display, but every application that can display a JPG on full screen wil be OK.

(In reply to comment #8)
> How can I produce this? load "test image" in what application?
> 

Comment 10 Sérgio M. Basto 2008-04-01 18:07:29 UTC
(In reply to comment #0)

> My configuration:
> - Compaq nx7400 (EY611EA#AKD) laptop,
> - 945GM chipset,
> - GMA 950 graphics,
> - Debian testing with kernel 2.6.22,
> - xorg 7.2,
> - Xfce 4.1,
> - intel driver module version 2.2.0 

this is a commom mistake 

(EE) AIGLX error: drmMap of framebuffer failed (Invalid argument)(EE) AIGLX: reverting to software rendering
(WW) intel(0): Removed DRI frontbuffer mapping in compatibility mode.
(WW) intel(0): DRIGetDeviceInfo will report incorrect frontbuffer handle.

libdrm should be the stable one 2.3.0 with more than one year , after that you should compile mesa branch_7.0 or the recent Mesa 7.0.3 rc3

after taht recompile yours Intel drive .

You must get rid of this warnings they say that you are your incompatible versions of software. 
Comment 11 Maciej Łoziński 2008-05-19 03:38:19 UTC
I think I solved the problem.

It was all about gamma correction settings in xfce4 :-)

I came to this idea when I saw that gdm which I recently installed, displays fine.  

When I checked gamma settings, all sliders were full down to the 0.10 value, instead of 1.00. Do you think it's xfce's bug or intel's? Why with vesa drivers the gamma was ok?
Comment 12 Michael Fu 2008-06-05 17:08:34 UTC
Maciej Łoziński,

Is this reproducible after you restart your system. i.e. do you need to set gamma value every time you reboot the machine?
Comment 13 Maciej Łoziński 2008-06-08 05:50:40 UTC
> Is this reproducible after you restart your system. i.e. do you need to set
> gamma value every time you reboot the machine?
> 

No, gamma settings ramain ok, once set. But when I switch to VESA driver and then back to intel, they are again 0.10 instead of 1.0.
Comment 14 Michael Fu 2008-06-17 20:34:21 UTC
what if you don't use xfce but other windows system( KDE, GNOME), do you still have this issue?
Comment 15 Michael Fu 2008-07-10 00:06:29 UTC
respnose?
Comment 16 Maciej Łoziński 2008-07-10 04:48:04 UTC
Sorry, I thought I have written it...

The truth is that it's not my personal computer, but production machine I use at work, so I don't want to change desktop environment (and potentially lose settings and lots of time). 
Comment 17 Michael Fu 2008-07-10 19:01:48 UTC
ok, thanks.  it doesn't sounds like our bug though...

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.