Difference between revisions of "Sony KDL-46W4500"

From LinuxMCE
Jump to: navigation, search
Line 41: Line 41:
  
  
# xorg.conf (xorg X Window System server configuration file)
+
  Section "ServerLayout"
#
+
          Identifier      "XFree86 Configured"
# This file was generated by dexconf, the Debian X Configuration tool, using
+
          Screen    0    "Screen0"      0 0
# values from the debconf database.
+
          InputDevice    "Mouse0"        "CorePointer"
#
+
          InputDevice    "Keyboard0"    "CoreKeyboard"
# Edit this file with caution, and see the xorg.conf manual page.
+
  EndSection
# (Type "man xorg.conf" at the shell prompt.)
+
 
#
+
  Section "Files"
# This file is automatically updated on xserver-xorg package upgrades *only*
+
          RgbPath        "/usr/X11R6/lib/X11/rgb"
# if it has not been modified since the last upgrade of the xserver-xorg
+
          ModulePath      "/usr/lib/xorg/modules"
# package.
+
          FontPath        "/usr/share/fonts/X11"
#
+
          FontPath        "/usr/X11R6/lib/X11/fonts/misc/"
# If you have edited this file but would like it to be automatically updated
+
          FontPath        "/usr/X11R6/lib/X11/fonts/Speedo/"
# again, run the following command:
+
          FontPath        "/usr/X11R6/lib/X11/fonts/Type1/"
#   sudo dpkg-reconfigure -phigh xserver-xorg
+
          FontPath        "/usr/X11R6/lib/X11/fonts/CID/"
 
+
          FontPath        "/usr/X11R6/lib/X11/fonts/75dpi/"
Section "Files"
+
          FontPath        "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection
+
   EndSection
 
+
 
Section "InputDevice"
+
  Section "Module"
        Identifier      "Generic Keyboard"
+
          Load    "dbe"
        Driver          "kbd"
+
          Load    "extmod"
        Option          "CoreKeyboard"
+
          Load    "record"
        Option          "XkbRules"     "xorg"
+
          Load    "xtrap"
        Option          "XkbModel"      "pc105"
+
          Load    "speedo"
        Option          "XkbLayout"    "dk"
+
          Load    "type1"
        Option          "XkbVariant"    "basic"
+
          Load    "glx"
EndSection
+
          Load    "int10"
 
+
          Load    "v4l"
Section "InputDevice"
+
  EndSection
        Identifier      "Configured Mouse"
+
 
        Driver          "mouse"
+
  Section "InputDevice"
        Option          "CorePointer"
+
          Identifier     "Keyboard0"
        Option          "Device"                "/dev/input/mice"
+
          Driver          "keyboard"
        Option          "Protocol"             "ImPS/2"
+
          Option          "XkbLayout"    "dk"
        Option          "ZAxisMapping"         "4 5"
+
          Option          "XkbVariant"    "basic"
        Option          "Emulate3Buttons"      "true"
+
          Option          "XkbModel"              "pc105"
EndSection
+
  EndSection
 
+
 
  Section "InputDevice"
+
  Section "InputDevice"
        Driver          "wacom"
+
          Identifier      "Mouse0"
        Identifier      "stylus"
+
          Driver          "mouse"
        Option          "Device"       "/dev/input/wacom"
+
          Option          "Protocol"              "auto"
        Option          "Type"         "stylus"
+
          Option          "Device"                "/dev/input/mice"
        Option          "ForceDevice"   "ISDV4"         # Tablet PC ONLY
+
          Option          "ZAxisMapping" "4 5"
EndSection
+
  EndSection
 
+
 
Section "InputDevice"
+
  Section "Monitor"
        Driver         "wacom"
+
          Identifier      "Monitor0"
        Identifier      "eraser"
+
          VendorName      "Unknown Monitor Vendor"
        Option          "Device"       "/dev/input/wacom"
+
          ModelName       "Unknown Monitor Model"
        Option         "Type"         "eraser"
+
 
         Option         "ForceDevice"   "ISDV4"        # Tablet PC ONLY
+
          # gtf 1920 1080 50
EndSection
+
          #
 
+
          # 1920x1080 @ 25 Hz (EDID) HSync: 28.125 kHz
Section "InputDevice"
+
          # 1920x1080 @ 50 Hz (EDID) HSync: 56.25 kHz
         Driver          "wacom"
+
          # ORG Modeline "1920x1080" 148.5 1920 1960 2016 2200 1080 1082 1088 1125
         Identifier      "cursor"
+
          # ORG VertRefresh      59-61
        Option         "Device"       "/dev/input/wacom"
+
          # 1920x1080 @ 25 Hz (EDID) HSync: 28.125 kHz
        Option          "Type"         "cursor"
+
          # ModeLine "1920x1080" 74.25 1920 2448 2492 2640 1080 1084 1089 1125 +HSync +VSync
        Option         "ForceDevice"ISDV4"        # Tablet PC ONLY
+
          # 1920x1080 @ 50 Hz (EDID) HSync: 56.25 kHz
EndSection
+
          # ModeLine "1920x1080" 148.50 1920 2448 2492 2640 1080 1084 1089 1125 +HSync +VSync
 
+
          #
Section "Device"
+
          # 1920x1080 @ 50 Hz (EDID) HSync: 28.125 kHz
        Identifier      "ATI Technologies Inc ATI"
+
          ModeLine "1920x1080_my50i" 74.25 1920 2448 2492 2640 1080 1084 1094 1124 +HSync +VSync Interlace
         Driver      "fglrx"
+
          #
 
+
          # From Powerstrip 1920x1080 @ 24hz
        # Driver                "vesa"
+
          # ModeLine "1920x1080" 74.250 1920 2560 2608 2752 1080 1084 1089 1125 +HSync +VSync
        # BusID         "PCI:1:5:0"
+
          # From Powerstrip 1920x1080 @ 25hz
        Option "XvmcUsesTextures" "true"
+
          # Xorg.log said 24,9hz / try adding some more
        Option "renderAccel" "true"
+
          # ModeLine "1920x1080" 77.142 1920 2560 2608 2752 1080 1084 1089 1125 +HSync +VSync
        Option "NoDDCValue"
+
          ModeLine "1920x1080_my25" 77.500 1920 2560 2608 2752 1080 1084 1089 1125 +HSync +VSync
        Option "UseEDID" "false"
+
          # VertRefresh  24-26
        Option "ExactModeTimingsDVI" "true"
+
          #
        Option "NoLogo" "true"
+
          # From Powerstrip 1920x1080 @ 50hz
        Option "NoBandWidthTest" "true"
+
          ModeLine "1920x1080_my50" 148.500 1920 2448 2496 2640 1080 1084 1089 1125 +HSync +VSync
        Option "ModeValidation" "NoDFPNativeResolutionCheck, NoEdidMaxPClkCheck, NoMaxPClkCheck, AllowInterlacedModes, AllowNon60HzDFPModes"
+
          # ModeLine "1920x1080_my50a" 148.750 1920 2448 2496 2640 1080 1084 1089 1125 +HSync +VSync
        Option "DynamicTwinView" "false"
+
          VertRefresh    24-51
        Option "UseEvents" "true"
+
          HorizSync      20-500
        Option         "ConnectedMonitor" "DFP"
+
          # VertRefresh  49-51
EndSection
+
  EndSection
 
+
 
Section "Monitor"
+
  Section "Device"
        Identifier      "SyncMaster"
+
          ### Available Driver options are:-
        Option          "DPMS"
+
          ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
 
+
          ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        # 1680x1050 @ 60.00 Hz (GTF) hsync: 65.22 kHz; pclk: 147.14 MHz
+
          ### [arg]: arg optional
 
+
          #Option         "NoAccel"                               # [<bool>]
        # 1920x1080 @ 25 Hz (EDID) HSync: 28.125 kHz
+
          #Option        "SWcursor"                             # [<bool>]
        #                # 1920x1080 @ 50 Hz (EDID) HSync: 56.25 kHz
+
          #Option         "ColorKey"                              # <i>
        #
+
          #Option         "CacheLines"                   # <i>
# FROM xorglog  Default mode "1920x1080": 148.5 MHz (scaled from 0.0 MHz), 56.2 kHz, 50.0 Hz
+
          #Option        "Dac6Bit"                               # [<bool>]
        Modeline        "1920x1080" 148.5 1920 1960 2016 2200 1080 1082 1088 1125
+
          #Option         "DRI"                                  # [<bool>]
        HorizSync      20-500
+
          #Option        "NoDDC"                                 # [<bool>]
        VertRefresh    59-61
+
          #Option         "ShowCache"                             # [<bool>]
EndSection
+
          #Option         "XvMCSurfaces"                  # <i>
 
+
          Identifier      "Card0"
Section "Screen"
+
          Driver         "nvidia"
        Identifier      "Default Screen"
+
          VendorName      "Unknown Vendor Name"
        Device          "ATI Technologies Inc ATI"
+
          BoardName      "Unknown Board Name"
        Monitor        "SyncMaster"
+
          Option          "LinearAlloc"           "16384"
        DefaultDepth    24
+
          #BusID         "PCI:0:2:0"
        SubSection "Display"
+
   #       Option          "NoDDC"                         "true"
                Modes          "1920x1080"
+
    Option         "UseEDIDDpi" "false"
                Virtual        1920 1080
+
    ## Option         "UseEDIDFreqs" "false"
        EndSubSection
+
          Option "XvmcUsesTextures" "true"
         Option "XvmcUsesTextures" "true"
+
          Option "renderAccel" "true"
        Option "renderAccel" "true"
+
          Option "NoDDCValue"
        Option "NoDDCValue"
+
          ## Option "UseEDID" "false"
        Option "UseEDID" "false"
+
          Option "ExactModeTimingsDVI" "true"
        Option "ExactModeTimingsDVI" "true"
+
          Option "NoLogo" "true"
        Option "NoLogo" "true"
+
          Option "NoBandWidthTest" "true"
        Option "NoBandWidthTest" "true"
+
          # Option "ModeValidation" "NoDFPNativeResolutionCheck, NoEdidMaxPClkCheck, NoMaxPClkCheck, AllowInterlacedModes, AllowNon60HzDFPModes"
        Option "ModeValidation" "NoDFPNativeResolutionCheck, NoEdidMaxPClkCheck, NoMaxPClkCheck, AllowInterlacedModes, AllowNon60HzDFPModes"
+
          Option "ModeValidation" "NoVertRefreshCheck, NoDFPNativeResolutionCheck, NoEdidMaxPClkCheck, NoMaxPClkCheck, AllowInterlacedModes, AllowNon60HzDFPModes"
        Option "DynamicTwinView" "false"
+
          Option "DynamicTwinView" "false"
        Option "UseEvents" "true"
+
          Option "UseEvents" "true"
        Option  "TVStandard"    "1080p"
+
          Option "AllowGLXWithComposite" "true"
EndSection
+
          Option "AddARGBGLXVisuals" "true"
 
+
          Option          "ConnectedMonitor" "DFP"
Section "ServerLayout"
+
  EndSection
        Identifier      "Default Layout"
+
 
        Screen          "Default Screen"
+
  Section "Screen"
        InputDevice    "Generic Keyboard"
+
          Identifier      "Screen0"
        InputDevice    "Configured Mouse"
+
          Device          "Card0"
 
+
          Monitor        "Monitor0"
  # Uncomment if you have a wacom tablet
+
          DefaultDepth    24
  #      InputDevice    "stylus"       "SendCoreEvents"
+
          SubSection "Display"
  #      InputDevice    "cursor"       "SendCoreEvents"
+
                  # Modes        "1920x1080"
  #      InputDevice    "eraser"       "SendCoreEvents"
+
                  Modes          "1920x1080_50_1" "1920x1080_50_0" "1920x1080_50" "1920x1080_my50"
EndSection
+
                  # Modes        "1920x1080_my50a" "1920x1080_50" "1920x1080_50_0" "1920x1080"
Section "Extensions"
+
                  #TESTED Modes          "1920x1080_50_0" "1920x1080_50i_0" "1920x1080_50i" "1920x1080_my50i" "1920x1080_my25" "1920x1080"
        Option "Composite" "false"
+
                  Virtual        1920 1080
        Option "RENDER" "true"
+
          EndSubSection
EndSection
+
    Option         "UseEDIDDpi" "false"
 +
    ## Option        "UseEDIDFreqs" "false"
 +
          Option "XvmcUsesTextures" "true"
 +
          Option "renderAccel" "true"
 +
          Option "NoDDCValue"
 +
          ## Option "UseEDID" "false"
 +
          Option "ExactModeTimingsDVI" "true"
 +
          Option "NoLogo" "true"
 +
          Option "NoBandWidthTest" "true"
 +
          # Option "ModeValidation" "NoDFPNativeResolutionCheck, NoEdidMaxPClkCheck, NoMaxPClkCheck, AllowInterlacedModes, AllowNon60HzDFPModes"
 +
          Option "ModeValidation" "NoVertRefreshCheck, NoDFPNativeResolutionCheck, NoEdidMaxPClkCheck, NoMaxPClkCheck, AllowInterlacedModes, AllowNon60HzDFPModes"
 +
          Option "DynamicTwinView" "false"
 +
          Option "UseEvents" "true"
 +
          Option "AllowGLXWithComposite" "true"
 +
          Option "AddARGBGLXVisuals" "true"
 +
          Option  "TVStandard"    "1080p"
 +
  EndSection
 +
 
 +
  Section "ServerFlags"
 +
          Option  "AllowMouseOpenFail"   "true"
 +
          Option  "BlankTime"             "0"
 +
          Option "StandbyTime"  "0"
 +
          Option "SuspendTime"   "0"
 +
          Option "OffTime"               "0"
 +
          Option "AIGLX"                 "Off"
 +
  EndSection
 +
  Section "Extensions"
 +
          Option "Composite" "false"
 +
          Option "RENDER" "true"
 +
  EndSection

Revision as of 11:42, 3 April 2009


I am using an European version this TV and will try to describe problems I have here.

Connected to a Nvidia 7300GT with an DVI to HDMI cable.

I was not able to get the TV setup to 1080p with 50hz, so I choosed 1080p and 60hz. Then afterwards I changed the xorg.conf and changed/added the folowing lines :

Option         "UseEDIDDpi" "false"
Option         "UseEDID" "true"
Modes       "1920x1080_50"
VertRefresh     49-51

and rebooted. After that I had 50hz.

The line "1920x1080_50" uses the EDID information it gets of the TV and sets things up correctly. In the /var/log/Xorg.0.log you can then see that it chooses the right resolution.

"UseEDIDDpi" "false" is important, otherwise you will get very small unreadable characters.



Alternate solution (I used first).

I was not able to get the TV setup to 1080p with 50hz, so I choosed 1080p and 60hz. Then afterwards I changed the xorg.conf to the right 1080p@50hz Modeline i found in the HDTV list in the MythTV modeline database.

       # 1920x1080 @ 50 Hz (EDID) HSync: 56.25 kHz
       ModeLine "1920x1080" 148.50 1920 2448 2496 2640 1080 1084 1089 1125 +HSync +VSync

And changed the VertRefresh to :

       VertRefresh     49-51

and rebooted. After that I had 50hz.


My latest xorg.conf


 Section "ServerLayout"
         Identifier      "XFree86 Configured"
         Screen    0     "Screen0"       0 0
         InputDevice     "Mouse0"        "CorePointer"
         InputDevice     "Keyboard0"     "CoreKeyboard"
 EndSection
 
 Section "Files"
         RgbPath         "/usr/X11R6/lib/X11/rgb"
         ModulePath      "/usr/lib/xorg/modules"
         FontPath        "/usr/share/fonts/X11"
         FontPath        "/usr/X11R6/lib/X11/fonts/misc/"
         FontPath        "/usr/X11R6/lib/X11/fonts/Speedo/"
         FontPath        "/usr/X11R6/lib/X11/fonts/Type1/"
         FontPath        "/usr/X11R6/lib/X11/fonts/CID/"
         FontPath        "/usr/X11R6/lib/X11/fonts/75dpi/"
         FontPath        "/usr/X11R6/lib/X11/fonts/100dpi/"
 EndSection
 
 Section "Module"
         Load    "dbe"
         Load    "extmod"
         Load    "record"
         Load    "xtrap"
         Load    "speedo"
         Load    "type1"
         Load    "glx"
         Load    "int10"
         Load    "v4l"
 EndSection
 
 Section "InputDevice"
         Identifier      "Keyboard0"
         Driver          "keyboard"
         Option          "XkbLayout"     "dk"
         Option          "XkbVariant"    "basic"
         Option          "XkbModel"              "pc105"
 EndSection
 
 Section "InputDevice"
         Identifier      "Mouse0"
         Driver          "mouse"
         Option          "Protocol"              "auto"
         Option          "Device"                "/dev/input/mice"
         Option          "ZAxisMapping"  "4 5"
 EndSection
 
 Section "Monitor"
         Identifier      "Monitor0"
         VendorName      "Unknown Monitor Vendor"
         ModelName       "Unknown Monitor Model"
 
         # gtf 1920 1080 50
         #
         # 1920x1080 @ 25 Hz (EDID) HSync: 28.125 kHz
         # 1920x1080 @ 50 Hz (EDID) HSync: 56.25 kHz
         # ORG Modeline  "1920x1080" 148.5 1920 1960 2016 2200 1080 1082 1088 1125
         # ORG VertRefresh       59-61
         # 1920x1080 @ 25 Hz (EDID) HSync: 28.125 kHz
         # ModeLine "1920x1080" 74.25 1920 2448 2492 2640 1080 1084 1089 1125 +HSync +VSync
         # 1920x1080 @ 50 Hz (EDID) HSync: 56.25 kHz
         # ModeLine "1920x1080" 148.50 1920 2448 2492 2640 1080 1084 1089 1125 +HSync +VSync
         #
         # 1920x1080 @ 50 Hz (EDID) HSync: 28.125 kHz
         ModeLine "1920x1080_my50i" 74.25 1920 2448 2492 2640 1080 1084 1094 1124 +HSync +VSync Interlace
         #
         # From Powerstrip 1920x1080 @ 24hz
         # ModeLine "1920x1080" 74.250 1920 2560 2608 2752 1080 1084 1089 1125 +HSync +VSync
         # From Powerstrip 1920x1080 @ 25hz
         # Xorg.log said 24,9hz / try adding some more
         # ModeLine "1920x1080" 77.142 1920 2560 2608 2752 1080 1084 1089 1125 +HSync +VSync
         ModeLine "1920x1080_my25" 77.500 1920 2560 2608 2752 1080 1084 1089 1125 +HSync +VSync
         # VertRefresh   24-26
         #
         # From Powerstrip 1920x1080 @ 50hz
         ModeLine "1920x1080_my50" 148.500 1920 2448 2496 2640 1080 1084 1089 1125 +HSync +VSync
         # ModeLine "1920x1080_my50a" 148.750 1920 2448 2496 2640 1080 1084 1089 1125 +HSync +VSync
         VertRefresh     24-51
         HorizSync       20-500
         # VertRefresh   49-51
 EndSection
 
 Section "Device"
         ### Available Driver options are:-
         ### Values: : integer, <f>: float, <bool>: "True"/"False",
         ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
         ### [arg]: arg optional
         #Option         "NoAccel"                               # [<bool>]
         #Option         "SWcursor"                              # [<bool>]
         #Option         "ColorKey"                              # <i>
         #Option         "CacheLines"                    # <i>
         #Option         "Dac6Bit"                               # [<bool>]
         #Option         "DRI"                                   # [<bool>]
         #Option         "NoDDC"                                 # [<bool>]
         #Option         "ShowCache"                             # [<bool>]
         #Option         "XvMCSurfaces"                  # <i>
         Identifier      "Card0"
         Driver          "nvidia"
         VendorName      "Unknown Vendor Name"
         BoardName       "Unknown Board Name"
         Option          "LinearAlloc"           "16384"
         #BusID          "PCI:0:2:0"
 #       Option          "NoDDC"                         "true"
    Option         "UseEDIDDpi" "false"
    ## Option         "UseEDIDFreqs" "false"
         Option "XvmcUsesTextures" "true"
         Option "renderAccel" "true"
         Option "NoDDCValue"
         ## Option "UseEDID" "false"
         Option "ExactModeTimingsDVI" "true"
         Option "NoLogo" "true"
         Option "NoBandWidthTest" "true"
         # Option "ModeValidation" "NoDFPNativeResolutionCheck, NoEdidMaxPClkCheck, NoMaxPClkCheck, AllowInterlacedModes, AllowNon60HzDFPModes"
         Option "ModeValidation" "NoVertRefreshCheck, NoDFPNativeResolutionCheck, NoEdidMaxPClkCheck, NoMaxPClkCheck, AllowInterlacedModes, AllowNon60HzDFPModes"
         Option "DynamicTwinView" "false"
         Option "UseEvents" "true"
         Option "AllowGLXWithComposite" "true"
         Option "AddARGBGLXVisuals" "true"
         Option          "ConnectedMonitor" "DFP"
 EndSection
 
 Section "Screen"
         Identifier      "Screen0"
         Device          "Card0"
         Monitor         "Monitor0"
         DefaultDepth    24
         SubSection "Display"
                 # Modes         "1920x1080"
                 Modes           "1920x1080_50_1" "1920x1080_50_0" "1920x1080_50" "1920x1080_my50"
                 # Modes         "1920x1080_my50a" "1920x1080_50" "1920x1080_50_0" "1920x1080"
                 #TESTED Modes           "1920x1080_50_0" "1920x1080_50i_0" "1920x1080_50i" "1920x1080_my50i" "1920x1080_my25" "1920x1080"
                 Virtual         1920 1080
         EndSubSection
    Option         "UseEDIDDpi" "false"
    ## Option         "UseEDIDFreqs" "false"
         Option "XvmcUsesTextures" "true"
         Option "renderAccel" "true"
         Option "NoDDCValue"
         ## Option "UseEDID" "false"
         Option "ExactModeTimingsDVI" "true"
         Option "NoLogo" "true"
         Option "NoBandWidthTest" "true"
         # Option "ModeValidation" "NoDFPNativeResolutionCheck, NoEdidMaxPClkCheck, NoMaxPClkCheck, AllowInterlacedModes, AllowNon60HzDFPModes"
         Option "ModeValidation" "NoVertRefreshCheck, NoDFPNativeResolutionCheck, NoEdidMaxPClkCheck, NoMaxPClkCheck, AllowInterlacedModes, AllowNon60HzDFPModes"
         Option "DynamicTwinView" "false"
         Option "UseEvents" "true"
         Option "AllowGLXWithComposite" "true"
         Option "AddARGBGLXVisuals" "true"
         Option  "TVStandard"    "1080p"
 EndSection
 
 Section "ServerFlags"
         Option  "AllowMouseOpenFail"    "true"
         Option  "BlankTime"             "0"
         Option  "StandbyTime"   "0"
         Option  "SuspendTime"   "0"
         Option  "OffTime"               "0"
         Option  "AIGLX"                 "Off"
 EndSection
 Section "Extensions"
         Option "Composite" "false"
         Option "RENDER" "true"
 EndSection