LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Force xorg to use specific monitor resolution / disable DDC? (https://www.linuxquestions.org/questions/linux-hardware-18/force-xorg-to-use-specific-monitor-resolution-disable-ddc-670874/)

slacky 09-18-2008 02:04 PM

Force xorg to use specific monitor resolution / disable DDC?
 
Hello,

Is there a way to force xorg to always use the resolution specified in the xorg.conf file and not use DDC to try to detect the monitor? I have the xorg.conf working as shown below, as long as the monitor is directly connected to the PC (Kubuntu 8.04). I need to add in a 100 foot VGA extension cable, which works if I add in while the xorg is running, but if the X Server starts/restarts with the extension cable, it apparently tries to re-detect the monitor and comes up with a lower resolution.

Note I've tried the settings in the Device section I have commented out without any luck - perhaps I'm missing something?

Thanks,
slacky

Code:

Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "kbd"
        Option          "XkbRules"      "xorg"
        Option          "XkbModel"      "pc105"
        Option          "XkbLayout"    "us"
EndSection

Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver          "mouse"
        Option          "CorePointer"
EndSection

Section "Device"
        Identifier      "Configured Video Device"
        Boardname      "ATI Radeon (fglrx)"
        Busid          "PCI:3:0:0"
        Driver          "radeon"
        Screen  0
        Vendorname      "ATI"
#      Option          "MergedFB"      "off"
#      Option          "IgnoreEDID" "true"
#      Option          "DDCMode" "false"
#      Option          "NoDDC"
#      Option          "PanelSize" "1920x1200@60"
EndSection

Section "Monitor"
        Identifier      "Configured Monitor"
        Vendorname      "Generic LCD Display"
        Modelname      "LCD Panel 1920x1200"
        Horizsync      31.5-74.5
        Vertrefresh    56.0 - 65.0
        Modeline  "1920x1200@60" 193.16 1920 2048 2256 2592 1200 1201 1204 1242 -hsync +vsync
        Gamma  1.0
EndSection

Section "Screen"
        Identifier      "Default Screen"
        Monitor        "Configured Monitor"
        Device          "Configured Video Device"
        Defaultdepth    24
        SubSection "Display"
                Depth  24
                Modes  "1920x1200@60"
        EndSubSection
EndSection

Section "ServerLayout"
        Identifier      "Default Layout"
        Screen 0 "Default Screen" 0 0
EndSection

Section "Module"
        Load            "glx"
        Load            "GLcore"
        Load            "dri"
        Load            "v4l"
EndSection

Section "ServerFlags"
EndSection


Jykke 09-18-2008 02:44 PM

No idea but...you could startx with verbose option 6 and see why it dumps the valid mode. The resolution would be what I did with my telly and get the EDID information of your monitor on a separate file - save that on harddrive and call it from xorg.conf this way you will bypass detection procedure, but... be careful

How to accomplish this would be here...

http://www.linuxquestions.org/questi...58#post2840358

pixellany 09-18-2008 03:12 PM

I would have thought the modeline would do it.....

Things to try:

1. Set the vert refresh to 59.9 - 60.1

2. Uncomment the "noDDC" option in the device section.

slacky 09-19-2008 08:47 AM

Well, thanks for info. It seems I actually need the DDC on or else the "radeon" driver or card sticks with some failsafe resolutions - I snipped pin 12 off a VGA cable which should remove the hardware's ability to probe DDC and it would not do the 1920x1200.

Instead of fiddling with this anymore, I shrunk the size of the video image my setup ultimately displays to look okay at the lower resolution. The PC basically just runs Firefox to display some web accessible network video cameras.

Thanks,
slacky


All times are GMT -5. The time now is 09:03 AM.