You are not logged in.

#1 2007-08-02 06:26:51

walker.cz
Member
From: Czech republic
Registered: 2007-04-10
Posts: 8
Website

[solved] notebook - crt monitor changes resolution

just now, I don´t know what to do. The problem - when I turn on ONLY notebook all is O.K. picture 1 PICTURE 1
but when I connect CRT monitor it changes the resolution down to two pixels I thnink  -- see picture 2.PICTURE 2
Can anybody help me, please?
my xorg.conf.:

# **********************************************************************
# Refer to the xorg.conf(5) man page for details about the format of 
# this file.
# **********************************************************************

# **********************************************************************
# Module section -- this  section  is used to specify
# which dynamically loadable modules to load.
# **********************************************************************
#
Section "Module"

# This loads the DBE extension module.

    Load        "dbe"      # Double buffer extension
    Load    "GLcore"
    Load    "record"
#    Load    "exmod"
# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection

# This loads the font modules
    Load        "type1"
    Load        "speedo"
    Load        "freetype"
#    Load        "xtt"
    Load    "vbe"
    Load    "int10"
    Load    "ddc"
    Load    "bitmap"
    Load    "i2c"
# This loads the GLX module
    Load       "glx"
# This loads the DRI module
    Load       "dri"

EndSection


# **********************************************************************
# Files section.  This allows default font and rgb paths to be set
# **********************************************************************

Section "Files"




    FontPath     "/usr/share/fonts/misc"
    FontPath     "/usr/share/fonts/75dpi"
    FontPath     "/usr/share/fonts/100dpi"
    FontPath     "/usr/share/fonts/TTF"
    FontPath     "/usr/share/fonts/Type1"
    FontPath     "/usr/local/share/fonts"
EndSection

# **********************************************************************
# Server flags section.
# **********************************************************************

Section "ServerFlags"

    Option "DefaultServerLayout" "Layout"    
EndSection

# **********************************************************************
# Input devices
# **********************************************************************

# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************

Section "InputDevice"

    Identifier    "Keyboard1"
    Driver    "kbd"



    Option "AutoRepeat" "500 30"



    Option "XkbRules"    "xorg"
    Option "XkbModel"    "pc104"
    Option "XkbLayout"    "us,cz_qwerty"
    Option "XkbVariant"    "cz"

EndSection


# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"

# Identifier and driver

    Identifier    "Mouse1"
    Driver    "mouse"
    Option     "Protocol"    "ImPS/2"    # Auto detect
    Option     "Device"      "/dev/input/mice"





    Option     "Emulate3Buttons"    "true"

EndSection


# **********************************************************************
# Other input device sections 
# this is optional and is required only if you
# are using extended input devices.  This is for example only.  Refer
# to the xorg.conf man page for a description of the options.
# **********************************************************************


Section "InputDevice"
    Identifier    "Synaptics Touchpad"
    Driver        "synaptics"
    Option        "SendCoreEvents"    "true"
    Option        "Device"        "/dev/psaux"
    Option        "Protocol"        "auto-dev"
    Option        "HorizScrollDelta"    "0"
    Option        "UseShm"        "true"
EndSection



# **********************************************************************
# Monitor section
# **********************************************************************

Section "Monitor"

    Identifier  "My Monitor"

    HorizSync   28-60

    VertRefresh 43-60

EndSection

Section "Monitor"
    Identifier    "Monitor_crt"
    Option    "DPMS"
    VertRefresh 50-180
    HorizSync    30-95
EndSection

# **********************************************************************
# Graphics device section
# **********************************************************************


Section "Device"
    Identifier  "Ati IGP 330M"
    Driver      "radeon"
    BusID    "PCI:1:5:0"
    # unsupported card
    #VideoRam    65536
    Screen    0 
    Option    "MonitorLayout" "LVDS,NONE"
    Option    "XAANoOffscreenPixmaps" "true"
    Option    "DRI" "true"
    # Insert Clocks lines here if appropriate
EndSection

Section "Device"
    Identifier    "Ati_1"
    Driver    "radeon"
    BusId    "PCI:1:5:0"
    Screen    1
    Option    "MonitorLayout" "CRT,LVDS"
    Option     "MergedXinerama" "on"
    Option    "MergedFB" "true"
EndSection
# **********************************************************************
# Screen sections
# **********************************************************************


Section "Screen"
    Identifier  "Screen 1"
    Device      "Ati IGP 330M"
    Monitor     "My Monitor"
    DefaultDepth 24

    Subsection "Display"
        Depth       8
        Modes       "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
EndSection

Section "Screen"
    Identifier    "screen_crt"
    Device    "Ati_1"
    Monitor    "Monitor_crt"
    DefaultDepth 24
    Subsection "Display"
        Depth       8
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes      "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection

Subsection "Display"
        Depth       32
        Modes      "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection


EndSection
    
    
    
    
    
    
    
# **********************************************************************
# ServerLayout sections.
# **********************************************************************


Section "ServerLayout"

    Identifier  "Layout"



#    Screen 0 "Screen 1"
    Screen "Screen 1"    
#    Screen 1 "screen_crt" LeftOf "Screen 1"
#    Screen "screen_crt"
    Option "AIGLX" "true"
#   Option "Xinerama"    "on"

    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
    InputDevice    "Synaptics Touchpad"

EndSection


 Section "DRI"
    Mode 0666
 EndSection

Section "Extensions"
    Option "Composite" "Enable"
EndSection

just another xorg.conf for dual monitor, if I use xorg.conf with xinerama the results is the same --> picture 2

Section "Module"

# This loads the DBE extension module.

    Load        "dbe"      # Double buffer extension
    Load    "GLcore"
    Load    "record"
#    Load    "exmod"
#    SubSection  "extmod"
#      Option    "omit xfree86-dga"   # don't initialise the DGA extension
#    EndSubSection

# This loads the font modules
    Load        "type1"
    Load        "speedo"
    Load        "freetype"
#    Load        "xtt"
    Load    "vbe"
    Load    "int10"
    Load    "ddc"
    Load    "bitmap"
    Load    "i2c"
# This loads the GLX module
    Load       "glx"
# This loads the DRI module
    Load       "dri"
EndSection


# **********************************************************************
# Files section.  This allows default font and rgb paths to be set
# **********************************************************************

Section "Files"
    FontPath     "/usr/share/fonts/misc"
    FontPath     "/usr/share/fonts/75dpi"
    FontPath     "/usr/share/fonts/100dpi"
    FontPath     "/usr/share/fonts/TTF"
    FontPath     "/usr/share/fonts/Type1"
    FontPath     "/usr/local/share/fonts"
EndSection


Section "ServerFlags"
    Option "DefaultServerLayout" "Layout"    
EndSection

# **********************************************************************
# Input devices
# **********************************************************************

Section "InputDevice"
    Identifier    "Keyboard1"
    Driver    "kbd"
    Option "AutoRepeat" "500 30"
    Option "XkbRules"    "xorg"
    Option "XkbModel"    "pc104"
    Option "XkbLayout"    "us,cz_qwerty"
    Option "XkbVariant"    "cz"
EndSection


# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"
    Identifier    "Mouse1"
    Driver    "mouse"
    Option     "Protocol"    "ImPS/2"    # Auto detect
    Option     "Device"      "/dev/input/mice"
    Option     "Emulate3Buttons"    "true"
EndSection


Section "InputDevice"
    Identifier    "Synaptics Touchpad"
    Driver        "synaptics"
    Option        "SendCoreEvents"    "true"
    Option        "Device"        "/dev/psaux"
    Option        "Protocol"        "auto-dev"
    Option        "HorizScrollDelta"    "0"
    Option        "UseShm"        "true"
EndSection


# **********************************************************************
# Monitor section
# **********************************************************************

Section "Monitor"
    Identifier  "My Monitor"
    Option    "DPMS"
EndSection


# **********************************************************************
# Graphics device section
# **********************************************************************

Section "Device"
    Identifier  "Ati IGP 330M"
    Driver      "radeon"
    BusID    "PCI:1:5:0"
    # unsupported card
    Option         "AGPMode" "4"
    Option        "AccelMethod" "XAA"
    Option         "AGPFastWrite" "On"
    Option         "EnablePageFlip" "On"
    Option        "MonitorLayout" "LVDS, CRT"
    Option        "MergedFB" "true"
    Option        "CRT2HSync" "30-95"
    Option        "CRT2VRefresh" "50-180"
    Option        "CRT2Position" "RightOf"
    Option        "OverlayOnCRTC2" "On"
       Option        "DynamicClocks" "On"
#    Option        "XAANoOffScreenPixMaps"
 #        Option        "RenderAccel" "true"
    Option        "MetaModes" "1024x768-1024x768"
EndSection

# **********************************************************************
# Screen sections
# **********************************************************************

Section "Screen"
    Identifier  "Screen 1"
    Device      "Ati IGP 330M"
    Monitor     "My Monitor"
    DefaultDepth 24

    Subsection "Display"
        Depth       8
        Modes       "1024x768" "800x600" "640x480"
     EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1024x768" "800x600" "640x480"
     EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1024x768" "800x600" "640x480"
    EndSubsection
EndSection
 
# **********************************************************************
# ServerLayout sections.
# **********************************************************************

Section "ServerLayout"
    Identifier  "Layout"
    Screen 0 "Screen 1"  0 0
 #   Option "AIGLX" "true"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
    InputDevice    "Synaptics Touchpad"
EndSection

 Section "DRI"
    Mode 0666
 EndSection

# Section "Extensions"
#     Option "Composite" "Enable"
# EndSection

Last edited by walker.cz (2007-08-03 04:59:18)

Offline

#2 2007-08-02 08:31:24

retsaw
Member
From: London, UK
Registered: 2005-03-22
Posts: 132

Re: [solved] notebook - crt monitor changes resolution

It looks like the DPI is being changed, you can check the current DPI with "xdpyinfo | grep resolution" (that may not work if your LOCALE changes the output of xdpyinfo, in which case do "xdpyinfo" and look for the line which refers to dots per inch).  I mange my DPI by setting "Displaysize <width> <height>" in the Monitor section with the width and height in mm that correspond to the DPI I want.  However this may be ignored by your graphics driver, you can also by passing a command line option to X when it is started, you should be able to set this in your xdm/gdm/kdm configuration file.  There may also be an option for your graphics driver to produce the result you want.

Hopefully this at least points you in the right direction to find a solution.

Offline

#3 2007-08-02 09:54:54

walker.cz
Member
From: Czech republic
Registered: 2007-04-10
Posts: 8
Website

Re: [solved] notebook - crt monitor changes resolution

retsaw wrote:

It looks like the DPI is being changed, you can check the current DPI with "xdpyinfo | grep resolution" (that may not work if your LOCALE changes the output of xdpyinfo, in which case do "xdpyinfo" and look for the line which refers to dots per inch).  I mange my DPI by setting "Displaysize <width> <height>" in the Monitor section with the width and height in mm that correspond to the DPI I want.  However this may be ignored by your graphics driver, you can also by passing a command line option to X when it is started, you should be able to set this in your xdm/gdm/kdm configuration file.  There may also be an option for your graphics driver to produce the result you want.

Hopefully this at least points you in the right direction to find a solution.

Thanks a lot, it helps me smile
section MONITOR 
DisplaySize 269 201 # 96 DPI @ 1024x768

and here is link to wiki  XORG CONF

Offline

Board footer

Powered by FluxBB