segfault/lockup while playing a video after upgrade 8.04->8.10

Bug #293113 reported by Kosta Pribić
8
Affects Status Importance Assigned to Milestone
xserver-xorg-video-intel (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: xserver-xorg-video-intel

Hi,

after upgrading kubuntu 8.04 to 8.10, x started crashing while rendering video. Oddly enough, it managed to play a video for 30+ mins before a first crash, and now it crashes after 10 sec on my IBM Thinkpad R50e.

Syslog says:
Nov 3 14:18:32 numa-laptop kernel: [ 237.043820] Xorg[5025]: segfault at 38 ip
 b7a9a35c sp bfeb6590 error 4 in libdri.so[b7a95000+8000]
Nov 3 14:18:32 numa-laptop kdm[5002]: X server for display :0 terminated unexpe
ctedly

The card is:
00:02.0 VGA compatible controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02)
        Subsystem: IBM Device 0562
        Flags: bus master, fast devsel, latency 0, IRQ 11
        Memory at e0000000 (32-bit, prefetchable) [size=128M]
        Memory at d0000000 (32-bit, non-prefetchable) [size=512K]
        I/O ports at 1800 [size=8]
        Capabilities: <access denied>
        Kernel modules: intelfb

I'm attaching the Xorg log file.

Revision history for this message
Kosta Pribić (kosta-pribic) wrote :
Revision history for this message
Kosta Pribić (kosta-pribic) wrote :

I installed ubuntu-desktop and movies work fine from Gnome with the same players. It's probably a KDE specific problem.

Revision history for this message
D Lenoir (domlen) wrote :

I have the same problem on a Gateway MX6028 (same video card).

Some more details:
- Video runs fine if nothing else happens on the screen;
- As soon as I e.g. change the volume (press volume +/-, which is a shortcut to kmix), switch to Firefox or Thunderbird, etc., the segfault is generated and ttys are not available anymore.

After the segfault, X tries to restart and it generates a new segfault every time. The only way to stop it is to press ctrl-alt-del and reboot (in other words, the keyboard seems to be still answering).

This problem appeared after my upgrade to 8.10 (kubuntu). Before this, I was running KDE4 on 8.04.

I produced this problem on an upgraded partition and on a newly formatted partition.

Revision history for this message
D Lenoir (domlen) wrote :

New update: I've been running VLC with OpenGL rendering since a couple of weeks and it didn't crash a single time.

Revision history for this message
Bryce Harrington (bryce) wrote :

[This is an automated message]

Hi kosta-pribic,

Please attach the output of `lspci -vvnn` too.

Changed in xserver-xorg-video-intel:
status: New → Incomplete
Revision history for this message
Bryce Harrington (bryce) wrote :

[This is an automatic notice.]

We'd like to forward your bug upstream, however upstream requires
that you first test it against their newer driver code.

To save you the effort of building the driver from source, we've built
packages for the driver and its new dependencies.

So you have a couple options:

 1. Download and test .debs for intrepid, from:
     https://edge.launchpad.net/~intel-gfx-testing/+archive

 -or-

 2. Download and test the Jaunty alpha-2 (or newer) Live CD,
     (which includes a beta of the new xserver 1.6 as well).
     See http://cdimage.ubuntu.com/releases/9.04/ for ISOs

Thanks ahead of time! You can simply reply to this email to report your
findings.

P.S., if you wish to forward your bug upstream yourself, please follow
these directions to do so:
  http://intellinuxgraphics.org/how_to_report_bug.html

Bryce Harrington (bryce)
Changed in xserver-xorg-video-intel:
status: Incomplete → New
status: New → Incomplete
Revision history for this message
Kosta Pribić (kosta-pribic) wrote :

My lspci -vvnn.

As for the Jaunty alpha-2, ill download the Kubuntu version ISO and try with that.

Revision history for this message
Gard Spreemann (gspreemann) wrote :

I had the same problem as described here. Using xserver-xorg-video-intel - 2:2.5.1-1ubuntu5~intrepid from https://edge.launchpad.net/~intel-gfx-testing/+archive as Bryce Harrington recommended to test solved the problem.

I also tried the older version 2.4.3, but the problem persists there. Maybe I'll have time to pin down exactly when the fix was introduced after Christmas.

Revision history for this message
Gard Spreemann (gspreemann) wrote :

Ehm, sorry. Apparantly I didn't have time to test properly. The problem REMAINS with 2.5.1.

I also tried with the Jaunty alpha 2 livecd, but graphics was completely garbled and behaving very weirdly, so I never go as far as actually testing video playback.

Revision history for this message
Gard Spreemann (gspreemann) wrote :

Also, the error messages are somewhat different with 2.5.1. In my Xorg log:

(EE) intel(0): underrun on pipe B!
(EE) intel(0): underrun on pipe B!
(EE) intel(0): underrun on pipe B!
[Repeated many many times]

From dmesg the only thing I can see is

[ 7860.106513] [drm:i915_getparam] *ERROR* Unknown parameter 5

i.e. no segfault as for 2.4, apparently.

Revision history for this message
Bryce Harrington (bryce) wrote :

Thanks for testing gspr. Sounds like the issue still exists, but since Kosta is the original reporter, we'll await his testing results first.

Btw, "underrun on pipe B" is a generic warning, that can be caused by a wide variety of different problems, but it is a useful piece of data. It just means that for whatever reason, insufficient data was getting through to your display attached to the B pipe.

Revision history for this message
Gard Spreemann (gspreemann) wrote :

Just for the record: I also heard someone suggest the problem could be in libdrm, so two days ago I tried the latest git version of it, but still no luck.

Revision history for this message
Gard Spreemann (gspreemann) wrote :

Also: I tried the latest git version of the driver itself aswell, but it behaves just the same.

Revision history for this message
Kosta Pribić (kosta-pribic) wrote :

Sorry for the delay, I've downloaded Kubuntu Jaunty Alpha 2 LiveCD and it works fine now. Tested with VLC, mplayer and Dragon Player. Video looks fine, logs say nothing and no garbled GUI graphics either.

As far as my laptop is concerned that would be it. Thanks!

Revision history for this message
Jaime Davila (jdavila-hampshire) wrote :

Greetings,

I found this thread while trying to find a solution to the problem I am having with my laptop, which is identical to the one originally reported by Kosta. I added the ppa listed above, and did an apt-get of xserver-xorg-video-intel, but I still continue to have the same problem. I also did an apt-get of libdrm2
and libdrm-intel1.

Anything else I needed to do other that the apt-get and rebooting? The output of lspci -vvnn is attached.

Thanks,

Jaime

Revision history for this message
Jaime Davila (jdavila-hampshire) wrote :

P.S. My problems with video playback started when I upgraded from ubuntu8.04 to 8.10.

Xorg.log is attached.

I download the Jaunty CD and ubuntu-desktop overnight to see if it is a KDE or intrepid specific problem.

Thanks again,

Jaime

Revision history for this message
Jaime Davila (jdavila-hampshire) wrote :

Hello again,

I have seen additional evidence for the error being KDE specific. After installing ubuntu-desktop and logging into gnome, videos played back without a problem. Upgrading to the recently released kde 4.2 has solved the problem for me. Before that, I believe I was using kde 4.1.2, since I believe that's the kubuntu 8.10 default. Not sure if upgrading to kde 4.1.4 would have solved the problem.

So, I suspect what solved the problem for Kosta after upgrading to Jaunty was the newer version of KDE, as opposed to anything regarding xorg. That's just my guess, though.

I think kde 4.2 will only be "official" for jaunty. To install 4.2 under 8.10, I added repository kubuntu-experimental

Problem solved for me,

Jaime

Revision history for this message
Gard Spreemann (gspreemann) wrote :

Video playback now works fine for me aswell (in KDE) with the Jaunty alpha 4 livecd. Of course, I had to enable UXA to work around bug #304871, and that brings with it its own set of problems, but I guess that's another story.

Revision history for this message
Bryce Harrington (bryce) wrote :

Thanks everyone

Changed in xserver-xorg-video-intel:
status: Incomplete → Fix Released
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.