You are not logged in.

#1 2009-03-21 23:21:27

Nergar
Member
Registered: 2007-11-03
Posts: 15

Wrong DPI/Huge Font Intel card

Can anyone help me with this? When I start GDM the dpi is messed up and Fonts are unusually huge. I tried everything listed in http://wiki.archlinux.org/index.php/Xor … Size.2FDPI but adding "Load "ddc"' doesn't work, I guess /etc/X11/xinit/xserverrc is ignored by GDM because it didn't work either. DisplaySize is also ingnored by Xorg. And adding  "Option   "NoDDC" "true"" causes my LCD to not recognize the server output at all with an "Invalid Format" Error Message.

the olny thing xrandr does is alter xdpyinfo output, but the screen looks the same.

I the quick and dirty fix of setting the fonts to size "2" but Firefox icons look horribly wrong.

Heres a screenshot to get the Idea.

http://imgs.nergar.com/public/screenshot_001.jpeg

Thanks

P.S. I looked arround for other solutions but I couldn't find anything useful to me.

Offline

#2 2009-03-22 12:43:16

blackhole
Member
From: Karlsruhe, Germany
Registered: 2008-12-14
Posts: 148
Website

Re: Wrong DPI/Huge Font Intel card

When you say "I've tried all", have you also tried adding

Option   "UseEdidDpi" "false"
Option   "DPI" "96 x 96"

to your Monitor section in xorg.conf?

If that doesn't work, post your xorg.conf.

Last edited by blackhole (2009-03-22 12:44:27)


Coming closer and closer to the ultimate goal: replacing boring old Windows XP desktop with shiny new Arch KDE 4 desktop. ^^
Already registered? Your vote counts!

Offline

#3 2009-03-22 15:15:12

Nergar
Member
Registered: 2007-11-03
Posts: 15

Re: Wrong DPI/Huge Font Intel card

blackhole wrote:

When you say "I've tried all", have you also tried adding

Option   "UseEdidDpi" "false"
Option   "DPI" "96 x 96"

to your Monitor section in xorg.conf?

If that doesn't work, post your xorg.conf.

I tried your solution but it didn't work.

Heres my Xorg.conf

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/misc"
    FontPath     "/usr/share/fonts/100dpi:unscaled"
    FontPath     "/usr/share/fonts/75dpi:unscaled"
    FontPath     "/usr/share/fonts/TTF"
    FontPath     "/usr/share/fonts/Type1"
EndSection

Section "Module"
    Load  "dbe"
    Load  "xtrap"
    Load  "extmod"
    Load  "dri"
    Load  "glx"
    Load  "freetype"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
EndSection

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option        "Protocol" "auto"
    Option        "Device" "/dev/input/mice"
    Option        "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
    #DisplaySize      580   320    # mm
    Identifier   "Monitor0"
    VendorName   "TAT"
    ModelName    "2626-TLMB"
    HorizSync    31.0 - 61.0
    VertRefresh  56.0 - 76.0
    Option        "DPMS"
    Option   "UseEdidDpi" "false"
    Option   "DPI" "96 x 96"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: 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>
        #Option     "PageFlip"               # [<bool>]
    Identifier  "Card0"
    Driver      "intel"
    VendorName  "Intel Corporation"
    BoardName   "82G33/G31 Express Integrated Graphics Controller"
    BusID       "PCI:0:2:0"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    SubSection "Display"
        Viewport   0 0
        Depth     1
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     4
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     8
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     15
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     16
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     24
    EndSubSection
EndSection

Offline

#4 2009-03-22 15:51:49

blackhole
Member
From: Karlsruhe, Germany
Registered: 2008-12-14
Posts: 148
Website

Re: Wrong DPI/Huge Font Intel card

I see you've even tried to manually calculate your "DisplaySize". ^^ Men, you really tried everything. xorg.conf looks alright to me. Strange. Sorry that I couldn't help. sad


Coming closer and closer to the ultimate goal: replacing boring old Windows XP desktop with shiny new Arch KDE 4 desktop. ^^
Already registered? Your vote counts!

Offline

#5 2009-03-23 16:08:43

filoktetes
Member
From: Skien, Norway
Registered: 2003-12-29
Posts: 287

Re: Wrong DPI/Huge Font Intel card

I've got the same problem after upgrading from kernel 2.6.29-rc7 to rc8 (and doing some changes to the config...). Anyway I had the big font problem solved, but now nothing works anymore.
But I searched a bit around and found a partial solution:

Xft.dpi: 96

in ~/.Xresources
fixes the font size in most programs.

Offline

#6 2009-03-23 16:23:18

CheesyBeef
Member
Registered: 2008-06-04
Posts: 190

Re: Wrong DPI/Huge Font Intel card

I don't know about you, but I had such an annoying problem (but my fault) with Arch fonts when I started using it.  All the fonts were ugly, stretched, large, etc.  I could not figure out why they were ugly and spent like two days following every font fix in the wiki.

It turned out my X server was using the wrong screen resolution - it was set at 1024x768, when my best resolution is 1280x800.  Your screen resolution appears to be set as 1360x768.  I do not know if that is your default or not.

Also, for smaller fonts I run Xserver by issuing:

startx -- -dpi 86

But that is also just what I think looks best with my monitor.  You can set this permanently in /etc/X11/xinit/xserverrc:

exec /usr/bin/X -nolisten tcp -dpi 86

Offline

#7 2009-03-23 19:30:19

SnapShot
Member
Registered: 2008-08-26
Posts: 43

Re: Wrong DPI/Huge Font Intel card

I had this kind of problem about 6 months ago I think I've solved it by adding NoDDC option, manually specifying display size and specifying my monitor in the device section as:

Option "Monitor-LVDS" "LCD 1280x800"

where LCD 1280x800 is my monitor identifier defined in the xorg.cong (in your case it should be Monitor0) and LVDS is the device output for the internal laptop monitor. If you use VGA output it would be Monitor-VGA or if you use DVI it should be something with TMDS: Monitor-TMDS or Monitro-TMDS-1 etc. You can find the output that your monitor is connected to with "xrandr -q".

That are the 3 options that I used together to solve the problem if I recall corectly.

Offline

#8 2009-03-23 21:38:02

filoktetes
Member
From: Skien, Norway
Registered: 2003-12-29
Posts: 287

Re: Wrong DPI/Huge Font Intel card

Thanks, SnapShot, your post helped me fix the problem. I knew about all ways to solve it, but today, after upgrading from (my own configuration of) kernel 2.6.29-rc7 to rc8, it suddenly stopped working. I've been struggling all day to fix it.
Now, at a whim, after seeing your post, I tried the xrandr command, and noticed that my laptop screen suddenly has changed name from LVDS to LVDS1, so I changed Monitor-LVDS to Monitor-LVDS1, and all was well smile

Offline

#9 2009-05-05 22:12:44

TigTex
Member
From: Portugal
Registered: 2008-06-19
Posts: 301

Re: Wrong DPI/Huge Font Intel card

This is pretty old... but I also had this problem

I use latest intel and xorg from testing repo into a bootable pen. Some monitors give-me dpi 16020x16020 tongue
To fix it, i added xrandr --dpi 96 to .xinitrc before exec startlxde (lxde here)

Works like a charm smile

Last edited by TigTex (2009-05-05 22:13:26)


.::. TigTex @ Portugal .::.

Offline

#10 2009-05-05 22:23:41

Nergar
Member
Registered: 2007-11-03
Posts: 15

Re: Wrong DPI/Huge Font Intel card

Well, just about a week ago I found out how to solve this. Just changing the dpi in Preferences > Appearance in the advanced settings.

To be honest, I never saw that option in all these years using linux.

BTW, my dpi was set to 400 and something, I wonder why.

Offline

#11 2009-07-20 09:22:14

goll
Member
From: Croatia
Registered: 2007-10-29
Posts: 50

Re: Wrong DPI/Huge Font Intel card

Guys, i just wanted to thank you smile

@TigTex: your solution worked like a charm, i can't believe i have normal fonts again, everything looks so tiny and nice big_smile

Offline

#12 2009-08-18 22:21:25

ataraxia
Member
From: Pittsburgh
Registered: 2007-05-06
Posts: 1,553

Re: Wrong DPI/Huge Font Intel card

filoktetes wrote:

I've got the same problem after upgrading from kernel 2.6.29-rc7 to rc8 (and doing some changes to the config...). Anyway I had the big font problem solved, but now nothing works anymore.
But I searched a bit around and found a partial solution:

Xft.dpi: 96

in ~/.Xresources
fixes the font size in most programs.

This fixed this problem for me, thank you! Setting DPI in firefox itself was ineffective. I didn't try changing the DPI for the whole X server since non-freetype fonts were already the right size.

Offline

Board footer

Powered by FluxBB