[mythtv-users] LG TV starts flickering when using LiveTV

Stephen Worthington stephen_agent at jsw.gen.nz
Tue Feb 27 04:13:25 UTC 2018


On Mon, 26 Feb 2018 21:11:31 -0600, you wrote:

>Hello,
>
>My LG TV works fine when watching MythVideos or looking at the menus.
>However, when using LiveTV goes the TV screen Off/On/Off/On..., it seems
>that it does not like the video frequency of the signal.
>
>Any idea what could be the issue?
>
>My X log is as follows:
>
>[  2838.274] (II) NVIDIA(GPU-0): Found DRM driver nvidia-drm (20150116)
>[  2838.274] (II) NVIDIA(0): NVIDIA GPU GeForce GT 610 (GF119) at
>PCI:1:0:0 (GPU-0)
>[  2838.274] (--) NVIDIA(0): Memory: 1048576 kBytes
>[  2838.274] (--) NVIDIA(0): VideoBIOS: 75.19.55.00.02
>[  2838.274] (II) NVIDIA(0): Detected PCI Express Link width: 16X
>[  2838.276] (--) NVIDIA(0): Valid display device(s) on GeForce GT 610
>at PCI:1:0:0
>[  2838.276] (--) NVIDIA(0):     CRT-0
>[  2838.276] (--) NVIDIA(0):     CRT-1
>[  2838.276] (--) NVIDIA(0):     DFP-0
>[  2838.276] (--) NVIDIA(0):     LG Electronics LG TV (DFP-1) (boot,
>connected)
>[  2838.276] (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
>[  2838.276] (--) NVIDIA(GPU-0): CRT-1: 400.0 MHz maximum pixel clock
>[  2838.276] (--) NVIDIA(0): DFP-0: Internal TMDS
>[  2838.276] (--) NVIDIA(GPU-0): DFP-0: 330.0 MHz maximum pixel clock
>[  2838.276] (--) NVIDIA(0): LG Electronics LG TV (DFP-1): Internal TMDS
>[  2838.276] (--) NVIDIA(GPU-0): LG Electronics LG TV (DFP-1): 230.0 MHz
>maximum pixel clock
>[  2838.276] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the
>EDID for display
>[  2838.276] (**) NVIDIA(0):     device LG Electronics LG TV (DFP-1)
>(Using EDID
>[  2838.276] (**) NVIDIA(0):     frequencies has been enabled on all
>display devices.)
>[  2838.276] (WW) NVIDIA(GPU-0): The EDID for LG Electronics LG TV
>(DFP-1) contradicts itself:
>[  2838.276] (WW) NVIDIA(GPU-0):     mode "1280x720" is specified in the
>EDID; however, the
>[  2838.276] (WW) NVIDIA(GPU-0):     EDID's valid VertRefresh range
>(58.000-62.000 Hz) would
>[  2838.276] (WW) NVIDIA(GPU-0):     exclude this mode's VertRefresh
>(50.0 Hz); ignoring
>[  2838.276] (WW) NVIDIA(GPU-0):     VertRefresh check for mode "1280x720".
>[  2838.276] (WW) NVIDIA(GPU-0): The EDID for LG Electronics LG TV
>(DFP-1) contradicts itself:
>[  2838.276] (WW) NVIDIA(GPU-0):     mode "1920x1080" is specified in
>the EDID; however, the
>[  2838.276] (WW) NVIDIA(GPU-0):     EDID's valid VertRefresh range
>(58.000-62.000 Hz) would
>[  2838.276] (WW) NVIDIA(GPU-0):     exclude this mode's VertRefresh
>(50.0 Hz); ignoring
>[  2838.276] (WW) NVIDIA(GPU-0):     VertRefresh check for mode "1920x1080".
>[  2838.276] (WW) NVIDIA(GPU-0): The EDID for LG Electronics LG TV
>(DFP-1) contradicts itself:
>[  2838.276] (WW) NVIDIA(GPU-0):     mode "1280x720" is specified in the
>EDID; however, the
>[  2838.276] (WW) NVIDIA(GPU-0):     EDID's valid VertRefresh range
>(58.000-62.000 Hz) would
>[  2838.276] (WW) NVIDIA(GPU-0):     exclude this mode's VertRefresh
>(50.0 Hz); ignoring
>[  2838.276] (WW) NVIDIA(GPU-0):     VertRefresh check for mode "1280x720".
>[  2838.276] (WW) NVIDIA(GPU-0): The EDID for LG Electronics LG TV
>(DFP-1) contradicts itself:
>[  2838.276] (WW) NVIDIA(GPU-0):     mode "1920x1080" is specified in
>the EDID; however, the
>[  2838.276] (WW) NVIDIA(GPU-0):     EDID's valid HorizSync range
>(30.000-83.000 kHz) would
>[  2838.276] (WW) NVIDIA(GPU-0):     exclude this mode's HorizSync (28.1
>kHz); ignoring
>[  2838.276] (WW) NVIDIA(GPU-0):     HorizSync check for mode "1920x1080".
>[  2838.276] (WW) NVIDIA(GPU-0): The EDID for LG Electronics LG TV
>(DFP-1) contradicts itself:
>[  2838.276] (WW) NVIDIA(GPU-0):     mode "1920x1080" is specified in
>the EDID; however, the
>[  2838.276] (WW) NVIDIA(GPU-0):     EDID's valid VertRefresh range
>(58.000-62.000 Hz) would
>[  2838.276] (WW) NVIDIA(GPU-0):     exclude this mode's VertRefresh
>(50.0 Hz); ignoring
>[  2838.276] (WW) NVIDIA(GPU-0):     VertRefresh check for mode "1920x1080".
>[  2838.276] (WW) NVIDIA(GPU-0): The EDID for LG Electronics LG TV
>(DFP-1) contradicts itself:
>[  2838.276] (WW) NVIDIA(GPU-0):     mode "720x576" is specified in the
>EDID; however, the
>[  2838.276] (WW) NVIDIA(GPU-0):     EDID's valid VertRefresh range
>(58.000-62.000 Hz) would
>[  2838.276] (WW) NVIDIA(GPU-0):     exclude this mode's VertRefresh
>(50.0 Hz); ignoring
>[  2838.276] (WW) NVIDIA(GPU-0):     VertRefresh check for mode "720x576".
>[  2838.276] (WW) NVIDIA(GPU-0): The EDID for LG Electronics LG TV
>(DFP-1) contradicts itself:
>[  2838.276] (WW) NVIDIA(GPU-0):     mode "1920x1080" is specified in
>the EDID; however, the
>[  2838.276] (WW) NVIDIA(GPU-0):     EDID's valid HorizSync range
>(30.000-83.000 kHz) would
>[  2838.276] (WW) NVIDIA(GPU-0):     exclude this mode's HorizSync (27.0
>kHz); ignoring
>[  2838.276] (WW) NVIDIA(GPU-0):     HorizSync check for mode "1920x1080".
>[  2838.276] (WW) NVIDIA(GPU-0): The EDID for LG Electronics LG TV
>(DFP-1) contradicts itself:
>[  2838.276] (WW) NVIDIA(GPU-0):     mode "1920x1080" is specified in
>the EDID; however, the
>[  2838.276] (WW) NVIDIA(GPU-0):     EDID's valid VertRefresh range
>(58.000-62.000 Hz) would
>[  2838.276] (WW) NVIDIA(GPU-0):     exclude this mode's VertRefresh
>(24.0 Hz); ignoring
>[  2838.276] (WW) NVIDIA(GPU-0):     VertRefresh check for mode "1920x1080".
>[  2838.276] (WW) NVIDIA(GPU-0): The EDID for LG Electronics LG TV
>(DFP-1) contradicts itself:
>[  2838.276] (WW) NVIDIA(GPU-0):     mode "1920x1080" is specified in
>the EDID; however, the
>[  2838.276] (WW) NVIDIA(GPU-0):     EDID's valid HorizSync range
>(30.000-83.000 kHz) would
>[  2838.276] (WW) NVIDIA(GPU-0):     exclude this mode's HorizSync (28.1
>kHz); ignoring
>[  2838.276] (WW) NVIDIA(GPU-0):     HorizSync check for mode "1920x1080".
>[  2838.276] (WW) NVIDIA(GPU-0): The EDID for LG Electronics LG TV
>(DFP-1) contradicts itself:
>[  2838.276] (WW) NVIDIA(GPU-0):     mode "1920x1080" is specified in
>the EDID; however, the
>[  2838.276] (WW) NVIDIA(GPU-0):     EDID's valid VertRefresh range
>(58.000-62.000 Hz) would
>[  2838.276] (WW) NVIDIA(GPU-0):     exclude this mode's VertRefresh
>(25.0 Hz); ignoring
>[  2838.276] (WW) NVIDIA(GPU-0):     VertRefresh check for mode "1920x1080".
>[  2838.277] (WW) NVIDIA(GPU-0): The EDID for LG Electronics LG TV
>(DFP-1) contradicts itself:
>[  2838.277] (WW) NVIDIA(GPU-0):     mode "1920x1080" is specified in
>the EDID; however, the
>[  2838.277] (WW) NVIDIA(GPU-0):     EDID's valid VertRefresh range
>(58.000-62.000 Hz) would
>[  2838.277] (WW) NVIDIA(GPU-0):     exclude this mode's VertRefresh
>(30.0 Hz); ignoring
>[  2838.277] (WW) NVIDIA(GPU-0):     VertRefresh check for mode "1920x1080".
>[  2838.277] (WW) NVIDIA(GPU-0): The EDID for LG Electronics LG TV
>(DFP-1) contradicts itself:
>[  2838.277] (WW) NVIDIA(GPU-0):     mode "720x576" is specified in the
>EDID; however, the
>[  2838.277] (WW) NVIDIA(GPU-0):     EDID's valid HorizSync range
>(30.000-83.000 kHz) would
>[  2838.277] (WW) NVIDIA(GPU-0):     exclude this mode's HorizSync (15.6
>kHz); ignoring
>[  2838.277] (WW) NVIDIA(GPU-0):     HorizSync check for mode "720x576".
>[  2838.277] (WW) NVIDIA(GPU-0): The EDID for LG Electronics LG TV
>(DFP-1) contradicts itself:
>[  2838.277] (WW) NVIDIA(GPU-0):     mode "720x576" is specified in the
>EDID; however, the
>[  2838.277] (WW) NVIDIA(GPU-0):     EDID's valid VertRefresh range
>(58.000-62.000 Hz) would
>[  2838.277] (WW) NVIDIA(GPU-0):     exclude this mode's VertRefresh
>(50.0 Hz); ignoring
>[  2838.277] (WW) NVIDIA(GPU-0):     VertRefresh check for mode "720x576".
>[  2838.277] (WW) NVIDIA(GPU-0): The EDID for LG Electronics LG TV
>(DFP-1) contradicts itself:
>[  2838.277] (WW) NVIDIA(GPU-0):     mode "1152x864" is specified in the
>EDID; however, the
>[  2838.277] (WW) NVIDIA(GPU-0):     EDID's valid VertRefresh range
>(58.000-62.000 Hz) would
>[  2838.277] (WW) NVIDIA(GPU-0):     exclude this mode's VertRefresh
>(75.0 Hz); ignoring
>[  2838.277] (WW) NVIDIA(GPU-0):     VertRefresh check for mode "1152x864".
>[  2838.277] (==) NVIDIA(0):
>[  2838.277] (==) NVIDIA(0): No modes were requested; the default mode
>"nvidia-auto-select"
>[  2838.277] (==) NVIDIA(0):     will be used as the requested mode.
>[  2838.277] (==) NVIDIA(0):
>[  2838.277] (II) NVIDIA(0): Validated MetaModes:
>[  2838.277] (II) NVIDIA(0):     "DFP-1:nvidia-auto-select"
>[  2838.277] (II) NVIDIA(0): Virtual screen size determined to be 1920 x
>1080
>[  2838.304] (--) NVIDIA(0): DPI set to (304, 304); computed from
>"UseEdidDpi" X config
>[  2838.304] (--) NVIDIA(0):     option
>[  2838.304] (--) Depth 24 pixmap format is 32 bpp
>[  2838.304] (II) NVIDIA: Using 3072.00 MB of virtual memory for
>indirect memory
>[  2838.304] (II) NVIDIA:     access.
>[  2838.307] (II) NVIDIA(0): Setting mode "DFP-1:nvidia-auto-select"
>[  2838.362] (==) NVIDIA(0): Disabling shared memory pixmaps
>[  2838.362] (==) NVIDIA(0): Backing store disabled
>[  2838.362] (==) NVIDIA(0): Silken mouse enabled
>[  2838.362] (**) NVIDIA(0): DPMS enabled
>
>Thanks

I would have thought that it was more likely a particular channel or
program caused this sort of problem, rather than live TV versus
recorded TV.  It is usually caused by trying to overclock the TV,
which is usually caused by the TV giving the video card bad EDID data.
The fix is usually to manually configure the available X video modes -
a painful process.  Or to copy and manually edit the EDID data -
equally painful.  But it may be possible to override the settings in
mythfrontend for a particular frame size, if you can identify that as
the problem.

When playing video that works, take a look at what M(enu) > Playback
>Playback data shows for the video output, particularly the frame size
and frame rate.  You can also install mediainfo and use it to read out
the same data from the file.  Pressing I twice while a recording is
selected will tell you the file name to use with mediainfo.  While
playing the video or recording or live TV, Alt-Tab to a command prompt
on the desktop and run xrandr to see what video mode the video card is
set to output at the moment.  Here is what I get from an NTSC movie
file:

Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 8192 x 8192
DVI-I-0 disconnected (normal left inverted right x axis y axis)
VGA-0 disconnected (normal left inverted right x axis y axis)
DVI-I-1 connected primary 1920x1080+0+0 (normal left inverted right x
axis y axis) 1600mm x 900mm
   1920x1080     60.00 +  59.94*   50.00    23.97    60.05    60.00
50.04  
   1280x1024     60.02  
   1280x720      60.00    59.94    50.00  
   1024x768      60.00  
   800x600       60.32  
   720x576       50.00    50.08  
   720x480       59.94    60.05  
   640x480       59.94    59.93  
HDMI-0 disconnected (normal left inverted right x axis y axis)

You can see it is playing at just under 60 Hz, correct for
deinterlaced NTSC movies.

And this is from an HD recording from DVB-T:

Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 8192 x 8192
DVI-I-0 disconnected (normal left inverted right x axis y axis)
VGA-0 disconnected (normal left inverted right x axis y axis)
DVI-I-1 connected primary 1920x1080+0+0 (normal left inverted right x
axis y axis) 1600mm x 900mm
   1920x1080     60.00 +  59.94    50.00*   23.97    60.05    60.00
50.04  
   1280x1024     60.02  
   1280x720      60.00    59.94    50.00  
   1024x768      60.00  
   800x600       60.32  
   720x576       50.00    50.08  
   720x480       59.94    60.05  
   640x480       59.94    59.93  
HDMI-0 disconnected (normal left inverted right x axis y axis)

Our TV is 50 Hz, and the output frequency has been changed to that.

Do these checks on things that work, then try the live TV that does
not and see what video mode it is using.  You should be able to
identify a video mode that is causing the problem, and then we can see
if it is possible get mythfrontend to map that to a different video
mode, or whether you will need to set up manual X config.

Also, what Nvidia driver version are you using?  I think there can be
problems with the latest drivers where the mode commands that
mythfrontend sends do not match what the drivers do any more, as they
redefined how those commands work a bit to accommodate 4K and other
new things.  I have an older card (Nvidia 220) and have to use older
drivers with it (340.104), so I do not get those problems.


More information about the mythtv-users mailing list