View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 8 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: *Solved* R5.5 XvMC issue
PostPosted: Thu Jul 10, 2008 8:44 am 
Offline
Joined: Sat Feb 04, 2006 1:50 pm
Posts: 24
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.


Last edited by greend139 on Sat Jul 12, 2008 10:53 pm, edited 1 time in total.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 10, 2008 10:03 am 
Offline
Joined: Fri Feb 24, 2006 4:39 pm
Posts: 30
Location: Seattle, Washington
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.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 10, 2008 12:51 pm 
Offline
Joined: Sat Feb 04, 2006 1:50 pm
Posts: 24
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.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 10, 2008 2:05 pm 
Offline
Joined: Thu Mar 02, 2006 5:42 pm
Posts: 410
Location: middleton wi usa atsc
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.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 10, 2008 6:14 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
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...


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jul 12, 2008 10:52 pm 
Offline
Joined: Sat Feb 04, 2006 1:50 pm
Posts: 24
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 :). Now on to enjoying R5.5 more!


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 13, 2008 9:07 am 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
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...


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 27, 2009 7:07 pm 
Offline
Joined: Fri May 13, 2005 8:46 am
Posts: 48
Location: Grand Rapids, MI
thanks for the helpful thread, i got xvmc going again after a reinstall thanks to this one :)

_________________
ASUS P5N7A-VM, 2.5gHz E5200, 2GB crucial DDR2, pvr-250, hdhomerun, URC-8820 remote, Panasonic TH-42PZ80U, LinHES 6.01.00


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 84 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu