nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   VDPAU Error: DISPLAY PRE-EMPTED (http://www.nvnews.net/vbulletin/showthread.php?t=138903)

Dragorep 09-18-09 06:32 AM

VDPAU Error: DISPLAY PRE-EMPTED
 
This error seems to be a (the?) major issue to resolve for NZ H264 and mpeg files.

I get it with vdpau / mythtv infrequently on a PCIe 8500GT and 180.60 mythbuntu 9.04 / JYA mythtv 21583 between 30 mins and some hours.

and much much more frequently with a PCI 9400GT / 190.25 / mythbuntu 8.10 / JYA mythtv 21583 (Within a minute of playing an mpeg file)

Where is the problem(s) and how long is it going to take to resolve?

NVIDIA comment would be much appreciated please.

AaronP 09-18-09 11:12 AM

Re: VDPAU Error: DISPLAY PRE-EMPTED
 
Does the display recover after that? I believe the driver can indicate that the display was preempted for pretty much any reason whenever it wants, and the application is supposed to recreate the VDPAU objects. If MythTV simply reports it as an error and exits, then it needs to be fixed.

That said, are the display preemptions accompanied by NVRM Xid messages in the syslog?

Stephen Warren 09-18-09 04:25 PM

Re: VDPAU Error: DISPLAY PRE-EMPTED
 
Does this always happen at the same place in specific video streams? If so, please upload the file to our file drop (see the VDPAU sticky), and provide the other details requested there. Thanks.

Dragorep 09-18-09 05:21 PM

Re: VDPAU Error: DISPLAY PRE-EMPTED
 
2 Attachment(s)
On the PCI 9400GT / 190.25 / mythbuntu 8.10 / JYA mythtv 21583 machine playing a mpeg the problem hardly ever recurs at the same place(!).

Playing the MPEG in mplayer gives the attached error.txt file.

Makes me wonder if its some tangential issue like a borderline power supply issue (430W) however a driver issue seems more likely to me.

What is a pre-empted error exactly, other than a fatal error that ceases playback (Clarifying for AaronP - in my cases anyway. I agree it does need to be fixed as playback does stop!)?

I'm looking for a smallish mpeg to put up but it seems almost any mpeg does it so not sure the value of putting one up for you in these circumstances?

Dragorep 09-18-09 05:40 PM

Re: VDPAU Error: DISPLAY PRE-EMPTED
 
2 Attachment(s)
Hopefully the error log attached here from the

"I get it with vdpau / mythtv infrequently on a PCIe 8500GT and 180.60 mythbuntu 9.04 / JYA mythtv 21583 between 30 mins and some hours."

will also help you?

the frontend log is also attached where three instances of pre-emption are recorded along with zillions of errors that may or may not be related....but probably are....

Dragorep 09-18-09 05:42 PM

Re: VDPAU Error: DISPLAY PRE-EMPTED
 
Quote:

Originally Posted by Stephen Warren (Post 2088275)
Does this always happen at the same place in specific video streams? If so, ...

However in the case of "If not" please Stephen?

I hope the earlier replies assist the "if not" case? If I can assist further?

Dragorep 09-18-09 07:39 PM

Re: VDPAU Error: DISPLAY PRE-EMPTED
 
1 Attachment(s)
Quote:

PCI 9400GT / 190.25 / mythbuntu 8.10 / JYA mythtv 21583
NVIDIA log attached on the above kit, debug enabled, and playing 1080i H264 file, this time livetv on Mythtv Frontend, file not saved. Could save a brief file, as it will almost certainly reproduce fault, if wanted.

Stephen Warren 09-19-09 12:02 AM

Re: VDPAU Error: DISPLAY PRE-EMPTED
 
There are some XIDs in your logs:

Code:

[  136.779739] NVRM: Xid (0002:00): 6, PE0003
[  150.690877] NVRM: Xid (0002:00): 6, PE0001
[  333.730543] NVRM: Xid (0002:00): 13, 0001 00000000 0000502d 000008c4 f7eef822 00000004
[  333.732653] NVRM: Xid (0002:00): 13, 0001 00000000 0000502d 000008c4 f7eef822 00000004
[  430.696771] NVRM: Xid (0002:00): 6, PE0003
[  432.524399] NVRM: Xid (0002:00): 13, 0001 00000000 00005097 00001414 05ab05d7 0000000c
[  434.488196] NVRM: Xid (0002:00): 13, 0001 00000000 00005097 000015e0 41000000 0000000c

Given the varied nature of the XID messages, and the fact that the problem doesn't reproduce at any particular spot in any particular clip, my first inclination is some kind of general system instability. If you run heavy OpenGL applications, do you see additional XID messages in your logs (dmesg)? OpenGL can recover from some of these errors, so you might not notice simply by watching the application's rendering.

Finally, VDPAU can experience "display preemption" for a variety of reasons, such as the GPU experiencing certain kinds of errors when processing commands (which is what appears to be happening for you), VT-switches, and X mode (resolution etc.) switches, or certain internal inconsistent state in the VDPAU driver or similar errors.

Dragorep 09-19-09 06:09 PM

Re: VDPAU Error: DISPLAY PRE-EMPTED
 
Thank you for replying Stephen.
Was that reply for the 9400, the 8500, or indeed for both?
I suggest can we focus for now on the 8500, as that one does not seem to have any question about its "general system instability". (I am not so sure about the 9400 and its box although I know its not the card as its been swapped to achieve same result)

uau 09-19-09 08:10 PM

Re: VDPAU Error: DISPLAY PRE-EMPTED
 
I added support for recovering from display preemption to MPlayer (along with other VDPAU-related improvements, and I intend to add some more later). If you can test how the recovery works on a machine where display preemption occurs "by itself" I'd be interested to hear the results. You can get the version with preemption-recovery support with
git clone git://repo.or.cz/mplayer-build.git

Dragorep 09-19-09 08:16 PM

Re: VDPAU Error: DISPLAY PRE-EMPTED
 
Hey Kewl
The 9400 generally does it within a minute including using mplayer on its own, so sounds good to test your code with. Can you give me some link or direction on installing using git?

uau 09-19-09 08:38 PM

Re: VDPAU Error: DISPLAY PRE-EMPTED
 
If you have the git version control tool installed then the command I already gave should work to clone the mplayer-build repo into a directory named mplayer-build. After that follow the instructions given in the README file in that directory.


All times are GMT -5. The time now is 10:06 PM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.