Comment 50 for bug 246269

Revision history for this message
Martin Capitanio (capnm) wrote :

Until somebody decides to fix the Intel fb driver ;-) you have to patch the VGA BIOS
( Read http://dev.gentoo.org/~spock/projects/uvesafb/faq.php )

e.g .for 1280x800:

    * wget 'https://launchpad.net/ubuntu/hardy/+source/915resolution/0.5.3-1ubuntu1/+files/915resolution_0.5.3.orig.tar.gz'

    * tar xvzf 915resolution_0.5.3.orig.tar.gz && cd 915resolution-0.5.3/ && make

    * sudo cp -a 915resolution /sbin/

    * read README.txt

    * sudo 915resolution -l gives me
Intel chipset detected. However, 915resolution was unable to determine the chipset type.

    * for my chipset fgrep Chipset /var/log/Xorg.0.log
(II) intel: Driver for Intel Integrated Graphics Chipsets: i810, Mobile Intel GM45 Express Chipset,
(II) intel(0): Integrated Graphics Chipset: Intel(R) 965GM

    * forcing 915resolution -c G965 -l works
Intel 800/900 Series VBIOS Hack : version 0.5.3
Chipset: G965
BIOS: TYPE 1
Mode Table Offset: $C0000 + $268
Mode Table Entries: 36

Mode 30 : 640x480, 8 bits/pixel
Mode 32 : 800x600, 8 bits/pixel
Mode 34 : 1280x800, 8 bits/pixel
Mode 38 : 1280x1024, 8 bits/pixel
Mode 3a : 1600x1200, 8 bits/pixel
Mode 3c : 1920x1440, 8 bits/pixel
Mode 41 : 640x480, 16 bits/pixel
Mode 43 : 800x600, 16 bits/pixel
Mode 45 : 1280x800, 16 bits/pixel
Mode 49 : 1280x1024, 16 bits/pixel
Mode 4b : 1600x1200, 16 bits/pixel
Mode 4d : 1920x1440, 16 bits/pixel
Mode 50 : 640x480, 32 bits/pixel
Mode 52 : 800x600, 32 bits/pixel
Mode 54 : 1280x800, 32 bits/pixel
Mode 58 : 1280x1024, 32 bits/pixel
Mode 5a : 1600x1200, 32 bits/pixel
Mode 5c : 1920x1440, 32 bits/pixel

   * insert
/sbin/915resolution -c G965 54 1280 800

   in the /etc/init.d/module-init-tools file just before the line
# Loop over every line in /etc/modules.

   * be happy
[ 17.371765] Console: switching to colour frame buffer device 160x50
[ 17.374929] uvesafb: framebuffer at 0x80000000, mapped to 0xffffc20004c80000, using 7616k, total 7616k

cat /sys/class/graphics/fb0/virtual_size
1280,800

cat /sys/devices/platform/uvesafb.0/vbe_modes
1280x800-8, 0x0105
1280x800-16, 0x0117
1280x800-32, 0x0118
640x480-32, 0x0112
800x600-16, 0x0114
800x600-32, 0x0115
640x480-8, 0x0101
800x600-8, 0x0103
640x480-16, 0x0111