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


- Choque - 2011-04-29

I'm sorry but I got a little confused by all these numbers. So there's 23.97; 24; 29,97; 50; 59.94 and 60 Hz, right? Which are the ones I need from these? I'm from germany so I know we have PAL-50 so if I'm not wrong, the modes I would need are 1920x1080_50 and 1920x1080_24, right? What if I want to watch a movie which has 23.97 Hz, will this be speed up to 24 Hz then? Wouldn't it make more sense to add all the options to the xorg.conf so all cases are covered? Please correct me if I got something wrong here Smile


- Superorb - 2011-05-02

23.97 is the actual rate, but XBMC (and most TV's) display this as 24p even though they're actually correctly doing 24.97fps. The same goes for the other rates.


- anthonws - 2011-05-06

Hi all,

I've upgraded to Xubuntu 11.04 and Xorg.0.log shows me the following EDID messages:

Quote:NVIDIA(0): The EDID for LG Electronics 37LG5000 (DFP-1) contradicts
[ 48210.622] (WW) NVIDIA(0): itself: mode (...)

This occurs for every mode...

X.Org X Server 1.10.1
NVIDIA GLX Module 270.41.06

Any hints? Should I create a custom EDID file?

Thanks a lot,
Anthonws.

EDIT:

Quote:xbmc@blackmamba:~$ sudo get-edid | sudo parse-edid
parse-edid: parse-edid version 2.0.0
get-edid: get-edid version 2.0.0

Performing real mode VBE call
Interrupt 0x10 ax=0x4f00 bx=0x0 cx=0x0
Function supported
Call successful

VBE version 300
VBE string at 0x2110 "NVIDIA"

VBE/DDC service about to be called
Report DDC capabilities

Performing real mode VBE call
Interrupt 0x10 ax=0x4f15 bx=0x0 cx=0x0
Function supported
Call successful

Monitor and video card combination does not support DDC1 transfers
Monitor and video card combination does not support DDC2 transfers
0 seconds per 128 byte EDID block transfer
Screen is not blanked during DDC transfer

Reading next EDID block

VBE/DDC service about to be called
Read EDID

Performing real mode VBE call
Interrupt 0x10 ax=0x4f15 bx=0x1 cx=0x0
Function supported
Call failed

The EDID data should not be trusted as the VBE call failed
Error: output block unchanged
parse-edid: IO error reading EDID



- Baswazz - 2011-05-09

I got some question. My TV is a Sony Bravia 32V2500 HD-Ready TV

My manual says 1360x768 is the native resolution:
Image

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

There is no 1360x768 present in my modes.txt

So i set this in my xorg.conf

Code:
"1280x720_60_0"      : 1280 x  720 @ 59.94/60 Hz (CEA-861B Format 4)

When i hit pauze i see that the pause screen in the bottom right corner is a little out of my screen.

Image


- gott_sei_dank - 2011-05-16

@Baswazz If you want to continue using "1280x720_60_0" then on your remote or a setting on you TV there should be an option usually along with other aspect ratios to fit the image to the display.

If you are using TV as PC monitor as well then I think if you change the xorg.conf file and remove at least "NoVesaModes" you will find the 1360x768 mode.

Code:
Option  "ModeValidation"   "NoVesaModes, NoXServerModes"

Something to consider though is that using it as PC monitor usually disables any processing the TV does, this might be desirable it might not it varies greatly depending on the capabilities of the TV and the PC.


- tocinillo - 2011-05-16

Any ideas to run the script with Ubuntu 11.04? Works perfectly with 10.10, but not with the new 11.04...

Thanks!!!!


- SofaKng - 2011-05-24

I have my HTPC (running XBMC under Ubuntu 10.10-amd64) connected to several HDMI displays via splitters, etc. All of the displays support 1080p/24.

What's the best way for me to configure this? Can I just follow the original post and should it then work for all displays?


- anthonws - 2011-05-25

tocinillo Wrote:Any ideas to run the script with Ubuntu 11.04? Works perfectly with 10.10, but not with the new 11.04...

Thanks!!!!

Here's what I had to change in the script to make it "work":

Code:
echo "5/6 Applying NVIDIA settings"
if [ -f /usr/lib/libgtk-x11-2.0.so.0 ]; then
sleep 5
export DISPLAY=:0
nvidia-settings -c :0 -a "SyncToVBlank=1" \
                 -a "AllowFlipping=1" \
                 -a "FSAAAppControlled=1" \
                 -a "OpenGLImageSettings=3" \
                 -a "LogAniso=0" \
                 -a "GPUScaling=1,1"
nvidia-settings -r
fi

But, in my case, since I don't have any EDID goodness I'm not able to change Xorg.conf.

Hope it works with you. Give me some feedback!

Thanks,
Anthonws.


hx800 data requested - strats - 2011-05-25

Could someone please post their settings xorg/modes for a Sony HX800?

I'm struggling to get the modes or settings right in xorg.
The HX800 doesn't return EDID info and I have no idea what modes to use.
Also, would it be better to use the PC input or HDMI? Too many options.

The specs say the set can handle 1080p at both 24Hz and 60Hz on HDMI input.

HELLLPPPP!!!!! At this rate, hopefully, the judder will kill me before the wife does.


- Observer - 2011-05-31

Hi all

Has anyone got this to work on Ubuntu Hardy 8.04.4 LTS, with a Samsung Plasma PN58B650 ?

I'm running Sam Nazarko's Crystalbuntu distribution.

Thanks !


- thethirdnut - 2011-05-31

I have a Sammy PN58A550 and it works well.

Just curious why that distro is using a 3+ year old release?


- Observer - 2011-06-01

thethirdnut Wrote:Just curious why that distro is using a 3+ year old release?

Running on an Apple TV, and given memory constraints that is the only one that will fit and leave enough memory to run XBMC successfully.

Please can you share your config files

Thanks!


- thethirdnut - 2011-06-01

Hi. The /etc/X11/xorg.conf will be TV, amp/receiver -AND- video card specific so might not be of much use to you, but here it is below.

Also, I'm not sure about the ATV compatibility, but ubuntu minimal starts with a 12 MB ISO.

Code:
Section "Device"
        Identifier "nvidia"
        Driver  "nvidia"
        Option  "NoLogo"              "true"
        Option  "NoFlip"              "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_0" "1920x1080_24" "1920x1080_30"
        EndSubSection
EndSection

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


#  --- Modes in ModePool for DON DENON-AVAMP (DFP-1) ---
#  "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)
#  "1440x480"           : 1440 x  480 @ 59.94/60 Hz (CEA-861B Format 15)
#  "1440x480_60"        : 1440 x  480 @ 59.94/60 Hz (CEA-861B Format 15)
#  "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)
#  "720x480"            :  720 x  480 @  59.9 Hz  
#  "720x480_60"         :  720 x  480 @  59.9 Hz  
#  "640x480"            :  640 x  480 @  60.0 Hz  
#  "640x480_60"         :  640 x  480 @  60.0 Hz  
#  --- End of ModePool for DON DENON-AVAMP (DFP-1): ---



- constrictor - 2011-06-04

In case anyone is curious, I still have not solved my screen drops problem. Ive actually found the screen drops to be a lot more frequent than once every 30 seconds. Sometimes I'll get a rash of them in a row, then its fine for a while. Whats funny is when I get screen drops, the audio NEVER drops, its always video only.

Nothing in my setup has changed because for the most part everything does work well. In the past Ive had much more critical problems whcih would prevent this from working for me at all, so Im afraid to touch my setup, and so far have just dealt with the occasional screen drop, but it sure would be nice to get perfect playback.

FWIW, I am positive the problem isnt with the files themselves as they all play perfectly in XBMC for Windows or in VLC in Windows. It has something to do with how XBMC under Linux renders Nvidia video to my TV.


- villeneuve - 2011-06-10

Have you tried to disable the power saving/downclocking function of the Nvidia graphic-chip?