Kodi Community Forum

Full Version: xrandr - Miss Reporting Interlaced Modes
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I recently tried to upgrade from Nvidia 295.40 to 304.60 driver on Ubuntu 12.04
295.40 works fine but I would like better Bluray playback with the newer Nvidia Driver.

I need to set XBMC to 50Hz Interlaced mode for Live TV playback. This works fine in Nvidia 295.40

Xrandr seem to report my Interlaced modes incorrectly. EG: 1920x1080@50Hz becomes 1920x1080@25Hz, which when reported to XBMC of course causes all my content to stutter severely when it needs 50Hz playback.

On 304.60 driver, Xorg validates the following modes succesfully:

EG:
[ 1405.614] (II) NVIDIA(GPU-0): Validating Mode "1920x1080":
[ 1405.614] (II) NVIDIA(GPU-0): 1920 x 1080 @ 50 Hz
[ 1405.614] (II) NVIDIA(GPU-0): Mode Source: EDID
[ 1405.614] (II) NVIDIA(GPU-0): Pixel Clock : 74.25 MHz
[ 1405.614] (II) NVIDIA(GPU-0): HRes, HSyncStart : 1920, 2448
[ 1405.614] (II) NVIDIA(GPU-0): HSyncEnd, HTotal : 2492, 2640
[ 1405.614] (II) NVIDIA(GPU-0): VRes, VSyncStart : 1080, 1084
[ 1405.614] (II) NVIDIA(GPU-0): VSyncEnd, VTotal : 1094, 1124
[ 1405.614] (II) NVIDIA(GPU-0): H/V Polarity : +/+
[ 1405.614] (II) NVIDIA(GPU-0): Extra : Interlace
[ 1405.615] (II) NVIDIA(GPU-0): Viewport 1920x1080+360+22
[ 1405.615] (II) NVIDIA(GPU-0): Horizontal Taps 0
[ 1405.615] (II) NVIDIA(GPU-0): Vertical Taps 0
[ 1405.615] (II) NVIDIA(GPU-0): Base SuperSample x1
[ 1405.615] (II) NVIDIA(GPU-0): Base Depth 32
[ 1405.615] (II) NVIDIA(GPU-0): Distributed Rendering 1
[ 1405.615] (II) NVIDIA(GPU-0): Overlay Depth 32
[ 1405.615] (II) NVIDIA(GPU-0): Mode is valid.

and summarises:

[ 1406.369] (II) NVIDIA(GPU-0): --- Modes in ModePool for Pioneer Electronic Corporation PDP-xx7G (DFP-1) ---
[ 1406.369] (II) NVIDIA(GPU-0): "nvidia-auto-select" : 1920 x 1080 @ 50.0 Hz Interlace (from: EDID)
[ 1406.369] (II) NVIDIA(GPU-0): "1920x1080" : 1920 x 1080 @ 50.0 Hz Interlace (from: EDID)
[ 1406.369] (II) NVIDIA(GPU-0): "1920x1080_24" : 1920 x 1080 @ 24.0 Hz (from: X Configuration file ModeLine)
[ 1406.369] (II) NVIDIA(GPU-0): "1920x1080_23.976" : 1920 x 1080 @ 24.0 Hz (from: X Configuration file ModeLine)
[ 1406.369] (II) NVIDIA(GPU-0): "1920x1080_50i" : 1920 x 1080 @ 50.0 Hz Interlace (from: EDID)
[ 1406.369] (II) NVIDIA(GPU-0): "1920x1080_24_2" : 1920 x 1080 @ 24.0 Hz (from: X Configuration file ModeLine)
[ 1406.369] (II) NVIDIA(GPU-0): "1920x1080_24_0" : 1920 x 1080 @ 24.0 Hz (from: X Configuration file ModeLine)
[ 1406.369] (II) NVIDIA(GPU-0): "1920x1080_24_1" : CEA-861B:#32:1920x1080x23.970Hz/P (from: EDID)
[ 1406.370] (II) NVIDIA(GPU-0): "1920x1080_60i" : 1920 x 1080 @ 60.0 Hz Interlace (from: EDID)
[ 1406.370] (II) NVIDIA(GPU-0): "1920x1080_60i_0" : CEA-861B:#5:1920x1080x59.940Hz/I (from: EDID)
[ 1406.370] (II) NVIDIA(GPU-0): "1280x720" : 1280 x 720 @ 60.0 Hz (from: EDID)
[ 1406.370] (II) NVIDIA(GPU-0): "1280x720_60" : 1280 x 720 @ 60.0 Hz (from: EDID)
[ 1406.370] (II) NVIDIA(GPU-0): "1280x720_60_0" : CEA-861B:#4:1280x720x59.940Hz/P (from: EDID)
[ 1406.370] (II) NVIDIA(GPU-0): "1280x720_50" : 1280 x 720 @ 50.0 Hz (from: EDID)
[ 1406.370] (II) NVIDIA(GPU-0): "720x576" : 720 x 576 @ 50.0 Hz (from: EDID)
[ 1406.370] (II) NVIDIA(GPU-0): "720x576_50" : 720 x 576 @ 50.0 Hz (from: EDID)
[ 1406.370] (II) NVIDIA(GPU-0): "720x576_50i" : CEA-861B:#22:1440x576x50.000Hz/I (from: EDID)
[ 1406.370] (II) NVIDIA(GPU-0): "720x480" : 720 x 480 @ 59.9 Hz (from: EDID)
[ 1406.370] (II) NVIDIA(GPU-0): "720x480_60" : 720 x 480 @ 59.9 Hz (from: EDID)
[ 1406.370] (II) NVIDIA(GPU-0): "720x480_60i" : CEA-861B:#7:1440x480x59.940Hz/I (from: EDID)
[ 1406.370] (II) NVIDIA(GPU-0): "640x480" : 640 x 480 @ 59.9 Hz (from: EDID)
[ 1406.370] (II) NVIDIA(GPU-0): "640x480_60" : 640 x 480 @ 59.9 Hz (from: EDID)
[ 1406.370] (II) NVIDIA(GPU-0): --- End of ModePool for Pioneer Electronic Corporation PDP-xx7G (DFP-1): ---
[ 1406.370] (II) NVIDIA(GPU-0):

Then Xorg sets the screen refresh to 1920x1080@50Hz:

[ 1404.670] (==) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
[ 1404.670] (==) NVIDIA(0): will be used as the requested mode.

My Pioneer screen reports the mode as 1080i 1920x1080 50Hz



When XBMC starts, I can only choose from Progressive modes at 1920x1080 at 30Hz or 25Hz etc, no Interlaced modes at 60Hz or 50Hz as Xrandr reports the following:

:/etc/X11# DISPLAY=:0 /usr/lib/xbmc/xbmc-xrandr


<screen id="0" minimum_w="8" minimum_h="8" current_w="1920" current_h="1080" maximum_w="8192" maximum_h="8192">
<output name="DVI-I-0" connected="false">
</output>
<output name="DVI-I-1" connected="false">
</output>
<output name="HDMI-0" connected="true" w="1920" h="1080" x="0" y="0" wmm="952" hmm="536">
<mode id="0x1c6" name="1920x1080" w="1920" h="1080" hz="25.02224" current="false" preferred="true"/>
<mode id="0x1c7" name="1920x1080" w="1920" h="1080" hz="25.00000" current="false" preferred="false"/>
<mode id="0x1c8" name="1920x1080" w="1920" h="1080" hz="24.00000" current="false" preferred="false"/>
<mode id="0x1c9" name="1920x1080" w="1920" h="1080" hz="23.97576" current="false" preferred="false"/>
<mode id="0x1ca" name="1920x1080" w="1920" h="1080" hz="23.97091" current="false" preferred="false"/>
<mode id="0x1cb" name="1920x1080" w="1920" h="1080" hz="30.02669" current="true" preferred="false"/>
<mode id="0x1cc" name="1920x1080" w="1920" h="1080" hz="29.99838" current="false" preferred="false"/>
<mode id="0x1cd" name="1280x720" w="1280" h="720" hz="60.00000" 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="720x576" w="720" h="576" hz="50.00000" current="false" preferred="false"/>
<mode id="0x1d1" name="720x576" w="720" h="576" hz="25.04006" current="false" preferred="false"/>
<mode id="0x1d2" name="720x480" w="720" h="480" hz="59.94006" current="false" preferred="false"/>
<mode id="0x1d3" name="720x480" w="720" h="480" hz="30.02722" current="false" preferred="false"/>
<mode id="0x1d4" name="640x480" w="640" h="480" hz="59.92857" current="false" preferred="false"/>
</output>
</screen>

Xrandr reports a 25Hz mode instead of a 50Hz mode that my Display does not even have a nor has Xorg validated it. It divides my 1920x1080@50Hz frequency by two!
Of course this buggers up XBMC playback refresh rates of 50Hz material. Lots of dropped frames and everything out of sync.

Besides switching back to my previous and old Nvidia driver that works perfectly (tested backwards and forwards several times) with Interlaced modes, does anybody know how I can get Xrandr to report the missing/correct Interlaced modes that I want XBMC to use?

Thank You



(2012-11-07, 02:40)ozra Wrote: [ -> ]I recently tried to upgrade from Nvidia 295.40 to 304.60 driver on Ubuntu 12.04
295.40 works fine but I would like better Bluray playback with the newer Nvidia Driver.

I need to set XBMC to 50Hz Interlaced mode for Live TV playback. This works fine in Nvidia 295.40

Xrandr seem to report my Interlaced modes incorrectly. EG: 1920x1080@50Hz becomes 1920x1080@25Hz, which when reported to XBMC of course causes all my content to stutter severely when it needs 50Hz playback.

On 304.60 driver, Xorg validates the following modes succesfully:

EG:
[ 1405.614] (II) NVIDIA(GPU-0): Validating Mode "1920x1080":
[ 1405.614] (II) NVIDIA(GPU-0): 1920 x 1080 @ 50 Hz
[ 1405.614] (II) NVIDIA(GPU-0): Mode Source: EDID
[ 1405.614] (II) NVIDIA(GPU-0): Pixel Clock : 74.25 MHz
[ 1405.614] (II) NVIDIA(GPU-0): HRes, HSyncStart : 1920, 2448
[ 1405.614] (II) NVIDIA(GPU-0): HSyncEnd, HTotal : 2492, 2640
[ 1405.614] (II) NVIDIA(GPU-0): VRes, VSyncStart : 1080, 1084
[ 1405.614] (II) NVIDIA(GPU-0): VSyncEnd, VTotal : 1094, 1124
[ 1405.614] (II) NVIDIA(GPU-0): H/V Polarity : +/+
[ 1405.614] (II) NVIDIA(GPU-0): Extra : Interlace
[ 1405.615] (II) NVIDIA(GPU-0): Viewport 1920x1080+360+22
[ 1405.615] (II) NVIDIA(GPU-0): Horizontal Taps 0
[ 1405.615] (II) NVIDIA(GPU-0): Vertical Taps 0
[ 1405.615] (II) NVIDIA(GPU-0): Base SuperSample x1
[ 1405.615] (II) NVIDIA(GPU-0): Base Depth 32
[ 1405.615] (II) NVIDIA(GPU-0): Distributed Rendering 1
[ 1405.615] (II) NVIDIA(GPU-0): Overlay Depth 32
[ 1405.615] (II) NVIDIA(GPU-0): Mode is valid.

and summarises:

[ 1406.369] (II) NVIDIA(GPU-0): --- Modes in ModePool for Pioneer Electronic Corporation PDP-xx7G (DFP-1) ---
[ 1406.369] (II) NVIDIA(GPU-0): "nvidia-auto-select" : 1920 x 1080 @ 50.0 Hz Interlace (from: EDID)
[ 1406.369] (II) NVIDIA(GPU-0): "1920x1080" : 1920 x 1080 @ 50.0 Hz Interlace (from: EDID)
[ 1406.369] (II) NVIDIA(GPU-0): "1920x1080_24" : 1920 x 1080 @ 24.0 Hz (from: X Configuration file ModeLine)
[ 1406.369] (II) NVIDIA(GPU-0): "1920x1080_23.976" : 1920 x 1080 @ 24.0 Hz (from: X Configuration file ModeLine)
[ 1406.369] (II) NVIDIA(GPU-0): "1920x1080_50i" : 1920 x 1080 @ 50.0 Hz Interlace (from: EDID)
[ 1406.369] (II) NVIDIA(GPU-0): "1920x1080_24_2" : 1920 x 1080 @ 24.0 Hz (from: X Configuration file ModeLine)
[ 1406.369] (II) NVIDIA(GPU-0): "1920x1080_24_0" : 1920 x 1080 @ 24.0 Hz (from: X Configuration file ModeLine)
[ 1406.369] (II) NVIDIA(GPU-0): "1920x1080_24_1" : CEA-861B:#32:1920x1080x23.970Hz/P (from: EDID)
[ 1406.370] (II) NVIDIA(GPU-0): "1920x1080_60i" : 1920 x 1080 @ 60.0 Hz Interlace (from: EDID)
[ 1406.370] (II) NVIDIA(GPU-0): "1920x1080_60i_0" : CEA-861B:#5:1920x1080x59.940Hz/I (from: EDID)
[ 1406.370] (II) NVIDIA(GPU-0): "1280x720" : 1280 x 720 @ 60.0 Hz (from: EDID)
[ 1406.370] (II) NVIDIA(GPU-0): "1280x720_60" : 1280 x 720 @ 60.0 Hz (from: EDID)
[ 1406.370] (II) NVIDIA(GPU-0): "1280x720_60_0" : CEA-861B:#4:1280x720x59.940Hz/P (from: EDID)
[ 1406.370] (II) NVIDIA(GPU-0): "1280x720_50" : 1280 x 720 @ 50.0 Hz (from: EDID)
[ 1406.370] (II) NVIDIA(GPU-0): "720x576" : 720 x 576 @ 50.0 Hz (from: EDID)
[ 1406.370] (II) NVIDIA(GPU-0): "720x576_50" : 720 x 576 @ 50.0 Hz (from: EDID)
[ 1406.370] (II) NVIDIA(GPU-0): "720x576_50i" : CEA-861B:#22:1440x576x50.000Hz/I (from: EDID)
[ 1406.370] (II) NVIDIA(GPU-0): "720x480" : 720 x 480 @ 59.9 Hz (from: EDID)
[ 1406.370] (II) NVIDIA(GPU-0): "720x480_60" : 720 x 480 @ 59.9 Hz (from: EDID)
[ 1406.370] (II) NVIDIA(GPU-0): "720x480_60i" : CEA-861B:#7:1440x480x59.940Hz/I (from: EDID)
[ 1406.370] (II) NVIDIA(GPU-0): "640x480" : 640 x 480 @ 59.9 Hz (from: EDID)
[ 1406.370] (II) NVIDIA(GPU-0): "640x480_60" : 640 x 480 @ 59.9 Hz (from: EDID)
[ 1406.370] (II) NVIDIA(GPU-0): --- End of ModePool for Pioneer Electronic Corporation PDP-xx7G (DFP-1): ---
[ 1406.370] (II) NVIDIA(GPU-0):

Then Xorg sets the screen refresh to 1920x1080@50Hz:

[ 1404.670] (==) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
[ 1404.670] (==) NVIDIA(0): will be used as the requested mode.

My Pioneer screen reports the mode as 1080i 1920x1080 50Hz



When XBMC starts, I can only choose from Progressive modes at 1920x1080 at 30Hz or 25Hz etc, no Interlaced modes at 60Hz or 50Hz as Xrandr reports the following:

:/etc/X11# DISPLAY=:0 /usr/lib/xbmc/xbmc-xrandr


<screen id="0" minimum_w="8" minimum_h="8" current_w="1920" current_h="1080" maximum_w="8192" maximum_h="8192">
<output name="DVI-I-0" connected="false">
</output>
<output name="DVI-I-1" connected="false">
</output>
<output name="HDMI-0" connected="true" w="1920" h="1080" x="0" y="0" wmm="952" hmm="536">
<mode id="0x1c6" name="1920x1080" w="1920" h="1080" hz="25.02224" current="false" preferred="true"/>
<mode id="0x1c7" name="1920x1080" w="1920" h="1080" hz="25.00000" current="false" preferred="false"/>
<mode id="0x1c8" name="1920x1080" w="1920" h="1080" hz="24.00000" current="false" preferred="false"/>
<mode id="0x1c9" name="1920x1080" w="1920" h="1080" hz="23.97576" current="false" preferred="false"/>
<mode id="0x1ca" name="1920x1080" w="1920" h="1080" hz="23.97091" current="false" preferred="false"/>
<mode id="0x1cb" name="1920x1080" w="1920" h="1080" hz="30.02669" current="true" preferred="false"/>
<mode id="0x1cc" name="1920x1080" w="1920" h="1080" hz="29.99838" current="false" preferred="false"/>
<mode id="0x1cd" name="1280x720" w="1280" h="720" hz="60.00000" 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="720x576" w="720" h="576" hz="50.00000" current="false" preferred="false"/>
<mode id="0x1d1" name="720x576" w="720" h="576" hz="25.04006" current="false" preferred="false"/>
<mode id="0x1d2" name="720x480" w="720" h="480" hz="59.94006" current="false" preferred="false"/>
<mode id="0x1d3" name="720x480" w="720" h="480" hz="30.02722" current="false" preferred="false"/>
<mode id="0x1d4" name="640x480" w="640" h="480" hz="59.92857" current="false" preferred="false"/>
</output>
</screen>

Xrandr reports a 25Hz mode instead of a 50Hz mode that my Display does not even have a nor has Xorg validated it. It divides my 1920x1080@50Hz frequency by two!
Of course this buggers up XBMC playback refresh rates of 50Hz material. Lots of dropped frames and everything out of sync.

Besides switching back to my previous and old Nvidia driver that works perfectly (tested backwards and forwards several times) with Interlaced modes, does anybody know how I can get Xrandr to report the missing/correct Interlaced modes that I want XBMC to use?

Thank You

Hey.

Post your xorg.conf, then i'll try to help tormorrow.
Which pioneer panel to you have?
Thanks for your help.

My Panel is a Pioneer PDP-507XDA.

My Xorg debug: http://pastebin.ubuntu.com/1338761/


My Xorg.conf:

root@xbmc-2:~# cat /etc/X11/xorg.conf
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 304.60 (buildmeister@swio-display-x86-rhel47-13) Sun Oct 14 21:19:18 PDT 2012
# This is working on 304.60 scaling
# Deprecated on 30X.X NVIDIA DRIVERS - Option "FlatPanelProperties" "Scaling = Native"

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
Option "NoLogo" "true"
Option "DynamicTwinView" "false"
Option "NoFlip" "false"
Option "ConnectToAcpid" "0"
Option "ModeValidation" "NoVesaModes, NoXServerModes"
Option "ModeDebug" "true"
Option "HWCursor" "false"
Option "SWCursor" "false"
Option "RenderAccel" "1"
Option "ModeDebug" "true"
EndSection


Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "ColorRange" "Full"
Option "ColorSpace" "RGB"
Option "DynamicTwinView" "false"
Option "ModeValidation" "NoVesaModes, NoXServerModes"
Option "ExactModeTimingsDVI" "True"
SubSection "Display"
Depth 24
EndSubSection
EndSection


Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 15.0 - 46.0
VertRefresh 23.0 - 61.0
# 1920x1080p @ 23.976Hz (EIA/CEA-861B)
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
# Remove # from below to use
#Modeline "1920x1080_25" 74.25 1920 2448 2492 2640 1080 1084 1089 1125 +hsync +vsync
#Modeline "1920x1080_60" 148.35 1920 2008 2052 2200 1080 1084 1089 1125 -hsync +vsync
Option "DPI" "96 x 96"
EndSection

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

XBMC Startup Debug:

18:45:27 T:3007117120 INFO: Available videomodes (xrandr):
18:45:27 T:3007117120 INFO: Output 'HDMI-0' has 14 modes
18:45:27 T:3007117120 INFO: ID:0x1c6 Name:1920x1080 Refresh:25.022240 Width:1920 Height:1080
18:45:27 T:3007117120 INFO: Pixel Ratio: 0.999067
18:45:27 T:3007117120 INFO: ID:0x1c7 Name:1920x1080 Refresh:24.000000 Width:1920 Height:1080
18:45:27 T:3007117120 INFO: Pixel Ratio: 0.999067
18:45:27 T:3007117120 INFO: ID:0x1c8 Name:1920x1080 Refresh:23.975760 Width:1920 Height:1080
18:45:27 T:3007117120 INFO: Pixel Ratio: 0.999067
18:45:27 T:3007117120 INFO: ID:0x1c9 Name:1920x1080 Refresh:23.970909 Width:1920 Height:1080
18:45:27 T:3007117120 INFO: Pixel Ratio: 0.999067
18:45:27 T:3007117120 INFO: ID:0x1ca Name:1920x1080 Refresh:30.026690 Width:1920 Height:1080
18:45:27 T:3007117120 INFO: Pixel Ratio: 0.999067
18:45:27 T:3007117120 INFO: ID:0x1cb Name:1920x1080 Refresh:29.998381 Width:1920 Height:1080
18:45:27 T:3007117120 INFO: Pixel Ratio: 0.999067
18:45:27 T:3007117120 INFO: ID:0x1cc Name:1280x720 Refresh:60.000000 Width:1280 Height:720
18:45:27 T:3007117120 INFO: Pixel Ratio: 0.999067
18:45:27 T:3007117120 INFO: ID:0x1cd Name:1280x720 Refresh:59.943432 Width:1280 Height:720
18:45:27 T:3007117120 INFO: Pixel Ratio: 0.999067
18:45:27 T:3007117120 INFO: ID:0x1ce Name:1280x720 Refresh:50.000000 Width:1280 Height:720
18:45:27 T:3007117120 INFO: Pixel Ratio: 0.999067
18:45:27 T:3007117120 INFO: ID:0x1cf Name:720x576 Refresh:50.000000 Width:720 Height:576
18:45:27 T:3007117120 INFO: Pixel Ratio: 1.420896
18:45:27 T:3007117120 INFO: ID:0x1d0 Name:720x576 Refresh:25.040060 Width:720 Height:576
18:45:27 T:3007117120 INFO: Pixel Ratio: 1.420896
18:45:27 T:3007117120 INFO: ID:0x1d1 Name:720x480 Refresh:59.940060 Width:720 Height:480
18:45:27 T:3007117120 INFO: Pixel Ratio: 1.184080
18:45:27 T:3007117120 INFO: ID:0x1d2 Name:720x480 Refresh:30.027220 Width:720 Height:480
18:45:27 T:3007117120 INFO: Pixel Ratio: 1.184080
18:45:27 T:3007117120 INFO: ID:0x1d3 Name:640x480 Refresh:59.928570 Width:640 Height:480
18:45:27 T:3007117120 INFO: Pixel Ratio: 1.332090
18:45:27 T:3007117120 NOTICE: Checking resolution 16
18:45:27 T:3007117120 NOTICE: Using visual 0x27


Playing back 720x576@50Hz interlaced content (Live TV):

root@xbmc-2:~# DISPLAY=:0 /usr/lib/xbmc/xbmc-xrandr
<screen id="0" minimum_w="8" minimum_h="8" current_w="1920" current_h="1080" maximum_w="8192" maximum_h="8192">
<output name="DVI-I-0" connected="false">
</output>
<output name="DVI-I-1" connected="false">
</output>
<output name="HDMI-0" connected="true" w="1920" h="1080" x="0" y="0" wmm="952" hmm="536">
<mode id="0x1c6" name="1920x1080" w="1920" h="1080" hz="25.02224" 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="false" 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="30.02669" current="true" preferred="false"/>
<mode id="0x1cb" name="1920x1080" w="1920" h="1080" hz="29.99838" current="false" preferred="false"/>
<mode id="0x1cc" name="1280x720" w="1280" h="720" hz="60.00000" current="false" preferred="false"/>
<mode id="0x1cd" name="1280x720" w="1280" h="720" hz="59.94343" current="false" preferred="false"/>
<mode id="0x1ce" name="1280x720" w="1280" h="720" hz="50.00000" current="false" preferred="false"/>
<mode id="0x1cf" name="720x576" w="720" h="576" hz="50.00000" current="false" preferred="false"/>
<mode id="0x1d0" name="720x576" w="720" h="576" hz="25.04006" current="false" preferred="false"/>
<mode id="0x1d1" name="720x480" w="720" h="480" hz="59.94006" current="false" preferred="false"/>
<mode id="0x1d2" name="720x480" w="720" h="480" hz="30.02722" current="false" preferred="false"/>
<mode id="0x1d3" name="640x480" w="640" h="480" hz="59.92857" current="false" preferred="false"/>
</output>
</screen>

TV Shows 1080i 60Hz Input.
XBMC Encoder info shows 50Hz refresh rate onscreen.

XBMC Debug Log:

07:37:21 T:2909006656 DEBUG: CalcFrameRate framerate was:25.000000 calculated:50.000000
07:37:21 T:2909006656 NOTICE: fps: 50.000000, pwidth: 720, pheight: 576, dwidth: 720, dheight: 405
07:37:21 T:2909006656 DEBUG: OutputPicture - change configuration. 720x576. framerate: 50.00. format: VDPAU
07:37:21 T:2909006656 DEBUG: Resolution 1920x1080 @ 25.02 - Full Screen (16) not a very good match for fps 50.000 (weight: 0.500), trying 2:3 cadence
07:37:21 T:2909006656 DEBUG: Resolution 1920x1080 @ 25.02 - Full Screen (16) not a very good match for fps 50.000 with 2:3 cadence (weight: 0.800), choosing 60 hertz
07:37:21 T:2909006656 DEBUG: 60 hertz refreshrate not available, choosing highest
07:37:21 T:2909006656 NOTICE: Display resolution ADJUST : HDMI-0: 1920x1080 @ 30.03Hz (21) (weight: 0.399)




Please note that everything works fine with the Nvidia 295.40 driver.

Pioneer Specs on HDMI input:

Input signal table:
1920*1080i@50 Hz
720*576p@50 Hz
1280*720p@50 Hz
720(1440)*576i@50 Hz
1920*[email protected] Hz/60 Hz
720*[email protected] Hz/60 Hz
1280*[email protected] Hz/60 Hz
720(1440)*[email protected] Hz/60 Hz
1920*1080p@24 Hz


Below are previous infos from when I use the Nvidia 294.50 Driver:

Nvidia 295.40 Xorg:

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

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

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

Nvidia 295.40 Xrandr:

root@xbmc-2:~# DISPLAY=:0 /usr/lib/xbmc/xbmc-xrandr
/usr/lib/xbmc/xbmc-xrandr: Failed to get size of gamma for output default
<screen id="0" minimum_w="640" minimum_h="480" current_w="1920" current_h="1080" maximum_w="1920" maximum_h="1080">
<output name="default" connected="true" w="1920" h="1080" x="0" y="0" wmm="0" hmm="0">
<mode id="0x12a" name="1920x1080" w="1920" h="1080" hz="60.00000" current="true" preferred="false"/>
<mode id="0x12b" name="1920x1080" w="1920" h="1080" hz="50.00000" current="false" preferred="false"/>
<mode id="0x12c" name="1920x1080" w="1920" h="1080" hz="24.00000" current="false" preferred="false"/>
<mode id="0x12d" name="1280x720" w="1280" h="720" hz="60.00000" current="false" preferred="false"/>
<mode id="0x12e" name="1280x720" w="1280" h="720" hz="50.00000" current="false" preferred="false"/>
<mode id="0x12f" name="720x576" w="720" h="576" hz="50.00000" current="false" preferred="false"/>
<mode id="0x130" name="720x480" w="720" h="480" hz="60.00000" current="false" preferred="false"/>
<mode id="0x131" name="640x480" w="640" h="480" hz="60.00000" current="false" preferred="false"/>
</output>
</screen>

XBMC Startup Debug:

20:05:35 T:3008210752 INFO: Available videomodes (xrandr):
20:05:35 T:3008210752 INFO: Output 'default' has 8 modes
20:05:35 T:3008210752 INFO: ID:0x12a Name:1920x1080 Refresh:60.000000 Width:1920 Height:1080
20:05:35 T:3008210752 INFO: Pixel Ratio: 1.000000
20:05:35 T:3008210752 INFO: ID:0x12b Name:1920x1080 Refresh:50.000000 Width:1920 Height:1080
20:05:35 T:3008210752 INFO: Pixel Ratio: 1.000000
20:05:35 T:3008210752 INFO: ID:0x12c Name:1920x1080 Refresh:24.000000 Width:1920 Height:1080
20:05:35 T:3008210752 INFO: Pixel Ratio: 1.000000
20:05:35 T:3008210752 INFO: ID:0x12d Name:1280x720 Refresh:60.000000 Width:1280 Height:720
20:05:35 T:3008210752 INFO: Pixel Ratio: 1.000000
20:05:35 T:3008210752 INFO: ID:0x12e Name:1280x720 Refresh:50.000000 Width:1280 Height:720
20:05:35 T:3008210752 INFO: Pixel Ratio: 1.000000
20:05:35 T:3008210752 INFO: ID:0x12f Name:720x576 Refresh:50.000000 Width:720 Height:576
20:05:35 T:3008210752 INFO: Pixel Ratio: 1.000000
20:05:35 T:3008210752 INFO: ID:0x130 Name:720x480 Refresh:60.000000 Width:720 Height:480
20:05:35 T:3008210752 INFO: Pixel Ratio: 1.000000
20:05:35 T:3008210752 INFO: ID:0x131 Name:640x480 Refresh:60.000000 Width:640 Height:480
20:05:35 T:3008210752 INFO: Pixel Ratio: 1.000000
20:05:35 T:3008210752 NOTICE: Checking resolution 16

Nvidia 295.40 Xorg Debug Log: http://pastebin.ubuntu.com/1340975/


Xorg Summary:

[ 244.075] (II) NVIDIA(0): --- Modes in ModePool for Pioneer Electronic Corporation PDP-xx7G (DFP-1) ---
[ 244.076] (II) NVIDIA(0): "nvidia-auto-select" : 1920 x 1080 @ 50.0 Hz Interlace (from: EDID)
[ 244.076] (II) NVIDIA(0): "1920x1080" : 1920 x 1080 @ 50.0 Hz Interlace (from: EDID)
[ 244.076] (II) NVIDIA(0): "1920x1080_50i" : 1920 x 1080 @ 50.0 Hz Interlace (from: EDID)
[ 244.076] (II) NVIDIA(0): "1920x1080_24" : 1920 x 1080 @ 23.97/24 Hz (CEA-861B Format 32) (from: EDID)
[ 244.076] (II) NVIDIA(0): "1920x1080_60i" : 1920 x 1080 @ 60.1 Hz Interlace (from: EDID)
[ 244.076] (II) NVIDIA(0): "1920x1080_60i_0" : 1920 x 1080 @ 59.94/60 Hz (CEA-861B Format 5) (from: EDID)
[ 244.076] (II) NVIDIA(0): "1280x720" : 1280 x 720 @ 60.0 Hz (from: EDID)
[ 244.076] (II) NVIDIA(0): "1280x720_60" : 1280 x 720 @ 60.0 Hz (from: EDID)
[ 244.076] (II) NVIDIA(0): "1280x720_60_0" : 1280 x 720 @ 59.94/60 Hz (CEA-861B Format 4) (from: EDID)
[ 244.076] (II) NVIDIA(0): "1280x720_50" : 1280 x 720 @ 50.0 Hz (from: EDID)
[ 244.076] (II) NVIDIA(0): "720x576" : 720 x 576 @ 50.0 Hz (from: EDID)
[ 244.076] (II) NVIDIA(0): "720x576_50" : 720 x 576 @ 50.0 Hz (from: EDID)
[ 244.076] (II) NVIDIA(0): "720x576_50i" : (1440)x 576 @ 50 Hz Interlace (CEA-861B Format 22) (from: EDID)
[ 244.076] (II) NVIDIA(0): "720x480" : 720 x 480 @ 59.9 Hz (from: EDID)
[ 244.076] (II) NVIDIA(0): "720x480_60" : 720 x 480 @ 59.9 Hz (from: EDID)
[ 244.076] (II) NVIDIA(0): "720x480_60i" : (1440)x 480 @ 59.94/60 Hz Interlace (CEA-861B Format 7) (from: EDID)
[ 244.076] (II) NVIDIA(0): "640x480" : 640 x 480 @ 59.94/60 Hz Interlace (CEA-861B Format 1) (from: EDID)
[ 244.076] (II) NVIDIA(0): "640x480_60" : 640 x 480 @ 59.94/60 Hz Interlace (CEA-861B Format 1) (from: EDID)
[ 244.076] (II) NVIDIA(0): --- End of ModePool for Pioneer Electronic Corporation PDP-xx7G (DFP-1): ---


Xbmc does not support interlaced output
Thanks Wsnipex.

Maybe I am misunderstanding then:

I am less worried about the Interlaced bit and more worried about my missing refresh rate.

Under driver 294.50, xbmc sets the display to 50Hz for 50Hz content and 50Hz is displayed as the refresh rate according to my TV.

Under Driver 304.60 xbmc tries to set the display to 50Hz for 50Hz content but xrandr is saying there is no such refresh rate. The highest refresh rate is 30Hz so xbmc sets the display to 30Hz refresh rate, the TV displays 60Hz as the incoming signal but XBMC still thinks its outputting 30Hz.

50Hz and 60Hz are both valid refresh rates for my TV. And the TV gets set to those rates but xrandr/xbmc seems to think that 25Hz and 30Hz are my refresh rates and displays my material according to the 25Hz and 30Hz rates in xbmc.

If I change the driver to 290.50 the correct rates are reported to XBMC and it calculates refresh rates correctly eg: 50Hz or 60Hz and full frame rates are passed through.
If I only change the driver to 304.60, my refresh rates get halved and XBMC drops frames accordingly.

Same installation, just a different Nvidia driver and this can be repeated reliably.

How do I get the same refresh rate calculation results that I get for driver 294.50 as what I get for 304.60 in xbmc/xrandr?

Thank You





according to your Xorg.log, your TV does not support 1080p50 and 1080p60. At least that is what the EDID reports. This might be wrong though and could be overridden in xorg.conf by disabling modevalidation. Be careful though and first make sure the TV indeed does support those modes.
Thank You.

Why the discrepancy between the two drivers?

xrandr with 294.50:

root@xbmc-2:~# DISPLAY=:0 /usr/lib/xbmc/xbmc-xrandr
/usr/lib/xbmc/xbmc-xrandr: Failed to get size of gamma for output default
<screen id="0" minimum_w="640" minimum_h="480" current_w="1920" current_h="1080" maximum_w="1920" maximum_h="1080">
<output name="default" connected="true" w="1920" h="1080" x="0" y="0" wmm="0" hmm="0">
<mode id="0x12a" name="1920x1080" w="1920" h="1080" hz="60.00000" current="true" preferred="false"/>
<mode id="0x12b" name="1920x1080" w="1920" h="1080" hz="50.00000" current="false" preferred="false"/>
<mode id="0x12c" name="1920x1080" w="1920" h="1080" hz="24.00000" current="false" preferred="false"/>
<mode id="0x12d" name="1280x720" w="1280" h="720" hz="60.00000" current="false" preferred="false"/>
<mode id="0x12e" name="1280x720" w="1280" h="720" hz="50.00000" current="false" preferred="false"/>
<mode id="0x12f" name="720x576" w="720" h="576" hz="50.00000" current="false" preferred="false"/>
<mode id="0x130" name="720x480" w="720" h="480" hz="60.00000" current="false" preferred="false"/>
<mode id="0x131" name="640x480" w="640" h="480" hz="60.00000" current="false" preferred="false"/>
</output>
</screen>

xrandr with 304.60:

<screen id="0" minimum_w="8" minimum_h="8" current_w="1920" current_h="1080" maximum_w="8192" maximum_h="8192">
<output name="DVI-I-0" connected="false">
</output>
<output name="DVI-I-1" connected="false">
</output>
<output name="HDMI-0" connected="true" w="1920" h="1080" x="0" y="0" wmm="952" hmm="536">
<mode id="0x1c6" name="1920x1080" w="1920" h="1080" hz="25.02224" current="false" preferred="true"/>
<mode id="0x1c7" name="1920x1080" w="1920" h="1080" hz="25.00000" current="false" preferred="false"/>
<mode id="0x1c8" name="1920x1080" w="1920" h="1080" hz="24.00000" current="false" preferred="false"/>
<mode id="0x1c9" name="1920x1080" w="1920" h="1080" hz="23.97576" current="false" preferred="false"/>
<mode id="0x1ca" name="1920x1080" w="1920" h="1080" hz="23.97091" current="false" preferred="false"/>
<mode id="0x1cb" name="1920x1080" w="1920" h="1080" hz="30.02669" current="true" preferred="false"/>
<mode id="0x1cc" name="1920x1080" w="1920" h="1080" hz="29.99838" current="false" preferred="false"/>
<mode id="0x1cd" name="1280x720" w="1280" h="720" hz="60.00000" 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="720x576" w="720" h="576" hz="50.00000" current="false" preferred="false"/>
<mode id="0x1d1" name="720x576" w="720" h="576" hz="25.04006" current="false" preferred="false"/>
<mode id="0x1d2" name="720x480" w="720" h="480" hz="59.94006" current="false" preferred="false"/>
<mode id="0x1d3" name="720x480" w="720" h="480" hz="30.02722" current="false" preferred="false"/>
<mode id="0x1d4" name="640x480" w="640" h="480" hz="59.92857" current="false" preferred="false"/>
</output>
</screen>
sorry, I don't know. I don't use nvidia and therefore don't know much about their drivers. There are other more knowledged ppl here that can hopefully help you with this.
Thank you very much for trying to help.
Much appreciated.

Maybe someone can help me with why xrandr with the newer driver reports exactly half the actual rate of the TV refresh rate as opposed to the older driver that reports the correct refresh rates for the TV.
Xorg validates the exact same modes correctly with either of the drivers in both cases.



NVidia drivers > 302 support xrandr 1.2/1.3. AFAIK the interlaced flag for modelines was introduced with 1.2. According to the EDID data driver 304 displays it correctly.
That would make it a strange TV. Never heard of a Full HD set that has only one progressive mode at 1080p, namely 1080p24 Huh
It's a rather old model and not full HD: Model: PDP-507XDA, 1365 x 768 pixel resolution
ok that makes sense. Its only 720p. Like most they accept 1080i input. What makes me wonder though is the 1080p24, must be wrong in the EDID.

So the solution is to just set display resolution to 720p
Hi folks.

Don't mean to highjack the thread, but I have one setup with an older 720p panel like ozra does.

Here's 304.51 xrandr output:

Code:
<screen id="0" minimum_w="8" minimum_h="8" current_w="1280" current_h="720" maximum_w="8192" maximum_h="8192">
  <output name="DVI-I-0" connected="false">
  </output>
  <output name="VGA-0" connected="false">
  </output>
  <output name="DVI-I-1" connected="false">
  </output>
  <output name="HDMI-0" connected="true" w="1280" h="720" x="0" y="0" wmm="920" hmm="518">
    <mode id="0x24f" name="1280x720" w="1280" h="720" hz="60.00000" current="true" preferred="true"/>
    <mode id="0x255" name="1280x720" w="1280" h="720" hz="59.94344" current="false" preferred="false"/>
    <mode id="0x250" name="1920x1080" w="1920" h="1080" hz="60.00000" current="false" preferred="false"/>
    <mode id="0x251" name="1920x1080" w="1920" h="1080" hz="59.93939" current="false" preferred="false"/>
    <mode id="0x252" name="1920x1080" w="1920" h="1080" hz="30.02669" current="false" preferred="false"/>
    <mode id="0x253" name="1920x1080" w="1920" h="1080" hz="29.99838" current="false" preferred="false"/>
    <mode id="0x254" name="1440x480" w="1440" h="480" hz="30.02723" current="false" preferred="false"/>
    <mode id="0x256" name="720x480" w="720" h="480" hz="59.94006" current="false" preferred="false"/>
    <mode id="0x257" name="720x480" w="720" h="480" hz="30.02723" current="false" preferred="false"/>
    <mode id="0x258" name="640x480" w="640" h="480" hz="59.92857" current="false" preferred="false"/>
  </output>
</screen>

In this case here what should I be shooting for with respect to 23.976p bluray sources?

I have found a lot of discussion with respect to 24p to 60i conversion, but that isn't an option as far as XBMC goes if I understand correctly. Should I be shooting for the 1080p59.94 profile?
Pages: 1 2