You are not logged in.

#1 2007-02-28 18:22:51

Goophy
Member
Registered: 2005-09-21
Posts: 34

DisplaySize removed from xorg 7.2?

Just upgraded eveything, including xorg-server-1.2.0-3.
After the upgrade the DPI was forced to 94x95 by X and it just ignored the 'DisplaySize'-entry in xorg.conf.

Anyone know if they renamed or removed that command? Can't upgrade when it's impossible to get correct DPI.

Last edited by Goophy (2007-02-28 19:14:01)

Offline

#2 2007-02-28 19:03:29

shen
Member
Registered: 2003-09-05
Posts: 272
Website

Re: DisplaySize removed from xorg 7.2?

That is the exact issue I am having.. I posted a bug report on it. Maintainer is looking into it although i hadn't narrowed it down to the DisplaySize command. That makes perfect sense since my screen size got all screwy..

Offline

#3 2007-03-01 10:05:57

prim
Member
From: Wroclaw - Poland
Registered: 2006-05-10
Posts: 47

Re: DisplaySize removed from xorg 7.2?

It's probably a bug in xorg.
See https://bugs.freedesktop.org/show_bug.cgi?id=9758


Feel free to correct my English

Offline

#4 2007-03-01 11:50:44

shen
Member
Registered: 2003-09-05
Posts: 272
Website

Re: DisplaySize removed from xorg 7.2?

I forwarded that info to the bug report I had posted so the maintainer can look into it. Thanks for the info Prim I am sure it will help.

Offline

#5 2007-03-01 22:59:29

lanrat
Member
From: Poland
Registered: 2003-10-28
Posts: 1,274

Re: DisplaySize removed from xorg 7.2?

Same effect here. But adding Option "NoDDC" to the Device section for the video card in xorg.conf seems to fix it.

Offline

#6 2007-03-05 13:54:13

Goophy
Member
Registered: 2005-09-21
Posts: 34

Re: DisplaySize removed from xorg 7.2?

The NoDCC-option did not work for me, unfortunately.
Let's hope they'll fix it for the next update.

Offline

#7 2007-03-05 21:02:05

lanrat
Member
From: Poland
Registered: 2003-10-28
Posts: 1,274

Re: DisplaySize removed from xorg 7.2?

It's weird. It seems to work for me. Without it I have 98x96 dpi. With NoDDC option I have 98x98 but something is still wrong - different logs show different display sizes in mm. For example xorg log says

(**) I810(0): Display dimensions: (331, 207) mm
(**) I810(0): DPI set to (98, 98)

which is exactly the size from DisplaySize. But xdpyinfo says

  dimensions:    1280x800 pixels (332x207 millimeters)
  resolution:    98x98 dots per inch

I have no idea where this data come from :-)

Maybe it's just "luck" that NoDDC forced correct display size. I'm also pretty sure that xorg log should say something about using size from DisplaySize but it doesn't. Well, something is still broken...

EDIT: but if you are using different video card than mine and non open source drivers you should try other options like edid options for nvidia (NoDDC doesn't work anymore for this driver).

Last edited by lanrat (2007-03-05 21:08:06)

Offline

#8 2007-03-06 19:09:36

arvster
Member
From: Riga, Latvia
Registered: 2007-01-08
Posts: 37
Website

Re: DisplaySize removed from xorg 7.2?

I also had the same problem with 'DisplaySize' being ignored after an update. I use a nvidia card and it's drivers, so the advice to use edid options that lanrat gave really helped. I added Option "UseEDID" "FALSE" and Option "UseEdidFreqs" "FALSE" and got back to my resolution and refresh rate. I don't know, maybe only using the first option would be enough too. Anyways, somebody might find this feedback useful wink

Offline

#9 2007-03-07 10:06:31

klixon
Member
From: Nederland
Registered: 2007-01-17
Posts: 525

Re: DisplaySize removed from xorg 7.2?

Nvidia binary users could just add

    Option "DPI" "100 x 100"

to their video-device section


Stand back, intruder, or i'll blast you out of space! I am Klixon and I don't want any dealings with you human lifeforms. I'm a cyborg!

Offline

#10 2007-03-19 15:23:25

eduac
Member
Registered: 2006-03-17
Posts: 123

Re: DisplaySize removed from xorg 7.2?

is there some way to fix it without patch?


Arch - newbie

Offline

#11 2007-03-20 19:29:58

no4
Member
From: Germany
Registered: 2005-09-10
Posts: 83

Re: DisplaySize removed from xorg 7.2?

lanrat wrote:

Same effect here. But adding Option "NoDDC" to the Device section for the video card in xorg.conf seems to fix it.

Thanks a lot. That works for me smile

Last edited by no4 (2007-03-20 21:01:29)


Thank you free software developers for sharing your work.

Offline

#12 2007-03-21 15:01:43

eduac
Member
Registered: 2006-03-17
Posts: 123

Re: DisplaySize removed from xorg 7.2?

NoDDC doesnt work for me sad


Arch - newbie

Offline

#13 2007-03-22 19:56:31

no4
Member
From: Germany
Registered: 2005-09-10
Posts: 83

Re: DisplaySize removed from xorg 7.2?

eduac wrote:

NoDDC doesnt work for me sad

here is my xorg.conf

Section "ServerLayout"
    Identifier     "Xorg Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    Option "AIGLX" "true"
    InputDevice    "USB Mouse" "CorePointer"
EndSection

Section "ServerFlags"
    Option "AllowMouseOpenFail"  "true"
EndSection

Section "Files"
    RgbPath      "/usr/share/X11/rgb"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/misc:unscaled"
    FontPath     "/usr/share/fonts/misc"
    FontPath     "/usr/share/fonts/75dpi:unscaled"
    FontPath     "/usr/share/fonts/75dpi"
    FontPath     "/usr/share/fonts/100dpi:unscaled"
    FontPath     "/usr/share/fonts/100dpi"
    FontPath     "/usr/share/fonts/PEX"
# Additional fonts: Locale, Gimp, TTF...
    FontPath     "/usr/share/fonts/cyrillic"
#    FontPath     "/usr/share/lib/X11/fonts/latin2/75dpi"
#    FontPath     "/usr/share/lib/X11/fonts/latin2/100dpi"
# True type and type1 fonts are also handled via xftlib, see /etc/X11/XftConfig!
    FontPath     "/usr/share/fonts/Type1"
    FontPath     "/usr/share/fonts/ttf/western"
    FontPath     "/usr/share/fonts/ttf/decoratives"
    FontPath     "/usr/share/fonts/truetype"
    FontPath     "/usr/share/fonts/truetype/openoffice"
    FontPath     "/usr/share/fonts/truetype/ttf-bitstream-vera"
    FontPath     "/usr/share/fonts/latex-ttf-fonts"
    FontPath     "/usr/share/fonts/defoma/CID"
    FontPath     "/usr/share/fonts/defoma/TrueType"
EndSection

Section "Module"
    Load  "ddc"  # ddc probing of monitor
    Load  "dbe"
    Load  "dri"
    Load  "extmod"
    Load  "glx"
    Load  "bitmap" # bitmap-fonts
    Load  "type1"
    Load  "freetype"
    Load  "record"
EndSection

Section "InputDevice"
    Identifier    "Keyboard0"
    Driver        "keyboard"
    Option        "CoreKeyboard"
    Option        "XkbRules" "xorg"
    Option        "XkbModel" "pc105"
    Option        "XkbLayout" ""
    Option        "XkbVariant" ""
EndSection

Section "InputDevice"
    Identifier      "USB Mouse"
    Driver          "mouse"
    Option          "Device"                "/dev/input/mice"
    Option        "SendCoreEvents"    "true"
    Option          "Protocol"              "IMPS/2"
    Option          "ZAxisMapping"          "4 5"
    Option          "Buttons"               "5"
EndSection

# Auto-generated by Archie mkxcfg

Section "Monitor"
    Identifier    "Monitor0"
    Option        "DPMS" "true"
    HorizSync    28.0 - 96.0 # Warning: This may fry old Monitors
    VertRefresh    50.0 - 75.0 # Very conservative. May flicker.
#    DisplaySize    390 246 # 84 DPI @ 1280x800
    Modeline    "1280x800_60.00"  83.46  1280 1344 1480 1680  800 801 804 828  -HSync +Vsync
EndSection

# Auto-generated by Archie mkxcfg

Section "Device"
    Identifier  "Card0"
    Driver      "i810"
    VendorName  "Intel Corporation"
    BoardName   "Mobile 945GM/GMS/940GML Express Integrated Graphics Controller"
    BusID       "PCI:0:2:0"
    VideoRam        131072
    Option          "DRI"           "true"
    Option          "XVideo"        "true"
    Option "XAANoOffscreenPixmaps" "true"
    Option "NoDDC"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    DefaultColorDepth 24
    SubSection "Display"
        Depth     1
        Modes "1280x800" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     4
        Modes "1280x800" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     8
        Modes "1280x800" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     15
        Modes "1280x800" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     16
        Modes "1280x800" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     24
        Modes     "38"
                Virtual   1280 800
                #Modes "1280x800" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     32
        Modes "1280x800" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Section "DRI"
    Mode 0666
EndSection


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

Thank you free software developers for sharing your work.

Offline

#14 2007-03-23 12:28:39

eduac
Member
Registered: 2006-03-17
Posts: 123

Re: DisplaySize removed from xorg 7.2?

no4 wrote:
eduac wrote:

NoDDC doesnt work for me sad

here is my xorg.conf

Section "ServerLayout"
    Identifier     "Xorg Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    Option "AIGLX" "true"
    InputDevice    "USB Mouse" "CorePointer"
EndSection

Section "ServerFlags"
    Option "AllowMouseOpenFail"  "true"
EndSection

Section "Files"
    RgbPath      "/usr/share/X11/rgb"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/misc:unscaled"
    FontPath     "/usr/share/fonts/misc"
    FontPath     "/usr/share/fonts/75dpi:unscaled"
    FontPath     "/usr/share/fonts/75dpi"
    FontPath     "/usr/share/fonts/100dpi:unscaled"
    FontPath     "/usr/share/fonts/100dpi"
    FontPath     "/usr/share/fonts/PEX"
# Additional fonts: Locale, Gimp, TTF...
    FontPath     "/usr/share/fonts/cyrillic"
#    FontPath     "/usr/share/lib/X11/fonts/latin2/75dpi"
#    FontPath     "/usr/share/lib/X11/fonts/latin2/100dpi"
# True type and type1 fonts are also handled via xftlib, see /etc/X11/XftConfig!
    FontPath     "/usr/share/fonts/Type1"
    FontPath     "/usr/share/fonts/ttf/western"
    FontPath     "/usr/share/fonts/ttf/decoratives"
    FontPath     "/usr/share/fonts/truetype"
    FontPath     "/usr/share/fonts/truetype/openoffice"
    FontPath     "/usr/share/fonts/truetype/ttf-bitstream-vera"
    FontPath     "/usr/share/fonts/latex-ttf-fonts"
    FontPath     "/usr/share/fonts/defoma/CID"
    FontPath     "/usr/share/fonts/defoma/TrueType"
EndSection

Section "Module"
    Load  "ddc"  # ddc probing of monitor
    Load  "dbe"
    Load  "dri"
    Load  "extmod"
    Load  "glx"
    Load  "bitmap" # bitmap-fonts
    Load  "type1"
    Load  "freetype"
    Load  "record"
EndSection

Section "InputDevice"
    Identifier    "Keyboard0"
    Driver        "keyboard"
    Option        "CoreKeyboard"
    Option        "XkbRules" "xorg"
    Option        "XkbModel" "pc105"
    Option        "XkbLayout" ""
    Option        "XkbVariant" ""
EndSection

Section "InputDevice"
    Identifier      "USB Mouse"
    Driver          "mouse"
    Option          "Device"                "/dev/input/mice"
    Option        "SendCoreEvents"    "true"
    Option          "Protocol"              "IMPS/2"
    Option          "ZAxisMapping"          "4 5"
    Option          "Buttons"               "5"
EndSection

# Auto-generated by Archie mkxcfg

Section "Monitor"
    Identifier    "Monitor0"
    Option        "DPMS" "true"
    HorizSync    28.0 - 96.0 # Warning: This may fry old Monitors
    VertRefresh    50.0 - 75.0 # Very conservative. May flicker.
#    DisplaySize    390 246 # 84 DPI @ 1280x800
    Modeline    "1280x800_60.00"  83.46  1280 1344 1480 1680  800 801 804 828  -HSync +Vsync
EndSection

# Auto-generated by Archie mkxcfg

Section "Device"
    Identifier  "Card0"
    Driver      "i810"
    VendorName  "Intel Corporation"
    BoardName   "Mobile 945GM/GMS/940GML Express Integrated Graphics Controller"
    BusID       "PCI:0:2:0"
    VideoRam        131072
    Option          "DRI"           "true"
    Option          "XVideo"        "true"
    Option "XAANoOffscreenPixmaps" "true"
    Option "NoDDC"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    DefaultColorDepth 24
    SubSection "Display"
        Depth     1
        Modes "1280x800" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     4
        Modes "1280x800" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     8
        Modes "1280x800" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     15
        Modes "1280x800" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     16
        Modes "1280x800" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     24
        Modes     "38"
                Virtual   1280 800
                #Modes "1280x800" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     32
        Modes "1280x800" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Section "DRI"
    Mode 0666
EndSection


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

nothing sad


Arch - newbie

Offline

Board footer

Powered by FluxBB