Bug 22838

Summary: [965GM] fail to enable desktop effects in KDE
Product: Mesa Reporter: Leonid Podolny <leonidp.lists>
Component: Drivers/DRI/i965Assignee: Eric Anholt <eric>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: m_liertzer
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: xorg.conf
Xorg.0.log
glxinfo
dmesg
2.7.1 w/ KMS
2.7.1 w/o KMS
2.8.0 w/ KMS
2.8.0 w/o KMS
2.7.1 w/ KMS with EXA
2.7.1 w/o KMS with UXA

Description Leonid Podolny 2009-07-18 13:52:51 UTC
Created attachment 27817 [details]
xorg.conf

When I try to enable "desktop effects" in KDE 4.2.3, it says "Failed to activate desktop effects using the given configuration options". Also, when I run glxgears, I don't see actual gears, but only a black window (and shows 245 FPS which is a bit too good to be true on my hardware). So, I think that nothing Mesa-related works.

System environment:
-- lspci:
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 03)

-- uname -a:
Linux looptop 2.6.30-gentoo-r2 #2 SMP PREEMPT Fri Jul 17 23:31:29 IDT 2009 x86_64 Intel(R) Core(TM)2 Duo CPU T7500 @ 2.20GHz GenuineIntel GNU/Linux

-- xf86-video-intel:
x11-drivers/xf86-video-intel-2.7.99.902

-- xserver:
x11-base/xorg-server-1.6.2-r1

-- mesa:
media-libs/mesa-7.4.4
x11-apps/mesa-progs-7.4.1

-- libdrm:
x11-libs/libdrm-2.4.12

-- Linux distribution:
gentoo
-- Machine or mobo model:
MSI-PR200
-- Display connector:
LVDS1
Comment 1 Leonid Podolny 2009-07-18 13:53:50 UTC
Created attachment 27818 [details]
Xorg.0.log
Comment 2 Leonid Podolny 2009-07-18 14:37:53 UTC
Created attachment 27819 [details]
glxinfo
Comment 3 Leonid Podolny 2009-07-18 14:38:15 UTC
Created attachment 27820 [details]
dmesg
Comment 4 Gordon Jin 2009-07-18 19:59:43 UTC
Do you indicate this is xf86-video-intel regression by writing 2.7.99.902 in the summary? What's the previous version working for you?
Comment 5 Leonid Podolny 2009-07-19 04:31:26 UTC
(In reply to comment #4)
> Do you indicate this is xf86-video-intel regression by writing 2.7.99.902 in
> the summary? What's the previous version working for you?
> 

Yes, sorry. Version 2.7.1.
Comment 6 Gordon Jin 2009-07-19 18:07:38 UTC
This looks similar to bug#22831.

*** This bug has been marked as a duplicate of bug 22831 ***
Comment 7 Leonid Podolny 2009-07-22 21:20:21 UTC
As suggested in bug#22831, I upgraded mesa to 7.4.5. Glxgears started working, but the KDE desktop effects still don't.
Downgrading xf86-video-intel helps, so I think that here (vs. KDE bugzilla) is a more reasonable place to file a bug.
Comment 8 Leonid Podolny 2009-07-22 21:29:10 UTC
(In reply to comment #7)
> Downgrading xf86-video-intel helps, so I think that here (vs. KDE bugzilla) is
> a more reasonable place to file a bug.
> 
Disregard the latter point, I have just downgraded the driver to 2.7.1 and it still doesn't work.
I will investigate further what exactly breaks KDE.
Comment 9 Gordon Jin 2009-07-22 23:22:53 UTC
(In reply to comment #7)
> As suggested in bug#22831, I upgraded mesa to 7.4.5. Glxgears started working,
> but the KDE desktop effects still don't.

7.4.5? or 7.5?

> Downgrading xf86-video-intel helps, so I think that here (vs. KDE bugzilla) is
> a more reasonable place to file a bug.

dup with bug#22842? 

Comment 10 Leonid Podolny 2009-07-23 00:30:44 UTC
(In reply to comment #9)
> (In reply to comment #7)
> > As suggested in bug#22831, I upgraded mesa to 7.4.5. Glxgears started working,
> > but the KDE desktop effects still don't.
> 
> 7.4.5? or 7.5?

7.5 sorry

> 
> > Downgrading xf86-video-intel helps, so I think that here (vs. KDE bugzilla) is
> > a more reasonable place to file a bug.
> 
> dup with bug#22842? 
> 
Doesn't look like it. 
Here, I can't even enable desktop effects, and he complains about it being enabled and then not working.
 
Comment 11 Matthias Liertzer 2009-07-23 20:59:17 UTC
Leonid, could you maybe test it once more, but this time with functionality checks disabled(system settings -> desktop effects -> advanced tab -> disable functionality checks)

If you get a black flickering screen, then this bug is a duplicate of bug #22907.

/Matthias
Comment 12 Leonid Podolny 2009-07-27 12:07:07 UTC
(In reply to comment #11)
> Leonid, could you maybe test it once more, but this time with functionality
> checks disabled(system settings -> desktop effects -> advanced tab -> disable
> functionality checks)
> 
> If you get a black flickering screen, then this bug is a duplicate of bug
> #22907.
> 
> /Matthias
> 

I still receive the same error, even if I check that checkbox. 
Comment 13 Leonid Podolny 2009-07-27 12:12:33 UTC
(In reply to comment #8)
> (In reply to comment #7)
> > Downgrading xf86-video-intel helps, so I think that here (vs. KDE bugzilla) is
> > a more reasonable place to file a bug.
> > 
> Disregard the latter point, I have just downgraded the driver to 2.7.1 and it
> still doesn't work.
> I will investigate further what exactly breaks KDE.
> 

I have run some checks to single out the problem. I tried all four combinations of driver version 2.7.1 and 2.8.0 and kernel modesetting on and off (by passing i915.modeset kernel option). Of the four, the only combination that works is 2.7.1 without kernel modesetting. Either upgrading to 2.8.0 or turning KMS on, breaks KDE. I attach all four Xorg.0.log's.
Comment 14 Leonid Podolny 2009-07-27 12:13:21 UTC
Created attachment 28038 [details]
2.7.1 w/ KMS
Comment 15 Leonid Podolny 2009-07-27 12:13:40 UTC
Created attachment 28039 [details]
2.7.1 w/o KMS
Comment 16 Leonid Podolny 2009-07-27 12:14:03 UTC
Created attachment 28040 [details]
2.8.0 w/ KMS
Comment 17 Leonid Podolny 2009-07-27 12:14:24 UTC
Created attachment 28041 [details]
2.8.0 w/o KMS
Comment 18 Gordon Jin 2009-07-27 19:45:04 UTC
how about 2.7.1 with UXA enabled in xorg.conf, without KMS?
Comment 19 Leonid Podolny 2009-07-27 22:13:57 UTC
(In reply to comment #18)
> how about 2.7.1 with UXA enabled in xorg.conf, without KMS?
> 

I tried the other way around -- 2.7.1 with KMS, with EXA enabled, no luck. Will try as you advise and report.
Comment 20 Leonid Podolny 2009-07-27 22:29:48 UTC
(In reply to comment #18)
> how about 2.7.1 with UXA enabled in xorg.conf, without KMS?
> 

Still the same error message. Attaching Xorg.0.log's
Comment 21 Leonid Podolny 2009-07-27 22:30:31 UTC
Created attachment 28102 [details]
2.7.1 w/ KMS with EXA
Comment 22 Leonid Podolny 2009-07-27 22:30:58 UTC
Created attachment 28103 [details]
2.7.1 w/o KMS with UXA
Comment 23 Leonid Podolny 2009-07-28 12:00:00 UTC
Gentoo has upgraded xorg-server to 1.6.2.901 and now everything seems to work. What do I do? Close the bug?
Comment 24 Eric Anholt 2009-10-23 14:58:05 UTC
reported fixed

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.