LinuxMCE Forums

General => Users => Topic started by: b4rney on May 12, 2010, 05:53:33 PM

Title: [SOLVED] Deinterlacing with VDPAU in Mythtv (nvidia ION)
Post by: b4rney on May 12, 2010, 05:53:33 PM
Should I set up deinterlacing in mythtv frontend?

I was under the impression that setting deinterlacing in web admin was all that was required. Is this still the case? I'm seeing lots of lines in mythtv.
Barney
<edit>Title for clarity</edit>
Title: Re: Deinterlacing in Mythtv
Post by: totallymaxed on May 12, 2010, 06:06:47 PM
Quote from: b4rney on May 12, 2010, 05:53:33 PM
Should I set up deinterlacing in mythtv frontend?

I was under the impression that setting deinterlacing in web admin was all that was required. Is this still the case? I'm seeing lots of lines in mythtv.
Barney

You should setup the MythTV deinterlacer settings as far as i know still in 0810. If your using VDPAU then that is one to choose  as it has by far the best performance/quality (choose the VDPAU de-interlacer that matches your nVidia hardware of course)

Cheers

Andrew
Title: Re: Deinterlacing in Mythtv
Post by: b4rney on May 12, 2010, 07:14:12 PM
Thanks Andrew.

I obviously got my wires crossed. Will do that now.
Barney
Title: Re: Deinterlacing in Mythtv
Post by: purps on May 13, 2010, 01:16:21 PM
Are you guys talking about the video playback profiles, eg. CPU++, CPU-, Slim, etc? If so, I have found that I cannot use any of the VDPAU related ones as the TV takes about a minute to respond to any actions and/or crashes. Am using a nvidia ION atom 330 effort (VDPAU is set in web admin).
Title: Re: Deinterlacing in Mythtv
Post by: b4rney on May 13, 2010, 01:54:52 PM
purps, I think we are talking about the same thing. I am seeing lots of interlace lines in mythtv despite having vdpau set and deinterlacing set to higher for that md in web admin.

I guess I have to set the vdpau deinterlace option in mythtv frontend (playback profile I think). I have an acer revo with ion graphics, so I'll report back if I see the same problems.
Barney
Title: Re: Deinterlacing in Mythtv
Post by: purps on May 13, 2010, 02:39:04 PM
Barney, what's your hardware? Using HD I take it? If so, via HDMI?
Title: Re: Deinterlacing in Mythtv
Post by: b4rney on May 13, 2010, 04:21:51 PM
Using HDMI out (including audio) at 1080p on a single core acer revo. Only watching sd tv using dvb-t. Should be a breeze.

I have tried setting playback profiles to vdpau. I get crashing/freezing when trying to bring up the ui.

Could it be a problem with vdpau being used globally (i.e. in web admin) as well as locally (in mythtv)?
Barney
Title: Re: Deinterlacing in Mythtv
Post by: b4rney on May 13, 2010, 04:31:40 PM
Suggestions for settings here:

http://www.mythtv.org/wiki/VDPAU#Enabling_VDPAU_in_MythFrontend

"...VDPAU Normal: use Temporal 2X for HD content, and Temporal Spatial 2X (Advanced 2X) for SD content. To be used with nvidia cards >= 8400, >= 9300, GT110 or >= GT210..."

Will test and report back.
Barney
Title: Re: Deinterlacing in Mythtv
Post by: b4rney on May 13, 2010, 04:59:00 PM
OK set vdpau normal and advanced 2x deinterlacing. Mythtv plays and looks good but locks up when I press f7. This was a very quick test.

Barney
Title: Re: Deinterlacing in Mythtv
Post by: purps on May 13, 2010, 08:09:29 PM
Exactly the same here.

Do you think our choice of remote control could be causing the problem, my gyro mouse brother? I will see if it's any different using the N800 now.
Title: Re: Deinterlacing in Mythtv
Post by: b4rney on May 13, 2010, 11:12:39 PM
Actually this md just has a keyboard/mouse and a rf emprex windows remote. So probably not the gyration this time.

I've got a dual core revo which is running fine with none of these issues and the gyration 3101. Just got another dual core to replace the single core revo. I'll keep testing and report back if I discover anything.
Barney
Title: Re: Deinterlacing in Mythtv
Post by: b4rney on May 17, 2010, 11:09:28 AM
SOLUTION BELOW
OK. The dual core has arrived and is exactly the same. Freezing as soon as F7/F6 etc is pressed. I have experimented with deinterlacing within mythtv frontend. This seems to be the problem.

When deinterlacing is set to none there is no problem at all. As soon as any deinterlacing is set on a vdpau playback profile the freezing happens as described above.

Running top on the md shows mythtvfrontend and OrbiterGL maxed out at over 100% when F7 is pressed. This lasts around a minute before settling down to normal cpu usage but the ui is unusable. A right click to clear the ui also results in a 100% cpu for another minute.

THE SOLUTION
Go to mythfrontend (I pressed escape whilst tv was playing).
Find the playback settings page and uncheck 'Enable realtime priority threads'.

On my screen I couldn't actually see if mine was checked or not but hitting space toggled it and it has worked perfectly ever since. Solution found here:
http://www.mythtv.org/wiki/VDPAU#Troubleshooting

Hope this helps.
Barney
Title: Re: [SOLVED] Deinterlacing with VDPAU in Mythtv (nvidia ION)
Post by: purps on May 17, 2010, 02:12:25 PM
That sounds promising, will give that a go, cheers.

I have to ask, have you already updated the LMCE wiki, Barney? I was just browsing the MythTV page for LMCE looking for a place to slot this information in, and it was already there! (near the bottom) http://wiki.linuxmce.org/index.php/MythTV
Title: Re: [SOLVED] Deinterlacing with VDPAU in Mythtv (nvidia ION)
Post by: b4rney on May 17, 2010, 03:12:21 PM
Not me. Wish I'd seen that earlier!

I read the beginning of that page but when it said 'Experimental' I just assumed the info was out of date and didn't read on.
Hope it works for you.
Barney
Title: Re: [SOLVED] Deinterlacing with VDPAU in Mythtv (nvidia ION)
Post by: purps on May 17, 2010, 03:25:12 PM
Quote from: b4rney on May 17, 2010, 03:12:21 PM
I read the beginning of that page but when it said 'Experimental' I just assumed the info was out of date and didn't read on.

...same here. Will see if it works tonight and look into editing the wiki page.
Title: Re: [SOLVED] Deinterlacing with VDPAU in Mythtv (nvidia ION)
Post by: purps on May 18, 2010, 05:15:25 PM
Well.... disabling the "realtime priority threads" thing has allowed me to use the vdpau profiles without it crashing, so that's great! Still need to play with them further though. Have also noticed that the media stops going jerky behind the control "roses". Wasn't a big problem, but certainly nice to have it sorted, cheers.
Title: Re: [SOLVED] Deinterlacing with VDPAU in Mythtv (nvidia ION)
Post by: b4rney on May 18, 2010, 05:54:57 PM
Glad to hear it.

Don't forget to set the deinterlacing for your sd/hd too. I'm using VDPAU normal and Advanced 2x deinterlacing. No more crashing and no more interlaced lines!

Barney
Title: Re: [SOLVED] Deinterlacing with VDPAU in Mythtv (nvidia ION)
Post by: maverick0815 on May 18, 2010, 06:43:48 PM
that sounds interesting....I got an asrock ion330...so far I have been using mythtv vdpau slim at 1080p- that was the only one, where I got no crashes so far.
I will check this out again.
Title: Re: [SOLVED] Deinterlacing with VDPAU in Mythtv (nvidia ION)
Post by: purps on May 18, 2010, 10:54:26 PM
Quote from: b4rney on May 18, 2010, 05:54:57 PM
Don't forget to set the deinterlacing for your sd/hd too.

Sorry mate, not with you there (I thought I was!) - where are these deinterlacing settings you mention? In the playback settings in myth frontend?
Title: Re: [SOLVED] Deinterlacing with VDPAU in Mythtv (nvidia ION)
Post by: totallymaxed on May 18, 2010, 10:56:44 PM
Quote from: purps on May 18, 2010, 10:54:26 PM
Quote from: b4rney on May 18, 2010, 05:54:57 PM
Don't forget to set the deinterlacing for your sd/hd too.

Sorry mate, not with you there (I thought I was!) - where are these deinterlacing settings you mention? In the playback settings in myth frontend?

He means inside your MythTV frontend setup.

All the best


Andrew
Title: Re: [SOLVED] Deinterlacing with VDPAU in Mythtv (nvidia ION)
Post by: b4rney on May 18, 2010, 11:13:23 PM
Sorry. It wasn't very clear!

Andrew is right. You go into your 'VPAU normal' settings page and click on edit for each resolution (there are two). This gets you into the deinterlace settings.

Barney