LinuxMCE Forums

General => Users => Topic started by: purps on January 02, 2012, 03:31:43 pm

Title: nVidia/VDPAU crash (blacks/darks on screen exhibit white artifacts). Myth?
Post by: purps on January 02, 2012, 03:31:43 pm
I seem to remember discussing this with Thom some time ago, and if my memory serves me correctly, he said that the white blotches that sometimes crop up in the dark patches were due to a crash associated with the nVidia graphics (this is a ASUS AT3IONT nVidia ION with atom mobo, by the way). I also get a thin white horizontal line running across all the buttons (which I haven't seen before), although I guess that is because there was a black line as part of the button graphic.

Anyway, I'm starting to see this daily now (MD needs resetting to fix), and just wondered if anybody else had seen it? I THINK it happens when I use myth. I am wondering if it is something to do with the playback profile I have selected - VDPAU High Quality. What do other VDPAU users use as their playback profile in myth?

And I have I got the right options set in web admin? I've selected "auto" for Hardware Acceleration, and "vdpau" for Deinterlace Quality.

Cheers,
Matt.
Title: Re: nVidia/VDPAU crash (blacks/darks on screen exhibit white artifacts). Myth?
Post by: kyfalcon on January 02, 2012, 04:16:51 pm
I see it to on my zotac zbox last night.
Title: Re: nVidia/VDPAU crash (blacks/darks on screen exhibit white artifacts). Myth?
Post by: purps on January 02, 2012, 04:30:49 pm
Did you notice a link with myth?

What settings are you using?

Cheers,
Matt.
Title: Re: nVidia/VDPAU crash (blacks/darks on screen exhibit white artifacts). Myth?
Post by: maverick0815 on January 02, 2012, 07:28:17 pm
While I don't have those artifacts, it seems that after doing todays update Mythtv crashes when having vdpau enabled. I used vdpau slim with my asrock ion and the 285-nvidia drivers
Title: Re: nVidia/VDPAU crash (blacks/darks on screen exhibit white artifacts). Myth?
Post by: kyfalcon on January 02, 2012, 10:17:23 pm
Did you notice a link with myth?

What settings are you using?

Cheers,
Matt.

Myth setting is VDPAU normal. It was the first time I saw the artifacts. I have seen the lines through the buttons quite often, but  only when myth has played.
Title: Re: nVidia/VDPAU crash (blacks/darks on screen exhibit white artifacts). Myth?
Post by: l3mce on January 02, 2012, 10:42:44 pm
upgrading now to see if I can reproduce.
Title: Re: nVidia/VDPAU crash (blacks/darks on screen exhibit white artifacts). Myth?
Post by: purps on January 03, 2012, 02:50:36 pm
I have always had this problem to some extent with my installation. I installed 1004 in November sometime. I updated a few days ago and it stopped myth from working completely, the orbiters were slow and unresponsive, and it kept reloading. I think some of these problems were to do with me installing zoneminder. I have now gone back to an unupgraded backup, before I installed zoneminder.

We watched various films and things last night without touching the TV, and things appeared to be OK when I went to bed, so I am very tempted to say it's myth. I will try putting the playback profile on CPU+ or something.

Could it be the deinterlace settings in web admin? Will try it without that as well.

Not sure which number relates to my nVidia version, but I have...
nvidia-173-modaliases
nvidia-260-kernel-source
nvidia-96-modaliases

Cheers,
Matt.

Title: Re: nVidia/VDPAU crash (blacks/darks on screen exhibit white artifacts). Myth?
Post by: kyfalcon on January 03, 2012, 04:07:17 pm
I do not have zone minder on mine. I have only seen the artifacts watching myth on one of my boxes and that has a playback setting of vdpau normal. I see the lmce buttons with lines on all my boxes , but only after myth has been ran. The other playback setting I use is vdpau slim, and that is on my core.

I use my own myth build (0.24 fixes) because of the ceton capture card needing special build.
Title: Re: nVidia/VDPAU crash (blacks/darks on screen exhibit white artifacts). Myth?
Post by: purps on January 03, 2012, 04:25:03 pm
I don't think for one minute that zoneminder has anything to do with it - I only mentioned it because I think it contributed the destruction of my system when I updated a few days ago :)

I will try VDPAU slim as well. My myth build is 0.23.

I have another VDPAU mobo in my kitchen; I don't use the TV anywhere near as much, but I will try it out and keep an eye on them both.

Cheers,
Matt.
Title: Re: nVidia/VDPAU crash (blacks/darks on screen exhibit white artifacts). Myth?
Post by: l3mce on January 03, 2012, 05:07:32 pm
No problems with myth after upgrade.
Title: Re: nVidia/VDPAU crash (blacks/darks on screen exhibit white artifacts). Myth?
Post by: maverick0815 on January 03, 2012, 05:32:37 pm
I did have artifacts when I originally installed 1004, but after searching a bit on the forum I read, that installing nvidia 285 would fix the problem...and it did...at least until yesterday, because it seems now that mythtv crashes with vdpau.
Title: Re: nVidia/VDPAU crash (blacks/darks on screen exhibit white artifacts). Myth?
Post by: purps on January 04, 2012, 10:08:30 am
Interesting. I assume the number 285 relates to this number on my system --> nvidia-260-kernel-source ?

In the name of science I have selected CPU+ in my playback profile, and no graphics crash yet.

Cheers,
Matt.
Title: Re: nVidia/VDPAU crash (blacks/darks on screen exhibit white artifacts). Myth?
Post by: kyfalcon on January 04, 2012, 03:08:19 pm
I saw it bad last night playing a movie. This was after watching tv in myth. What is the command for upgrading to nvidia 285?

normal apt-get update/upgrade? or

apt-get install nvidia-285?
Title: Re: nVidia/VDPAU crash (blacks/darks on screen exhibit white artifacts). Myth?
Post by: seth on January 04, 2012, 06:34:32 pm
Hi there.
I had this issue as well. Here is what I did to resolve it:

ssh to your core and become root

Code: [Select]
sudo -i
identify your media director number - ls -l /usr/pluto/diskless
ssh moonXX - subbing the X's with number of MD
add-apt-repository ppa:ubuntu-x-swat/x-updates
sudo apt-get update
apt-get install nvidia-current

This will update your nvidia driver to 290, which is what is most current. After this completes it will have unloaded the 260 driver and built the new dkms modules for 290.
When it has completed you will need to reboot the Media Director. However, before you do so, you must prevent LinuxMCE from re-installing the 260 driver.
Do this by editing the file nvidia-install.sh

So while still in the Media Director:

Code: [Select]
vi /usr/pluto/bin/nvidia-install.sh

right below the #!/bin/bash line add - exit 1

keystrokes for those who do not speak vi:

o  (the letter O)
exit 1
press escape
:wq! - shift+colon wq shift+1

Now you should reboot. Upon reboot, you should be good to go. I tested this last night and after playing MythTV for several hours, there was not an artifact to be seen.   ;)

I am running MythTV with VDPAU Normal setting on a Zotac ION Media Director - GeForce 9400M built in over HDMI. Using HDMI audio as well.


Best Regards,

Seth
Title: Re: nVidia/VDPAU crash (blacks/darks on screen exhibit white artifacts). Myth?
Post by: kyfalcon on January 04, 2012, 07:23:04 pm
I'll give that a go when i get home this evening.

Thx
Title: Re: nVidia/VDPAU crash (blacks/darks on screen exhibit white artifacts). Myth?
Post by: maverick0815 on January 05, 2012, 11:43:39 am
in my experience you have to keep a copy if the edited version of the nvidia-installer.sh in case you put an update. So far the update process will always overwrite your version, so before you reboot after an update put your own version of the file back there.
Title: Re: nVidia/VDPAU crash (blacks/darks on screen exhibit white artifacts). Myth?
Post by: kyfalcon on January 05, 2012, 03:20:01 pm
followed seth's directions and no more artifacts, I've got myth issues, but they are more related to merging myth .24 fixes into LMCE
Title: Re: nVidia/VDPAU crash (blacks/darks on screen exhibit white artifacts). Myth?
Post by: purps on January 07, 2012, 12:54:03 pm
Seth, I believe the number of times you have helped me both directly and indirectly is now probably in the hundreds. I thank you, sir.

No more artifacts as of yet.

Cheers,
Matt.
Title: Re: nVidia/VDPAU crash (blacks/darks on screen exhibit white artifacts). Myth?
Post by: seth on January 09, 2012, 02:31:40 pm
 :)
You're welcome.
I can not contribute much to this project, but anything I can do to help, I am more than happy to oblige.

Glad it worked for you.

Best Regards,

Seth