Totem and VLC crash when doing just about anything with visual effects enabled

Bug #249222 reported by William Woelke on 2008-07-16
30
This bug affects 3 people
Affects Status Importance Assigned to Milestone
xorg (Ubuntu)
Low
Unassigned

Bug Description

I am using Hardy Heron (32-bit). When trying to watch videos on Totem (and VLC) the program crashes sporadically when visual effects are enabled. It could be when I maximize, restore, move the mouse while in fullscreen mode, etc. This is what the console displays when in happens:

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 371 error_code 11 request_code 141 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.)

description: updated
David Norton (norty) wrote :

Well, it says Totem, but the fact that it also occurs in VLC makes it look like a deeper problem

David Norton (norty) wrote :

Wait, my bad, this sounds like a compiz problem, if it's visual effects.

Travis Watkins (amaranth) wrote :

What driver is this?

The NVIDIA driver that is default in Hardy Heron is what I am using. Is
that what you are asking?

Pedro Villavicencio (pedro) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. You reported this bug a while ago and there hasn't been any activity in it recently. We were wondering is this still an issue for you? Could you try to reproduce the same with Ubuntu 8.10 or 9.04? Thanks in advance.

Changed in compiz:
status: New → Incomplete
looreenzoo (looreenzoo) wrote :

I have the same bug with Ubuntu 8.10 and ATI x1400: Totem and VLC crash, when Visual Effects are enabled (Normal and Extra). I tried both the open source driver and the restricted one. This is the output with Totem:

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 52 error_code 11 request_code 140 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.)

looreenzoo (looreenzoo) wrote :

To be precise, with the restricted driver Totem and VLC do not crash, but the video flickers.

karrister (windtlker) wrote :

I have the same problem with Compiz! I have Ubuntu 8.04, but only a week ago I updated all the few hundred packages that needed updating using the automatic updating tool. I got this error message in bash:

"Error of failed request: BadAlloc (insufficient resources for operation) Major opcode of failed request: 141 (XVideo) Minor opcode of failed request: 19 () Serial number of failed request: 87 Current serial number in output stream: 88"

With Compiz enabled I couldnt watch any videos with VLC nor Totem. Now after having turned Compiz off it works just fine again.

Do you need more info?

Robert Ancell (robert-ancell) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. You reported this bug a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue for you. Can you try with the latest Ubuntu release? Thanks in advance.

Thank you for contacting me Robert.

I remember the last time I tried it was a month ago and it still didnt work.
I noticed it slows the default matrix screensaver also down very badly. It's
not enough to just install all the updates the update tool finds, or should
I install the totally newer version of Ubuntu?

Karri Kivelä

2009/6/26 Robert Ancell <email address hidden>

> Thank you for taking the time to report this bug and helping to make
> Ubuntu better. You reported this bug a while ago and there hasn't been
> any activity in it recently. We were wondering if this is still an issue
> for you. Can you try with the latest Ubuntu release? Thanks in advance.
>
> --
> Totem and VLC crash when doing just about anything with visual effects
> enabled
> https://bugs.launchpad.net/bugs/249222
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “compiz” package in Ubuntu: Incomplete
>
> Bug description:
> I am using Hardy Heron (32-bit). When trying to watch videos on Totem (and
> VLC) the program crashes sporadically when visual effects are enabled. It
> could be when I maximize, restore, move the mouse while in fullscreen mode,
> etc. This is what the console displays when in happens:
>
> 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 371 error_code 11 request_code 141 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.)
>

Robert Ancell (robert-ancell) wrote :

Yes, please try with the latest version of Ubuntu (9.04). Note that you can try using the live CD:
http://www.ubuntu.com/getubuntu

How much RAM do you have in your computer?

tor-henning (tor-henning) wrote :

FYI¸ the exact same thing happens on my laptop, tested today:

-2.6.28-11-server #42-Ubuntu SMP Fri Apr 17 02:45:36 UTC 2009 x86_64 GNU/Linux
-RAM: 4GB

Adam Kessel (ajkessel) wrote :

Same here with Ubuntu 9.04, fresh install. Anything that tries to use xv out with compiz dies. mplayer, vlc, totem, etc. Disabling compiz fixes all problems. Tried nvidia-glx-96 from jaunty and karmic, no difference. Graphics card is nVidia Corporation NV11 [GeForce2 MX/MX 400]. There are a bunch of bug reports floating around on the driver packages, but it appears that uninstalling compiz fixes the problems.

Hector Caicedo (hcaicedo) wrote :

I moved all my systems from windows to linux-ubuntu when 8.04 was out. I still think that was an smart move.
Since last updates of 8.10 it seems that the support for desktop is going bad. Use to work all OK. Now all desktop graphics are going worst with every update.
(my computer has 3 monitors, 2 nvidia cards on a 9.10-64 bit, 8 gig memory)

- I can't have a window to maximize on one screen only (was working on 8.10).
- When maximize vlc on a screen compiz crashes (was working on 9.04).
- gnome-panel is leaking memory when switch wallpapers (was working on 8.10).

I want to point that I work 14 hour at front of a computer. and this things can be annoying.

Travis Watkins (amaranth) wrote :

This is not a compiz issue but rather the video card running out of memory due to compiz running. The driver needs a proper memory manager in order for this to work correctly. The ati/radeon driver at least has this when using KMS but I don't think the older nvidia drivers do.

affects: compiz (Ubuntu) → nvidia-graphics-drivers-96 (Ubuntu)
Bryce Harrington (bryce) wrote :

[Resetting to incomplete since we need a response from the original reporter on this].

Changed in nvidia-graphics-drivers-96 (Ubuntu):
status: Incomplete → New
status: New → Incomplete
Bryce Harrington (bryce) on 2010-03-18
tags: added: hardy
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.

Changed in nvidia-graphics-drivers-96 (Ubuntu):
status: Incomplete → Invalid

Architecture: i386
DistroRelease: Ubuntu 10.04
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
MachineType: Acer Aspire 1520
NonfreeKernelModules: nvidia
Package: nvidia-graphics-drivers-96 (not installed)
PccardctlIdent:
 Socket 0:
   no product info available
 Socket 1:
   no product info available
PccardctlStatus:
 Socket 0:
   no card
 Socket 1:
   no card
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-22-generic root=UUID=6bbacb56-b5e8-486f-ba8f-2e3955be12ab ro crashkernel=384M-2G:64M,2G-:128M quiet splash
ProcEnviron:
 LANG=fr_FR.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-22.35-generic 2.6.32.11+drm33.2
Tags: ubuntu-unity lucid lucid
Uname: Linux 2.6.32-22-generic i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
dmi.bios.date: 10/26/2004
dmi.bios.vendor: Phoenix
dmi.bios.version: V1.09
dmi.board.name: Aspire 1520
dmi.board.vendor: Acer
dmi.board.version: Rev.A
dmi.chassis.type: 1
dmi.chassis.vendor: N/A
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnPhoenix:bvrV1.09:bd10/26/2004:svnAcer:pnAspire1520:pvr-1:rvnAcer:rnAspire1520:rvrRev.A:cvnN/A:ct1:cvrN/A:
dmi.product.name: Aspire 1520
dmi.product.version: -1
dmi.sys.vendor: Acer
system:
 distro: Ubuntu
 codename: lucid
 architecture: i686
 kernel: 2.6.32-22-generic

Changed in nvidia-graphics-drivers-96 (Ubuntu):
status: Invalid → Confirmed
tags: added: apport-collected

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

Ric Flomag (ricflomag) wrote :

Re-opening, as the bug still happens using Ubuntu 10.04 (Totem, VLC). Disabling Compiz or closing some programs is a workaround.

MadMax (madmax) wrote :
Download full text (3.4 KiB)

     My gnome session kept crashing using the nouveau driver when surfing the web with a high graphic content site. After researching, I decided to use the proprietary drivers from Nvidia. After installing those drivers, I could not start a X session (gdm), I would get the "white screen of death" at boot, after the Ubuntu splash.

     After a couple of days, I found that adding Option "UseDisplayDevice" "DFP" in my Device section of the xorg.conf fixed that. My gdm stopped crashing, all looked happy. Then I played a video, and when I tried to go to full screen, the player crashed as reported above.

     Disabling the effects under the Visual Effects tab in System - Preferences - Appearance solved the full screen problem.

Here is a report from sysinfo:

System information report, generated by Sysinfo: 6/11/2010 2:53:42 AM
http://sourceforge.net/projects/gsysinfo

SYSTEM INFORMATION
 Running Ubuntu Linux, the Ubuntu 10.04 (lucid) release.
 GNOME: 2.30.0 (Ubuntu 2010-03-31)
 Kernel version: 2.6.32-22-generic (#36-Ubuntu SMP Thu Jun 3 22:02:19 UTC 2010)
 GCC: 4.4.3 (i486-linux-gnu)
 Xorg: unknown (23 April 2010 05:11:50PM)
 Hostname: toshiba
 Uptime: 0 days 2 h 10 min

CPU INFORMATION
 GenuineIntel, Intel(R) Pentium(R) 4 Mobile CPU 2.00GHz
 Number of CPUs: 1
 CPU clock currently at 2000.000 MHz with 512 KB cache
 Numbering: family(15) model(2) stepping(4)
 Bogomips: 3986.43
 Flags: fpu vme de pse tsc msr pae mce cx8 mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm up pebs bts

MEMORY INFORMATION
 Total memory: 1002 MB
 Total swap: 740 MB

STORAGE INFORMATION
 SCSI device - scsi0
  Vendor: ATA
  Model: TOSHIBA MK4019GA
 SCSI device - scsi0
  Vendor: TEAC
  Model: DW-224E
 SCSI device - scsi3
  Vendor: WD
  Model: 6400AAV External

HARDWARE INFORMATION
MOTHERBOARD
 Host bridge
  Intel Corporation 82845 845 [Brookdale] Chipset Host Bridge (rev 04)
  Subsystem: Toshiba America Info Systems Device 0001
 PCI bridge(s)
  Intel Corporation 82845 845 [Brookdale] Chipset AGP Bridge (rev 04)
  Intel Corporation 82801 Mobile PCI Bridge (rev 42)
 USB controller(s)
  NEC Corporation USB (rev 41) (prog-if 10)
  NEC Corporation USB (rev 41) (prog-if 10)
  NEC Corporation USB 2.0 (rev 02) (prog-if 20)
 ISA bridge
  Intel Corporation 82801CAM ISA Bridge (LPC) (rev 02)
 IDE interface
  Intel Corporation 82801CAM IDE U100 Controller (rev 02) (prog-if 8a [Master SecP PriP])
  Subsystem: Toshiba America Info Systems Device 0001

GRAPHIC CARD
 VGA controller
  nVidia Corporation NV17 [GeForce4 460 Go] (rev a3)
  Subsystem: Toshiba America Info Systems Device 0001

SOUND CARD
 Multimedia controller
  Intel Corporation 82801CA/CAM AC'97 Audio Controller (rev 02)
  Subsystem: Toshiba America Info Systems Device 0002

NETWORK
 Network controller
  Intel Corporation PRO/Wireless LAN 2100 3B Mini PCI Adapter (rev 04)
  Subsystem: Intel Corporation Device 2565
 Ethernet controller
  Intel Corporation 82801CAM (ICH3) PRO/100 VE (LOM) Ethernet Controller (rev 42)
  Subsystem: Toshiba America Info Systems Device 0001
 Modem
  Intel Corporation 82801CA/CAM AC'97 Modem Controller (rev 02)
  Subsystem...

Read more...

MadMax (madmax) wrote :

Here is my xorg.conf:

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 1.0 (buildd@palmer) Fri Apr 9 10:35:18 UTC 2010

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder75) Thu Apr 15 05:52:31 PDT 2010

Section "ServerLayout"
    Identifier "Layout0"
    Screen 0 "Screen0" 0 0
    InputDevice "Keyboard0" "CoreKeyboard"
    InputDevice "Mouse0" "CorePointer"
    Option "Xinerama" "0"
EndSection

Section "Files"
EndSection

Section "InputDevice"

    # generated from default
    Identifier "Mouse0"
    Driver "mouse"
    Option "Protocol" "auto"
    Option "Device" "/dev/psaux"
    Option "Emulate3Buttons" "no"
    Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

    # generated from default
    Identifier "Keyboard0"
    Driver "kbd"
EndSection

Section "Monitor"
    Identifier "Monitor0"
    VendorName "Unknown"
    ModelName "TOSHIBA Internal Panel"
    HorizSync 63.0 - 65.0
    VertRefresh 60.0
    Option "DPMS"
EndSection

Section "Device"
    Identifier "Device0"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    BoardName "GeForce4 460 Go"
    Option "UseDisplayDevice" "DFP"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device "Device0"
    Monitor "Monitor0"
    DefaultDepth 24
    Option "RenderAccel" "True"
    Option "UseEvents" "False"
    Option "AddARGBGLXVisuals" "True"
    Option "TwinView" "0"
    Option "metamodes" "DFP: 1400x1050 +0+0"
    SubSection "Display"
        Depth 24
    EndSubSection
EndSection

MadMax (madmax) wrote :

  Seems to have had a very similar bug with Intel drivers, back in 2007
     https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/111257

  From what I can see, it all has to do with an xv output. I am researching what xv is, it appears to deal with overlay.

John Baptist (jepst79) wrote :

I'm using nvidia 195 and totem crashes whenever I change video mode. This happens if I use the Nvidia control panel, and also during resume from suspend. Is this the same bug?

William Woelke, thank you for reporting this bug to Ubuntu. Hardy Desktop reached EOL on May 12, 2011.
See this document for currently supported Ubuntu releases: https://wiki.ubuntu.com/Releases

Is this an issue in a supported release? If so, could you please execute the following command, as it will automatically gather debugging information, in a terminal:
apport-collect 249222

affects: nvidia-graphics-drivers-96 (Ubuntu) → xorg (Ubuntu)
Changed in xorg (Ubuntu):
importance: Undecided → Low
status: Confirmed → Incomplete
Launchpad Janitor (janitor) wrote :

[Expired for xorg (Ubuntu) because there has been no activity for 60 days.]

Changed in xorg (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers