LinHES Forums http://forum.linhes.org/ |
|
*Solved* R5.5 XvMC issue http://forum.linhes.org/viewtopic.php?f=6&t=18502 |
Page 1 of 1 |
Author: | greend139 [ Thu Jul 10, 2008 8:44 am ] |
Post subject: | *Solved* R5.5 XvMC issue |
Hi Guys, First I want to say thanks this new release! This are almost working great, just one issue to still figure out. For some reason I cannot get XvMC to work, where it had been previously working fine under R5F27 and before. Myth tries to start the video and then just locks up, this happens for SD and HD resolution videos. I have checked to make sure that /etc/X11/XvMCConfig is set correctly and it is, and I have also reinstalled the nvidia driver correctly using the install-nvidia-debian.sh 173.14.09 -force switch. I tried using open gl vync and not using it and all of the vsync settings in nvidia-settings are unchecked. I am using an FX5200 card. Any help is appreciated. Log Excerpt... 2008-07-10 10:41:56.990 VideoOutputXv: Has XVideo flags... 2008-07-10 10:41:56.990 VideoOutputXv: Missing XV_COLORKEY, rejecting. 2008-07-10 10:41:56.990 VideoOutputXv: @ j=2 Looking for flag[s]: XvInputMask 15 2008-07-10 10:41:56.990 VideoOutputXv: Adaptor#0: NV17 Video Texture has flag[s]: XvInputMask XvImageMask 2008-07-10 10:41:56.990 VideoOutputXv: Has XVideo flags... 2008-07-10 10:41:56.990 VideoOutputXv: Missing XV_BRIGHTNESS, rejecting. 2008-07-10 10:41:56.991 VideoOutputXv: Adaptor#1: NV05 Video Blitter has flag[s]: XvInputMask XvImageMask 2008-07-10 10:41:56.991 VideoOutputXv: Has XVideo flags... 2008-07-10 10:41:56.991 VideoOutputXv: Missing XV_BRIGHTNESS, rejecting. 2008-07-10 10:41:56.991 VideoOutputXv: @ j=3 Looking for flag[s]: XvInputMask 5 2008-07-10 10:41:56.991 VideoOutputXv: Adaptor#0: NV17 Video Texture has flag[s]: XvInputMask XvImageMask 2008-07-10 10:41:56.991 VideoOutputXv: Has XVideo flags... 2008-07-10 10:41:56.991 VideoOutputXv: Here... 2008-07-10 10:41:56.991 XvMCSurfaceTypes::find(w 1920, h 1088, chroma 1, vld 0, idct 1, mpeg2, sub-width 0, sub-height 0, disp, p<= 3$ 2008-07-10 10:41:56.992 Trying XvMC port 325 2008-07-10 10:41:56.992 Found a suitable XvMC surface 0 2008-07-10 10:41:56.992 VideoOutputXv: Grabbed xv port 325 2008-07-10 10:41:56.992 VideoOutputXv: XvMC surface found with IDCT support on port 325 2008-07-10 10:41:56.992 VideoOutputXv: XvMC Adaptor Name: 'NV17 Video Texture' 2008-07-10 10:41:57.009 VDP: SetVideoRenderer(xvmc-blit) 2008-07-10 10:41:57.009 VDP: SetVideoRender(xvmc-blit) == GetVideoRenderer() 2008-07-10 10:41:57.010 VideoOutputXv: Chromakeying not possible with this XVideo port. 2008-07-10 10:41:57.010 VideoOutputXv: Ack! Disabling ChromaKey OSD We can't use ChromaKey OSD if chromakeying is not supported! 2008-07-10 10:41:57.010 VideoOutputXv: DiscardFrames(1) 2008-07-10 10:41:57.010 VideoOutputXv: DiscardFrames() 1: AAAAAAAA 2008-07-10 10:41:57.010 VideoOutputXv: DiscardFrames() 2: AAAAAAAA 2008-07-10 10:41:57.010 VideoOutputXv: DiscardFrames() 3: AAAAAAAA -- done() 2008-07-10 10:41:57.011 VideoOutputXv: DiscardFrames(1) 2008-07-10 10:41:57.011 VideoOutputXv: DiscardFrames() 1: AAAAAAAA 2008-07-10 10:41:57.011 VideoOutputXv: DiscardFrames() 2: AAAAAAAA 2008-07-10 10:41:57.011 VideoOutputXv: DiscardFrames() 3: AAAAAAAA -- done() 2008-07-10 10:42:16.501 TV: StartPlayer(): took 20000 ms to start player. 2008-07-10 10:42:16.501 TV Error: StartPlayer(): NVP is not playing after 20000 msec 2008-07-10 10:42:16.502 TV: Changing from None to WatchingPreRecorded 2008-07-10 10:42:16.529 TV Error: nvp->IsPlaying() timed out 2008-07-10 10:42:16.529 TV: Attempting to change from WatchingPreRecorded to None 2008-07-10 10:42:16.530 TV: StopStuff() -- begin 2008-07-10 10:42:16.530 TV: StopStuff(): stopping ring buffer[s] 2008-07-10 10:42:16.578 TV: StopStuff(): stopping player[s] (1/2) 2008-07-10 10:42:16.579 TV: StopStuff(): stopping player[s] (2/2) At this point I need to kill the process to exit the player. |
Author: | yababom [ Thu Jul 10, 2008 10:03 am ] |
Post subject: | |
greend139, I don't know much about XvMC (never needed to use it), but your description of the symptoms sounds similar to what I was seeing on my box here: http://knoppmyth.net/phpBB2/viewtopic.php?t=18491&sid=53fe6db99dd77c882983ad0af0749216 If you want to test my workaround, open a shell as root (?) and rename the real time clock file: Code: mv /dev/rtc /dev/rtc-temp
Restart the FE and try watching a video again. Let us know what happens. |
Author: | greend139 [ Thu Jul 10, 2008 12:51 pm ] |
Post subject: | |
Thanks yababom for your quick suggestion. Sadly this had no effect on my playback issues with XvMC. Video's play back just fine if I switch my profiles to only use Xv output but the frontend just freezes up when trying to use XvMC. Ill keep trying things and post back. |
Author: | jzigmyth [ Thu Jul 10, 2008 2:05 pm ] |
Post subject: | |
This may help. Its from: http://www.mythtv.org/wiki/index.php/Xv ... A_Chipsets In particular try the "UseEvents" "true" and "XvmcUsesTextures" "false" and the "NVAGP" "1" options in the "device" section of xorg.conf Or the "Composite" "Disabled" option in the extensions section. You may only need one of these or some combination of them to get XvMC working. Zig Quote: Configuring xorg.conf
Each chipset driver has specific configuration options to enable XvMC. [edit] NVIDIA Appendix B to the Nvidia Driver README details the available xorg.conf switches. Use the 'nvidia-settings' or 'nvidia-config' control panel program to disable Video Texture Adapter and/or Video Blitter Adapter "Sync to VBlank" checkboxes (on the "X Server XVideo Settings" page) Revise /etc/X11/xorg.conf as follows: Section "Device" Identifier "Videocard0" Driver "nvidia" Option "UseEvents" "true" Option "XvmcUsesTextures" "false" # necessary for color Chromakey OSD) Option "NVAGP" "1" # some users report 2 or 3 works better EndSection The following option appears to be required for XvMC use with nvidia chipsets, especially when using the Chromakey OSD. This turns off the 'Compiz eye-candy'. (The 'Extensions' option is a part of xorg.conf, and is a replacement for SubSections which were used to pass Options to a specific module. Since modules are now 'automagically' loaded through extmod, the "Modules" section has disappeared. The 'Extensions' section is the replacement for that capability.) Section "Extensions" Option "Composite" "Disabled" EndSection Enabling the UseEvents option can sometimes bring out an issue with the nvidia driver resulting in a blue line around the screen. To fix this simply run the following somewhere during your Xorg startup: xvattr -a XV_COLORKEY -v 66048 Refer to this section on the Nvidia proprietary driver page for more information. |
Author: | tjc [ Thu Jul 10, 2008 6:14 pm ] |
Post subject: | |
There are certain options you have to turn off to make XvMC work. I forget the full list. That MythTV wiki page should get you going in the right direction however. There's more info in the hints... |
Author: | greend139 [ Sat Jul 12, 2008 10:52 pm ] |
Post subject: | |
Thanks for the suggestions guys, It's now working great! I'm feeling kinda silly for not trying those things before asking, but i had never needed them before. The Composite disabled and NVAGP 1 additions to the xorg.conf file seem to be the important ones for me. After adding those HD no more frontend lockups ![]() |
Author: | tjc [ Sun Jul 13, 2008 9:07 am ] |
Post subject: | |
I know why we left the NVAGP setting commented out (much too hardware dependent, and different for AGP 4x, AGP 8x, PCIe, ...) but don't remember why we left the Composite out... I'll be sure to update the hints to include this... |
Author: | tonymuka [ Fri Mar 27, 2009 7:07 pm ] |
Post subject: | |
thanks for the helpful thread, i got xvmc going again after a reinstall thanks to this one ![]() |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |