Jaunty & Choppy Video Playback

Discussion in 'Linux' started by toastnted, Apr 27, 2009.

  1. toastnted

    toastnted

    Joined:
    Dec 30, 2008
    Messages:
    18
    Likes Received:
    0
    Hi guys,

    Running Jaunty with stock kernel and suffer choppy video playback (only certain videos).

    There is a guide (of sorts) on the wiki which addresses "Choppy Video Playback With Intel Video" by passing to kernel, assigning to mtrr, modifying xsession startup and using the latest intel drivers.

    But before I go through that, do any of the custom kernels available on here already address the issue?

    Cheers!
     
    toastnted, Apr 27, 2009
    #1
  2. toastnted

    mzc

    Joined:
    Sep 10, 2008
    Messages:
    106
    Likes Received:
    0
    hi,

    most of the people in the forum have developed a very stable kernel for aao. I think the recent linux kernels 2.6.29 and 2.6.30 are far better than 2.6.28 (current jaunty kernel)... sickboy's kernel has been custom fit for aao, same as sarvatt's. reading through their threads, people who have tried it sucessfully looks satisfied.
     
    mzc, Apr 29, 2009
    #2
  3. toastnted

    janss

    Joined:
    Jul 23, 2008
    Messages:
    220
    Likes Received:
    0

    Did you do a fresh install or upgrade from 8.10?

    When I upgraded, I had the same issue. But my 8.10 being so tweaked, I decided to do a fresh install and also that problem went away with it.
     
    janss, Apr 29, 2009
    #3
  4. toastnted

    toastnted

    Joined:
    Dec 30, 2008
    Messages:
    18
    Likes Received:
    0
    @mzc
    Thanks, I didn't realise that jaunty was that far off on the latest kernels - I'll give the later ones a try over the next few days

    @janss
    It was a fresh install after dban

    Thanks for the replies :)
     
    toastnted, May 3, 2009
    #4
  5. toastnted

    Sarvatt

    Joined:
    Oct 26, 2008
    Messages:
    77
    Likes Received:
    0
    I have it fixed in my kernels, but you can just boot with enable_mtrr_cleanup mtrr_spare_reg_nr=1 added to your grub kernel options to fix it on a stock ubuntu kernel.
     
    Sarvatt, May 3, 2009
    #5
  6. toastnted

    jango

    Joined:
    Aug 2, 2008
    Messages:
    307
    Likes Received:
    0
    I have done that:
    so, do y need to do this?
    thanks
     
    jango, May 15, 2009
    #6
  7. toastnted

    morningching

    Joined:
    Aug 4, 2008
    Messages:
    31
    Likes Received:
    0
    Anyone, will you please instruct step by step>
    " enable_mtrr_cleanup mtrr_spare_reg_nr=1 added to your grub kernel options to fix it on a stock ubuntu kernel"
    This line is extracted from the forum. I really don't know where/ how to find grub kernel. Everything about ubuntu is new to me.
     
    morningching, May 17, 2009
    #7
  8. toastnted

    superpp

    Joined:
    Oct 9, 2008
    Messages:
    49
    Likes Received:
    0
    I too would really appreciate a few simple instructions.

    Currently on a stock 9.04 UNR distribution, but dissapointed with Flash video playback being choppy (BBCi player etc..)
     
    superpp, May 18, 2009
    #8
  9. toastnted

    toastnted

    Joined:
    Dec 30, 2008
    Messages:
    18
    Likes Received:
    0
    You need to open a terminal (I think you can find that in "accessories" on UNR)

    It should open up a window which looks a bit like a DOS prompt if you're used to windows.

    Type: sudo gedit /boot/grub/menu.lst

    ("sudo" gives you the correct privileges to do what you need to do, "gedit" is a text editor, and "/boot/grub/menu.lst" is the location of the file you need to edit)

    You will get a prompt to enter your password. After doing so, you should see the contents of your grub file displayed in a text editor.

    Scroll down towards the bottom until you reach "## ## End Default Options ##"

    Now you'll see a list of your boot options, with each one split into title, uuid, kernel and initrd.

    The first section will probably be your default boot option - you need to add enable_mtrr_cleanup mtrr_spare_reg_nr=1 to the end of the text on the kernel line

    Now click save. Exit the program and reboot.
     
    toastnted, May 18, 2009
    #9
  10. toastnted

    superpp

    Joined:
    Oct 9, 2008
    Messages:
    49
    Likes Received:
    0
    cheers for that, it's improved things.
    :D
     
    superpp, May 18, 2009
    #10
  11. toastnted

    morningching

    Joined:
    Aug 4, 2008
    Messages:
    31
    Likes Received:
    0
    Thank you, toastnted.
    Your explanation very clear and great help for new ubuntu user, like me. It works now.
    Thank you forum members!
     
    morningching, May 20, 2009
    #11
  12. toastnted

    theserverguru

    Joined:
    May 25, 2009
    Messages:
    2
    Likes Received:
    0
    Yes, thanks for this. It appears to have solved my problem as well.
     
    theserverguru, May 25, 2009
    #12
  13. toastnted

    Indiana_Geoff

    Joined:
    Feb 10, 2009
    Messages:
    24
    Likes Received:
    0
    That didn't seem to work for me. Is there a good way to determine what section is the "default boot" section?
     
    Indiana_Geoff, May 26, 2009
    #13
  14. toastnted

    Gavarnos

    Joined:
    Apr 17, 2009
    Messages:
    8
    Likes Received:
    0
    It's at the bottom of menu.lst. Mine reads as follows:

    ## ## End Default Options ##

    title Ubuntu 9.04, kernel 2.6.28-11-generic
    uuid 937de38c-cacf-46e1-873c-6c79a4d363a3
    kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=937de38c-cacf-46e1-873c-6c79a4d363a3 ro quiet splash enable_mtrr_cleanup mtrr_spare_reg_nr=1
    initrd /boot/initrd.img-2.6.28-11-generic
    quiet

    title Ubuntu 9.04, kernel 2.6.28-11-generic (recovery mode)
    uuid 937de38c-cacf-46e1-873c-6c79a4d363a3
    kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=937de38c-cacf-46e1-873c-6c79a4d363a3 ro single
    initrd /boot/initrd.img-2.6.28-11-generic

    title Ubuntu 9.04, memtest86+
    uuid 937de38c-cacf-46e1-873c-6c79a4d363a3
    kernel /boot/memtest86+.bin
    quiet

    ### END DEBIAN AUTOMAGIC KERNELS LIST
     
    Gavarnos, May 27, 2009
    #14
  15. toastnted

    Mikael

    Joined:
    Sep 4, 2008
    Messages:
    5
    Likes Received:
    0
    Location:
    Södra Sandby Sweden
    I edited the menu.lst file and experienced a minor improvement. The sound came through better, but the video show frozen images. I have browsed various wikis to try to figure out how to take next step. I don't have enough experience to figure how though.

    Help please, any suggestions? I need a little more help than just a link if it doesn't direct me to step-by-step instructions.

    Many thanks

    Mikael

    I run an early release of the nice AA1 100
     
    Mikael, Jun 1, 2009
    #15
  16. toastnted

    partiklehead

    Joined:
    Sep 10, 2008
    Messages:
    11
    Likes Received:
    0
    This does the trick for me, video plays just fine now,

    however

    not after waking up from suspend!

    Seeing as I do close my AOO very regularly and do not shut down all that often, this makes things quite silly as i need to restart every time i want to see a flash video online.

    Any ideas on how to fix this? Greatly appreciated!

    Partiklehead
     
    partiklehead, Jun 19, 2009
    #16
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.