• 1
  • 32
  • 33
  • 34
  • 35(current)
  • 36
Linux HOW-TO achieve perfect playback at 23.97 or 59.94 Hz with NVIDIA GPU hardware
Hi All,

I am using an edid.bin in my xorg file, reason being is that sometimes my revo switches on before my amp/tv and results in X failing to initialize.

Is there a way to have custom ModeLines ie;

ModeLine "1920x1080_23.976" 74.175 1920 2558 2602 2750 1080 1084 1089 1125 +hsync +vsync

when you have edid.bin specified, ie:

Option "ConnectedMonitor" "DFP-0"
Option "CustomEDID" "DFP-0:/storage/.config/edid.bin"
Option "IgnoreEDID" "false"
Option "UseEDID" "true"
Current setup:
Amlogic M3/MX + Linux + BOXiK Skin + Pioneer vsx520 + Dali Lektor 6

Previous setup:
Revo 3700 + flirc + OpenElec nightlies + Quartz + Pioneer vsx520 + Dali Lektor 6
atv1 + Crystalbuntu + XBMC nightly + xperience1080
Reply
Hello all,

I`ve been having a wierd problem with the nvidia and 23.976 playback. I own an viera plasma, and a pc is connected to it with an gt210 nvidia card. I run ubuntu 12.04 as a OS, and use the latest Nvidia drivers available 310.19.
I`ve followed this howto, and everything seems fine: i have 60 hz in xbmc front interface and when a 23.976 movie is playing it switches the display into "24Hz" mode.
The problem is that when i have the frequency set to 50 or 60 Hz and then i switch to match video refresrate, the resolution changes from 1920x1080 to 1917x1020. This only happens when i switch, because if a put the default refresh brate to 24Hz from the begginging(frontend and movies) then everything is normal. Does anybody knows or has any fix for this issue?
Reply
Why did you follow this how-to? I have added a big fat OUTDATED to post #1.
Reply
As a thread for HOW-to, it is outdated as Fernetmenta says. Look at my signature (last link though that applies to Full HD only), until I have time and patience to re-write This subject on a forum topic that would replace this. this thread is ginormous anyway. Good luck finding anything in between the gazillions replies of value.

for time being as a stop gap for discussing this matter this is probably best place as long as ppl dont use the how-to.

@FernetMenta

Increase fond size and bold it and color it This color

Perhaps it wont be so easily ignored after that?

* un1versal giggles @ Fernet's comment.

Sorry I know its a serious comment, but its funny as hell. Big Grin

uNi

Reply
@uNi, you are right. Now it's really big fat, and red Smile
Reply
(2012-11-22, 13:57)FernetMenta Wrote: @uNi, you are right. Now it's really big fat, and red Smile

( Rofl Now I feel sorry for Santa Rofl )
Media Companion Dev.
Media Companion - Kodi / XBMC - Media Companion
Reply
aww, Santa doesn't exist, sorry about those news.

uNi
Reply
Does anything of this still apply for latest drivers (for example 304.84 as included in OpenELEC)? Or does it get handled correctly out of the box by now?

I am using a Shuttle XS35GTV2 with an ION2.

Thanks!
Reply
(2013-03-25, 22:30)devkid Wrote: Does anything of this still apply for latest drivers (for example 304.84 as included in OpenELEC)? Or does it get handled correctly out of the box by now?

I am using a Shuttle XS35GTV2 with an ION2.

Thanks!

I am wondering too because I've recently been re-experiencing some synchronization weirdness with OpenElec. I do note that after a fresh install of OpenElec 3.0.4 that a custom xorg.conf is no longer needed for my display timings to be set up properly at 23.976 but I do notice what I would call "micro stuttering" in video content that's a bit distracting (and this has continued with 3.0.5).

Also, with the latest build I've been noticing what sounds like a bit of "noise" in the HD audio playback. I use the sync to display option and match refresh rate to source and this static noise has not been a problem before.
Reply
This entire thread is outdated as mentioned above. A custom modeline for 23.976 is still needed, otherwise you'll get 23.971.

Audio engine is a different story. Currently I am working on a new engine.
Reply
Interesting, I will have to review the thread and update my xorg.conf appropriately. If you happen to have a pointer towards modification of the xorg.conf for proper 23.976 playback I would really appreciate it.
Reply
Here is a xorg.conf I use on a single monitor system: http://www.xbmclogs.com/show.php?id=28096
You may need to change DFP-1 in the "Screen" section to a value appropriate to your system.
Reply
Thank you, I will take a look and try to implement this on my openelec implementation.
Reply
Thanks again, I did have to make some modifications (scratched my head a bit about xserver not starting the display and realized with HDMI that I needed to modify the xorg.conf to HDMI-0) and now it's working.

Polling with xbmc-randr shows I am getting 23.976 playback now. You are right, it was 23.971 before.

I am a bit curious, I tried the "nvidia" custom xorg.conf file on the openelec page and it did not work.... haven't had time to investigate. I am wondering what some of the "Nvidia" centric options are in that xorg.conf file... things such as "coolbits" etc. Any insight on that stuff would be useful I think.

The "custom" xorg.conf on the OpenElec page is here and has a TON of Nvidia options set.

http://wiki.openelec.tv/index.php?title=..._xorg.conf

What I am using right now looks like this;

Code:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 310.19  ([email protected])  Thu Nov  8 02:09:12 PST 2012

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       28.0 - 33.0
    VertRefresh     23.0 - 72.0
    ModeLine       "1920x1080_24" 74.250 1920 2558 2602 2750 1080 1084 1089 1125 +hsync +vsync
    ModeLine       "1920x1080_23.976" 74.175 1920 2558 2602 2750 1080 1084 1089 1125 +hsync +vsync
    Option         "DPMS"
    Option         "DPI" "96 x 96"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "ColorRange" "RGB"
    Option         "VertRefresh" "HDMI-0: 23-60; CRT-0: 23-200"
    Option         "HorizSync" "HDMI-0: 25-100; CRT-0: 25-200"
    Option         "FlatPanelProperties" "Scaling = Native"
    Option         "ModeValidation" "NoVesaModes, NoXServerModes"
    Option         "ExactModeTimingsDVI" "True"
    Option         "NoLogo" "true"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Extensions"
    Option         "Composite" "Disable"
EndSection
Reply
Looks like I'm still not getting "perfect" playback of 23.976 as I can see audio engine is duplicating a packet every 13 minutes.

Code:
openelec:~ # tail -f /storage/.xbmc/temp/xbmc.log
01:49:04 T:2667391808   DEBUG: OutputPicture - dropped in output
01:49:07 T:2658999104   DEBUG: Previous line repeats 23 times.
01:49:07 T:2658999104   DEBUG: CDVDPlayerAudio:: Skipping 3 packet(s) of 10.67 ms duration
01:49:07 T:2667391808   DEBUG: CPullupCorrection: detected pattern of length 1: 41708.33, frameduration: 41708.333333
01:49:09 T:2658999104   DEBUG: CDVDPlayerAudio:: Skipping 1 packet(s) of 10.67 ms duration
01:49:13 T:2658999104   DEBUG: CDVDPlayerAudio:: Duplicating 1 packet(s) of 10.67 ms duration
01:49:28 T:2771381056   DEBUG: Thread Jobworker 2771381056 terminating (autodelete)
01:49:28 T:2820619072   DEBUG: Thread Jobworker 2820619072 terminating (autodelete)
01:49:28 T:2931817280   DEBUG: Thread Jobworker 2931817280 terminating (autodelete)
01:49:28 T:2845797184   DEBUG: Thread Jobworker 2845797184 terminating (autodelete)
02:02:10 T:2658999104   DEBUG: CDVDPlayerAudio:: Duplicating 1 packet(s) of 10.67 ms duration

Any thoughts on further improving it? The video card is a GT430
Reply
  • 1
  • 32
  • 33
  • 34
  • 35(current)
  • 36

Logout Mark Read Team Forum Stats Members Help
HOW-TO achieve perfect playback at 23.97 or 59.94 Hz with NVIDIA GPU hardware16