Video players died with upgrade

Asked by willy6635

I recently upgraded from 8.04 to 9.04 but ever since, I have been unable to play videos from file. Videos still play from online sources within Firefox, but every time I try to play a saved video file in any format, the video player opens, begins to load the file, then closes. All video players and file formats are affected.

I have tried uninstalling and re-installing the video players with no result.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Tom
Solved:
Last query:
Last reply:
Revision history for this message
Tom (tom6) said :
#1

Hi

Please work through the Medibuntu worksheet again to sort out most of your multimedia in Jaunty
https://help.ubuntu.com/community/Medibuntu
I still tend to go with non-free components and haven't been asked to pay anything yet but hope to go completely OpenSource and really free myself before i do get asked ;)

Good luck and regards from
Tom :)

Revision history for this message
willy6635 (willy6635) said :
#2

I'm afraid that has made no difference. All formats still crash both MoviePlayer and Mplayer as soon as it tries to start playing.

Revision history for this message
Tom (tom6) said :
#3

You used the lines specific to jaunty right? Hmm, sorry about that. Please can you open a terminal console and try opening the movie players from there and then give us the feedback the terminal console displays? Go up to the top-taskbar and click on

Applications - Accessories - Terminal

and into the terminal/command window/console type in

totem

and then if it does stay open try dragging a movie onto totem's open console. Some of the movie players don't like having movies dropped on them so they ignore that. Mplayer is huffy like that usually but the output from totem should be helpful, hopefully.

Good luck and regards from
Tom :)

Revision history for this message
willy6635 (willy6635) said :
#4

here is the terminal response;

bill@bill-desktop:~$ totem
/var/lib/python-support/python2.6/gdata/tlslite/utils/cryptomath.py:9: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
  import sha
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 100 error_code 11 request_code 132 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.)
bill@bill-desktop:~$

Revision history for this message
Tom (tom6) said :
#5

Oh dear. Have you run out of space on your system? Please empty the wastebin first then try clicking on

System - Administration - Computer Janitor

it asks for your normal user password, not your SuperUser/Root one. Whether or not this works try these commands on the command-line

sudo apt-get clean
sudo apt-get autoclean

and this should give you back a lot of space :)
Hopefully totem should work from the command-line now?
Good luck and regards from
Tom :)

Revision history for this message
willy6635 (willy6635) said :
#6

I have 57 GB of free disk space and only about 30% of available RAM in use, however, something is pounding the CPU at close to 100% continuously, and I'm assuming this is the resource shortage problem. I have a virus scan running but it is going to take a couple of hours, I'd say. I did try closing all open programs to see if there was a problem with one of them. It made no difference. Also looking at the processes in System monitor shows only 10% to 20% of cpu capacity in use, but the graph shows 100% continuously.

Revision history for this message
Tom (tom6) said :
#7

After doing that you might need to fix broken packages. Please go up to the top taskbar and click on

System - Administration - Synaptic Package Manager

it asks for your normal user password, not your SuperUser/Root one. In the "Edit" menu should be the option "Fix broken packages" and then just click on "Apply".
Please let us know how this is going
Good luck and regards from
Tom :)

Revision history for this message
willy6635 (willy6635) said :
#8

Oh, and this problem has existed right from the completion of the upgrade to 9.04. I went to watch a movie shortly after completing the upgrade and the same thing happened.

Thanks for the tip re medibuntu, too. It solved a couple of other minor but annoying issues

I'll try that

Bill

Revision history for this message
willy6635 (willy6635) said :
#9

Synaptic package Manager shows no broken packages...

Revision history for this message
Tom (tom6) said :
#10

Umm is there someone on your network doing a lot of file-transfers to/from your machine?

When you reboot your machine do you get a boot menu with several options for booting into Ubuntu? The 2nd one should have "recovery mode" near the end of it's line. That should lead to a menu with several options worth running but aoid the "Drop to Root shell" for now. If you do choose that one then typing "reboot" on the command-line should get you back.

Good luck with this
Regards from
Tom

Revision history for this message
Tom (tom6) said :
#11

Sorry i am really stuck with this. I thought it was going to be a different sort of error message so we will have to wait until someone with more knowledge about his sort of thing arrives.

Apols and regards from
Tom

Revision history for this message
Tom (tom6) said :
#12

Hi

Teg's comment at the bottom of
https://answers.launchpad.net/ubuntu/+question/78004
appears similar? Please let us know how it goes trying that out.
Regards from
Tom

Revision history for this message
willy6635 (willy6635) said :
#13

That guy does appear to be having the same problem I am, and it also appears to be unresolved. I ran a system test and sent the data through. The lack of resources does appear to be with the CPU, but I'm getting conflicting reports there. The virus scan did find a virus but was apparently unable to quarantine or remove it. I would assume it must have been downloaded with the upgrade package. Videos were playing fine immediately before the upgrade and have refused to play ever since. As I said above, the CPU graph shows continuous 100% load, yet the computer is not hanging badly as you would expect if that were the case. When I click on the "Processes" tab it show the system load at between 3 and 4, and looking down the list of processes, nothing is registering above 5% and few processes are using any CPU resources with some quick mental calculation putting the CPU load at between 10 and 20%. That being the case, why is the graph showing 100%?

Could there be something in the code somewhere that in certain configurations is sending a bogus message through to the System Monitor graph and to the video processor telling it the CPU is at maximum when it is not? Can any process be pounding the CPU and not show up in the processes tab when the options are set to show all processes? I'm not a programmer so I would have no idea how to interpret the source code, or where to begin looking even if I could follow it. Is rolling back to an earlier version going to be the only solution to this problem for now?

Thanks for you efforts, anyway, Tom. Hopefully, someone will come up with an answer that works.

Revision history for this message
Best Tom (tom6) said :
#14

Ok i have an idea for re-installing 8.04. 8.04 is an LTS release which means "Long Term Support" and that means it is fully supported until April 2011. So it's first in line for bug-fixes, backporting - this is the release being used by corporate users and others that value stability. If you haven't got an 8.04 Cd then get the latest 8.04.3 which was released just a couple of days ago
http://www.ubuntu.com/getubuntu/download
The next LTS release is due in 2010 and is expected in April but there's been some recent discussion about making it the October release (April releases are the ".04"'s and the ".10"'s are released in October, lol)

Anyway when you install choose the "Manual Partitioning" which is the 3rd option right down at the bottom of the "Partitioning Section". then make sure that there are NO ticks in the "Format?" column. This should mean that all your programs and data remain intact BUT i would still backup all your data (all the /home folder) just in case this goes wrong at all, as it might.

Good luck and regards from
Tom :)

Revision history for this message
willy6635 (willy6635) said :
#15

Thanks for your help, Tom. I ended up having to do a full clean install of 8.04 to get rid of whatever was causing the problem, which I was never able to actually identify. I suspect it was either a malicious or corrupted file that is on the mirror from which I downloaded the upgrade. I think it was the Australian iinet mirror, but can't be sure. Perhaps somebody could run a checksum over all of the Australian mirrors for versions 8.10 and 9.04 when they have time as I am certain it came down with the upgrade.

One final bitch... Could somebody please PLEASE set up the Add/Remove programs facility to install Java. It's a real bitch for anyone not familiar with the Ubuntu command line syntax...

Revision history for this message
Tom (tom6) said :
#16

Hi

Nicely done!! Congrats :))
It's worth running through the
https://help.ubuntu.com/community/Medibuntu
worksheet again to sort out the rest of the multimedia because some lines are different between Hardy & Jaunty.

Java is always difficult. There's so many different parts that all seem to be called "java" but doing quite different things. I'm going to have to work my way through to the right parts too to play chess online. Yes it is a nightmare but there doesn't seem to be anything we can really do about that :( Congrats for working through that! The great thing is that almost any time spent on the command-line is far from wasted as the linux command-line is the same (or almost identical) in all the different linux distros, not just Ubuntu. So hopefully if you become at all familiar with certain things about it then that will help you deal with other things elsewhere ;)
https://help.ubuntu.com/community/UsingTheTerminal
the use of the tab key for autocompleting pathnames and commands is particularly well worth knowing. Wish me luck!

Thanks and regards from
Tom :)

Revision history for this message
willy6635 (willy6635) said :
#17

One of the proprietary software packages that isn't in any of the repositories I know of is Skype, but it's a breeze to install because someone there had the foresight to include a script to automatically unpack and install the package. All that is required is to right click the downloaded package, and the top choice offered is the installer. It would be really sweet if somebody could extract that script and give it a tweak so it would be available for all .deb packages. One thing I do know, the installation instructions on the Java website for installing the jre*.deb package simply doesn't work with Ubuntu.

The Linux terminal needs to go the way of DOS with windows... out with the trash. For the average user who isn't into writing software, the terminal is a huge turnoff from what is otherwise a great operating system. Those who are responsible for developing the various Linux flavours need to realise that the need to frequently use the terminal command line to get things done is not what the ordinary Joe wants from an operating system. Installing software, in particular needs to get as simple or more so that than the Micro$oft method. One click.

I had no difficulty setting up all the multimedia again. I've been running Hardy virtually since it came out, but adding the Medibuntu repository was one of the very first things I did.

Anyway, thanks again and all the best
Bill

Revision history for this message
Raz Ziv (raz-ziv) said :
#18

I've been getting the same error when trying to play a file on totem. This started after enlarging the virtual display size in xorg.conf. Changing the virtual display size back down to a reasonable size solved this problem.
HTH.

Revision history for this message
Tom (tom6) said :
#19

Hi :)

Have you been able to try the new Ubuntu 10.04 before it gets officially released?
http://www.ubuntulinux.org/testing/lucid/beta2
Trying it as a LiveCd or as an extra dual/multi-boot would be ideal. Developers and everyone are keen to try to iron out any problems before 10.04 gets officially released so you might find faster & more effective answers to your bug reports which would make 10.04 work better on your system for you

Thanks and regards from
Tom :)