Comment 5 for bug 370777

Revision history for this message
Geir Ove Myhr (gomyhr) wrote : Re: [GM45] LeftOf positioning not working anymore with 2.6.3-0ubuntu9.1

I wonder if 121_i965_default_virtual_to_2048_2048.patch (the patch that was added between 0ubuntu9 and 0ubuntu9.1) is testing for the chipset in the wrong way... You have a GM45, but that patch is as far as I can see meant for only the i965 chipsets (965G and 965GM). From your Xorg.0.log:

(II) intel(0): Integrated Graphics Chipset: Intel(R) Mobile Intel® GM45 Express Chipset
(--) intel(0): Chipset: "Mobile Intel® GM45 Express Chipset"
(--) intel(0): Linear framebuffer at 0xE0000000
(--) intel(0): IO registers at addr 0xF6C00000
(WW) intel(0): libpciaccess reported 0 rom size, guessing 64kB
(II) intel(0): Defaulting Virtual to 2048 2048 for i965.

First it says you have a GM45, then it says "Defaulting Virtual to 2048 2048 for i965". The patch adds the following to i830driver.c:

   if (IS_I965G(pI830) && pScrn->virtualX == 0 && pScrn->virtualY == 0) {
       xf86DrvMsg(pScrn->scrnIndex, X_INFO,
    "Defaulting Virtual to 2048 2048 for i965.\n");
       pScrn->virtualX = 2048;
       pScrn->virtualY = 2048;
       pScrn->display->virtualX = 2048;
       pScrn->display->virtualY = 2048;
   }

Apparently, the function IS_965G is returning true even when you are on a GM45.