xorg resolution on new laptop
Michael W. Lucas
mwlucas at blackhelicopters.org
Tue Apr 3 15:05:57 UTC 2007
> I'm not certain why this works since I'm setting the mode to 1440x900
> in 16bits but it does.
> (from xdpyinfo)
> screen #0:
> print screen: no
> dimensions: 1440x900 pixels (302x191 millimeters)
> resolution: 121x120 dots per inch
> depths (7): 24, 1, 4, 8, 15, 16, 32
> root window id: 0x5d
> depth of root window: 24 planes
> number of colormaps: minimum 1, maximum 1
I missed the bit about xdpyinfo, never seen that program before. I have:
screen #0:
print screen: no
dimensions: 1440x900 pixels (373x231 millimeters)
resolution: 98x99 dots per inch
depths (7): 24, 1, 4, 8, 15, 16, 32
root window id: 0x4c
depth of root window: 24 planes
number of colormaps: minimum 1, maximum 1
The difference is in the "resolution" entry: Vince has 121x120, I have
98x99. My text is all quite large, my icons larger.
What I really need to do is learn about X. All of the docs I've found
have been for older versions or consist only of occult references to a
particular users' edge case. It seems nobody's written a book about
xorg. (Don't ask me to, I don't know enough to even write the
proposal! :-)
Does anyone have a recommendation for a decent user tutorial for X
troubleshooting? I don't mean "run startx", I mean "this is the log
file and this is what the various entries mean" sort of
troubleshooting.
Thanks,
==ml
> Michael W. Lucas wrote:
> > Hi folks,
> >
> > I've scoured Google seeking wisdom, and found nothing except hordes of
> > Linux users whining about this same problem. FreeBSD users don't seem
> > to have this issue, except for me. Finally I have no choice but to
> > throw myself on your tender mercies.
> >
> > I've been going nuts trying to get 1440x900 resolution on my new
> > Toshiba P105. Any help anyone could offer would be greatly
> > appreciated. Xorg assures me that the 945GM video card is supported
> > by the i810 driver, provided I use the 915resolution program to set
> > the resolution before starting X. I run:
> >
> > /usr/local/bin/915resolution 3c 1440 900
> >
> > to add the resolution 1440x900 to the video BIOS. 915resolution -l
> > now shows me:
> >
> > ...
> > Mode 3c : 1440x900, 8 bits/pixel
> > ...
> > Mode 4d : 1440x900, 16 bits/pixel
> > ...
> > Mode 5c : 1440x900, 32 bits/pixel
> > ..
> >
> > So, in theory 1440x900 should be available to the card.
> >
> > startx fails without a config file, so I let it create one and tweaked
> > in based on gossip, rumour, and innuendo I've uncovered in three days
> > of Web searching. I get something that looks *about* like 1200x768,
> > but it's a far cry from 1440x900.
> >
> > pciconf -lv tells me:
> >
> > ...
> > vgapci0 at pci0:2:0: class=0x030000 card=0xff311179 chip=0x27a28086 rev=0x03 hdr=0x00
> > vendor = 'Intel Corporation'
> > device = 'Mobile Integrated Graphics Controller'
> > class = display
> > subclass = VGA
> > vgapci1 at pci0:2:1: class=0x038000 card=0xff311179 chip=0x27a68086 rev=0x03 hdr=0x00
> > vendor = 'Intel Corporation'
> > device = 'Mobile Integrated Graphics Controller'
> > class = display
> > ...
> >
> > Here's relevant stuff trimmed from my xorg.conf.
> >
> > --
> >
> > Section "Module"
> > Load "extmod"
> > Load "glx"
> > Load "dri"
> > Load "dbe"
> > Load "record"
> > Load "xtrap"
> > Load "type1"
> > Load "freetype"
> > Load "i2c"
> > Load "bitmap"
> > Load "int10"
> > EndSection
> >
> > ...
> >
> > Section "Monitor"
> > #DisplaySize 370 230 # mm
> > Identifier "Monitor0"
> > VendorName "LPL"
> > ModelName "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 "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 "i810"
> > VendorName "Intel Corporation"
> > BoardName "Mobile 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 "1440x900"
> > EndSubSection
> > SubSection "Display"
> > Viewport 0 0
> > Depth 4
> > EndSubSection
> > SubSection "Display"
> > Viewport 0 0
> > Depth 8
> > Modes "1440x900"
> > EndSubSection
> > SubSection "Display"
> > Viewport 0 0
> > Depth 15
> > Modes "1440x900"
> > EndSubSection
> > SubSection "Display"
> > Viewport 0 0
> > Depth 16
> > Modes "1440x900"
> > EndSubSection
> > SubSection "Display"
> > Viewport 0 0
> > Depth 24
> > Modes "1440x900"
> > EndSubSection
> > EndSection
> >
> > Any ideas, anyone?
> >
> > Thanks,
> > ==ml
> >
--
Michael W. Lucas mwlucas at FreeBSD.org, mwlucas at BlackHelicopters.org
http://www.BlackHelicopters.org/~mwlucas/
Latest book: PGP & GPG -- http://www.pgpandgpg.com
"The cloak of anonymity protects me from the nuisance of caring." -Non Sequitur
More information about the freebsd-questions
mailing list