mplayer under kde3 in openSUSE 11


I just can not watch ogg video using mplayer. I am using 64bit system and I installed mplayer using 1-click codec install. If I try to play the video from terminal, I got the following errors:
X11 error: BadAlloc (insufficient resources for operation)0.5% 0 0
X11 error: BadAlloc (insufficient resources for operation)0.5% 0 0
X11 error: BadAlloc (insufficient resources for operation)0.5% 0 0
X11 error: BadAlloc (insufficient resources for operation)0.5% 0 0
X11 error: BadAlloc (insufficient resources for operation)0.5% 0 0
X11 error: BadAlloc (insufficient resources for operation)0.5% 0 0
X11 error: BadAlloc (insufficient resources for operation)0.5% 0 0

If I play video using gui, mplayer just slashed away. I did not enable compiz in the system except enabling the “Active 3D Acceleration” in yast.

Any suggestion will be appreciated.

nobody had this problem?

As I tested, I found this only happens after I enable system transparency. I also want to know the situation of mplayer in KDE4 if enabled the desktop effect. So anyone has a solution or suggestion, pls help.

Are you using the 32-bit codecs or 64-bit codecs? Are you using a 32-bit mplayer or a 64-bit mplayer?

all in 32bit.


I’ve never had that problem. I know on 10.3, I have the following “vorbis” apps installed so I can play ogg codecs:

  • vorbis-tools
  • libvorbis
    I do not know if mplayer needs those. … I suppose you could try those and put that to a “test” as a hypothesis for solving your problem.

I checked my system. The packages you mentioned are already in my system. However I still need to enable x11 driver for mplayer to play video without window resizing. Alternatively I use kaffeine with xsham video driver to play videos under my setup. It can play most of the file except wmv.

I play wmv all the time with xine, … and kaffeine uses the xine engine.

That leads me to ask some questions. Do you have the packman packaged xine? Packman w32codec-all? xvid? kaffeine? To confirm, simply type:
rpm -qa | grep xine
rpm -qa | grep xvid
rpm -q w32codec-all
rpm -q kaffeine

A packman packaged rpm will have a “pm” in the package name … ie…

Also, you need flac and theora for ogg. Please confirm you have them installed. To check:
rpm -q ffmpeg2theora
rpm -q libtheora0
rpm -q flac
rpm -q libogg

I assume you have seen this page:
Multimedia - openSUSE-Community

Here is the output on my system:
suser:~ # rpm -qa | grep xine

suser:~ # rpm -qa | grep xvid

suser:~ # rpm -q w32codec-all

suser:~ # rpm -q kaffeine

suser:~ # rpm -q ffmpeg2theora
package ffmpeg2theora is not installed

suser:~ # rpm -q libtheora0

suser:~ # rpm -q flacrpm -q libogg
package flacrpm is not installed
package libogg is not installed

suser:~ # rpm -qa | grep libogg

I used the 1-click codec install to install codecs. I can not find the packages that not installed in above output using zypper. I also want to ask do I have to use all packman package, such as kaffeine?


I recommend you install the Packman packaged version of kaffeine instead (even IF the version number is older):
PackMan :: Informationen zum Paket kaffeine

The correct synax for checking for flac is:
rpm -q flac

I recommend the Packman packages if one has a choice. The reason being Novell/SuSE-GmbH are trying hard to not run afoul of potential law suits for use of proprietary codecs. So they have compiled the various players without the codecs being present on their “build service” (or what ever its called). IMHO that means it is possible these applications will not play a piece of audio/video that is encoded with proprietary codecs, even IF one has the codec’s on one’s PC. Hence IMHO its best to grab the Packman packaged versions that were compiled with no such restrictions. …

Here are two good URLs for finding applications, and being given a choice:

Also, one click install is great for newbies, but I still believe that once one is more familiar with openSUSE, one has “more control” by adding the appropriate repositories to one’s openSUSE software package manager, and installing using the package manager. There is guidance on how to do that here:
Repositories - openSUSE-Community

Really appreciated for the help and suggestion.

flac is by default installed on system. I updated kaffeine to packman version, however the situation does not seem to change. I still need to change video driver to xshm to play ogg and other video format.

So far I can use kaffeine (using xshm video driver) to playback most of the video format with full screen and mplayer (video driver:x11) for wmv with screen resizing.


It reads to me that this could be a 3D problem, associated with the specifics of your graphic driver. My apologies, but if that is the case, then it is not an area in which I can help. I don’t use 3D. I never have attempted to configure 3D on my PC. Hence I have no config files or such on my system from any 3D install efforts. Plus I use a nominal nvidia graphic card, with which there are no issues. I have no idea as to whether that may have a bearing.

Good luck in sorting this.

I do remember I mentioned that video playback stops functioning correctly with mplayer after I enabled the transparency.

Anyway, thax a lot for the iformation. I got alot useful links from you.

the same problem

Used various programmes vlc kaffeine Mplayer totem

i install all codes (Kommander+FFmpeg+mencoder+LAME+Win32 Codec± libogg / libvorbis / vorbis-tools / oggenc

it teak more thean 300mb

When play video its play in all programmes in vlc ,kaffeineand totem thers a Voice without image( Mplayer Does not work)