Turning Timeshifting OFF causes loss of sound and stuttering TV

Discussion in '0.2.2.0 Final and SVN Builds' started by TesterBoy, January 15, 2007.

  1. TesterBoy

    TesterBoy Portal Pro

    Joined:
    July 10, 2006
    Messages:
    160
    Likes Received:
    3
    Location:
    Lower Hutt
    Ratings:
    +3 / 0
    Home Country:
    New Zealand New Zealand
    MediaPortal Version: 0.2.2.0
    MediaPortal Skin: BlueTwo (4x3)
    Windows Version: WinXP Pro SP2
    CPU Type: AMD Athlon™ 64/FX/X2
    HDD: 250GB
    Memory: 1GB
    Motherboard:
    Motherboard Chipset: GeForce something or other(?)
    Motherboard Bios:
    Video Card: Gigabyte GV-NX73G128D
    Video Card Driver: nVidia Forceware 91.31
    Sound Card:
    Sound Card AC3:
    Sound Card Driver:
    1. TV Card: Hauppage WinTV PVR 150
    1. TV Card Type: analog
    1. TV Card Driver:
    MPEG2 Video Codec: MPV
    MPEG2 Audio Codec: MPA
    Satelite/CableTV Provider: SkyTV (NZ)
    HTPC Case: Shuttle SN21G5
    Cooling: Silent X ICE
    Power Supply:
    Remote: MS MCE
    TV: Panasonic TX68P150Z (CRT)
    TV - HTPC Connection: S-Video


    Error Description
    To produce the logfiles, I did the following (plus using the testtool to gather everything up):

    1. Turn Timeshifting and TV OFF;
    2. Shutdown MP;
    3. Clear event logs etc (TT Step 1)
    4. Start MP
    5. Go to (My) TV
    6. Turn TV ON (TS is still OFF)
    7. Waited (should be visible in the logs?)
    8. Turned TV Off
    9. Turned TV off again (see below)
    8. Shutdown MP
    9. TT Step 2...



    The wait is sufficient time for

    a) the sound to first start stuttering and then disappear completely, and
    b) the TV picture to start stuttering at around perhaps 2-5 frames per second.

    This situation would remain until I turn timeshifting ON, at which point the sound returns and the picture smooths itself back out again.

    Note: I had to turn the TV off twice - I think I got a second keypress from the OK button, whcih turned TV on again for me... (I'm using the MCE Remote Replacement Plugin, and sometimes it seems to repeat... That's a different problem, obviously)

    AFICR, this has always happened since I got MP - I am forced to use Timeshifting...
     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. TesterBoy

    TesterBoy Portal Pro

    Joined:
    July 10, 2006
    Messages:
    160
    Likes Received:
    3
    Location:
    Lower Hutt
    Ratings:
    +3 / 0
    Home Country:
    New Zealand New Zealand
    @^#$%

    Obviously, I had a momentary lapse of reason when posting last night - this should be called "Turning Timeshifting OFF causes loss of sound and stuttering TV".

    Sorry guys...
     
  4. ronilse
    • Team MediaPortal

    ronilse Retired Team Member

    Joined:
    July 19, 2005
    Messages:
    4,422
    Likes Received:
    280
    Gender:
    Male
    Occupation:
    MediaPortal tester
    Location:
    Moss
    Ratings:
    +280 / 0
    Home Country:
    Norway Norway
    Show System Specs
    Hi,
    Changed the topic, so maybe someone can confirm it, will test it tomorrow after a good night sleep ;)

    Regards
    Roy
     
  5. TesterBoy

    TesterBoy Portal Pro

    Joined:
    July 10, 2006
    Messages:
    160
    Likes Received:
    3
    Location:
    Lower Hutt
    Ratings:
    +3 / 0
    Home Country:
    New Zealand New Zealand
    Good news (sort of): We have found a work-around for the problem. Setting the Process Affinity for MediaPortal to a single CPU fixes both this problem, and the timeshifting/recording-duration problem talked about at https://forum.team-mediaportal.com/showthread.php?t=11675

    This has worked so far for dgtalzone and me.

    To set the affinity temporarily (until MP is restarted) use Task Manager; right click MediaPortal.exe and select "Set Affinity..."

    To set it permanently, use the "Microsoft Application Compatibility Manager" from the Microsoft Download Centre - see https://forum.team-mediaportal.com/showthread.php?t=3017 for details

    Ronilse - is this the fix? Or should it be a change to MP (presumably there's something non-threadsafe)?
     
  6. DalaNorth
    • Team MediaPortal

    DalaNorth Retired Team Member

    Joined:
    December 18, 2006
    Messages:
    142
    Likes Received:
    1
    Occupation:
    Systems Developer at Ericsson
    Location:
    Skellefteå, Sweden
    Ratings:
    +1 / 0
    Home Country:
    Sweden Sweden
  7. TesterBoy

    TesterBoy Portal Pro

    Joined:
    July 10, 2006
    Messages:
    160
    Likes Received:
    3
    Location:
    Lower Hutt
    Ratings:
    +3 / 0
    Home Country:
    New Zealand New Zealand
    I have now installed the MS hotfix, and can say that it doesn't have much (if any) effect on the timeshifting problem.

    It has improved the (possibly related) problem with the recording duration being weird, but hasn't fixed it completely - the error in the recorded duration is now much less (21:15 for a 20 min recording), and may be related to the length of the recording. Testing continues...
     
  8. TesterBoy

    TesterBoy Portal Pro

    Joined:
    July 10, 2006
    Messages:
    160
    Likes Received:
    3
    Location:
    Lower Hutt
    Ratings:
    +3 / 0
    Home Country:
    New Zealand New Zealand
    All fixed

    In the end, I didn't bother with the AMD optimiser, since the hotfix does appear to have fixed all these problems properly once I fixed the registry (according to the instructions at the second link above), and added /usepmtimer to the end of the last line of my BOOT.INI

    For detailed instructions on the last bit (which I didn't see at MS?) see

    http://forum.notebookreview.com/showthread.php?t=60416

    Don't know if it's documented anywhere else...

    I'm now running with the affinity fix disabled - MP is running happily in two cpus...
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!