[mythtv-users] need help getting an Nvidia card working

Jim Abernathy jfabernathy at outlook.com
Mon Dec 25 17:14:03 UTC 2017



On 12/25/2017 11:23 AM, Jim Abernathy wrote:
>
> On 12/25/2017 11:14 AM, Jim Abernathy wrote:
>> I'm trying to improve the mythtv playback on an old Core 2 Duo system.
>> With the internal Intel GFX there were video issues with HD content, so
>> I bought a GT 710 PCIe GFX card.  The Acer monitor has built in speakers
>> so I connect the GT710 to the monitor with HDMI the same as I used to do
>> the Intel internal GFX.
>>
>> The first thing I did was install the Nvidia proprietary GFX driver and
>> make sure the video and audio worked correctly in normal Ubuntu 16.04
>> sound and video apps. I have mute, vol+, and vol- buttons on my USB
>> keyboard and I can use them to control volume in normal Ubuntu sound
>> apps and I used to be able to use them with Mythtv frontend with Intel GFX.
>>
>> However, if I run mythtv frontend on Nvidia GFX everything works great
>> until I touch the sound buttons.  mythtv FE freezes and I have to use
>> CTL-ALT-F1 to get to a login screen so I can reboot.
>>
>> The first time I ran Mythtv FE with the new Nvidia GFX card I changed
>> the setup to VDPAU HQ and I set audio to the NVIDIA HDMI Dev 1.  I made
>> sure the theme painter was auto.  I also tested the SD and HD test
>> videos and they work with sound perfectly.  It's just when I touch the
>> mute, vol-, and vol+ buttons on the USB keyboard.
>>
>> Any ideas where to start checking? or did I miss a setting when I
>> switched in the GT710 card?
>>
>> Jim A
>>
> I forgot to run and include the log after the freeze.  Here is part of it.
>
> Dec 25 11:17:29 martha-ubuntu mythfrontend.real: mythfrontend[5074]: I
> CoreContext mythrender_vdpau.cpp:429 (Create) VDPAU: Created VDPAU
> render device 1920x1080
> Dec 25 11:17:29 martha-ubuntu mythfrontend.real: mythfrontend[5074]: N
> CoreContext mythplayer.cpp:532 (CheckExtraAudioDecode) Player(0):
> Forcing decode extra audio option on (Video method requires it).
> Dec 25 11:17:29 martha-ubuntu mythfrontend.real: mythfrontend[5074]: I
> CoreContext avformatdecoder.cpp:2615 (OpenAVCodec) AFD: Opened codec
> 0x968d080, id(MPEG2VIDEO) type(Video)
> Dec 25 11:17:29 martha-ubuntu mythfrontend.real: mythfrontend[5074]: I
> CoreContext audio/audiooutputbase.cpp:823 (Reconfigure) AOBase: Opening
> audio device 'hdmi:CARD=NVidia,DEV=1' ch 2(6) sr 48000 sf signed 32 bit
> reenc 0
> Dec 25 11:17:29 martha-ubuntu mythfrontend.real: mythfrontend[5074]: W
> CoreContext audio/audiooutputalsa.cpp:775 (SetParameters) ALSA:
> Requested 500000us got 170666 buffer time
> Dec 25 11:17:29 martha-ubuntu mythfrontend.real: mythfrontend[5074]: W
> CoreContext audio/audiooutputalsa.cpp:243 (IncPreallocBufferSize) ALSA:
> Try to manually increase audio buffer with: echo 192 | sudo tee
> /proc/asound/card1/pcm7p/sub0/prealloc
> Dec 25 11:17:29 martha-ubuntu mythfrontend.real: mythfrontend[5074]: E
> CoreContext audio/audiooutputalsa.cpp:953 (OpenMixer) ALSA: no playback
> control PCM found on mixer device default
> Dec 25 11:17:29 martha-ubuntu mythfrontend.real: mythfrontend[5074]: E
> CoreContext audio/audiooutputalsa.cpp:498 (OpenDevice) ALSA: Unable to
> open audio mixer. Volume control disabled
> Dec 25 11:17:30 martha-ubuntu mythfrontend.real: mythfrontend[5074]: N
> CoreContext mythplayer.cpp:2231 (PrebufferEnoughFrames) Player(0):
> Waited 101ms for video buffers AAAAAAAAAAAAAA
> Dec 25 11:17:30 martha-ubuntu mythfrontend.real: mythfrontend[5074]: I
> CoreContext mythrender_vdpau.cpp:615 (CheckOutputSurfaces) VDPAU: Added
> 2 output surfaces (total 4, max 4)
> Dec 25 11:17:56 martha-ubuntu mythfrontend.real: mythfrontend[5074]: E
> Decoder mythplayer.cpp:3504 (DecoderGetFrame) Player(0): Decoder timed
> out waiting for free video buffers.
>

I have a work around for now.  It occurred to me that the reason that I 
used the Acer monitor speakers is because my old hardware was a NUC and 
had no audio out except HDMI.  I found an old pair of PC speakers to set 
beside the monitor and plugged them into the analog out.  So now 
everything works, but it takes up more desk space.

Jim A

>> _______________________________________________
>> mythtv-users mailing list
>> mythtv-users at mythtv.org
>> http://lists.mythtv.org/mailman/listinfo/mythtv-users
>> http://wiki.mythtv.org/Mailing_List_etiquette
>> MythTV Forums: https://forum.mythtv.org



More information about the mythtv-users mailing list