[i945] totem crashes when trying to play video file and using a virtual configuration

Bug #366979 reported by seron on 2009-04-25
This bug affects 2 people
Affects Status Importance Assigned to Milestone
xserver-xorg-video-intel (Ubuntu)

Bug Description

Binary package hint: totem

Im using an Acer Aspire One, and found that totem crashes everytime I try to play any file. This started happening after i had my TV connected for the first time.

I have this in my xorg.conf:
Section "Screen"
        Identifier "Default Screen"
        Monitor "Configured Monitor"
        Device "Configured Video Device"
        SubSection "Display"
                Virtual 2384 768

and when the SubSection "Display" part is there, I get this error when trying to play a video in totem:
/var/lib/python-support/python2.6/gdata/tlslite/utils/cryptomath.py:9: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
  import sha
The program 'totem' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAlloc (insufficient resources for operation)'.
  (Details: serial 94 error_code 11 request_code 132 minor_code 19)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

If I remove the SubSection "Display" part, then everything works again.

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
ExecutablePath: /usr/bin/totem-gstreamer
Package: totem-gstreamer 2.26.1-0ubuntu5
 PATH=(custom, user)
SourcePackage: totem
Tags: ubuntu-unr
Uname: Linux 2.6.28-11-generic i686

00:00.0 Host bridge [0600]: Intel Corporation Mobile 945GME Express Memory Controller Hub [8086:27ac] (rev 03)
 Subsystem: Acer Incorporated [ALI] Device [1025:015b]
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 945GME Express Integrated Graphics Controller [8086:27ae] (rev 03)
 Subsystem: Acer Incorporated [ALI] Device [1025:015b]

seron (mikkel-luftenshelte) wrote :
Sebastien Bacher (seb128) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please try to obtain a backtrace following the instructions at http://wiki.ubuntu.com/DebuggingProgramCrash and upload the backtrace (as an attachment) to the bug report. This will greatly help us in tracking down your problem.

Changed in totem (Ubuntu):
assignee: nobody → Ubuntu Desktop Bugs (desktop-bugs)
importance: Undecided → Low
status: New → Incomplete
Sebastien Bacher (seb128) wrote :

what videocard and driver do you use? do you use the desktop effect?

seron (mikkel-luftenshelte) wrote :

I've attached the output from "sudo lshw" I figured the needed information about videocard and driver can be found there. Else you'll have to give me the exact command to find the driver.

I've also added the gdb backtrace, but I dont think its very helpfull, since it just said "No stack.".

If you need anything else, I'll be happy to find it for you.

seron (mikkel-luftenshelte) wrote :
seron (mikkel-luftenshelte) wrote :

Forgot to mention, that I do not use any desktop effects.

Thanks for looking into it.

Sebastien Bacher (seb128) wrote :

could you add your /var/log/Xorg.0.log to the bug it should specify the driver used

could you also install libgtk2.0-0-dbg, run
- gdb totem
(gdb) break gdk_x_error
(gdb) run

and get the stacktrace?

seron (mikkel-luftenshelte) wrote :

Sure, here is the Xorg.0.log

seron (mikkel-luftenshelte) wrote :

And the new backtrace, with the break gdk_x_error (I can't figure out how to attack multiple files to one comment)

Sebastien Bacher (seb128) wrote :

could you install libgstreamer0.10-dbg gstreamer0.10-plugins-base-dbg libx11-dbg and get a new stacktrace?

Sebastien Bacher (seb128) wrote :

the driver used is install, reassigning since the issue is there only when virtual is used in the xorg configuration

affects: totem (Ubuntu) → xserver-xorg-video-intel (Ubuntu)
Changed in xserver-xorg-video-intel (Ubuntu):
assignee: Ubuntu Desktop Bugs (desktop-bugs) → nobody
status: Incomplete → New
summary: - totem crashes when trying to play video file
+ totem crashes when trying to play video file and using a virtual
+ configuration

Here is the new backtrace with the new debugging libraries installed.

I have also noticed that the new Netbook desktop mode gets extremly laggy, to the point where its unusable, when the virtual configuration is enabled in xorg.conf - maybe there is a connection?

Bryce Harrington (bryce) on 2009-04-28
tags: added: crash
seron (mikkel-luftenshelte) wrote :

Switching back to the 8.10 driver fixed the totem crash, but the new Netbook-remix desktop is still extremely laggy when the virtual configuration is set. The classic desktop is working fine though.

Geir Ove Myhr (gomyhr) on 2009-05-01
tags: added: 945gme
summary: - totem crashes when trying to play video file and using a virtual
+ [i945] totem crashes when trying to play video file and using a virtual
Geir Ove Myhr (gomyhr) wrote :

seron, could you attach the output of the command `lspci -vvnn` as an attachment here. This is something we require for all xorg-related bugs, and helps us identify the exact hardware you are using.

There is no way at the moment to attach multiple files to one comment using the web-interface. This is something we would like to have in the future. You may subscribe to bug 82652 to get any updates about this.

Geir Ove Myhr (gomyhr) wrote :

This is possibly the same bug as bug 364395 (but I haven't checked the symptoms in detail).

strav (strav) wrote :

Seron: having a quite similar problem, I believe this bug is linked to your virtual memory settings (along with the new GEM for video memory allocation) As a workaround you can try changing

       SubSection "Display"
                Virtual 2384 768

to something like:

      SubSection "Display"
                Depth 24
                Modes "2384x768" "1024x600"

#the first mode ( "2384x768") being the native resolution of the external monitor,
#the second ("1024x600") being the fallback that's gonna be use for you main screen.

If this works, then we'll know the problem is directly linked with virtual memory allocation.

Bryce Harrington (bryce) on 2009-05-06
description: updated
seron (mikkel-luftenshelte) wrote :

Sorry, for the late reply, completely forgot about it after I rerolled to the 8.10 drivers.

I attached the lspci -vvnn output.

strav, thanks for your suggestion, I'll try it out when I got time to work with it again.

Geir Ove Myhr (gomyhr) on 2009-05-06
description: updated
Bryce Harrington (bryce) on 2009-05-06
tags: added: videoplayback
Bryce Harrington (bryce) on 2009-05-07
Changed in xserver-xorg-video-intel (Ubuntu):
status: New → Confirmed
Bryce Harrington (bryce) wrote :

[This is an automatic notification.]

A new major version of the -intel driver is now available in Karmic.

This version includes a major reworking of the acceleration
architecture, which resolves a huge number of issues. We do not know
whether it resolves the issue you reported.

Would you mind testing Karmic Alpha-2 and seeing if it is still a
problem? CD ISO images are available here:


If the issue can still be reproduced on karmic, please report here with
your findings, and attach a fresh Xorg.0.log from your test, and we will
be able to forward the bug upstream.

Otherwise, if the bug no longer exists in Karmic, let us know that as

In the off chance you encounter different bugs while attempting to test
Karmic, please report those as new bug reports.

Changed in xserver-xorg-video-intel (Ubuntu):
status: Confirmed → New
status: New → Incomplete
Bryce Harrington (bryce) wrote :

We're closing this bug since it is has been some time with no response from the original reporter. However, if the issue still exists please feel free to reopen with the requested information. Also, if you could, please test against the latest development version of Ubuntu, since this confirms the bug is one we may be able to pass upstream for help.

It seems likely to me this bug is gone; the -intel driver has improved immensely in Karmic and a lot of bugs are being reported as no longer present. So hopefully that's the case here too.

Changed in xserver-xorg-video-intel (Ubuntu):
status: Incomplete → Invalid
Nikolay (zikolach) wrote :

The same problem with VLC player.
Changing Virtual 2944 1080 on Modes "1920 1080" "1024x600" helps to avoid the problem with video playback.
Hardware: Asus EeePC 1000H

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers