Results 1 to 9 of 9

Thread: xorg custom modelines

  1. #1
    Join Date
    Feb 2012
    Beans
    81

    xorg custom modelines

    hi i am trying to use custom modelines because i suspect the edid of my tv is not quite right but i am only getting one low resolution with my xorg.conf, does it look correct?

    Code:
    # nvidia-settings: X configuration file generated by nvidia-settings
    # nvidia-settings:  version 304.51  (buildmeister@swio-display-x86-rhel47-06.nvidia.com)  Tue Sep 18 18:48:10 PDT 2012
     
    # nvidia-xconfig: X configuration file generated by nvidia-xconfig
    # nvidia-xconfig:  version 304.51  (buildmeister@swio-display-x86-rhel47-06.nvidia.com)  Tue Sep 18 18:48:23 PDT 2012
     
    Section "ServerLayout"
        Identifier     "Layout0"
        Screen      0  "Screen0" 0 0
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "Mouse0" "CorePointer"
        Option         "Xinerama" "0"
    EndSection
     
    Section "InputDevice"
        Identifier     "Mouse0"
        Driver         "mouse"
        Option         "Protocol" "auto"
        Option         "Device" "/dev/psaux"
        Option         "Emulate3Buttons" "no"
        Option         "ZAxisMapping" "4 5"
    EndSection
     
    Section "InputDevice"
     
            # generated from default
        Identifier     "Keyboard0"
        Driver         "kbd"
    EndSection
     
    Section "Monitor"
        Identifier     "Monitor0"
        VendorName     "Unknown"
        ModelName      "LG Electronics LG TV"
        HorizSync       30.0 - 83.0
        VertRefresh     58.0 - 62.0
        ModeLine       "1360x768_50.00" 69.61 1360 1416 1560 1760 768 769 772 791 -hsync +vsync
        ModeLine       "1360x768_60.00" 84.72 1360 1424 1568 1776 768 769 772 795 -hsync +vsync
        ModeLine       "1360x768_59.94" 84.63 1360 1424 1568 1776 768 769 772 795 -hsync +vsync
        ModeLine       "1280x720_50.00" 60.47 1280 1328 1456 1632 720 721 724 741 -hsync +vsync
        ModeLine       "1280x720_60.00" 74.48 1280 1336 1472 1664 720 721 724 746 -hsync +vsync
        ModeLine       "1280x720_59.94" 74.41 1280 1336 1472 1664 720 721 724 746 -hsync +vsync
        Option         "DPMS"
        Option         "DPI" "96 x 96"
    EndSection
     
    Section "Device"
        Identifier     "Device0"
        Driver         "nvidia"
        VendorName     "NVIDIA Corporation"
        BoardName      "GeForce 9300 / nForce 730i"
        Option         "UseEDID" "FALSE"
        Option         "ModeValidation" "NoVesaModes, NoXServerModes, NoVertRefreshCheck"
    EndSection
     
    Section "Screen"
     
        Identifier     "Screen0"
        Device         "Device0"
        Monitor        "Monitor0"
        DefaultDepth    24
        Option         "HWCursor" "Off"
        Option         "NoLogo" "True"
        Option         "DynamicTwinView" "False"
        Option         "FlatPanelProperties" "Scaling = Native"
        Option         "ModeDebug" "true"
        Option         "Stereo" "0"
        SubSection     "Display"
            Depth       24
            Modes       "1360x768_50.00" "1360x768_60.00" "1360x768_59.94" "1280x720_50.00" "1280x720_60.00" "1280x720_59.94"
     
        EndSubSection
    EndSection
     
    Section "Extensions"
        Option         "Composite" "Disable"
    EndSection

  2. #2
    Join Date
    Feb 2012
    Beans
    81

    Re: xorg custom modelines

    Could the reason the modes aren't being picked up due to "ModelName "LG Electronics LG TV"" and the use edid false? Maybe I should change ModelName to DFP-0 ?

  3. #3
    Join Date
    Jun 2006
    Location
    Nux Jam
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: xorg custom modelines

    actual kernel directly deal with X, so xorg.conf is no more needed (and it can badly corrupt/disturb the system if not set correctly).

    if you really have edid issue, you should use nouveau instead (xserver-xorg-video-nouveau)

  4. #4
    Join Date
    Feb 2012
    Beans
    81

    Re: xorg custom modelines

    Quote Originally Posted by dino99 View Post

    if you really have edid issue, you should use nouveau instead (xserver-xorg-video-nouveau)
    Thanks, but why is this?

  5. #5
    Join Date
    Jun 2006
    Location
    Nux Jam
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: xorg custom modelines

    Quote Originally Posted by bilboubu View Post
    Thanks, but why is this?
    it could be:
    - that tv model is unknown to ubuntu/kernel, so cant set the required config if the default ones dont work
    - that tv dont communicate the edid (not set, chipset missing, ...)

    see: man lshw

    and into a terminal, you can try:

    Do the following:

    sudo apt-get install read-edid

    sudo get-edid | parse-edid

    It should fix the problem. I had it once with my TV. EDID is the Extended Display Identification Data and describes what features your display has.
    Last edited by dino99; October 9th, 2012 at 04:59 PM.

  6. #6
    Join Date
    Feb 2012
    Beans
    81

    Re: xorg custom modelines

    How does nouveau help in this situation?

  7. #7
    Join Date
    Jun 2006
    Location
    Nux Jam
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: xorg custom modelines

    Quote Originally Posted by bilboubu View Post
    How does nouveau help in this situation?
    it has the builtin modelines detection

  8. #8
    Join Date
    Feb 2012
    Beans
    81

    Re: xorg custom modelines

    So it some how queries/trys modes the tv will accept without using the edid?

  9. #9
    Join Date
    Feb 2012
    Beans
    81

    Re: xorg custom modelines

    what in the world?


    get-edid: get-edid version 2.0.0

    Performing real mode VBE call
    Interrupt 0x10 ax=0x4f00 bx=0x0 cx=0x0
    Function supported
    Call successful

    VBE version 300
    VBE string at 0x2110 "NVIDIA"

    VBE/DDC service about to be called
    Report DDC capabilities

    Performing real mode VBE call
    Interrupt 0x10 ax=0x4f15 bx=0x0 cx=0x0
    Function supported
    Call successful

    Monitor and video card combination does not support DDC1 transfers
    Monitor and video card combination does not support DDC2 transfers
    0 seconds per 128 byte EDID block transfer
    Screen is not blanked during DDC transfer

    Reading next EDID block

    VBE/DDC service about to be called
    Read EDID

    Performing real mode VBE call
    Interrupt 0x10 ax=0x4f15 bx=0x1 cx=0x0
    Function supported
    Call failed

    The EDID data should not be trusted as the VBE call failed
    Error: output block unchanged
    parse-edid: IO error reading EDID

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •