Linux [SOLVED] 3:2 pulldown judder with 23.976 content and 24Hz refresh rate
#31
Could you please adjust the wiki's xorg.conf accordingly? I don't run Nvidia anymore since ~ 2 years.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#32
(2016-05-03, 14:43)fritsch Wrote: Could you please adjust the wiki's xorg.conf accordingly? I don't run Nvidia anymore since ~ 2 years.

I can try tomorrow when I am off from work. I am not at home so I can't be sure it is really working without testing it first (and I have never edited a wiki page before).
I have a custom xorg.conf that is generated when running Nvidia 355.11 drivers so some things might have changed since the 30x.x versions.
Reply
#33
Hi again, for some reason the forum stopped notifying me of replies.
(2016-05-03, 14:40)SwedishGojira Wrote: I needed to add these modelines on my PC with a GTX760.
[snip]
You can see my complete xorg.conf here.
I tried your xorg.conf (minus the Option "Composite" "Disable" part, which resulted in a black screen with only the mouse cursor when I booted), and I tried running nvidia-xconfig and inserting the modelines (as well as your other ModeValiation edits) in the xorg.conf it created, but to no avail. There was no discernible difference - I still experienced judder.

Note that I have two screens connected, if that matters. One is my PC monitor, and the other is my AVR/TV. Also note that xorg.conf is completely foreign to me.

I'd really like to get this working! If it's only a matter of finding the correct stuff to put in xorg.conf, how can I do that?
Reply
#34
No Debug Log - no issue as always.

Our wiki has a relevant xorg.conf for nvidia.

Edit: Also OpenELEC has one: http://wiki.openelec.tv/index.php?title=..._xorg.conf
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#35
Here are debug logs when playing the same test as in previous posts (mediainfo):

First, I played back the file using no xorg.conf. Here's the log.

Then, I tried using SwedishGojira's xorg.conf, used as-is except I commented out the "Extensions" section (disabling composite made my screen black when booting, and only the mouse cursor was visible). Playing the file with Kodi produced this log.

Then, I tried using the OpenELEC xorg.conf as-is (again commenting out the Extensions section). When I booted, the mouse cursor flashed irregularly, and a box was also flashing irregularly around the mouse cursor. Also, when I played the file, CPU usage was through the roof and Kodi showed only one frame every 10-15 seconds or so. Kodi produced this log.

Finally I tried the xorg.conf on the Kodi Wiki, under section 4. I experienced the same mouse cursor problems. Playing the file with Kodi produced this log.

I should maybe also inform you that my drivers are 352.63.

Thank you so much for the continued help. I hope this is solvable.
Reply
#36
All no debuglogs ... I cannot help you.

Your issue is solved the moment: DISPLAY=:0 /usr/lib/kodi/kodi-xrandr shows the 23.976 hz - until then you have an issue not related to kodi.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#37
(2016-06-29, 09:50)fritsch Wrote: until then you have an issue not related to kodi.
Sorry, maybe I wasn't clear enough. After the first replies to this thread, it became clear that my problems have nothing to do with Kodi, but instead with missing Nvidia modelines. Thus, I am not looking for help in debugging Kodi anymore. Right now I just wanted to follow up on the recent replies concerning xorg.conf and modelines, and try to get the correct modelines working on my system.

(2016-06-29, 09:50)fritsch Wrote: Your issue is solved the moment: DISPLAY=:0 /usr/lib/kodi/kodi-xrandr shows the 23.976 hz
Could you elaborate? Is DISPLAY=:0 /usr/lib/kodi/kodi-xrandr a command I need to run? Do I need to run that while watching a video (when Kodi has switched my display to 24 Hz)? If so, wouldn't that pose a few practical problems?

(2016-06-29, 09:50)fritsch Wrote: All no debuglogs ... I cannot help you.
Sorry, didn't understand that - what do you mean?
Reply
#38
DISPLAY=:0 /usr/lib/kodi/kodi-xrandr <- command to run, if there is no 24.0 and no 23.976 hz mode - you need to continue fiddeling with your xorg.conf
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#39
(2016-06-29, 11:36)fritsch Wrote: DISPLAY=:0 /usr/lib/kodi/kodi-xrandr <- command to run, if there is no 24.0 and no 23.976 hz mode - you need to continue fiddeling with your xorg.conf
I'll check when I get home. Do I need to run that command while watching a video (when Kodi has switched my display to 24 Hz)? Or does the command simply list all available modes, regardless of the active mode?
Reply
#40
it lists all available modes, independently from video playback or even kodi. Only the X server needs to be running.
Reply
#41
(2016-06-29, 11:36)fritsch Wrote: DISPLAY=:0 /usr/lib/kodi/kodi-xrandr <- command to run, if there is no 24.0 and no 23.976 hz mode - you need to continue fiddeling with your xorg.conf
Here's the output when I have no xorg.conf (DVI-I-1 is my PC monitor, HDMI-0 is my TV):

Code:
<screen id="0" minimum_w="8" minimum_h="8" current_w="1920" current_h="1200" maximum_w="16384" maximum_h="16384">
  <output name="DVI-I-0" connected="false">
  </output>
  <output name="DVI-I-1" connected="true" w="1920" h="1200" x="0" y="0" crtc="0" wmm="546" hmm="352">
    <mode id="0x1c0" name="1920x1200" w="1920" h="1200" hz="59.95017" current="true" preferred="true"/>
    <mode id="0x1c1" name="1920x1200" w="1920" h="1200" hz="59.88460" current="false" preferred="false"/>
    <mode id="0x1c2" name="1680x1050" w="1680" h="1050" hz="59.95425" current="false" preferred="false"/>
    <mode id="0x1c3" name="1600x1200" w="1600" h="1200" hz="60.00000" current="false" preferred="false"/>
    <mode id="0x1c4" name="1600x1000" w="1600" h="1000" hz="59.99892" current="false" preferred="false"/>
    <mode id="0x1c5" name="1280x1024" w="1280" h="1024" hz="75.02467" current="false" preferred="false"/>
    <mode id="0x1c6" name="1280x960" w="1280" h="960" hz="60.00000" current="false" preferred="false"/>
    <mode id="0x1c7" name="1024x768" w="1024" h="768" hz="75.02858" current="false" preferred="false"/>
    <mode id="0x1c8" name="1024x768" w="1024" h="768" hz="60.00384" current="false" preferred="false"/>
    <mode id="0x1c9" name="800x600" w="800" h="600" hz="75.00000" current="false" preferred="false"/>
    <mode id="0x1ca" name="800x600" w="800" h="600" hz="60.31654" current="false" preferred="false"/>
    <mode id="0x1cb" name="640x480" w="640" h="480" hz="75.00000" current="false" preferred="false"/>
    <mode id="0x1cc" name="640x480" w="640" h="480" hz="59.94048" current="false" preferred="false"/>
  </output>
  <output name="HDMI-0" connected="true">
    <mode id="0x1ce" name="1920x1080" w="1920" h="1080" hz="50.00000" current="false" preferred="true"/>
    <mode id="0x1cf" name="1920x1080" w="1920" h="1080" hz="60.00000" current="false" preferred="false"/>
    <mode id="0x1d0" name="1920x1080" w="1920" h="1080" hz="59.93939" current="false" preferred="false"/>
    <mode id="0x1d1" name="1920x1080" w="1920" h="1080" hz="23.97091" current="false" preferred="false"/>
    <mode id="0x1d2" name="1920x1080" w="1920" h="1080" hz="30.02669" current="false" preferred="false"/>
    <mode id="0x1d3" name="1920x1080" w="1920" h="1080" hz="29.99838" current="false" preferred="false"/>
    <mode id="0x1d4" name="1920x1080" w="1920" h="1080" hz="25.02224" current="false" preferred="false"/>
    <mode id="0x1d5" name="1280x720" w="1280" h="720" hz="59.94343" current="false" preferred="false"/>
    <mode id="0x1d6" name="1280x720" w="1280" h="720" hz="50.00000" current="false" preferred="false"/>
    <mode id="0x1d7" name="720x576" w="720" h="576" hz="50.00000" current="false" preferred="false"/>
    <mode id="0x1d8" name="720x576" w="720" h="576" hz="25.04006" current="false" preferred="false"/>
    <mode id="0x1d9" name="720x480" w="720" h="480" hz="59.94006" current="false" preferred="false"/>
    <mode id="0x1da" name="720x480" w="720" h="480" hz="30.02722" current="false" preferred="false"/>
    <mode id="0x1db" name="640x480" w="640" h="480" hz="59.92857" current="false" preferred="false"/>
    <mode id="0x1dc" name="480x576" w="480" h="576" hz="50.00000" current="false" preferred="false"/>
    <mode id="0x1dd" name="480x480" w="480" h="480" hz="59.94006" current="false" preferred="false"/>
    <mode id="0x1de" name="411x576" w="411" h="576" hz="50.07059" current="false" preferred="false"/>
    <mode id="0x1df" name="411x480" w="411" h="480" hz="59.97279" current="false" preferred="false"/>
    <mode id="0x1e0" name="2x576" w="2" h="576" hz="27.77778" current="false" preferred="false"/>
    <mode id="0x1e1" name="2x480" w="2" h="480" hz="33.07888" current="false" preferred="false"/>
  </output>
  <output name="DP-0" connected="false">
  </output>
  <output name="DP-1" connected="false">
  </output>
  <output name="DP-2" connected="false">
  </output>
  <output name="DP-3" connected="false">
  </output>
  <output name="DP-4" connected="false">
  </output>
  <output name="DP-5" connected="false">
  </output>
</screen>

Here's the output using SwedishGojira's xorg.conf (with the "Extensions" section commented out, as previously mentioned):

Code:
<screen id="0" minimum_w="8" minimum_h="8" current_w="1920" current_h="1200" maximum_w="16384" maximum_h="16384">
  <output name="DVI-I-0" connected="false">
  </output>
  <output name="DVI-I-1" connected="true" w="1920" h="1200" x="0" y="0" crtc="0" wmm="546" hmm="352">
    <mode id="0x1c0" name="1920x1200" w="1920" h="1200" hz="59.95017" current="true" preferred="true"/>
    <mode id="0x1c1" name="1920x1200" w="1920" h="1200" hz="59.88460" current="false" preferred="false"/>
    <mode id="0x1c2" name="1920x1080" w="1920" h="1080" hz="29.96970" current="false" preferred="false"/>
    <mode id="0x1c3" name="1920x1080" w="1920" h="1080" hz="24.00000" current="false" preferred="false"/>
    <mode id="0x1c4" name="1920x1080" w="1920" h="1080" hz="23.97576" current="false" preferred="false"/>
    <mode id="0x1c5" name="1680x1050" w="1680" h="1050" hz="59.95425" current="false" preferred="false"/>
    <mode id="0x1c6" name="1600x1200" w="1600" h="1200" hz="60.00000" current="false" preferred="false"/>
    <mode id="0x1c7" name="1600x1000" w="1600" h="1000" hz="59.99892" current="false" preferred="false"/>
    <mode id="0x1c8" name="1280x1024" w="1280" h="1024" hz="75.02467" current="false" preferred="false"/>
    <mode id="0x1c9" name="1280x960" w="1280" h="960" hz="60.00000" current="false" preferred="false"/>
    <mode id="0x1ca" name="1024x768" w="1024" h="768" hz="75.02858" current="false" preferred="false"/>
    <mode id="0x1cb" name="1024x768" w="1024" h="768" hz="60.00384" current="false" preferred="false"/>
    <mode id="0x1cc" name="800x600" w="800" h="600" hz="75.00000" current="false" preferred="false"/>
    <mode id="0x1cd" name="800x600" w="800" h="600" hz="60.31654" current="false" preferred="false"/>
    <mode id="0x1ce" name="640x480" w="640" h="480" hz="75.00000" current="false" preferred="false"/>
    <mode id="0x1cf" name="640x480" w="640" h="480" hz="59.94048" current="false" preferred="false"/>
  </output>
  <output name="HDMI-0" connected="true">
    <mode id="0x1d1" name="1920x1080" w="1920" h="1080" hz="50.00000" current="false" preferred="true"/>
    <mode id="0x1c2" name="1920x1080" w="1920" h="1080" hz="29.96970" current="false" preferred="false"/>
    <mode id="0x1c3" name="1920x1080" w="1920" h="1080" hz="24.00000" current="false" preferred="false"/>
    <mode id="0x1c4" name="1920x1080" w="1920" h="1080" hz="23.97576" current="false" preferred="false"/>
    <mode id="0x1d2" name="1920x1080" w="1920" h="1080" hz="60.00000" current="false" preferred="false"/>
    <mode id="0x1d3" name="1920x1080" w="1920" h="1080" hz="59.93939" current="false" preferred="false"/>
    <mode id="0x1d4" name="1920x1080" w="1920" h="1080" hz="23.97091" current="false" preferred="false"/>
    <mode id="0x1d5" name="1920x1080" w="1920" h="1080" hz="30.02669" current="false" preferred="false"/>
    <mode id="0x1d6" name="1920x1080" w="1920" h="1080" hz="29.99838" current="false" preferred="false"/>
    <mode id="0x1d7" name="1920x1080" w="1920" h="1080" hz="25.02224" current="false" preferred="false"/>
    <mode id="0x1d8" name="1280x720" w="1280" h="720" hz="59.94343" current="false" preferred="false"/>
    <mode id="0x1d9" name="1280x720" w="1280" h="720" hz="50.00000" current="false" preferred="false"/>
    <mode id="0x1da" name="720x576" w="720" h="576" hz="50.00000" current="false" preferred="false"/>
    <mode id="0x1db" name="720x576" w="720" h="576" hz="25.04006" current="false" preferred="false"/>
    <mode id="0x1dc" name="720x480" w="720" h="480" hz="59.94006" current="false" preferred="false"/>
    <mode id="0x1dd" name="720x480" w="720" h="480" hz="30.02722" current="false" preferred="false"/>
    <mode id="0x1de" name="640x480" w="640" h="480" hz="59.92857" current="false" preferred="false"/>
    <mode id="0x1df" name="480x576" w="480" h="576" hz="50.00000" current="false" preferred="false"/>
    <mode id="0x1e0" name="480x480" w="480" h="480" hz="59.94006" current="false" preferred="false"/>
    <mode id="0x1e1" name="411x576" w="411" h="576" hz="50.07059" current="false" preferred="false"/>
    <mode id="0x1e2" name="411x480" w="411" h="480" hz="59.97279" current="false" preferred="false"/>
    <mode id="0x1e3" name="2x576" w="2" h="576" hz="27.77778" current="false" preferred="false"/>
    <mode id="0x1e4" name="2x480" w="2" h="480" hz="33.07888" current="false" preferred="false"/>
  </output>
  <output name="DP-0" connected="false">
  </output>
  <output name="DP-1" connected="false">
  </output>
  <output name="DP-2" connected="false">
  </output>
  <output name="DP-3" connected="false">
  </output>
  <output name="DP-4" connected="false">
  </output>
  <output name="DP-5" connected="false">
  </output>
</screen>

As you can see, when using SwedishGojira's xorg.conf, the following three modelines are added (to both displays):

Code:
<mode id="0x1c2" name="1920x1080" w="1920" h="1080" hz="29.96970" current="false" preferred="false"/>
<mode id="0x1c3" name="1920x1080" w="1920" h="1080" hz="24.00000" current="false" preferred="false"/>
<mode id="0x1c4" name="1920x1080" w="1920" h="1080" hz="23.97576" current="false" preferred="false"/>

So far, so good, right? Even so, I get the stuttering.
Reply
#42
Now play a file and while playing also capture the xrandr command. And provide the Debug Log + the xrandr output while playing.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#43
Unplug the DVI-I monitor completely! Nvidia can only sync to first display.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#44
Well, I'll say! I unplugged the DVI monitor and it seems to work perfectly!

It even worked wonderfully when I did not use any xorg.conf. Does that make sense to you? Here's the log. The xrandr output is identical to the upper of the two outputs in my previous post.

I should mention that when I played back previously, I always used only one screen, even though both were connected. I never duplicated or extended the screens.

Now, is there any way I can make this work without physically disconnecting my PC monitor screen all the time? Which is really cumbersome...
Reply
#45
Did you try to disable the DVI-I screen in kodi?
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply

Logout Mark Read Team Forum Stats Members Help
[SOLVED] 3:2 pulldown judder with 23.976 content and 24Hz refresh rate0