AleXxiO Posted April 13, 2007 Report Share Posted April 13, 2007 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!! Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted April 13, 2007 Report Share Posted April 13, 2007 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. Quote Link to comment Share on other sites More sharing options...
AleXxiO Posted April 27, 2007 Author Report Share Posted April 27, 2007 physical ram is not so few (goes from 100mb to 20 mb , total is 512), swap is quite empty (500 mb), disk space is something about 1gb for 2 partitions...dunno what more to say Quote Link to comment Share on other sites More sharing options...
AleXxiO Posted April 30, 2007 Author Report Share Posted April 30, 2007 up! Quote Link to comment Share on other sites More sharing options...
scarecrow Posted April 30, 2007 Report Share Posted April 30, 2007 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. Quote Link to comment Share on other sites More sharing options...
AleXxiO Posted May 1, 2007 Author Report Share Posted May 1, 2007 i have intel82855, i'll try! but if i'm not wrong my videocard supports max 32mb !! should videoram option be 32768? Quote Link to comment Share on other sites More sharing options...
Guest Manish Kumar Posted November 21, 2007 Report Share Posted November 21, 2007 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.? Thanx in advance. Quote Link to comment Share on other sites More sharing options...
Guest Manish Kumar Posted November 21, 2007 Report Share Posted November 21, 2007 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 Quote Link to comment Share on other sites More sharing options...
Guest Manish Kumar Posted November 21, 2007 Report Share Posted November 21, 2007 Please help or i am going to die!!! :wall: :wall: :wall: :wall: :wall: :wall: :wall: :wall: :wall: : Quote Link to comment Share on other sites More sharing options...
Guest Manish Kumar Posted November 27, 2007 Report Share Posted November 27, 2007 I got the problem Turn off 3-d effects. And yes i got movies here working very well. :D Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.