Jump to content

video codecs error with istanbul, vlc & lots more


AleXxiO
 Share

Recommended Posts

hi, this is the output of vlc when i try to open some video file:

X 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:  83
 Current serial number in output stream:  84

 

 

and the same kind of error appears when i try to save a kde video session with istanbul:

 

DEBUG: final pipeline: istximagesrc name=videosource use-damage=false ! video/x-raw-rgb,framerate=10/1 ! videorate ! ffmpegcolorspace ! videoscale method=1 ! video/x-raw-yuv,width=1280,height=768,framerate=10/1 ! theoraenc ! oggmux name=mux ! filesink location=/home/alexxio/tmp/tmpQpFI0r
SaveWindow with file: /home/alexxio/tmp/tmpQpFI0r
The program 'istanbul' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAlloc (insufficient resources for operation)'.
 (Details: serial 45 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.)

 

 

same error with kaffeine and a lot of other software... why i get this bad alloc error?

the error log is:

k

affeine: GStreamerPart: play URL: file:///mnt/windows/Documents and Settings/AleXxiO/Desktop/XNA_Creators _Club_HighBandwidth.wmv
kaffeine: GStreamerPart: Using source sink: GstFileSrc

** (process:6122): WARNING **: Unknown codec ID 0, please add here

** (process:6122): WARNING **: Unknown codec ID 0, please add here
X Error: BadAlloc (insufficient resources for operation) 11
 Major opcode:  141
 Minor opcode:  19
 Resource id:  0x4000182
kaffeine: GStreamerPart: play URL: file:///usr/share/apps/kaffeine/logo
kaffeine: GStreamerPart: Using source sink: GstFileSrc
kaffeine:  Received meta tags...
kaffeine:  Received meta tags...
kaffeine: GStreamerPart: New gstreamer state: PLAYING
kaffeine: GStreamerPart: New gstreamer state: PLAYING
kaffeine: Kaffeine: new video frame size: 700x700
kaffeine: VideoWindow::setGeometry: 162 : 0 : 304 : 304
X Error: BadAlloc (insufficient resources for operation) 11
 Major opcode:  141
 Minor opcode:  19
 Resource id:  0x4000182
X Error: BadAlloc (insufficient resources for operation) 11
 Major opcode:  141
 Minor opcode:  19
 Resource id:  0x4000182
X Error: BadAlloc (insufficient resources for operation) 11
 Major opcode:  141
 Minor opcode:  19
 Resource id:  0x4000182
X Error: BadAlloc (insufficient resources for operation) 11
 Major opcode:  141
 Minor opcode:  19
 Resource id:  0x4000182
X Error: BadAlloc (insufficient resources for operation) 11
 Major opcode:  141
 Minor opcode:  19
 Resource id:  0x4000182
X Error: BadAlloc (insufficient resources for operation) 11
 Major opcode:  141
 Minor opcode:  19
 Resource id:  0x4000182
X Error: BadAlloc (insufficient resources for operation) 11
 Major opcode:  141
 Minor opcode:  19
 Resource id:  0x4000182
X Error: BadAlloc (insufficient resources for operation) 11
 Major opcode:  141
 Minor opcode:  19
 Resource id:  0x4000182
X Error: BadAlloc (insufficient resources for operation) 11
 Major opcode:  141
 Minor opcode:  19
 Resource id:  0x4000182
X Error: BadAlloc (insufficient resources for operation) 11
 Major opcode:  141
 Minor opcode:  19
 Resource id:  0x4000182
X Error: BadAlloc (insufficient resources for operation) 11
 Major opcode:  141
 Minor opcode:  19
 Resource id:  0x4000182
X Error: BadAlloc (insufficient resources for operation) 11
 Major opcode:  141
 Minor opcode:  19
 Resource id:  0x4000182
X Error: BadAlloc (insufficient resources for operation) 11
 Major opcode:  141
 Minor opcode:  19
 Resource id:  0x4000182
X Error: BadAlloc (insufficient resources for operation) 11
 Major opcode:  141
 Minor opcode:  19
 Resource id:  0x4000182
X Error: BadAlloc (insufficient resources for operation) 11
 Major opcode:  141
 Minor opcode:  19
 Resource id:  0x4000182
X Error: BadAlloc (insufficient resources for operation) 11
 Major opcode:  141
 Minor opcode:  19
 Resource id:  0x4000182
X Error: BadAlloc (insufficient resources for operation) 11
 Major opcode:  141
 Minor opcode:  19
 Resource id:  0x4000182
X Error: BadAlloc (insufficient resources for operation) 11
 Major opcode:  141
 Minor opcode:  19
 Resource id:  0x4000182
X Error: BadAlloc (insufficient resources for operation) 11
 Major opcode:  141
 Minor opcode:  19
 Resource id:  0x4000182
X Error: BadAlloc (insufficient resources for operation) 11
 Major opcode:  141
 Minor opcode:  19
 Resource id:  0x4000182
X Error: BadAlloc (insufficient resources for operation) 11
 Major opcode:  141
 Minor opcode:  19
 Resource id:  0x4000182
X Error: BadAlloc (insufficient resources for operation) 11
 Major opcode:  141
 Minor opcode:  19
 Resource id:  0x4000182
X Error: BadAlloc (insufficient resources for operation) 11
 Major opcode:  141
 Minor opcode:  19
 Resource id:  0x4000182
X Error: BadAlloc (insufficient resources for operation) 11
 Major opcode:  141
 Minor opcode:  19
 Resource id:  0x4000182
kaffeine: GStreamerPart: New gstreamer state: PAUSE
kaffeine: GStreamerPart: Playback finished

(process:6122): GStreamer-CRITICAL **: gst_caps_get_structure: assertion `GST_IS_CAPS (caps)' failed
kaffeine: Kaffeine: new video frame size: 0x0
kaffeine: GStreamerPart: New gstreamer state: READY
kaffeine: Kaffeine: destructor
kaffeine: VideoWindow: destructed
kaffeine: GStreamerPart: Save config
kaffeine: Timer: destructed

 

can you help? thanks!!

Link to comment
Share on other sites

The common error here is "insufficient resources for operation".

 

What's your memory usage when you're trying to do this? How much swap configured and used? How much disk space free on where you are trying to do all this? This is where I'd start to look before I try and debug further.

Link to comment
Share on other sites

  • 2 weeks later...

Are you using an Intel (or other vendor) onboard videocard?

A remedy for such issues is adding in /etc/X11/xorg.conf something like the following to your video device section:

 

Option "VideoRam" "65536"
Option "CacheLines" "1980"

 

This will instruct your onboard video using 64M of shared RAM, so it will be adequate for running some "demanding" X apps.

Of course if your onboard video can use more than 64M, adjust the "65536" value accordingly.

Link to comment
Share on other sites

  • 6 months later...
Guest Manish Kumar

I am new to Mandriva and linux and facing the same issue as posted on the top. Anyone please help me as i m not able to figure out the cause.

I have 1 GB RAM with Intel VideoCard. Why this happening with Linux not Windows OS. Is it Device driver issue.? :wall:

Thanx in advance.

Link to comment
Share on other sites

Guest Manish Kumar

As i see in top post error list not completely posted for VLC.

 

[00000262] main interface error: option dvdnav-caching does not exist
[00000262] main interface error: option dvdnav-caching does not exist
[00000262] main interface error: option dvdnav-caching does not exist
[00000262] main interface error: option dvdnav-caching does not exist
[00000262] main interface error: option dvdnav-caching does not exist
[00000270] a52 decoder: A/52 channels:2 samplerate:48000 bitrate:128000
No accelerated IMDCT transform found
X 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:  93
 Current serial number in output stream:  94

 

Any guess whats going wrong with my machine ? I am using community version of Mandriva linux

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...