[mythtv-users] Incorrect Refresh with Nvidia 361.28 - Long

Mark Goldberg marklgoldberg at gmail.com
Wed Dec 21 19:26:49 UTC 2016


I am posting again on this after a long time, as I have some time to look
at this again, and I want to switch to a GTX 1050 video card, which
requires the latest drivers.

I think the problem is that every version of Nvidia driver higher than
352.21 does not seem to provide info via Dynamic Twinview whan only one
screen is connected.

I tried the following with no effect:

GLVND and Non GLVND ( --no-glvnd-egl-client --no-glvnd-glx-client on Nvidia
install command line )

Trying to enable dynamic twinview even with only one screen connected
(Option "nvidiaXineramaInfo" "TRUE" in the Device section of xorg.conf ).
The default with one screen is to disable dynamic twinview. I am not sure
how to tell if it actually was enabled.

The difference I see in the mythtv log is it gets the rate from Dynamic
Twinview when it works and does not when it fails.

A workaround is to choose "Separate video modes for gui and tv playback"
and choose a refresh of  51 on the Mythtv setup screen, which is 60p.

If I don't select "Separate video modes for gui and tv playback" or do and
choose Auto refresh, it uses 50i or whatever is set before running mythtv,
which does not seem to always be the same. Also, there is tearing.

Any new ideas on this? Is it correct that if dynamic twinview is not
available, Mythv cannot determine the correct mode to get a specific
refresh rate? I also think some of the available info on this is outdated.


Thanks,

Mark




On Sat, Feb 20, 2016 at 11:42 AM, Mark Goldberg <marklgoldberg at gmail.com>
wrote:

> I am getting incorrect refresh rates with Nvidia driver 361.28 on Fedora
> 22. I am posting this fairly long message with stuff from the logs in the
> hope that someone can suggest either further troubleshooting or a solution.
>
> This is with mythfrontend version: fixes/0.27 [v0.27.5-28-g3682a9a]
> www.mythtv.org
>
> With Nvidia 352.21 xrandr gives:
>
> Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 16384 x 16384
> DVI-I-0 disconnected (normal left inverted right x axis y axis)
> DVI-I-1 disconnected (normal left inverted right x axis y axis)
> HDMI-0 connected primary 1920x1080+0+0 (normal left inverted right x axis
> y axis) 1020mm x 570mm
>    1920x1080     60.00 +  59.94*   50.00    29.97    25.00    23.97
>  60.05    60.00    50.04
>    1680x1050     59.95
>    1600x900      60.00
>    1440x900      59.89
>    1366x768      59.79
>    1280x1024     75.02    60.02
>    1280x800      59.81
>    1280x720      60.00    59.94    50.00
>    1152x864      75.00
>    1024x768      75.03    70.07    60.00
>    800x600       75.00    72.19    60.32
>    720x576       50.00    50.08
>    720x480       59.94    60.05
>    640x480       75.00    72.81    59.94
> DP-0 disconnected (normal left inverted right x axis y axis)
> DP-1 disconnected (normal left inverted right x axis y axis)
>
>
> Some Myth log snippets:
>
> 25p source
>
> 2016-02-20 10:19:21.953088 I [2205/2205] CoreContext DisplayRes.cpp:148
> (SwitchToVideo) - Trying to match best refresh rate 25.000Hz
> 2016-02-20 10:19:21.953660 I [2205/2205] CoreContext DisplayRes.cpp:162
> (SwitchToVideo) - Changing to 1920x1080 50.000 Hz
> 2016-02-20 10:19:21.977983 I [2205/2205] CoreContext DisplayResX.cpp:76
> (SwitchToVideoMode) - Dynamic TwinView rate found, set 50Hz as XRandR 52
> 2016-02-20 10:19:22.366896 I [2205/2205] CoreContext DisplayRes.cpp:183
> (SwitchToVideo) - SwitchToVideo: Video size 1920 x 1080:
>
> actual refresh 50p (reported by TV)
>
>
> 59.94i source
>
> 2016-02-20 10:19:55.716139 I [2205/2205] CoreContext DisplayRes.cpp:148
> (SwitchToVideo) - Trying to match best refresh rate 29.970Hz
> 2016-02-20 10:19:55.716154 I [2205/2205] CoreContext DisplayRes.cpp:162
> (SwitchToVideo) - Changing to 1920x1080 59.939 Hz
> 2016-02-20 10:19:55.733497 I [2205/2205] CoreContext DisplayResX.cpp:76
> (SwitchToVideoMode) - Dynamic TwinView rate found, set 59.9394Hz as XRandR
> 51
> 2016-02-20 10:19:55.883113 I [2205/2205] CoreContext DisplayRes.cpp:183
> (SwitchToVideo) - SwitchToVideo: Video size 1920 x 1080:
>
> actual refresh 60p (TV does not distinguish between 59.94p and 60p)
>
>
> Gui menu
>
> 2016-02-20 10:20:04.983791 I [2205/2205] CoreContext DisplayRes.cpp:208
> (SwitchToGUI) - Using 1920x1080 59.939 Hz
> 2016-02-20 10:20:04.983805 I [2205/2205] CoreContext DisplayRes.cpp:225
> (SwitchToGUI) - SwitchToGUI: Switched to 1920x1080 59.939 Hz
>
> actual refresh 60p
>
>
> 720x480 5994i source
>
> 2016-02-20 10:31:42.386923 I [2205/2205] CoreContext DisplayRes.cpp:140
> (SwitchToVideo) - Found custom screen override 720x480
> 2016-02-20 10:31:42.386936 I [2205/2205] CoreContext DisplayRes.cpp:162
> (SwitchToVideo) - Changing to 720x480 59.940 Hz
> 2016-02-20 10:31:42.404585 I [2205/2205] CoreContext DisplayResX.cpp:76
> (SwitchToVideoMode) - Dynamic TwinView rate found, set 59.9401Hz as XRandR
> 78
> 2016-02-20 10:31:42.755606 I [2205/2205] CoreContext DisplayRes.cpp:183
> (SwitchToVideo) - SwitchToVideo: Video size 720 x 480:
>
> actual refresh 60p
>
>
> 24p source
>
> 2016-02-20 10:35:32.402988 I [2205/2205] CoreContext DisplayRes.cpp:148
> (SwitchToVideo) - Trying to match best refresh rate 23.976Hz
> 2016-02-20 10:35:32.403003 I [2205/2205] CoreContext DisplayRes.cpp:162
> (SwitchToVideo) - Changing to 1920x1080 23.971 Hz
> 2016-02-20 10:35:32.419801 I [2205/2205] CoreContext DisplayResX.cpp:76
> (SwitchToVideoMode) - Dynamic TwinView rate found, set 23.9709Hz as XRandR
> 55
> 2016-02-20 10:35:32.605956 I [2205/2205] CoreContext DisplayRes.cpp:183
> (SwitchToVideo) - SwitchToVideo: Video size 1920 x 818:
> 2016-02-20 10:36:42.626204 I [2205/2205] CoreContext DisplayRes.cpp:208
> (SwitchToGUI) - Using 1920x1080 23.971 Hz
> 2016-02-20 10:36:42.626220 I [2205/2205] CoreContext DisplayRes.cpp:225
> (SwitchToGUI) - SwitchToGUI: Switched to 1920x1080 23.971 Hz
>
> actual refresh 24p
>
>
> All seem correct.
>
>
>
> With nvidia  361.28
>
> xrandr gives
>
> Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 16384 x 16384
> DVI-I-0 disconnected (normal left inverted right x axis y axis)
> DVI-I-1 disconnected (normal left inverted right x axis y axis)
> HDMI-0 connected primary 1920x1080+0+0 (normal left inverted right x axis
> y axis) 1020mm x 570mm
>    1920x1080     60.00 +  59.94    50.00    29.97    25.00    23.97
> 60.05    60.00    50.04*
>    1680x1050     59.95
>    1600x900      60.00
>    1440x900      59.89
>    1366x768      59.79
>    1280x1024     75.02    60.02
>    1280x800      59.81
>    1280x720      60.00    59.94    50.00
>    1152x864      75.00
>    1024x768      75.03    70.07    60.00
>    800x600       75.00    72.19    60.32
>    720x576       50.00    50.08
>    720x480       59.94    60.05
>    640x480       75.00    72.81    59.94
> DP-0 disconnected (normal left inverted right x axis y axis)
> DP-1 disconnected (normal left inverted right x axis y axis)
>
> It is the same except that the default refresh has changed, seems to be 50i
>
>
> Myth Log Snippets:
>
> 59.94i source
>
> 2016-02-20 10:49:59.785712 I [2201/2201] CoreContext DisplayRes.cpp:208
> (SwitchToGUI) - Using 1920x1080 58.000 Hz
> 2016-02-20 10:49:59.785727 I [2201/2201] CoreContext DisplayRes.cpp:225
> (SwitchToGUI) - SwitchToGUI: Switched to 1920x1080 58.000 Hz
> 2016-02-20 10:57:56.213201 I [2201/2201] CoreContext DisplayRes.cpp:148
> (SwitchToVideo) - Trying to match best refresh rate 29.970Hz
> 2016-02-20 10:57:56.213242 I [2201/2201] CoreContext DisplayRes.cpp:162
> (SwitchToVideo) - Using 1920x1080 58.000 Hz
> 2016-02-20 10:57:56.213283 I [2201/2201] CoreContext DisplayRes.cpp:183
> (SwitchToVideo) - SwitchToVideo: Video size 1920 x 1080:
> 2016-02-20 10:58:15.241363 I [2201/2201] CoreContext DisplayRes.cpp:208
> (SwitchToGUI) - Using 1920x1080 58.000 Hz
> 2016-02-20 10:58:15.241381 I [2201/2201] CoreContext DisplayRes.cpp:225
> (SwitchToGUI) - SwitchToGUI: Switched to 1920x1080 58.000 Hz
>
> actual refresh 50i
>
>
> 1080p25 source
>
> 2016-02-20 10:58:15.241363 I [2201/2201] CoreContext DisplayRes.cpp:208
> (SwitchToGUI) - Using 1920x1080 58.000 Hz
> 2016-02-20 10:58:15.241381 I [2201/2201] CoreContext DisplayRes.cpp:225
> (SwitchToGUI) - SwitchToGUI: Switched to 1920x1080 58.000 Hz
> 2016-02-20 10:59:45.897840 I [2201/2201] CoreContext DisplayRes.cpp:148
> (SwitchToVideo) - Trying to match best refresh rate 25.000Hz
> 2016-02-20 10:59:45.897850 I [2201/2201] CoreContext DisplayRes.cpp:162
> (SwitchToVideo) - Changing to 1920x1080 50.000 Hz
> 2016-02-20 10:59:46.082748 I [2201/2201] CoreContext DisplayRes.cpp:183
> (SwitchToVideo) - SwitchToVideo: Video size 1920 x 1080:
> 2016-02-20 11:00:01.237626 I [2201/2201] CoreContext DisplayRes.cpp:208
> (SwitchToGUI) - Using 1920x1080 50.000 Hz
> 2016-02-20 11:00:01.237644 I [2201/2201] CoreContext DisplayRes.cpp:225
> (SwitchToGUI) - SwitchToGUI: Switched to 1920x1080 50.000 Hz
>
> actual refresh 60p (tv does not distinguish between 59.97 and 60)
>
>
> 1080p30 source
>
> 2016-02-20 11:00:01.237626 I [2201/2201] CoreContext DisplayRes.cpp:208
> (SwitchToGUI) - Using 1920x1080 50.000 Hz
> 2016-02-20 11:00:01.237644 I [2201/2201] CoreContext DisplayRes.cpp:225
> (SwitchToGUI) - SwitchToGUI: Switched to 1920x1080 50.000 Hz
> 2016-02-20 11:01:44.626001 I [2201/2201] CoreContext DisplayRes.cpp:148
> (SwitchToVideo) - Trying to match best refresh rate 29.970Hz
> 2016-02-20 11:01:44.626020 I [2201/2201] CoreContext DisplayRes.cpp:162
> (SwitchToVideo) - Changing to 1920x1080 58.000 Hz
> 2016-02-20 11:01:44.804987 I [2201/2201] CoreContext DisplayRes.cpp:183
> (SwitchToVideo) - SwitchToVideo: Video size 1920 x 1080:
> 2016-02-20 11:01:57.527529 I [2201/2201] CoreContext DisplayRes.cpp:208
> (SwitchToGUI) - Using 1920x1080 58.000 Hz
> 2016-02-20 11:01:57.527543 I [2201/2201] CoreContext DisplayRes.cpp:225
> (SwitchToGUI) - SwitchToGUI: Switched to 1920x1080 58.000 Hz
>
> actual refresh 50i
>
>
> 24p source
>
> 2016-02-20 11:00:01.237626 I [2201/2201] CoreContext DisplayRes.cpp:208
> (SwitchToGUI) - Using 1920x1080 50.000 Hz
> 2016-02-20 11:00:01.237644 I [2201/2201] CoreContext DisplayRes.cpp:225
> (SwitchToGUI) - SwitchToGUI: Switched to 1920x1080 50.000 Hz
> 2016-02-20 11:01:44.626001 I [2201/2201] CoreContext DisplayRes.cpp:148
> (SwitchToVideo) - Trying to match best refresh rate 29.970Hz
> 2016-02-20 11:01:44.626020 I [2201/2201] CoreContext DisplayRes.cpp:162
> (SwitchToVideo) - Changing to 1920x1080 58.000 Hz
> 2016-02-20 11:01:44.804987 I [2201/2201] CoreContext DisplayRes.cpp:183
> (SwitchToVideo) - SwitchToVideo: Video size 1920 x 1080:
> 2016-02-20 11:01:57.527529 I [2201/2201] CoreContext DisplayRes.cpp:208
> (SwitchToGUI) - Using 1920x1080 58.000 Hz
> 2016-02-20 11:01:57.527543 I [2201/2201] CoreContext DisplayRes.cpp:225
> (SwitchToGUI) - SwitchToGUI: Switched to 1920x1080 58.000 Hz
>
> actual refresh 50i
>
> All are incorrect.
>
> Any suggestions are welcome.
>
> Mark
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20161221/693eb16f/attachment.html>


More information about the mythtv-users mailing list