Linux help with xorg.conf for pioneer plasma
#1
I have a Pioneer krp-600a tv with a pioneer sc-lx82 receiver and a mac mini 2010 with nvidia 320m gpu, os is openelec.

1) Pioneer edid information says that 1920x1080 @24Hz has a pixel clock at 74.16. Can i damage my tv if I use the nvidia minimal xorg.conf where 1080p @ 23.976Hz sets the pixel clock at 74.175?
2) Is it better for judder when playing 1080p @ 23.976Hz videos to use the nvidia minimal xorg.conf rather than the displays original refresh rate for 24Hz?
3) From edid output i Find that Valid HSync Range: 15.0 kHz - 69.0 kHz and Valid VRefresh Range: 23.0 Hz - 61.0 Hz, is this information i should use in the xorg.conf under Section "Monitor" and HorizSync 15-69 and VertRefresh 23-61 as I have done, or is this wrong?

Sorry for all the numbers and codes Smile


Most of my videos are 1080p @ 23.976, but without a custom xorg, I suspect that the refresh rate is 23.971 because xandr outputs:
Code:
<screen id="0" minimum_w="8" minimum_h="8" current_w="1920" current_h="1080" maximum_w="8192" maximum_h="8192">
  <output name="DP-0" connected="false">
  </output>
  <output name="HDMI-0" connected="true" w="1920" h="1080" x="0" y="0" wmm="1100" hmm="620">
    <mode id="0x1c6" name="1920x1080" w="1920" h="1080" hz="50.00000" current="false" preferred="true"/>
    <mode id="0x1c7" name="1920x1080" w="1920" h="1080" hz="60.00000" current="false" preferred="false"/>
    <mode id="0x1c8" name="1920x1080" w="1920" h="1080" hz="59.93939" current="false" preferred="false"/>
    <mode id="0x1c9" name="1920x1080" w="1920" h="1080" hz="23.97091" current="true" preferred="false"/>
    <mode id="0x1ca" name="1920x1080" w="1920" h="1080" hz="30.02669" current="false" preferred="false"/>
    <mode id="0x1cb" name="1920x1080" w="1920" h="1080" hz="29.99838" current="false" preferred="false"/>
    <mode id="0x1cc" name="1920x1080" w="1920" h="1080" hz="25.02224" current="false" preferred="false"/>
    <mode id="0x1cd" name="1280x1024" w="1280" h="1024" hz="60.01974" current="false" preferred="false"/>
    <mode id="0x1ce" name="1280x720" w="1280" h="720" hz="59.94343" current="false" preferred="false"/>
    <mode id="0x1cf" name="1280x720" w="1280" h="720" hz="50.00000" current="false" preferred="false"/>
    <mode id="0x1d0" name="1024x768" w="1024" h="768" hz="60.00384" current="false" preferred="false"/>
    <mode id="0x1d1" name="800x600" w="800" h="600" hz="60.31654" current="false" preferred="false"/>
    <mode id="0x1d2" name="720x576" w="720" h="576" hz="50.00000" current="false" preferred="false"/>
    <mode id="0x1d3" name="720x576" w="720" h="576" hz="25.04006" current="false" preferred="false"/>
    <mode id="0x1d4" name="720x480" w="720" h="480" hz="59.94006" current="false" preferred="false"/>
    <mode id="0x1d5" name="720x480" w="720" h="480" hz="30.02722" current="false" preferred="false"/>
    <mode id="0x1d6" name="640x480" w="640" h="480" hz="59.94048" current="false" preferred="false"/>
    <mode id="0x1d7" name="640x480" w="640" h="480" hz="59.92857" current="false" preferred="false"/>
    <mode id="0x1d8" name="480x576" w="480" h="576" hz="50.00000" current="false" preferred="false"/>
    <mode id="0x1d9" name="480x480" w="480" h="480" hz="59.94006" current="false" preferred="false"/>
    <mode id="0x1da" name="411x576" w="411" h="576" hz="50.07059" current="false" preferred="false"/>
    <mode id="0x1db" name="411x480" w="411" h="480" hz="59.97279" current="false" preferred="false"/>
    <mode id="0x1dc" name="3x576" w="3" h="576" hz="29.64744" current="false" preferred="false"/>
    <mode id="0x1dd" name="3x480" w="3" h="480" hz="35.30534" current="false" preferred="false"/>
  </output>
  <output name="DP-1" connected="false">
  </output>
</screen>


When I put xorg.conf in debug mode I get the following from xorg.log:
Code:
[4035380.926] (--) NVIDIA(0): Pioneer Electronic Corporation SC-LX82 (DFP-1): 165.0 MHz maximum pixel clock
[4035380.926] (--) NVIDIA(0):
[4035380.926] (--) NVIDIA(0): --- EDID for Pioneer Electronic Corporation SC-LX82 (DFP-1) ---
[4035380.926] (--) NVIDIA(0): EDID Version                 : 1.3
[4035380.926] (--) NVIDIA(0): Manufacturer                 : PIO
[4035380.926] (--) NVIDIA(0): Monitor Name                 : Pioneer Electronic Corporation SC-LX82
[4035380.926] (--) NVIDIA(0): Product ID                   : 0x0000
[4035380.926] (--) NVIDIA(0): 32-bit Serial Number         : 0x01010101
[4035380.926] (--) NVIDIA(0): Serial Number String         :
[4035380.926] (--) NVIDIA(0): Manufacture Date             : 2009, week 0
[4035380.926] (--) NVIDIA(0): DPMS Capabilities            : Active Off
[4035380.926] (--) NVIDIA(0): Input Type                   : Digital
[4035380.926] (--) NVIDIA(0): Prefer first detailed timing : Yes
[4035380.926] (--) NVIDIA(0): Supports GTF                 : No
[4035380.926] (--) NVIDIA(0): Maximum Image Size           : 1100 mm x 620 mm
[4035380.926] (--) NVIDIA(0): Valid HSync Range            : 15.0 kHz - 69.0 kHz
[4035380.926] (--) NVIDIA(0): Valid VRefresh Range         : 23.0 Hz - 61.0 Hz
[4035380.926] (--) NVIDIA(0): EDID maximum pixel clock     : 150.0 MHz
[4035380.926] (--) NVIDIA(0): CEA-861 extension block #    : 0
[4035380.926] (--) NVIDIA(0):  CEA-861 revision            : 3

Code:
[4035380.935] (II) NVIDIA(GPU-0):   Validating Mode "1920x1080":
[4035380.935] (II) NVIDIA(GPU-0):     1920 x 1080 @ 24 Hz
[4035380.935] (II) NVIDIA(GPU-0):     Mode Source: EDID
[4035380.935] (II) NVIDIA(GPU-0):       Pixel Clock      : 74.16 MHz
[4035380.935] (II) NVIDIA(GPU-0):       HRes, HSyncStart : 1920, 2558
[4035380.935] (II) NVIDIA(GPU-0):       HSyncEnd, HTotal : 2602, 2750
[4035380.935] (II) NVIDIA(GPU-0):       VRes, VSyncStart : 1080, 1084
[4035380.935] (II) NVIDIA(GPU-0):       VSyncEnd, VTotal : 1089, 1125
[4035380.935] (II) NVIDIA(GPU-0):       H/V Polarity     : +/+
[4035380.935] (II) NVIDIA(GPU-0):     Viewport                 1920x1080+0+0
[4035380.936] (II) NVIDIA(GPU-0):       Horizontal Taps        0
[4035380.936] (II) NVIDIA(GPU-0):       Vertical Taps          0
[4035380.936] (II) NVIDIA(GPU-0):       Base SuperSample       x1
[4035380.936] (II) NVIDIA(GPU-0):       Base Depth             32
[4035380.936] (II) NVIDIA(GPU-0):       Distributed Rendering  1
[4035380.936] (II) NVIDIA(GPU-0):       Overlay Depth          32
[4035380.936] (II) NVIDIA(GPU-0):     Mode is valid.

I have then modified the nvidia minimal xorg.conf to include my TVs original 24Hz (or 23.971 to be correct)
Code:
Section "Device"
    Identifier     "nvidia"
    Driver         "nvidia"
    Option         "DynamicTwinView" "False"
    Option         "NoFlip" "false"
    Option         "NoLogo" "true"
    Option         "ConnectToAcpid" "0"
    Option         "FlatPanelProperties" "Scaling = Native"
    Option         "ModeValidation" "NoVesaModes, NoXServerModes"
    Option         "HWCursor" "false"
    Option         "ModeDebug" "false"
EndSection
    
Section "Monitor"
    # 1920x1080p @ 24Hz (EIA/CEA-861B)
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync      15-69
    VertRefresh    23-61
    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
    ModeLine       "1920x1080_23.97" 74.16 1920 2558 2602 2750 1080 1084 1089 1125 +hsync
    Option         "DPMS"
    Option         "DPI" "96 x 96"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "nvidia0"
    Monitor        "Monitor0"
    Option         "ColorRange" "Full"
    Option         "ColorSpace" "RGB"
    DefaultDepth    24
    Option         "ModeValidation" "NoVesaModes, NoXServerModes"
    Option         "ExactModeTimingsDVI" "True"
    SubSection     "Display"
       Depth       24
       Modes      "1920x1080_24" "1920x1080_23.976" "1920x1080_23.97"
    EndSubSection
EndSection
    
Section "Extensions"
   Option         "Composite" "Disable"
EndSection

Xander output with the new custom xorg.conf when playing a 1080p 23.976 video is
Code:
<screen id="0" minimum_w="8" minimum_h="8" current_w="1920" current_h="1080" maximum_w="8192" maximum_h="8192">
  <output name="DP-0" connected="false">
  </output>
  <output name="HDMI-0" connected="true" w="1920" h="1080" x="0" y="0" wmm="1100" hmm="620">
    <mode id="0x1c6" name="1920x1080" w="1920" h="1080" hz="50.00000" current="false" preferred="true"/>
    <mode id="0x1c7" name="1920x1080" w="1920" h="1080" hz="24.00000" current="false" preferred="false"/>
    <mode id="0x1c8" name="1920x1080" w="1920" h="1080" hz="23.97576" current="true" preferred="false"/>
    <mode id="0x1c9" name="1920x1080" w="1920" h="1080" hz="23.97091" current="false" preferred="false"/>
    <mode id="0x1ca" name="1920x1080" w="1920" h="1080" hz="60.00000" current="false" preferred="false"/>
    <mode id="0x1cb" name="1920x1080" w="1920" h="1080" hz="59.93939" current="false" preferred="false"/>
    <mode id="0x1cc" name="1920x1080" w="1920" h="1080" hz="30.02669" current="false" preferred="false"/>
    <mode id="0x1cd" name="1920x1080" w="1920" h="1080" hz="29.99838" current="false" preferred="false"/>
    <mode id="0x1ce" name="1920x1080" w="1920" h="1080" hz="25.02224" current="false" preferred="false"/>
    <mode id="0x1cf" name="1280x1024" w="1280" h="1024" hz="60.01974" current="false" preferred="false"/>
    <mode id="0x1d0" name="1280x720" w="1280" h="720" hz="59.94343" current="false" preferred="false"/>
    <mode id="0x1d1" name="1280x720" w="1280" h="720" hz="50.00000" current="false" preferred="false"/>
    <mode id="0x1d2" name="1024x768" w="1024" h="768" hz="60.00384" current="false" preferred="false"/>
    <mode id="0x1d3" name="800x600" w="800" h="600" hz="60.31654" current="false" preferred="false"/>
    <mode id="0x1d4" name="720x576" w="720" h="576" hz="50.00000" current="false" preferred="false"/>
    <mode id="0x1d5" name="720x576" w="720" h="576" hz="25.04006" current="false" preferred="false"/>
    <mode id="0x1d6" name="720x480" w="720" h="480" hz="59.94006" current="false" preferred="false"/>
    <mode id="0x1d7" name="720x480" w="720" h="480" hz="30.02722" current="false" preferred="false"/>
    <mode id="0x1d8" name="640x480" w="640" h="480" hz="59.94048" current="false" preferred="false"/>
    <mode id="0x1d9" name="640x480" w="640" h="480" hz="59.92857" current="false" preferred="false"/>
    <mode id="0x1da" name="480x576" w="480" h="576" hz="50.00000" current="false" preferred="false"/>
    <mode id="0x1db" name="480x480" w="480" h="480" hz="59.94006" current="false" preferred="false"/>
    <mode id="0x1dc" name="411x576" w="411" h="576" hz="50.07059" current="false" preferred="false"/>
    <mode id="0x1dd" name="411x480" w="411" h="480" hz="59.97279" current="false" preferred="false"/>
    <mode id="0x1de" name="3x576" w="3" h="576" hz="29.64744" current="false" preferred="false"/>
    <mode id="0x1df" name="3x480" w="3" h="480" hz="35.30534" current="false" preferred="false"/>
  </output>
  <output name="DP-1" connected="false">
  </output>
</screen>
Reply
#2
its the nvidia driver that doesn't have a proper 23,976hz mode, your TV almost certainly supports it.
Looks like your modeline works, as it selected the correct mode.
Reply
#3
Thanks for the quick replay. I think so too, the specs say 24p and pal and ntsc, but doesn't specify frame rates other than that, but then again 23,976hz is 24p ntsc.

1) What does the 24 depth in xorg conf mean, is it color range? My tv can handle 36 bit color, does this mean that i can drop the DefaultDepth 24 and SubSection "Display" Depth 24 lines in xorg.conf, as I understand that they are restriction lines?
2) Is it still recommended to sync video to display with audio drop/dupe?
3) I read the wiki on creating custom xorg.conf carefully, but I am still a little uncertain if I should input my own horisync and vertrefresh values as I have done? I think maybe that there is a small error in the wiki on this, as they write down different hsync and vrefresh values than they use in xorg.conf file they use? http://wiki.xbmc.org/index.php?title=Con..._xorg.conf se section 3.1 step 2 and section 3.2 step 2, or is there something that i have missed? Huh
4) I have created a edid file and specified it in xorg.conf, and trimmed down the xorg.conf a little.

Code:
Section "Device"
    Identifier     "nvidia"
    Driver         "nvidia"
    Option         "DynamicTwinView" "False"
    Option         "NoFlip" "false"
    Option         "NoLogo" "true"
    Option         "ConnectToAcpid" "0"
    Option         "FlatPanelProperties" "Scaling = Native"
    Option         "ModeValidation" "NoVesaModes, NoXServerModes"
    Option         "HWCursor" "false"
    Option         "ConnectedMonitor" "DFP-1"
    Option         "CustomEDID" "DFP-1:/storage/.config/edid.bin"
    Option         "IgnoreEDID" "false"
    Option         "UseEDID" "true"
EndSection

Section "Monitor"
    # 1920x1080p @ 24Hz (EIA/CEA-861B)
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync      15-69
    VertRefresh    23-61
    ModeLine       "1920x1080_23.97" 74.16 1920 2558 2602 2750 1080 1084 1089 1125 +hsync
    ModeLine       "1920x1080_23.976" 74.175 1920 2558 2602 2750 1080 1084 1089 1125 +hsync +vsync
    ModeLine       "1920x1080_24" 74.250 1920 2558 2602 2750 1080 1084 1089 1125 +hsync +vsync
    Option         "DPMS"
    Option         "DPI" "96 x 96"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "nvidia0"
    Monitor        "Monitor0"
    Option         "ColorRange" "Full"
    Option         "ColorSpace" "RGB"
    Option         "ModeValidation" "NoVesaModes, NoXServerModes"
    Option         "ExactModeTimingsDVI" "True"
    SubSection     "Display"
       Modes      "1920x1080_23.976" "1920x1080_24" "1920x1080_23.971"
    EndSubSection
EndSection

Section "Extensions"
    Option         "Composite" "Disable"
EndSection

Code:
Found 1 EDID in "/var/log/Xorg.0.log".
  Wrote EDID for "Pioneer Electronic Corporation SC-LX82 (DFP-1)" to "/storage/.config/edid.bin" (256 bytes).
Reply

Logout Mark Read Team Forum Stats Members Help
help with xorg.conf for pioneer plasma0