You are not logged in.

#1 2009-02-05 08:37:14

Bonner
Member
From: Derbyshire, England
Registered: 2008-09-09
Posts: 45
Website

Screen Sharpness.

I have a problem that I can't accurately describe. The colours of my laptop screen seem...Dull for lack of a better word. They're not very sharp in comparison to my Xubuntu install, and in fact the entire image seems to feel stretched. I can only assume i've somehow misconfigured 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  "dri"
    Load  "glx"
    Load  "dbe"
    Load  "extmod"
    Load  "xtrap"
    Load  "freetype"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
Option "Xkblayout" "gb"
Option "Xkbvariant" ""
EndSection

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

Section "Monitor"
    Identifier   "Monitor0"
    VendorName   "Monitor Vendor"
    ModelName    "Monitor Model"
    HorizSync    30.0 - 130.0
    VertRefresh  50.0 - 100.0
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     "ShadowFB"               # [<bool>]
        #Option     "DefaultRefresh"         # [<bool>]
        #Option     "ModeSetClearScreen"     # [<bool>]
    Identifier  "Card0"
    Driver      "intel"
    VendorName  "Intel Corporation"
    BoardName   "Mobile GME965/GLE960 Integrated Graphics Controller"
    BusID       "PCI:0:2:0"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    DefaultDepth 24
    SubSection "Display"
        Viewport   0 0
        Depth     1
        Modes "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     4
        Modes "1024x768" "800x600" "640x480"
    EndSubSection
SubSection "Display"
        Viewport   0 0
        Depth     8
        Modes "1024x768" "800x600" "640x480"
EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     15
        Modes "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     16
        Modes "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     24
        Modes "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Section "ServerFlags"
    Option "AutoAddDevices" "False"
EndSection

Section "Extensions"
    Option "Composite" "Enable"
Endsection

I was wondering if someone with a little more experience than me could have a glance over it for any obvious problems.

Thanks.

Offline

#2 2009-02-05 09:13:55

grave
Member
From: Belgium
Registered: 2007-04-06
Posts: 22
Website

Re: Screen Sharpness.

It could be your dpi settings
try: dpyinfo | grep -B1 dot
Should give you a resolution
resolution:    96x96 dots per inch

if not put this in your xorg.conf file in section Monitor
using a resolution 1024 x 768
DisplaySize 270 203

with other resolution
compute the values like this
let say: resolution 1280x960

1280*25.4/96 = 338,...
960*25.4/96 = 254,
so :
DisplaySize 338 254

Offline

#3 2009-02-05 09:29:32

Bonner
Member
From: Derbyshire, England
Registered: 2008-09-09
Posts: 45
Website

Re: Screen Sharpness.

grave wrote:

It could be your dpi settings
try: dpyinfo | grep -B1 dot
Should give you a resolution
resolution:    96x96 dots per inch

if not put this in your xorg.conf file in section Monitor
using a resolution 1024 x 768
DisplaySize 270 203

with other resolution
compute the values like this
let say: resolution 1280x960

1280*25.4/96 = 338,...
960*25.4/96 = 254,
so :
DisplaySize 338 254

Unfortunately that looks like it didn't do a lot. It also wouldn't recognise the command dpyinfo. What packages would need to be installed for the command to be recognised?

Offline

#4 2009-02-05 09:46:32

Damnshock
Member
From: Barcelona
Registered: 2006-09-13
Posts: 414

Re: Screen Sharpness.

Bonner wrote:

Unfortunately that looks like it didn't do a lot. It also wouldn't recognise the command dpyinfo. What packages would need to be installed for the command to be recognised?

bash-3.2$ pacman -Qo /usr/bin/xdpyinfo
/usr/bin/xdpyinfo is owned by xorg-utils 7.4-2

My blog: blog.marcdeop.com
Jabber ID: damnshock@jabber.org

Offline

#5 2009-02-05 10:28:45

Bonner
Member
From: Derbyshire, England
Registered: 2008-09-09
Posts: 45
Website

Re: Screen Sharpness.

Damnshock wrote:
Bonner wrote:

Unfortunately that looks like it didn't do a lot. It also wouldn't recognise the command dpyinfo. What packages would need to be installed for the command to be recognised?

bash-3.2$ pacman -Qo /usr/bin/xdpyinfo
/usr/bin/xdpyinfo is owned by xorg-utils 7.4-2

Oh, it's xdpyinfo? that explains it then.

[bonner@ArchBox ~]$ xdpyinfo | grep -B1 dot
dimensions:    1024x768 pixels (331x207 millimeters)
resolution:    79x94 dots per inch

Offline

#6 2009-02-05 11:12:57

Bonner
Member
From: Derbyshire, England
Registered: 2008-09-09
Posts: 45
Website

Re: Screen Sharpness.

Update:

Out of lack of ideas of what to do, I remade my Xorg.conf file using hwd. It remade and used the vesa driver instead of the intel one i've been using. Using the Vesa driver removed the problem of a stretched and un-sharp (for lack of a better term) image, but added the problem of two large black bars down either side of the screen, so I switched back to intel.

So I've pretty much ruled out a misconfigured Xorg.conf

The problem might lie in the driver, but I doubt it. The Arch Wiki seems to have got it working fine before. (But gives little detail other than "Works with xf86-video-intel-2.0.")

What else could it possibly be? I'm tearing my hair out trying to figure it out. Maybe my Desktop Environment, LXDE?

Offline

#7 2009-02-05 18:58:53

Hrod beraht
Member
Registered: 2008-09-30
Posts: 186

Re: Screen Sharpness.

Bonner wrote:

...the entire image seems to feel stretched.

What's the native resolution of your screen? Is it 1024x768? (which is a bit odd for laptops nowadays) Your xorg is showing a max of 1024x768, but if the native resolution of your LCD is higher, that could certainly account for the 'stretched' look.

Bob

Offline

Board footer

Powered by FluxBB