LinHES Forums http://forum.linhes.org/ |
|
Recording playback freezes after 5 seconds http://forum.linhes.org/viewtopic.php?f=6&t=16495 |
Page 1 of 2 |
Author: | ed3120 [ Thu Sep 13, 2007 5:48 pm ] |
Post subject: | Recording playback freezes after 5 seconds |
Every time I play back a video recording that Myth recorded, the video freezes after 5 seconds and locks up the whole machine. Looking at top shows the frontend hogging up 97% of my CPU. Does anyone know what could be happening? Mythfrontend output is: Code: XVMC: picture structure FRAME Video sync method can't support double framerate (refresh rate to low for bob deint) Video timing: RTC Guessing at new AV sync values |
Author: | mihanson [ Thu Sep 13, 2007 6:36 pm ] |
Post subject: | |
What happens if you disable Bob Deinterlacing or use Kernel deinterlacing? |
Author: | ed3120 [ Thu Sep 13, 2007 6:37 pm ] |
Post subject: | |
I tried turning deinterlacing off, and I get a bunch of the following entry: Code: NVP: prebuffering pause
|
Author: | mihanson [ Thu Sep 13, 2007 6:40 pm ] |
Post subject: | |
Did you try kernel deint or another of the choices that menu gives you? |
Author: | ed3120 [ Fri Sep 14, 2007 3:54 pm ] |
Post subject: | |
Yes, it still fails with kernel deint. |
Author: | mihanson [ Fri Sep 14, 2007 3:56 pm ] |
Post subject: | |
Do you have the Code: Option "UseEvents" "True" option in your xorg.conf ?
|
Author: | ed3120 [ Fri Sep 14, 2007 4:11 pm ] |
Post subject: | |
Yes, I do. Should I? I just tried commenting it out and I get the same results. |
Author: | mihanson [ Fri Sep 14, 2007 4:15 pm ] |
Post subject: | |
Sorry, yes, last I knew that option lowered X CPU consumption. I just found an old post... of yours. Is folding@home running? If, yes, stop it. Code: # /etc/init.d/folding@home stop
|
Author: | ed3120 [ Fri Sep 14, 2007 4:26 pm ] |
Post subject: | |
No, F@H is definitely not running. If I change back to the standard MPEG decoder, not XVMC, the video doesn't lock up, but video is too slow without XVMC. I had similar issues with R5F1. What has changed that I would suddenly have issues running XVMC? It ran perfectly for me on all of the previous Knoppmyth versions. |
Author: | RichP [ Sat Sep 22, 2007 3:31 pm ] |
Post subject: | |
Hi Ed, Having the same problem with an Athlon64 and an Nvida 5200. Will post here if I find a solution. Rich Which Nvida driver are you using? I have 1.0.9755...maybe thats the problem. |
Author: | RichP [ Sat Sep 22, 2007 6:41 pm ] |
Post subject: | |
Ed, Try adding these 2 lines to your xorg.conf : Code: Section "Monitor"
Option "NvAGP" "1" Option "RenderAccel" "False" I've been at this for the last few hours(a lil sick today and home alone) and finally got it working on my system. I updated to the latest and greatest Nvidia drivers and that did NOT make any difference. I also tried Option "NvAGP" "2" but that didn't help. Hope this gets you going. Rich |
Author: | ed3120 [ Wed Sep 26, 2007 11:14 am ] |
Post subject: | |
RichP wrote: Hi Ed,
Having the same problem with an Athlon64 and an Nvida 5200. Will post here if I find a solution. Rich Which Nvida driver are you using? I have 1.0.9755...maybe thats the problem. Hey Rich, I'm using the default driver that came with R5F27. I'll try adding those lines to the xorg.conf and I'll get back to you. I remember having a lot of trouble getting smooth HD playback over a year ago when started going from SD only to HD. I think this thread helped me a lot to set which channels where deinterlaced and which were not.... http://www.mysettopbox.tv/phpBB2/viewto ... erneldeint I think sometime around the R5F1 release we had to drop our tv cards in mythtv-setup and redefine. Somewhere around then was when I started having the HD issues again. I was waiting it out, to see if the next release (R5F27) would fix the issue, but it is still occurring. Now, so much has changed in Myth, the nVidia drivers, XF86Config-4 to xorg.conf, etc. that I don't know where to begin to troubleshoot. Enabling XVMC (which always worked great for me) causes most recordings to lock up after 5 seconds. Disabling it leaves the playback so painfully slow that it is unwatchable. It's really rendered my MythTV useless at this point with the exception of MythVideo playback. |
Author: | RichP [ Wed Sep 26, 2007 1:57 pm ] |
Post subject: | |
Ed, I was experiencing the same exact symptons as you until I added those lines. Let me know how it works out and post your xorg.conf if it doesn't. Rich |
Author: | ed3120 [ Wed Sep 26, 2007 5:18 pm ] |
Post subject: | |
It still stutters with XVMC disabled. It works a little with XVMC enabled, but if I try to fast forward it eventually freezes again. Are you using XVMC or not? Here's my xorg.conf: Code: Section "ServerLayout"
Identifier "XFree86 Configured" Screen 0 "Screen0" 0 0 InputDevice "Keyboard0" "CoreKeyboard" # PS/2 Mouse not detected # Serial Mouse not detected InputDevice "USB Mouse" "CorePointer" EndSection Section "ServerFlags" Option "AllowMouseOpenFail" "true" EndSection Section "Files" RgbPath "/usr/share/X11/rgb" ModulePath "/usr/lib/xorg/modules" FontPath "/usr/share/fonts/X11/misc:unscaled" FontPath "/usr/share/fonts/X11/75dpi:unscaled" FontPath "/usr/share/fonts/X11/100dpi:unscaled" FontPath "/usr/share/fonts/X11/Type1" FontPath "/usr/share/fonts/X11/Speedo" FontPath "/usr/share/fonts/X11/PEX" # Additional fonts: Locale, Gimp, TTF... FontPath "/usr/share/fonts/X11/cyrillic" # FontPath "/usr/share/fonts/X11/latin2/75dpi" # FontPath "/usr/share/fonts/X11/latin2/100dpi" # True type and type1 fonts are also handled via xftlib, see /etc/X11/XftConfig! FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" FontPath "/usr/share/fonts/truetype" FontPath "/usr/share/fonts/latex-ttf-fonts" EndSection Section "Module" # Comments: see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=346408 Load "dbe" # Double Buffering Extension, very important. # Load "dri" # This shouldn't be available choice if user has selected driver vga, vesa or nv. Load "glx" # GLX Extension. Load "freetype" # Freetype fonts. Load "type1" # Type 1 fonts Load "record" # Developer extension, usually not needed # Load "extmod" # This is okay, but if you look into "man xorg.conf" you'll find option NOT to include DGA extension with extmod, and for a good reason.. DGA causes instability as it access videoram without consulting X about it. SubSection "extmod" Option "omit xfree86-dga" EndSubSection # Load "speedo" # Speedo fonts, this module doesn't exist in Xorg 7.0.17 # The following are deprecated/unstable/unneeded in Xorg 7.0 # Load "ddc" # ddc probing of monitor, this should be never present, as it gets automatically loaded. # Load "GLcore" # This should be never present, as it gets automatically loaded. # Load "bitmap" # Should be never present, as it gets automatically loaded. This is a font module, and loading it in xorg.conf makes X try to load it twice. EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" Option "CoreKeyboard" Option "XkbRules" "xorg" Option "XkbModel" "pc105" Option "XkbLayout" "us" EndSection Section "InputDevice" Identifier "Serial Mouse" Driver "mouse" Option "Protocol" "Microsoft" Option "Device" "/dev/ttyS0" Option "Emulate3Buttons" "true" Option "Emulate3Timeout" "70" Option "SendCoreEvents" "true" EndSection Section "InputDevice" Identifier "PS/2 Mouse" Driver "mouse" Option "Protocol" "auto" Option "ZAxisMapping" "4 5" Option "Device" "/dev/psaux" Option "Emulate3Buttons" "true" Option "Emulate3Timeout" "70" Option "SendCoreEvents" "true" EndSection Section "InputDevice" Identifier "USB Mouse" Driver "mouse" Option "Device" "/dev/input/mice" Option "SendCoreEvents" "true" Option "Protocol" "IMPS/2" Option "ZAxisMapping" "4 5" Option "Buttons" "5" EndSection # Auto-generated by KNOPPIX mkxf86config Section "Monitor" Identifier "Monitor0" Option "NvAGP" "1" Option "RenderAccel" "False" Option "DPMS" "true" Option "UseEdidDpi" "FALSE" Option "DPI" "100 x 100" VendorName "KDS" ModelName "KDS05e6" # HorizSync 28.0 - 78.0 # Warning: This may fry very old Monitors HorizSync 28.0 - 96.0 # Warning: This may fry old Monitors VertRefresh 50.0 - 75.0 # Very conservative. May flicker. # VertRefresh 50.0 - 62.0 # Extreme conservative. Will flicker. TFT default. ModeLine "1872x1016" 74.2 1872 1966 2014 2264 1016 1204 1214 1269 +hsync +vsync interlace #ModeLine "1920x1080" 74.2 1280 1992 2040 2264 720 1208 1218 1269 +hsync +vsync interlace ModeLine "1920x1080" 74.2 1920 1992 2040 2264 1080 1208 1218 1269 +hsync +vsync interlace ModeLine "1280x720" 74.5 1280 1336 1472 1664 720 721 724 746 -hsync +vsync Modeline "1776x1000" 74.166 1776 1899 1939 2200 1000 1036 1046 1125 interlace +hsync +vsync Modeline "1280x1024" 70.071 1280 1586 1682 2056 1024 1034 1045 1136 interlace +hsync +vsync Modeline "1024x768" 60.961 1024 1361 1377 1920 768 864 893 1017 interlace +hsync +vsync Modeline "800x600" 63.450 800 1300 1380 1880 600 850 875 1125 interlace +hsync +vsync #Modeline "640x480" 26.964 640 704 768 856 480 486 492 525 -hsync -vsync Modeline "480p" 27.028 704 746 810 858 480 489 496 525 -hsync -vsync Modeline "720p" 74.251 1280 1350 1430 1650 720 723 728 750 -hsync -vsync #Modeline "640x480" 26.964 640 704 768 856 480 486 492 525 -hsync -vsync Modeline "640x480" 29.631 720 774 830 936 480 487 493 527 -hsync -vsync EndSection Section "Device" ### Available Driver options are:- # sw_cursor is needed for some ati and radeon cards #Option "sw_cursor" #Option "hw_cursor" #Option "NoAccel" #Option "ShowCache" #Option "ShadowFB" #Option "UseFBDev" #Option "Rotate" Option "UseEvents" "True" Identifier "Card0" # The following line is auto-generated by KNOPPIX mkxf86config Driver "nvidia" VendorName "All" BoardName "All" # BusID "PCI:1:0:0" EndSection Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" DefaultColorDepth 24 SubSection "Display" Depth 1 Modes "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 4 Modes "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 8 Modes "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 15 Modes "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 24 Modes "1872x1016" "480p" "640x480" "1920x1080" "1280x720" "1280x1024" "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 32 Modes "1872x1016" "1920x1080" "1280x720" "1280x1024" "1024x768" "800x600" "640x480" EndSubSection EndSection Section "DRI" Mode 0666 EndSection |
Author: | ed3120 [ Wed Sep 26, 2007 6:55 pm ] |
Post subject: | |
After a little more research... With XVMC off, I can play back a recording, but it is really slow with garbled audio. My CPU usage isn't even high during playback, but the recording is played back in slow motion. Sometimes the show will play OK, but the commercials will play back garbled. What would make the commercials garbled when the show plays back normally? Weird. XVMC runs decently, but I think I've narrowed it down to the OSD locking it up. The lockups seem to occur when bringing up the OSD or using the transport functions. My OSD seems to be black and white now when I have XVMC enabled....I know that was an issue back in the day, but I thought they had the XVMC / color OSD issue fixed. |
Page 1 of 2 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |