Bug 6849

Summary: Video players quits when playing a video file
Product: xorg Reporter: Toufeeq Hussain <toufeeqh>
Component: Driver/intelAssignee: Alan Hourihane <alanh>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: high    
Version: 7.0.0   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Toufeeq Hussain 2006-05-06 23:12:20 UTC
When playing a particule video file[1], all video players seem to quit with the
following error:

(totem:27346): GLib-CRITICAL **: g_str_has_prefix: assertion `str !=
NULL' failed
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 128 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.)

This is on Xorg 7.0.0 on Debian Unstable and has been reported as a bug on
Debian[2]. The error is reproducible on xine,totem and vlc.

Please let me know if any other additional information is required.

[1]  http://freeshell.in/~topa/files/desktop-recording.ogg
[2]  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=365885&sourceid=mozilla-search

Thanks.
Comment 1 Alan Hourihane 2006-05-07 01:56:20 UTC
You need to add

Option "LinearAlloc" "<value>"

Where <value> is a size in KB for extra overlay memory, as playing large movies
result in the error you received.
Comment 2 Toufeeq Hussain 2006-05-07 18:09:53 UTC
Thanks.
With the following line added it works fine.

Option "LinearAlloc" "8192"

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.