NextPVR Forums

Full Version: Device Failed To Start ATI HD750
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I have a Diamond ATI TV Wonder HD750 USB stick. I use both analog and digital channels but when an analog show is immediately followed by a digital show, I get "Device failed to start". I assume that this device actually has only 1 tuner but NPVR sees them as separate devices. How can I make this work? Log files attached.

Thanks
Given the lack of "dual tuner" sales pitch on AMD/ATI's website, I'd say that it is indeed a single tuner supporting multiple protocols. For all purposes that tuner presents itself has two different hardware devices (one for analog tuning, and another for digital tuning).
Add the following to the DeviceRules.xml file:
Code:
        <!-- ATI HD750-->
        <Filter name="ATI BDA Digital Capture" resouce="ATI HD750" />
        <Filter name="ATI BDA Digital Tuner" resource="ATI HD750" />
        <Filter name="ATI AVStream Analog Capture" resource="ATI HD750" />

Then restart the recording service.
What really caught my eye was this in the NRecord log, since the Diamond ATI TV Wonder HD 750 USB obviously has only one digital tuner:

Code:
2013-05-17 23:01:16.740    [DEBUG][6]    checking: ATI BDA Digital Tuner     (QAM)
2013-05-17 23:01:16.740    [DEBUG][6]    enabled and present
2013-05-17 23:01:16.740    [DEBUG][6]    does not have channel
2013-05-17 23:01:16.740    [DEBUG][6]    checking: ATI CQAM Digital Tuner     (QAM)
2013-05-17 23:01:16.740    [DEBUG][6]    enabled and present
2013-05-17 23:01:16.740    [DEBUG][6]    does not have channel

There's an old thread involving this tuner in which whurlston interpreted the CQAM "device" as a non-standard driver (presumably for TotalMedia): http://forums.nextpvr.com/showthread.php...lem-thread

Speaking of drivers, someone on another website recommends this one for the TV Wonder HD 750 with Windows 7: http://support.amd.com/us/gpudownload/wi...%20Edition

BTW the NPVR log shows that you have not installed the prerequisite DirectX end-user runtimes: http://www.nextpvr.com/nwiki/pmwiki.php?...requisites
Thanks. I'll test it when I get a chance. BTW the link to DirectX 9.0c Runtime is not working.
Someone must have fixed the link because it's working now. Were you able to implement johnsonx42's recommendation using Notepad? Do you still get "device failed to start" when changing from analog to QAM?
I ran a test last night and still have the same error. What did I do wrong? Logs attached.

Thank You

BTW the link still doesn't work for me in IE10. Works in chrome!
Looks like the mysterious CQAM "device" is no longer enabled, which should be a good thing. I do see a case where a recording failed to start because an analog recording wasn't quite finished:

Code:
2013-05-22 07:59:03.440    [DEBUG][7]    About to switch AnalogRecorder to target:
C:\Temp\Pawn Stars\Pawn Stars_20130522_08000830.ts
2013-05-22 07:59:03.442    [DEBUG][7]    Temp at 5/22/2013 7:59:13 AM
2013-05-22 07:59:03.442    [DEBUG][7]    Started recording (912:2:C:\Temp\Pawn Stars\Pawn Stars_20130522_08000830.ts)
2013-05-22 07:59:03.472    [DEBUG][7]    No C:\Users\Public\NPVR\Scripts\ParallelProcessing.bat
2013-05-22 08:29:00.294    [DEBUG][7]    allocating recording target filename: C:\Temp\I Love Lucy\I Love Lucy_20130522_08300900.ts
2013-05-22 08:29:00.294    [DEBUG][7]    About to start recording (910 on 21): C:\Temp\I Love Lucy\I Love Lucy_20130522_08300900.ts...
2013-05-22 08:29:00.294    [DEBUG][7]    Free space 758048395264  (C:\)
2013-05-22 08:29:00.294    [DEBUG][7]    Asking NDigitalHost to start: C:\Temp\I Love Lucy\I Love Lucy_20130522_08300900.ts
2013-05-22 08:29:00.382    [DEBUG][7]    Temp at 5/22/2013 8:29:10 AM
2013-05-22 08:29:00.382    [DEBUG][7]    Failed to start recording on allocated device (910:C:\Temp\I Love Lucy\I Love Lucy_20130522_08300900.ts): 'Device failed to start'
2013-05-22 08:29:00.382    [DEBUG][7]    Looking for second chance device to perform recording...
2013-05-22 08:29:00.384    [DEBUG][7]    Temp at 5/22/2013 8:29:10 AM
2013-05-22 08:29:00.384    [DEBUG][7]    Failed to start recording (910:C:\Temp\I Love Lucy\I Love Lucy_20130522_08300900.ts): 'Device failed to start'
2013-05-22 08:30:00.141    [DEBUG][7]    Stopping recording (912 on 24). Past end time of recording. 2
2013-05-22 08:30:00.152    [INFO][7]    AnalogRecorder stream count now 0

I have no analog channels and don't do a lot of recording, so I'm probably not the best one to help you with this problem. I thought NextPVR was supposed to disregard padding if it would cause a recording to fail, but that might not work with your single-tuner ATI HD750. My only suggestion is to use no padding for recordings, maybe even set them to end a little early. Of course a dual tuner would be a good solution, but you should be reluctant to invest in analog hardware because your cable provider will go all-digital one of these days. Did you try the driver? You can always roll back if it makes things worse.
I believe the processing of DeviceRules.xml no longer works properly (or perhaps never did). I can't get it to work on my system either. I think it works for scheduling, as I never find that NPVR has scheduled the same tuner on my HVR-2250 to record both analog and digital at the same time, but it doesn't seem to work when starting livetv or for other "on-the-fly" situations like padding. Luckily in my case all that happens is that one tuner fails to start so NPVR just fails down the list until it finds one that works..

With just the one hybrid tuner, you're going to run into this situation all the time. For now you should be able to avoid the problem most of the time by disabling pre- and post- padding.

We're in testing on the next version of NPVR, so I'll try to come up with some repeatable tests for sub so he can fix it before the next release.
sub, here's another example of what I'm talking about:

I started a recording on the first digital tuner of my HVR-2250, then requested live tv on an analog channel. NPVR tried to use the first analog tuner of the HVR-2250, because in this scenario it doesn't seem to process the DeviceRules.xml correctly. It failed to start the tuner, so then it looked for another tuner and started livetv on the second HVR-2250 tuner.

I'll be happy to test fixes for this during pre-release testing.

Code:
2013-05-23 12:11:05.753    [DEBUG][7]    Asking NDigitalHost to start: F:\Recordings\The Young and the Restless\The Young and the Restless_20130523_11301230.ts
2013-05-23 12:11:06.496    [DEBUG][7]    Temp at 5/23/2013 12:11:16 PM
2013-05-23 12:11:06.496    [DEBUG][7]    Started recording (240253:73:F:\Recordings\The Young and the Restless\The Young and the Restless_20130523_11301230.ts)
2013-05-23 12:11:06.619    [DEBUG][7]    Starting: C:\Users\Public\NPVR\Scripts\ParallelProcessing.bat "F:\Recordings\The Young and the Restless\The Young and the Restless_20130523_11301230.ts" 2 240253 1534
2013-05-23 12:11:17.136    [DEBUG][6]    StartStream(7077:USA)
2013-05-23 12:11:17.136    [DEBUG][6]    looking for capture source
2013-05-23 12:11:17.136    [DEBUG][6]    checking: Hauppauge WinTV-7164 BDA ATSC/QAM Tuner     (QAM)
2013-05-23 12:11:17.136    [DEBUG][6]    enabled and present
2013-05-23 12:11:17.136    [DEBUG][6]    does not have channel
2013-05-23 12:11:17.136    [DEBUG][6]    checking: Hauppauge WinTV-7164 BDA ATSC/QAM Tuner     (QAM)     (#2)
2013-05-23 12:11:17.136    [DEBUG][6]    enabled and present
2013-05-23 12:11:17.136    [DEBUG][6]    does not have channel
2013-05-23 12:11:17.136    [DEBUG][6]    checking: Hauppauge WinTV-7164 Analog Capture
2013-05-23 12:11:17.136    [DEBUG][6]    enabled and present
2013-05-23 12:11:17.136    [DEBUG][6]    has channel
2013-05-23 12:11:17.136    [DEBUG][6]    live tv is possible
2013-05-23 12:11:17.136    [INFO][6]    AnalogRecorder.StartStream(LIVE&C:\LiveTV\live-USA-3329.ts)
2013-05-23 12:11:17.136    [INFO][6]    AnalogRecorder stream count now 1
2013-05-23 12:11:17.136    [INFO][6]    Creating graph
2013-05-23 12:11:17.137    [DEBUG][6]    Building graph using: Hauppauge WinTV-7164 Analog Capture (1).
2013-05-23 12:11:17.155    [DEBUG][6]    about to look for encoder
2013-05-23 12:11:17.155    [DEBUG][6]    About to look for hardware encoder.
2013-05-23 12:11:17.178    [DEBUG][6]    AttachHardEncoder@1
2013-05-23 12:11:17.178    [DEBUG][6]    AttachHardEncoder@2 (got medium)
2013-05-23 12:11:17.216    [DEBUG][6]    AttachHardEncoder@3 (got encoder)
2013-05-23 12:11:17.216    [DEBUG][6]    AttachHardEncoder@4 (about to connect encoder)
2013-05-23 12:11:17.793    [DEBUG][6]    AttachHardEncoder@5 (connected encoder)
2013-05-23 12:11:17.829    [DEBUG][6]    AttachHardEncoder@6 (connected demux)
2013-05-23 12:11:17.832    [DEBUG][6]    about to add mux
2013-05-23 12:11:17.832    [DEBUG][6]    about to add tee
2013-05-23 12:11:17.832    [DEBUG][6]    about to connect writers
2013-05-23 12:11:17.832    [DEBUG][6]    Graph filter list:
2013-05-23 12:11:17.833    [DEBUG][6]     - NPVR Writer2
2013-05-23 12:11:17.833    [DEBUG][6]     - NPVR Writer
2013-05-23 12:11:17.833    [DEBUG][6]     - Infinite Pin Tee Filter
2013-05-23 12:11:17.833    [DEBUG][6]     - MainConcept (HCW) MPEG Multiplexer-Plus
2013-05-23 12:11:17.833    [DEBUG][6]     - MPEG-2 Demultiplexer
2013-05-23 12:11:17.833    [DEBUG][6]     - Hauppauge WinTV-7164 MPEG2 PS Encoder/Mux
2013-05-23 12:11:17.833    [DEBUG][6]     - Hauppauge WinTV-7164 Analog Capture
2013-05-23 12:11:17.833    [DEBUG][6]     - Hauppauge WinTV-7164 Analog Xbar
2013-05-23 12:11:17.833    [DEBUG][6]     - Hauppauge WinTV-7164 Analog TV Audio
2013-05-23 12:11:17.833    [DEBUG][6]     - Hauppauge WinTV-7164 Analog TV Tuner
2013-05-23 12:11:17.833    [DEBUG][6]    About to check crossbar routing
2013-05-23 12:11:17.833    [ERROR][6]    Failed to route audio crossbar
2013-05-23 12:11:17.833    [DEBUG][6]    Video crossbar already routed correctly
2013-05-23 12:11:17.833    [DEBUG][6]    Tuning to channel: 28
2013-05-23 12:11:17.833    [DEBUG][6]    After tuning
2013-05-23 12:11:17.833    [DEBUG][6]    Tuner reports frequency: 247250000
2013-05-23 12:11:17.833    [INFO][6]    About to start graph
2013-05-23 12:11:17.846    [DEBUG][6]    device minimum bitrate: 0
2013-05-23 12:11:17.846    [DEBUG][6]    device maximum bitrate: 6000000
2013-05-23 12:11:17.846    [DEBUG][6]    device bitrate step size: 1
2013-05-23 12:11:17.855    [DEBUG][6]    device reports current bitrate as: 6000000
2013-05-23 12:11:17.864    [DEBUG][6]    device reports current peak bitrate as: 6000000
2013-05-23 12:11:17.864    [DEBUG][6]    About to set BITRATE MODE
2013-05-23 12:11:17.881    [DEBUG][6]    requesting variable encoding
2013-05-23 12:11:17.907    [DEBUG][6]    trying to request bitrate: 6000000
2013-05-23 12:11:17.926    [DEBUG][6]    device confirms bitrate as: 6000000
2013-05-23 12:11:17.926    [DEBUG][6]    About to set PEAK BITRATE
2013-05-23 12:11:17.940    [DEBUG][6]    device minimum peak bitrate: 0
2013-05-23 12:11:17.940    [DEBUG][6]    device maximum peak bitrate: 9500000
2013-05-23 12:11:17.940    [DEBUG][6]    device peak bitrate step size: 1
2013-05-23 12:11:17.940    [DEBUG][6]    trying to request peak bitrate: 9000000
2013-05-23 12:11:17.960    [DEBUG][6]    device confirms bitrate as: 9000000
2013-05-23 12:11:22.462    [ERROR][6]    Device failed to start
... deleted a few lines here ...
2013-05-23 12:11:22.465    [ERROR][6]    Unable to StartStream(): Device failed to start
2013-05-23 12:11:22.465    [DEBUG][6]    checking: Hauppauge WinTV-7164 Analog Capture     (#2)
2013-05-23 12:11:22.465    [DEBUG][6]    enabled and present
2013-05-23 12:11:22.465    [DEBUG][6]    has channel
2013-05-23 12:11:22.465    [DEBUG][6]    live tv is possible
2013-05-23 12:11:22.465    [INFO][6]    AnalogRecorder.StartStream(LIVE&C:\LiveTV\live-USA-3329.ts)
2013-05-23 12:11:22.465    [INFO][6]    AnalogRecorder stream count now 1
2013-05-23 12:11:22.465    [INFO][6]    Creating graph
2013-05-23 12:11:22.467    [DEBUG][6]    Building graph using: Hauppauge WinTV-7164 Analog Capture (2).
2013-05-23 12:11:22.487    [DEBUG][6]    about to look for encoder
2013-05-23 12:11:22.487    [DEBUG][6]    About to look for hardware encoder.
2013-05-23 12:11:22.489    [DEBUG][6]    AttachHardEncoder@1
2013-05-23 12:11:22.489    [DEBUG][6]    AttachHardEncoder@2 (got medium)
2013-05-23 12:11:22.511    [DEBUG][6]    AttachHardEncoder@3 (got encoder)
2013-05-23 12:11:22.511    [DEBUG][6]    AttachHardEncoder@4 (about to connect encoder)
2013-05-23 12:11:23.101    [DEBUG][6]    AttachHardEncoder@5 (connected encoder)
2013-05-23 12:11:23.110    [DEBUG][6]    AttachHardEncoder@6 (connected demux)
2013-05-23 12:11:23.113    [DEBUG][6]    about to add mux
2013-05-23 12:11:23.113    [DEBUG][6]    about to add tee
2013-05-23 12:11:23.113    [DEBUG][6]    about to connect writers
2013-05-23 12:11:23.113    [DEBUG][6]    Graph filter list:
2013-05-23 12:11:23.114    [DEBUG][6]     - NPVR Writer2
2013-05-23 12:11:23.114    [DEBUG][6]     - NPVR Writer
2013-05-23 12:11:23.114    [DEBUG][6]     - Infinite Pin Tee Filter
2013-05-23 12:11:23.114    [DEBUG][6]     - MainConcept (HCW) MPEG Multiplexer-Plus
2013-05-23 12:11:23.114    [DEBUG][6]     - MPEG-2 Demultiplexer
2013-05-23 12:11:23.114    [DEBUG][6]     - Hauppauge WinTV-7164 MPEG2 PS Encoder/Mux
2013-05-23 12:11:23.114    [DEBUG][6]     - Hauppauge WinTV-7164 Analog Capture
2013-05-23 12:11:23.114    [DEBUG][6]     - Hauppauge WinTV-7164 Analog Xbar
2013-05-23 12:11:23.114    [DEBUG][6]     - Hauppauge WinTV-7164 Analog TV Audio
2013-05-23 12:11:23.114    [DEBUG][6]     - Hauppauge WinTV-7164 Analog TV Tuner
2013-05-23 12:11:23.114    [DEBUG][6]    About to check crossbar routing
2013-05-23 12:11:23.197    [DEBUG][6]    Audio crossbar routed successfully
2013-05-23 12:11:23.197    [DEBUG][6]    Video crossbar already routed correctly
2013-05-23 12:11:23.197    [DEBUG][6]    Tuning to channel: 28
2013-05-23 12:11:23.744    [DEBUG][6]    After tuning
2013-05-23 12:11:23.744    [DEBUG][6]    Tuner reports frequency: 247250000
2013-05-23 12:11:23.745    [INFO][6]    About to start graph
2013-05-23 12:11:23.758    [DEBUG][6]    device minimum bitrate: 0
2013-05-23 12:11:23.758    [DEBUG][6]    device maximum bitrate: 6000000
2013-05-23 12:11:23.758    [DEBUG][6]    device bitrate step size: 1
2013-05-23 12:11:23.767    [DEBUG][6]    device reports current bitrate as: 6000000
2013-05-23 12:11:23.775    [DEBUG][6]    device reports current peak bitrate as: 6000000
2013-05-23 12:11:23.775    [DEBUG][6]    About to set BITRATE MODE
2013-05-23 12:11:23.790    [DEBUG][6]    requesting variable encoding
2013-05-23 12:11:23.820    [DEBUG][6]    trying to request bitrate: 6000000
2013-05-23 12:11:23.839    [DEBUG][6]    device confirms bitrate as: 6000000
2013-05-23 12:11:23.839    [DEBUG][6]    About to set PEAK BITRATE
2013-05-23 12:11:23.852    [DEBUG][6]    device minimum peak bitrate: 0
2013-05-23 12:11:23.852    [DEBUG][6]    device maximum peak bitrate: 9500000
2013-05-23 12:11:23.852    [DEBUG][6]    device peak bitrate step size: 1
2013-05-23 12:11:23.852    [DEBUG][6]    trying to request peak bitrate: 9000000
2013-05-23 12:11:23.875    [DEBUG][6]    device confirms bitrate as: 9000000
2013-05-23 12:11:24.071    [DEBUG][6]    About to tune graph to:
<tuning>
  <type>Analog</type>
  <locator>
    <channel>28</channel>
    <country>1</country>
    <input>cable</input>
    <source>Tuner</source>
  </locator>
</tuning>

2013-05-23 12:11:24.072    [DEBUG][6]    About to check crossbar routing
2013-05-23 12:11:24.162    [DEBUG][6]    Audio crossbar routed successfully
2013-05-23 12:11:24.162    [DEBUG][6]    Video crossbar already routed correctly
2013-05-23 12:11:24.162    [DEBUG][6]    Tuning to channel: 28
2013-05-23 12:11:24.699    [DEBUG][6]    After tuning
2013-05-23 12:11:24.699    [DEBUG][6]    Tuner reports frequency: 247250000
2013-05-23 12:11:24.699    [DEBUG][6]    About to switch AnalogRecorder to target:
LIVE&C:\LiveTV\live-USA-3329.ts
2013-05-23 12:11:24.969    [DEBUG][6]    Live TV handle: 0x6020016
Pages: 1 2