[mythtv-users] new nvidia 352.30/41 drivers : frame-rate issues

mo.ucina mo.ucina at gmail.com
Sat Sep 19 08:41:12 UTC 2015


Hello Guys,

I have just been testing Nvidia 352.41 recent release drivers to see if 
they are any better than 352.30 , and to cut a long story short they are 
not , just the same . If some one is interested in the long version , it 
goes like this : I first tested the 352.21 drivers to verify frame rates 
selected by mythfrontend are ok :

checking drivers:
root at htpc /home/mythtv/Downloads # rpm -qa "nvidia*"
nvidia-graphics352.21-kmdl-3.10.0-229.14.1.el7-352.21-176.el7.x86_64
nvidia-graphics-helpers-0.0.30-33.el7.x86_64
nvidia-graphics352.21-libs-352.21-176.el7.x86_64
nvidia-graphics-devices-1.0-6.el7.noarch
nvidia-graphics352.21-352.21-176.el7.x86_64

now I started playing livetv and media files :

1) Livetv (since I am in a PAL country this should be at 50fps)
2) Playing a BluRay rip at 24 fps
3) Playing a dvd rip 50fps
4) Playing a dvd rip from overseas , I have set this for 59.94i to get 
best look
5) Back to Livetv
6) Another Bluray rip at 24 fps

As you see from the logs , a perfect match:

root at htpc /home/mythtv # tail -f /var/log/Xorg.0.log | grep -i setting
[   103.075] (II) NVIDIA(0): Setting mode "DFP-1:1920x1080 at 50"
[   150.382] (II) NVIDIA(0): Setting mode "DFP-1:1920x1080 at 23.976"
[   176.473] (II) NVIDIA(0): Setting mode "DFP-1:1920x1080 at 50"
[   203.262] (II) NVIDIA(0): Setting mode "DFP-1:1920x1080 at 59.94i"
[   222.775] (II) NVIDIA(0): Setting mode "DFP-1:1920x1080 at 50"
[   258.857] (II) NVIDIA(0): Setting mode "DFP-1:1920x1080 at 23.976"
^C

Now we put in the 352.41 drivers :

root at htpc /home/mythtv/Downloads # rpm -qa "nvidia*"
nvidia-graphics352.41-kmdl-3.10.0-229.14.1.el7-352.41-178.el7.x86_64
nvidia-graphics352.41-libs-352.41-178.el7.x86_64
nvidia-graphics-helpers-0.0.30-33.el7.x86_64
nvidia-graphics-devices-1.0-6.el7.noarch
nvidia-graphics352.41-352.41-178.el7.x86_64
root at htpc /home/mythtv/Downloads # reboot

However after following the exact same sequence as above I get this in 
the log:

root at htpc /home/mythtv # tail -f /var/log/Xorg.0.log | grep -i setting
[   131.348] (II) NVIDIA(0): Setting mode "DFP-1:1920x1080 at 60"
[   193.882] (II) NVIDIA(0): Setting mode "HDMI-0:1920x1080_50i_0"
[   243.407] (II) NVIDIA(0): Setting mode "DFP-1:1920x1080 at 60"
[   297.005] (II) NVIDIA(0): Setting mode "DFP-1:1920x1080 at 59.94i"
[   321.998] (II) NVIDIA(0): Setting mode "DFP-1:1920x1080 at 50"
[   394.858] (II) NVIDIA(0): Setting mode "HDMI-0:1920x1080_50i_0"
^C

As you see the frame rates are all over the place . I was just about to 
post to the Nvidia Unix forum and tell them that their drivers are crap 
, when I noticed a strange thing . And that is in the sequence above 
whenever I played the 'DVD rip from overseas' I got the right framerate 
of 59.94i . In this case I am not using mythfrontend to auto-detect the 
correct frame rate , but I have a small script to force this setting 
using xrandr . So doing it via xrandr works , this is my script :

root at htpc /home/mythtv # cat /usr/local/bin/mplayer-launchb5
#!/bin/bash

# Start script for mPlayer

xrandr --rate 58

mplayer -fs -zoom -vo vdpau -vc ffh264vdpau,ffmpeg12vdpau,ffvc1vdpau -ao 
alsa:device=default -afm hwac3 -delay 0.0 /storage/Videos/Season_$1

sleep 1

xrandr --rate 52


My xrandr settings line up with my xorg.conf as per below :

xorg.conf :

     SubSection     "Display"
         Depth       24
         Modes      "1920x1080 at 60" "1920x1080 at 602" "1920x1080 at 50" 
"1920x1080 at 24" "1920x1080 at 23.976" "1920x1080 at 50i" "1920x1080 at 60i" 
"1920x1080 at 59.94" "1920x1080 at 59.94i"
     EndSubSection


The first 'Mode' in the list equates to xrandr rate 50 , next one 51 , 
and so on to the last one 59.94i being xrandr rate 58 .

Now the question is how is mythfrontend doing this rate selection ? And 
is there perhaps a small bug here which does not play well with new 
drivers ?


Best Regards
Milorad






More information about the mythtv-users mailing list