[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: X: set resolution in Squeeze on a Macbook



Thanks for your help, Liam! 

Liam O'Toole <liam.p.otoole@gmail.com> writes:

>> The background: this Macbook has an Intel graphics card.  lspci says it
>> is a "Mobile 945GM/GMS, 943/940GM Express Integrated Graphics
>> Controller."    
>
> Is the package xserver-xorg-video-intel installed? If it is, it should
> configure the resolution automatically.

Yes, it is installed.

>> However, I suspect that there is deeper trouble afoot than simply a
>> missing resolution in my X configuration.  When I start X, there is a
>> brief moment of onscreen garbage (randomly colored bars, etc.) before
>> the screen goes blank and stumpwm starts (in a lower resolution).  This
>> leads me to believe that something in the auto-detection is failing and
>> X is falling back to some default settings.  Unfortunately, I don't see
>> anything in /var/log/Xorg.0.log that would indicate this (is there
>> another log I should check?).
>
> Check the log for occurences of "intel". That will tell you whether the
> correct driver is used.

It looks to me like it is being used, but I'm not sure...what's all this
about VESA?

$ grep -i /var/log/Xorg.0.log

(--) PCI:*(0:0:2:0) 8086:27a2:8086:7270 Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller rev 3, Mem @ 0x50380000/524288, 0x40000000/268435456, 0x50400000/262144, I/O @ 0x000020e0/8
(--) PCI: (0:0:2:1) 8086:27a6:8086:7270 Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller rev 3, Mem @ 0x50300000/524288
(==) Matched intel as autoconfigured driver 0
(II) LoadModule: "intel"
(II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
(II) Module intel: vendor="X.Org Foundation"
(II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
(II) VESA(0): VESA VBE OEM: Intel(r) 82945GM Chipset Family Graphics Chip Accelerated VGA BIOS
(II) VESA(0): VESA VBE OEM Vendor: Intel Corporation
(II) VESA(0): VESA VBE OEM Product: Intel(r) 82945GM Chipset Family Graphics Controller
(II) VESA(0): VESA VBE OEM: Intel(r) 82945GM Chipset Family Graphics Chip Accelerated VGA BIOS
(II) VESA(0): VESA VBE OEM Vendor: Intel Corporation
(II) VESA(0): VESA VBE OEM Product: Intel(r) 82945GM Chipset Family Graphics Controller

Also, shortly after my original post, I learned about xrandr.  This
confirms my suspicion that the correct mode is not being detected:

$ xrandr --prop
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 800 x 600, current 1024 x 768, maximum 1024 x 768
default connected 1024x768+0+0 0mm x 0mm
   1024x768       61.0* 
   800x600        61.0  

(Note the lack of a 1280x800 resolution.)

Any ideas?  Am I mistaken in believing that X is loading the correct
driver? How can I clue X in to the native resolution?

Thanks!

Richard



Reply to: