Kodi Community Forum
Linux HOW-TO achieve perfect playback at 23.97 or 59.94 Hz with NVIDIA GPU hardware - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Tips, tricks, and step by step guides (https://forum.kodi.tv/forumdisplay.php?fid=110)
+--- Thread: Linux HOW-TO achieve perfect playback at 23.97 or 59.94 Hz with NVIDIA GPU hardware (/showthread.php?tid=70068)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36


- scope - 2010-09-07

Does this work with the latest 254 driver? My machine refuses to start Xorg when I make the changes. Put the xorg.conf file back and it comes up just fine.


- MdMa - 2010-09-08

X3lectric Wrote:Almost, dont forget Linux is case sensitive, I would prolly run b4 sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.bak and then sudo nano /etc/X11/xorg.conf, this way you have a copy.

see the bold red X

Okay so I did as instructed and still my 23.976 fps material run as 24Hz?!?

If it makes any difference my TV doesn't support 24Hz and 3:2 pulldown, but my AVR seems to...

My 25fps material is still fine @ 50Hz, and there was no mention of "DefaultDepth 24" under section screen.

Here is my xorg.conf...

Code:
Section "Device"
        Identifier "nvidia"
        Driver  "nvidia"
        Option  "NoLogo"              "true"
        Option  "DynamicTwinView"     "false"
        Option  "FlatPanelProperties" "Scaling = Native"
        Option  "ModeValidation"      "NoVesaModes, NoXServerModes, NoVertRefreshCheck, NoHorizSyncCheck"
        Option  "UseDisplayDevice"    "DFP-1"
        Option  "ModeDebug"           "true"
        Option  "HWCursor"            "false"
EndSection

Section "Screen"
        Identifier      "screen"
        Device          "nvidia"
        SubSection      "Display"
                Modes "1920x1080_60"
        EndSubSection
EndSection

Section "Extensions"
        Option  "Composite"           "false"
EndSection


#  --- Modes in ModePool for HCG AVR254/5/354 (DFP-0) ---
#  "nvidia-auto-select" : 1920 x 1080 @  49.9 Hz
#  "1920x1080"          : 1920 x 1080 @  49.9 Hz
#  "1920x1080_50"       : 1920 x 1080 @  49.9 Hz
#  "1920x1080_60"       : 1920 x 1080 @ 59.94/60 Hz (CEA-861B Format 16)
#  "1920x1080_50_0"     : 1920 x 1080 @ 50 Hz (CEA-861B Format 31)
#  "1920x1080_24"       : 1920 x 1080 @ 23.97/24 Hz (CEA-861B Format 32)
#  "1920x1080_60i"      : 1920 x 1080 @ 59.94/60 Hz (CEA-861B Format 5)
#  "1920x1080_50i"      : 1920 x 1080 @ 50 Hz Interlace (CEA-861B Format 20)
#  "1280x720"           : 1280 x  720 @ 59.94/60 Hz (CEA-861B Format 4)
#  "1280x720_60"        : 1280 x  720 @ 59.94/60 Hz (CEA-861B Format 4)
#  "1280x720_50"        : 1280 x  720 @ 50 Hz (CEA-861B Format 19)
#  "720x576"            :  720 x  576 @ 50 Hz (CEA-861B Format 17)
#  "720x576_50"         :  720 x  576 @ 50 Hz (CEA-861B Format 17)
#  "720x576_50i"        : (1440)x 576 @ 50 Hz Interlace (CEA-861B Format 21)
#  "720x480"            :  720 x  480 @ 59.94/60 Hz (CEA-861B Format 2)
#  "720x480_60"         :  720 x  480 @ 59.94/60 Hz (CEA-861B Format 2)
#  "720x480_60i"        : (1440)x 480 @ 59.94/60 Hz Interlace (CEA-861B Format 6)
#  "640x480"            :  640 x  480 @ 59.94/60 Hz Interlace (CEA-861B Format 1)
#  "640x480_60"         :  640 x  480 @ 59.94/60 Hz Interlace (CEA-861B Format 1)
#  --- End of ModePool for HCG AVR254/5/354 (DFP-0): ---



- User 34959 - 2010-09-08

plug the hdmi cable directly to tv, run the script, plug it back to receiver and see what happens? or dump the edid info into a file while connected to your tv and load it in xorg.conf.


- MdMa - 2010-09-08

Isn't there a way just to force 23.976 fps to 1920 x 1080 @ 59.94/60 Hz?


- X3lectric - 2010-09-08

NO, some tv's just dont support 23.976hz hence why they move up to 24hz same with 59.94hz/60hz in fact theres less then a fraction of a frame 0.6th of a frame or 0.24th of a frame difference so really. I think you guys are being way too pedantic.

@MdMa you asked how to remove all 24hz that also means 23.976 you cant just pick and choose.

below is your xorg I added 50hz if you want the 24hz back restore your backup, it seems to me you have no clew what you want, since you asked me how to remove all 24hz and dont know that its 23.976hz up to 24hz just cause your tv uses 24hz it doesn't mean its wrong. your tv only supports this (while you were convinced it didnt support 24hz.)

# "1920x1080_24" : 1920 x 1080 @ 23.97/24 Hz (CEA-861B Format 32)

mine supports

# "1920x1080_30" : 1920 x 1080 @ 29.97/30 Hz (CEA-861B Format 34)
# "1920x1080_25" : 1920 x 1080 @ 25 Hz (CEA-861B Format 33)
# "1920x1080_24" : 1920 x 1080 @ 23.97/24 Hz (CEA-861B Format 32)

Code:
Section "Device"
        Identifier "nvidia"
        Driver  "nvidia"
        Option  "NoLogo"              "true"
        Option  "DynamicTwinView"     "false"
        Option  "FlatPanelProperties" "Scaling = Native"
        Option  "ModeValidation"      "NoVesaModes, NoXServerModes, NoVertRefreshCheck, NoHorizSyncCheck"
        Option  "UseDisplayDevice"    "DFP-1"
        Option  "ModeDebug"           "true"
        Option  "HWCursor"            "false"
EndSection

Section "Screen"
        Identifier      "screen"
        Device          "nvidia"
        SubSection      "Display"
                Modes "1920x1080_60" "1920x1080_50" #"1920x1080_24"
        EndSubSection
EndSection

Section "Extensions"
        Option  "Composite"           "false"
EndSection


#  --- Modes in ModePool for HCG AVR254/5/354 (DFP-0) ---
#  "nvidia-auto-select" : 1920 x 1080 @  49.9 Hz
#  "1920x1080"          : 1920 x 1080 @  49.9 Hz
#  "1920x1080_50"       : 1920 x 1080 @  49.9 Hz
#  "1920x1080_60"       : 1920 x 1080 @ 59.94/60 Hz (CEA-861B Format 16)
#  "1920x1080_50_0"     : 1920 x 1080 @ 50 Hz (CEA-861B Format 31)
#  "1920x1080_24"       : 1920 x 1080 @ 23.97/24 Hz (CEA-861B Format 32)
#  "1920x1080_60i"      : 1920 x 1080 @ 59.94/60 Hz (CEA-861B Format 5)
#  "1920x1080_50i"      : 1920 x 1080 @ 50 Hz Interlace (CEA-861B Format 20)
#  "1280x720"           : 1280 x  720 @ 59.94/60 Hz (CEA-861B Format 4)
#  "1280x720_60"        : 1280 x  720 @ 59.94/60 Hz (CEA-861B Format 4)
#  "1280x720_50"        : 1280 x  720 @ 50 Hz (CEA-861B Format 19)
#  "720x576"            :  720 x  576 @ 50 Hz (CEA-861B Format 17)
#  "720x576_50"         :  720 x  576 @ 50 Hz (CEA-861B Format 17)
#  "720x576_50i"        : (1440)x 576 @ 50 Hz Interlace (CEA-861B Format 21)
#  "720x480"            :  720 x  480 @ 59.94/60 Hz (CEA-861B Format 2)
#  "720x480_60"         :  720 x  480 @ 59.94/60 Hz (CEA-861B Format 2)
#  "720x480_60i"        : (1440)x 480 @ 59.94/60 Hz Interlace (CEA-861B Format 6)
#  "640x480"            :  640 x  480 @ 59.94/60 Hz Interlace (CEA-861B Format 1)
#  "640x480_60"         :  640 x  480 @ 59.94/60 Hz Interlace (CEA-861B Format 1)
#  --- End of ModePool for HCG AVR254/5/354 (DFP-0): ---
this is mine and works just fine

Code:
Section "Device"
    Identifier   "nvidia"
    Driver       "nvidia"
    Option       "NoLogo"              "true"
    VendorName   "NVIDIA"
    BoardName    "ION"
    Option       "ConnectedMonitor"    "DFP-0"
    Option       "DynamicTwinView"     "false"
    Option       "FlatPanelProperties" "Scaling = Native"
    Option       "ModeValidation"      "NoVesaModes, NoXServerModes, NoVertRefreshCheck, NoHorizSyncCheck"
    Option       "ModeDebug"           "true"
    Option       "HWCursor"            "false"
EndSection

Section "Screen"
    Identifier   "Screen0"
    Device       "Device0"
    Monitor      "Monitor0"
    DefaultDepth 24
    SubSection   "Display"
          Modes "1920x1080_60_0" "1920x1080_50" "1920x1080_24"
    EndSubSection
EndSection

Section "Extensions"
    Option       "Composite"           "false"
EndSection

Section "Monitor"
   Identifier    "Monitor0"
   VendorName    "SAM"
   ModelName     "SAMSUNG "
   Option        "DPMS"
EndSection

#  --- Modes in ModePool for SAMSUNG (DFP-0) ---
#  "nvidia-auto-select" : 1920 x 1080 @  60.0 Hz  
#  "1920x1080"          : 1920 x 1080 @  60.0 Hz  
#  "1920x1080_60"       : 1920 x 1080 @  60.0 Hz  
#  "1920x1080_60_0"     : 1920 x 1080 @ 59.94/60 Hz (CEA-861B Format 16)
#  "1920x1080_50"       : 1920 x 1080 @ 50 Hz (CEA-861B Format 31)
#  "1920x1080_30"       : 1920 x 1080 @ 29.97/30 Hz (CEA-861B Format 34)
#  "1920x1080_25"       : 1920 x 1080 @ 25 Hz (CEA-861B Format 33)
#  "1920x1080_24"       : 1920 x 1080 @ 23.97/24 Hz (CEA-861B Format 32)
#  "1920x1080_60i"      : 1920 x 1080 @ 59.94/60 Hz (CEA-861B Format 5)
#  "1920x1080_50i"      : 1920 x 1080 @  50.0 Hz Interlace  
#  "1600x1200"          : 1600 x 1200 @  60.0 Hz  
#  "1600x1200_60"       : 1600 x 1200 @  60.0 Hz  
#  "1360x768"           : 1360 x  768 @  60.0 Hz  
#  "1360x768_60"        : 1360 x  768 @  60.0 Hz  
#  "1280x1024"          : 1280 x 1024 @  60.0 Hz  
#  "1280x1024_60"       : 1280 x 1024 @  60.0 Hz  
#  "1280x720"           : 1280 x  720 @  60.0 Hz  
#  "1280x720_60"        : 1280 x  720 @  60.0 Hz  
#  "1280x720_60_0"      : 1280 x  720 @ 59.94/60 Hz (CEA-861B Format 4)
#  "1280x720_50"        : 1280 x  720 @  50.0 Hz  
#  "1024x768"           : 1024 x  768 @  60.0 Hz  
#  "1024x768_60"        : 1024 x  768 @  60.0 Hz  
#  "800x600"            :  800 x  600 @  60.3 Hz  
#  "800x600_60"         :  800 x  600 @  60.3 Hz  
#  "720x576"            :  720 x  576 @ 50 Hz (CEA-861B Format 18)
#  "720x576_50"         :  720 x  576 @ 50 Hz (CEA-861B Format 18)
#  "720x480"            :  720 x  480 @ 59.94/60 Hz (CEA-861B Format 3)
#  "720x480_60"         :  720 x  480 @ 59.94/60 Hz (CEA-861B Format 3)
#  "640x480"            :  640 x  480 @  60.0 Hz  
#  "640x480_60"         :  640 x  480 @  60.0 Hz  
#  --- End of ModePool for SAMSUNG (DFP-0): ---



- MdMa - 2010-09-09

X3lectric Wrote:@MdMa you asked how to remove all 24hz that also means 23.976 you cant just pick and choose.

below is your xorg I added 50hz if you want the 24hz back restore your backup, it seems to me you have no clew what you want, since you asked me how to remove all 24hz and dont know that its 23.976hz up to 24hz just cause your tv uses 24hz it doesn't mean its wrong. your tv only supports this (while you were convinced it didnt support 24hz.)

I thought I was pretty clear in what I wanted when I said:

Quote:Basically how can I force the resolutions below?

1280 x 720p 23.976 fps to 1920 x 1080p @ 59.94hz
1280 x 720p 25.000 fps to 1920 x 1080p @ 50hz
1920 x 1080p 23.976 fps to 1920 x 1080p @ 59.94hz

As I mentioned, my AVR (where the Modes in ModePool info comes from) can do everything, it is my TV that cannot do 24Hz.

So again I ask, is there any way to force the resolutions above?


- X3lectric - 2010-09-09

This is your AVR modepool and all resolutions its supports are there, the ones you mention you want to force are mostly not supported.

Code:
#  --- Modes in ModePool for HCG AVR254/5/354 (DFP-0) ---
#  "nvidia-auto-select" : 1920 x 1080 @  49.9 Hz
#  "1920x1080"          : 1920 x 1080 @  49.9 Hz
#  "1920x1080_50"       : 1920 x 1080 @  49.9 Hz
#  "1920x1080_60"       : 1920 x 1080 @ 59.94/60 Hz (CEA-861B Format 16)
#  "1920x1080_50_0"     : 1920 x 1080 @ 50 Hz (CEA-861B Format 31)
#  "1920x1080_24"       : 1920 x 1080 @ 23.97/24 Hz (CEA-861B Format 32)
#  "1920x1080_60i"      : 1920 x 1080 @ 59.94/60 Hz (CEA-861B Format 5)
#  "1920x1080_50i"      : 1920 x 1080 @ 50 Hz Interlace (CEA-861B Format 20)
#  "1280x720"           : 1280 x  720 @ 59.94/60 Hz (CEA-861B Format 4)
#  "1280x720_60"        : 1280 x  720 @ 59.94/60 Hz (CEA-861B Format 4)
#  "1280x720_50"        : 1280 x  720 @ 50 Hz (CEA-861B Format 19)
#  "720x576"            :  720 x  576 @ 50 Hz (CEA-861B Format 17)
#  "720x576_50"         :  720 x  576 @ 50 Hz (CEA-861B Format 17)
#  "720x576_50i"        : (1440)x 576 @ 50 Hz Interlace (CEA-861B Format 21)
#  "720x480"            :  720 x  480 @ 59.94/60 Hz (CEA-861B Format 2)
#  "720x480_60"         :  720 x  480 @ 59.94/60 Hz (CEA-861B Format 2)
#  "720x480_60i"        : (1440)x 480 @ 59.94/60 Hz Interlace (CEA-861B Format 6)
#  "640x480"            :  640 x  480 @ 59.94/60 Hz Interlace (CEA-861B Format 1)
#  "640x480_60"         :  640 x  480 @ 59.94/60 Hz Interlace (CEA-861B Format 1)
#  --- End of ModePool for HCG AVR254/5/354 (DFP-0): ---
One thing I noticed is hat the xorg is using display DFP-1 while your avr is DFP-0#
Code:
Option  "UseDisplayDevice"    "DFP-1"
you cant force resolutions that are not supported, but I suggest you change the DFP-1 to DFP-0, actually this is only a guess but I suggest you try to grab the modelines off your tv, I think your playback gets borked cause your xbmc box outputs to your avr then from avr to your tv, this may explain why your playback @ 24hz gets borked.

FYI modes like 23.976/24hz are dynamic in between both values.


- MdMa - 2010-09-09

X3lectric Wrote:This is your AVR modepool and all resolutions its supports are there, the ones you mention you want to force are mostly not supported.

Heh, there seems to be a communication error here.

I want 23.976 material to play at 1920x1080 59.94/60 Hz, and I want 25 fps material to play at 1920x1080 50Hz (which it does already).

Clearly, the AVR does support both resolutions, unless there is something wrong with CEA-861B etc..?

Code:
#  "1920x1080_60"       : 1920 x 1080 @ 59.94/60 Hz (CEA-861B Format 16)
#  "1920x1080_50_0"     : 1920 x 1080 @ 50 Hz (CEA-861B Format 31)

What I will do is directly connect the HTPC to the TV, bypassing the AVR.
But then what do I need to do to get the EDID information to be able to put that into the xorg.conf?


- MdMa - 2010-09-10

toiva Wrote:plug the hdmi cable directly to tv, run the script, plug it back to receiver and see what happens? or dump the edid info into a file while connected to your tv and load it in xorg.conf.

I have just tried this....

Instead of playing my 23.97 material @ 24Hz, it is now playing @ 50Hz.
Once plugged back into the AVR though 23.97 material plays @ 24Hz again (where I want it to be 59.94/60)

Also Option "UseDisplayDevice" "DFP-0" was still DFP-1, but I changed it to DFP-0 if that makes any difference.

Here is my current xorg.conf

Code:
Section "Device"
        Identifier "nvidia"
        Driver  "nvidia"
        Option  "NoLogo"              "true"
        Option  "DynamicTwinView"     "false"
        Option  "FlatPanelProperties" "Scaling = Native"
        Option  "ModeValidation"      "NoVesaModes, NoXServerModes, NoVertRefreshCheck, NoHorizSyncCheck"
        Option  "UseDisplayDevice"    "DFP-0"
        Option  "ModeDebug"           "true"
        Option  "HWCursor"            "false"
EndSection

Section "Screen"
        Identifier      "screen"
        Device          "nvidia"
        SubSection      "Display"
                Modes "1920x1080_60"
        EndSubSection
EndSection

Section "Extensions"
        Option  "Composite"           "false"
EndSection


#  --- Modes in ModePool for SONY TV (DFP-0) ---
#  "nvidia-auto-select" : 1920 x 1080 @  50.0 Hz
#  "1920x1080"          : 1920 x 1080 @  50.0 Hz
#  "1920x1080_50"       : 1920 x 1080 @  50.0 Hz
#  "1920x1080_60"       : 1920 x 1080 @ 59.94/60 Hz (CEA-861B Format 16)
#  "1920x1080_60i"      : 1920 x 1080 @  60.1 Hz Interlace
#  "1920x1080_60i_0"    : 1920 x 1080 @ 59.94/60 Hz (CEA-861B Format 5)
#  "1920x1080_50i"      : 1920 x 1080 @ 50 Hz Interlace (CEA-861B Format 20)
#  "1280x720"           : 1280 x  720 @  60.0 Hz
#  "1280x720_60"        : 1280 x  720 @  60.0 Hz
#  "1280x720_60_0"      : 1280 x  720 @ 59.94/60 Hz (CEA-861B Format 4)
#  "1280x720_50"        : 1280 x  720 @  50.0 Hz
#  "720x576"            :  720 x  576 @  50.0 Hz
#  "720x576_50"         :  720 x  576 @  50.0 Hz
#  "720x576_50i"        : (1440)x 576 @ 50 Hz Interlace (CEA-861B Format 22)
#  "720x480"            :  720 x  480 @  59.9 Hz
#  "720x480_60"         :  720 x  480 @  59.9 Hz
#  "720x480_60i"        : (1440)x 480 @ 59.94/60 Hz Interlace (CEA-861B Format 7)
#  "640x480"            :  640 x  480 @ 59.94/60 Hz Interlace (CEA-861B Format 1)
#  "640x480_60"         :  640 x  480 @ 59.94/60 Hz Interlace (CEA-861B Format 1)
#  --- End of ModePool for SONY TV (DFP-0): ---



- User 34959 - 2010-09-11

Code:
nvidia-xconfig --extract-edids-from-file=/var/log/Xorg.0.log --extract-edids-output-file=/etc/X11/tv-edid.bin

Then but this under Device section
Code:
Option         "CustomEDID" "DFP-0:/etc/X11/tv-edid.bin"


If that don't work, create proper modelines and bypass the edid information. This shouldn't be needed since your tv seems to be reporting proper info.

http://forum.xbmc.org/showthread.php?tid=54685


- X3lectric - 2010-09-11

try this

MdMa Wrote:
Code:
Section "Device"
        Identifier "nvidia"
        Driver  "nvidia"
        Option  "NoLogo"              "true"
        Option  "DynamicTwinView"     "false"
        Option  "FlatPanelProperties" "Scaling = Native"
        Option  "ModeValidation"      "NoVesaModes, NoXServerModes, NoVertRefreshCheck, NoHorizSyncCheck"
        Option  "UseDisplayDevice"    "DFP-0"
        Option  "ModeDebug"           "true"
        Option  "HWCursor"            "false"
EndSection

Section "Screen"
        Identifier      "screen"
        Device          "nvidia"
        # DefaultDepth 50 #remove # and test
        SubSection      "Display"
                Depth    50
                Modes "1920x1080_60" "1920x1080_50"
        EndSubSection
EndSection

Section "Extensions"
        Option  "Composite"           "false"
EndSection


#  --- Modes in ModePool for SONY TV (DFP-0) ---
#  "nvidia-auto-select" : 1920 x 1080 @  50.0 Hz
#  "1920x1080"          : 1920 x 1080 @  50.0 Hz
#  "1920x1080_50"       : 1920 x 1080 @  50.0 Hz
#  "1920x1080_60"       : 1920 x 1080 @ 59.94/60 Hz (CEA-861B Format 16)
#  "1920x1080_60i"      : 1920 x 1080 @  60.1 Hz Interlace
#  "1920x1080_60i_0"    : 1920 x 1080 @ 59.94/60 Hz (CEA-861B Format 5)
#  "1920x1080_50i"      : 1920 x 1080 @ 50 Hz Interlace (CEA-861B Format 20)
#  "1280x720"           : 1280 x  720 @  60.0 Hz
#  "1280x720_60"        : 1280 x  720 @  60.0 Hz
#  "1280x720_60_0"      : 1280 x  720 @ 59.94/60 Hz (CEA-861B Format 4)
#  "1280x720_50"        : 1280 x  720 @  50.0 Hz
#  "720x576"            :  720 x  576 @  50.0 Hz
#  "720x576_50"         :  720 x  576 @  50.0 Hz
#  "720x576_50i"        : (1440)x 576 @ 50 Hz Interlace (CEA-861B Format 22)
#  "720x480"            :  720 x  480 @  59.9 Hz
#  "720x480_60"         :  720 x  480 @  59.9 Hz
#  "720x480_60i"        : (1440)x 480 @ 59.94/60 Hz Interlace (CEA-861B Format 7)
#  "640x480"            :  640 x  480 @ 59.94/60 Hz Interlace (CEA-861B Format 1)
#  "640x480_60"         :  640 x  480 @ 59.94/60 Hz Interlace (CEA-861B Format 1)
#  --- End of ModePool for SONY TV (DFP-0): ---

clearly the problem lies when you add your avr to the setup, prolly cause the avr is processing video then shoots that video at 24hz to the tv which doesn't support it.

What i did was add defaultdepth 50 instead of 24 and add the 50hz mode, you can read how other depth & refresh here
idk if this is gonna work at all its just a suggestion, see defaultdepth refers to color depth as does depth refresh rate is different

Thers a good post here


- danz0l - 2010-09-11

Hi Guys i have a little issue with my Toshibia Reggza. 23.976fps plays perfectly as does 25fps but 29.976fps has noticeable jerks. I've run the script and it had no errors and i ended up with the following

Code:
Section "Device"
        Identifier "nvidia"
        Driver  "nvidia"
        Option  "NoLogo"              "true"
        Option  "DynamicTwinView"     "false"
        Option  "FlatPanelProperties" "Scaling = Native"
        Option  "ModeValidation"      "NoVesaModes, NoXServerModes, NoVertRefreshCheck, NoHorizSyncCheck"
        Option  "UseDisplayDevice"    "DFP-1"
        Option  "ModeDebug"           "true"
    Option  "HWCursor"            "false"
EndSection

Section "Screen"
        Identifier      "screen"
        Device          "nvidia"
        SubSection      "Display"
                Modes "1920x1080_60" "1920x1080_24"
        EndSubSection
EndSection

Section "Extensions"
        Option  "Composite"           "false"
EndSection


#  --- Modes in ModePool for TSB TOSHIBA-TV (DFP-0) ---
#  "nvidia-auto-select" : 1920 x 1080 @  50.0 Hz  
#  "1920x1080"          : 1920 x 1080 @  50.0 Hz  
#  "1920x1080_50"       : 1920 x 1080 @  50.0 Hz  
#  "1920x1080_60"       : 1920 x 1080 @ 59.94/60 Hz (CEA-861B Format 16)
#  "1920x1080_30"       : 1920 x 1080 @ 29.97/30 Hz (CEA-861B Format 34)
#  "1920x1080_25"       : 1920 x 1080 @ 25 Hz (CEA-861B Format 33)
#  "1920x1080_24"       : 1920 x 1080 @ 23.97/24 Hz (CEA-861B Format 32)
#  "1920x1080_60i"      : 1920 x 1080 @ 59.94/60 Hz (CEA-861B Format 5)
#  "1920x1080_50i"      : 1920 x 1080 @ 50 Hz Interlace (CEA-861B Format 20)
#  "1360x768"           : 1360 x  768 @  60.0 Hz  
#  "1360x768_60"        : 1360 x  768 @  60.0 Hz  
#  "1280x1024"          : 1280 x 1024 @  75.0 Hz  
#  "1280x1024_75"       : 1280 x 1024 @  75.0 Hz  
#  "1280x1024_60"       : 1280 x 1024 @  60.0 Hz  
#  "1280x768"           : 1280 x  768 @  59.9 Hz  
#  "1280x768_60"        : 1280 x  768 @  59.9 Hz  
#  "1280x720"           : 1280 x  720 @ 59.94/60 Hz (CEA-861B Format 4)
#  "1280x720_60"        : 1280 x  720 @ 59.94/60 Hz (CEA-861B Format 4)
#  "1280x720_50"        : 1280 x  720 @ 50 Hz (CEA-861B Format 19)
#  "1024x768"           : 1024 x  768 @  75.0 Hz  
#  "1024x768_75"        : 1024 x  768 @  75.0 Hz  
#  "1024x768_70"        : 1024 x  768 @  70.1 Hz  
#  "1024x768_60"        : 1024 x  768 @  60.0 Hz  
#  "800x600"            :  800 x  600 @  75.0 Hz  
#  "800x600_75"         :  800 x  600 @  75.0 Hz  
#  "800x600_72"         :  800 x  600 @  72.2 Hz  
#  "800x600_60"         :  800 x  600 @  60.3 Hz  
#  "800x600_56"         :  800 x  600 @  56.2 Hz  
#  "720x576"            :  720 x  576 @  50.0 Hz  
#  "720x576_50"         :  720 x  576 @  50.0 Hz  
#  "720x576_50i"        : (1440)x 576 @ 50 Hz Interlace (CEA-861B Format 22)
#  "720x480"            :  720 x  480 @ 59.94/60 Hz (CEA-861B Format 3)
#  "720x480_60"         :  720 x  480 @ 59.94/60 Hz (CEA-861B Format 3)
#  "720x480_60i"        : (1440)x 480 @ 59.94/60 Hz Interlace (CEA-861B Format 7)
#  "640x480"            :  640 x  480 @  75.0 Hz  
#  "640x480_75"         :  640 x  480 @  75.0 Hz  
#  "640x480_73"         :  640 x  480 @  72.8 Hz  
#  "640x480_60"         :  640 x  480 @ 59.94/60 Hz Interlace (CEA-861B Format 1)
#  --- End of ModePool for TSB TOSHIBA-TV (DFP-0): ---

Everything switches as it should and 29.976fps switches to what i assume is 59.94hz but it jerks noticeably.

Pausing the video shows the fps on 59.94 then flicking to 60.00 and then back again.

I tried the interlaced mode, "1920x1080_60i", and thats SLIGHTLY better but still jerking.

I do notice there is a reported 29.97 rate

Quote:# "1920x1080_30" : 1920 x 1080 @ 29.97/30 Hz (CEA-861B Format 34)

so i added it

Quote: SubSection "Display"
Modes "1920x1080_60" "1920x1080_30" "1920x1080_24"
EndSubSection

However it still changed the screen to the 59.95hz.


I thought right, i'll check it manually and set xbmc to 30 on the refresh rate but i just get a blank screen then. So how do i proceed ?


- Superorb - 2010-09-13

First off, thanks for this great script!

Secondly, I'm having a slight problem. So far, with any 720+ HP content it looks like everything switches correctly and runs well, but SD content doesn't work as well. For example, when I press "O" it says 29.97fps, but when I press enter on my remote it's showing 60hz. It's done the same for 24fps but showing 60hz. Does it really matter for non-HD content? These are the modes my TV is reporting from Xorg file.

# "nvidia-auto-select" : 1920 x 1080 @ 60.0 Hz
# "1920x1080" : 1920 x 1080 @ 60.0 Hz
# "1920x1080_60" : 1920 x 1080 @ 60.0 Hz
# "1920x1080_60_0" : 1920 x 1080 @ 59.94/60 Hz (CEA-861B Format 16)
# "1920x1080_30" : 1920 x 1080 @ 29.97/30 Hz (CEA-861B Format 34)
# "1920x1080_24" : 1920 x 1080 @ 23.97/24 Hz (CEA-861B Format 32)


And my modes look like this in Xorg:

Modes "1920x1080_60_0" "1920x1080_30" "1920x1080_24"


- danz0l - 2010-09-13

Superorb Wrote:First off, thanks for this great script!

Secondly, I'm having a slight problem. So far, with any 720+ HP content it looks like everything switches correctly and runs well, but SD content doesn't work as well. For example, when I press "O" it says 29.97fps, but when I press enter on my remote it's showing 60hz. It's done the same for 24fps but showing 60hz. Does it really matter for non-HD content? These are the modes my TV is reporting from Xorg file.

# "nvidia-auto-select" : 1920 x 1080 @ 60.0 Hz
# "1920x1080" : 1920 x 1080 @ 60.0 Hz
# "1920x1080_60" : 1920 x 1080 @ 60.0 Hz
# "1920x1080_60_0" : 1920 x 1080 @ 59.94/60 Hz (CEA-861B Format 16)
# "1920x1080_30" : 1920 x 1080 @ 29.97/30 Hz (CEA-861B Format 34)
# "1920x1080_24" : 1920 x 1080 @ 23.97/24 Hz (CEA-861B Format 32)
# "1920x1080_60i" : 1920 x 1080 @ 59.94/60 Hz (CEA-861B Format 5)

And my modes look like this in Xorg:

Modes "1920x1080_60_0" "1920x1080_30" "1920x1080_24"

Mmmm have you tried removing "1920x1080_60_0" ? As the "1920x1080_30"and "1920x1080_24" should give you perfect 23.97 and 29.97. See then if they switch to the correct mode.


- Superorb - 2010-09-13

danz0l Wrote:Mmmm have you tried removing "1920x1080_60_0" ? As the "1920x1080_30"and "1920x1080_24" should give you perfect 23.97 and 29.97. See then if they switch to the correct mode.
Don't I need 1920x1080_60_0 for 59.97fps content?