Re: xorg resolution on new laptop



On Tue, Apr 03, 2007 at 09:29:12AM +0100, Vince wrote:
I have this working, however i cant remember my method for working it out.

Thanks for the answer, but this doesn't work for me. Comments below.

I use
/usr/local/bin/915resolution 4d 1440 900 16
(in an rc script /usr/local/etc/rc.d/915res )

You just overwrote a different mode than I did, no biggie. I copied
yours.

my xorg.conf (relevant bits)
Section "Device"

Identifier "Card0"
Driver "i810"
VendorName "Intel Corporation"
BoardName "Mobile Integrated Graphics Controller"
BusID "PCI:0:2:0"
Option "DRI" "true"

Interesting point: I copied this entry, and Xorg.0.log shows that DRI should be enabled:

(II) I810(0): [DRI] installation complete
(II) I810(0): direct rendering: Enabled


glxinfo says I don't have DRI, however:

glxinfo
name of display: :0.0
Unrecognized deviceID 27a2
display: :0 screen: 0
direct rendering: No


Still searching, but thanks for info. At least I know it *can* work
on FreeBSD...

EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
Subsection "Display"
Depth 24
Modes "1440x900" "1024x768" "800x600"
ViewPort 0 0
EndSubsection
EndSection



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


Vince


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@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@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@xxxxxxxxxxx, mwlucas@xxxxxxxxxxxxxxxxxxxx
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
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages