Bug 606833 - intel [855GM] KWin works bad in Composition 3d mode. Cannot drag window, then crash.
Summary: intel [855GM] KWin works bad in Composition 3d mode. Cannot drag window, then...
Status: RESOLVED NORESPONSE
Alias: None
Product: openSUSE 11.3
Classification: openSUSE
Component: X.Org (show other bugs)
Version: Milestone 6
Hardware: i586 openSUSE 11.3
: P3 - Medium : Normal with 1 vote (vote)
Target Milestone: ---
Assignee: Stefan Dirsch
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-18 16:30 UTC by Mateusz Lach
Modified: 2010-09-06 03:28 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
artefacts (260.44 KB, image/jpeg)
2010-05-18 16:30 UTC, Mateusz Lach
Details
another artefacts (224.01 KB, image/jpeg)
2010-05-18 16:32 UTC, Mateusz Lach
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mateusz Lach 2010-05-18 16:30:14 UTC
Created attachment 362982 [details]
artefacts

User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; pl-PL; rv:1.9.1.9) Gecko/20100317 SUSE/3.5.9-0.1.1 Firefox/3.5.9

Hello,

I'm using Acer TravelMate 2300 with Intel GMA integrated graphics card (standard graph in this model). When I try tu turn KWin ON it is seems to be OK - but after try to do anything in KDE4 then there are problems even with dragging and resizing windows. Sometimes whole system may crash - and CTRL+Alt+Fx does not work at all, no reaction. Often screen is blinking after mouse click. If I have luck and it does not crash whole OpenSUSE I got a lot artefacts (photos)

Reproducible: Always

Steps to Reproduce:
1. Turn in System configuration -> Desktop -> 3d effects to ON state
2. Try to drag window and move to other place
3. after few tries system halt.

system configuration is default - like after install.
Comment 1 Mateusz Lach 2010-05-18 16:32:06 UTC
Created attachment 362983 [details]
another artefacts
Comment 2 Lubos Lunak 2010-05-18 16:49:09 UTC
Very likely X/driver problems.
Comment 3 Mateusz Lach 2010-05-18 17:05:54 UTC
Yes, it may be problem with X/driver, but on 11.2 with GNOME and Compiz everything worked great with no problems. Greetings.
Comment 4 Stefan Dirsch 2010-05-18 17:07:16 UTC
Could you attach the output of 'hwinfo --gfxcard'? Thanks.
Comment 5 Mateusz Lach 2010-05-18 17:33:48 UTC
linux-engg:/home/donmateo # hwinfo --gfxcard
11: PCI 02.0: 0300 VGA compatible controller (VGA)              
  [Created at pci.318]
  Unique ID: _Znp.dtEQWBwaoWD
  SysFS ID: /devices/pci0000:00/0000:00:02.0
  SysFS BusID: 0000:00:02.0
  Hardware Class: graphics card
  Model: "Intel 855 GM"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x3582 "855 GM"
  SubVendor: pci 0x1025 "Acer Incorporated [ALI]"
  SubDevice: pci 0x0064 
  Revision: 0x02
  Driver: "i915"
  Driver Modules: "drm"
  Memory Range: 0xe8000000-0xefffffff (ro,non-prefetchable)
  Memory Range: 0xe0000000-0xe007ffff (rw,non-prefetchable)
  I/O Ports: 0x1800-0x1807 (rw)
  IRQ: 6 (123 events)
  I/O Ports: 0x3c0-0x3df (rw)
  Module Alias: "pci:v00008086d00003582sv00001025sd00000064bc03sc00i00"
  Driver Info #0:
    XFree86 v4 Server Module: intel
  Driver Info #1:
    XFree86 v4 Server Module: intel
    3D Support: yes
    Extensions: dri
  Config Status: cfg=new, avail=yes, need=no, active=unknown

12: PCI 02.1: 0380 Display controller
  [Created at pci.318]
  Unique ID: ruGf.dvfIxS5YYl2
  SysFS ID: /devices/pci0000:00/0000:00:02.1
  SysFS BusID: 0000:00:02.1
  Hardware Class: graphics card
  Model: "Intel 855 GM"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x3582 "855 GM"
  SubVendor: pci 0x1025 "Acer Incorporated [ALI]"
  SubDevice: pci 0x0064 
  Revision: 0x02
  Memory Range: 0xf0000000-0xf7ffffff (ro,non-prefetchable)
  Memory Range: 0xe0080000-0xe00fffff (rw,non-prefetchable)
  Module Alias: "pci:v00008086d00003582sv00001025sd00000064bc03sc80i00"
  Driver Info #0:
    XFree86 v4 Server Module: intel
  Driver Info #1:
    XFree86 v4 Server Module: intel
    3D Support: yes
    Extensions: dri
  Config Status: cfg=new, avail=yes, need=no, active=unknown

Primary display adapter: #11
Comment 6 Stefan Dirsch 2010-05-27 01:33:10 UTC
Honestly, with 855GM you can be happy if video output and 2D acceleration work. :-(
Comment 7 Mateusz Lach 2010-05-29 16:19:04 UTC
Why you think lilke that? I have been using OpenSUSE (SUSE) and Ubuntu for about 5 years on this hardware and there was NO problems with 3d support on 855GM. Compiz worked perfectly even on OpenSUSE 11.2... there were some changes in api/abi of kernel? I though that this is problem with KWin, but I am suprised that's problem with drivers or X.org and there is no solution...
Comment 8 Stefan Dirsch 2010-05-29 16:35:34 UTC
Well the intel driver has been rewritten (using KMS now) as you might know and guess what, the newer chips have much more priority for Intel developers than the older ones like 855GM. We have various reports where not output is detected at all
on 855GM/915GM with the new shiny KMS-based intel driver ...

One option would be to try "intellegacy" driver (/etc/X11/xorg.conf.d/50-device.conf), but I believe in your case Mesa/libdrm or Kernel DRM driver is the culprit here.
Comment 9 Mateusz Lach 2010-05-29 16:49:29 UTC
Oh, I see... I didn't know about new version of intel driver. Thanks a lot for help and piece of both information and knowledge. I downloaded 11.3 milestone7 so after upgrade I will try to make more tests and to report every problem which is not reported. Regards!
Comment 10 Stefan Dirsch 2010-06-25 16:06:14 UTC
I believe it would be worth a try to update to latest Mesa, libdrm and 
xorg-x11-driver-video packages from obs://X11:XOrg.
Comment 11 Forgotten User p4j84CZyhV 2010-07-18 18:27:45 UTC
I have the same exact card in my Thinkpad X40 and am experiencing the exact same problems.  KDE4 Kwin effects worked perfectly in openSUSE 11.2 but not in openSUSE 11.3.

I decided to try using "intellegacy" driver in the 50-device.conf file and it worked!  Now I can enable desktop effects and there is no issue, even with suspend.  

Because using "intellegacy" driver worked, that means there is something wrong with the new driver.  A quick Google search shows that many distros suffer from this so this isn't an openSUSE issue.  How do we submit or check for a bug submitted upstream?

Also, what is the difference between the new driver and intellegacy ?  Since it is a laptop, does anyone know if there is any performance or battery life increases with using the new driver?  If so, I'll forgo the desktop effects for better performance (I know that there is better performance without desktop effects in general).
Comment 12 Stefan Dirsch 2010-07-21 02:26:31 UTC
Mateusz, still waiting for a response for more than 3 weeks now. Please reopen once you can provide the requested feedback. Thanks.
Comment 13 Mateusz Lach 2010-07-21 16:25:47 UTC
Hello,

Sorry for long time with no response. So lets go with this - I have 3 notebooks with Intel graphic card (from 855MG to newer GMA chipsets) - all my notebooks are suffering from problems with Intel drivers - on 2 from 3 laptops on Compozition 3d mode (for ex. KWin) OpenSUSE 11.3 is often freezing to death sometimes even playing in 3d games. On ACER with 855GM there are additional problems with artefacts. 

The solution for all is as I wrote on official Polish SUSE Wiki: 
a) set NO_KMS_IN_INITRD="yes" in /etc/sysconfig/kernel file (or from YaST -> /etc/sysconfig editor). 
b) as Anthony Simonelli wrote we can change driver to "intellegacy" 
c) reboot X server - but better "for sure" to reboot system (I still have it after using Windows :P )

After that everything even with KWin seems to be OK. 

I don't like to wait - but I think I have to wait for new drivers - me, my brother and other using OpenSUSE 11.3.

Bug is still present in new OpenSUSE and I hope this is last version of this distribution with such kinds of problems. I will try tomorrow with update like  Stefan Dirsch wrote. 

Greetings
Mateusz (Matthew)
Comment 14 Mateusz Lach 2010-07-21 17:30:40 UTC
Reopenning comment - sorry for that but I just forgot to do that when posting latest post.
Comment 15 Forgotten User p4j84CZyhV 2010-07-21 17:43:33 UTC
I didn't even have to disable KMS to get it to work when I used the "intellegacy" driver.  Just setting that driver allowed me to enable Kwin effects so it seems purely as a driver issue to me.

I've tried upgrading the libdrm, mesa and xorg-x11-driver-video packages from the X11:Xorg repository and it didn't help.
Comment 16 Mateusz Lach 2010-07-21 17:51:01 UTC
Anthony: I know that :) I just have 3 notebooks with different Intel graphic chipsets - all are suffering and I wrote some kind of solution which gave good effects on all 3 notebooks. I didn't tried to just switch to Intellegacy driver without second operation with NO_KMS_IN_INITRD. 

greetings
Comment 17 Stefan Dirsch 2010-08-30 11:03:55 UTC
Updating to libdrm, Mesa, xorg-x11-server and xorg-x11-driver-video 
of obs://X11:XOrg might be worth a try. Hope this update doesn't 
make your issues worse.
Comment 18 Stefan Dirsch 2010-09-06 03:28:48 UTC
Still waiting for a response for at least a week. Please reopen once
you can provide the requested feedback. Thanks.