xserver-xorg-video-intel doesn't respect screen virtual resolution in xorg.conf

Bug #371544 reported by David Kedves
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xserver-xorg-video-intel (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: xserver-xorg-video-intel

I'm installed xserver-xorg-video-intel (2:2.6.3-0ubuntu9.1) jaunty-proposed;
and i'm using multiple (2) monitors to work...

Somewhy only one monitor can work with this intel video driver,
so i checked what is changed :
121_i965_default_to_virtual_2048_2048.patch
Seems that patch causing this issue...

I cannot get work both monitor same time
( Gnome display properties saying "Please log out and log back in again" , i tried it: logging in and out isn't working,
 i applied the upstream patch from: https://bugs.launchpad.net/ubuntu/+source/gnome-desktop/+bug/365210,
 that is also useless for me...), so i changed that in patch file 2048x2048 to my virtual resolution to 2704x1050, and everything is working fine again:
Here is my modified patch:
  1 diff -Nurp xserver-xorg-video-intel-2.6.3/src/i830_driver.c working~virtual/src/i830_driver.c
  2 --- xserver-xorg-video-intel-2.6.3/src/i830_driver.c 2009-03-02 11:21:07.000000000 -0800
  3 +++ working~virtual/src/i830_driver.c 2009-04-29 14:21:54.000000000 -0700
  4 @@ -1979,6 +1979,15 @@ I830PreInit(ScrnInfoPtr pScrn, int flags
  5 xf86DrvMsg(pScrn->scrnIndex, X_WARNING,
  6 "VBIOS initialization failed.\n");
  7
  8 + if (IS_I965G(pI830) && pScrn->virtualX == 0 && pScrn->virtualY == 0) {
  9 + xf86DrvMsg(pScrn->scrnIndex, X_INFO,
 10 + "Defaulting Virtual to 2704 1050 for i965.\n");
 11 + pScrn->virtualX = 2704;
 12 + pScrn->virtualY = 1050;
 13 + pScrn->display->virtualX = 2704;
 14 + pScrn->display->virtualY = 1050;
 15 + }
 16 +
 17 if (pI830->use_drm_mode) {
 18 if (!I830DrmModeInit(pScrn))
 19 return FALSE;

Please don't mark this bugreport as duplicate of https://bugs.launchpad.net/ubuntu/+source/gnome-desktop/+bug/365210 , because this isn't the same issue... Thanks!

Revision history for this message
David Kedves (kedazo) wrote :

Btw, my xorg.conf is properly set:
Section "Screen"
 Identifier "Default Screen"
 Monitor "Configured Monitor"
 Device "Configured Video Device"
 SubSection "Display"
  Depth 24
  Modes "1680x1050" "1280x1024" "1024x768" "800x600"
  Virtual 2704 1050
 EndSubSection
EndSection
i don't understand xorg why not change to virtual resolution to 2704x1050,
maybe the root of the problem can be elsewhere (i mean not in the intel driver...)

Revision history for this message
David Kedves (kedazo) wrote :

Wow, i found what causing this error, so i changed the patch file,
we should check for pScrn->display->virtual[XY] before we are
defaulting virtual to 2048x2048...

So patch for this issue attached...

summary: - Gnome display properties saying "Please log out and log back in again"
+ xserver-xorg-video-intel doesn't respect screen virtual resolution in
+ xorg.conf
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package xserver-xorg-video-intel - 2:2.6.3-0ubuntu11

---------------
xserver-xorg-video-intel (2:2.6.3-0ubuntu11) karmic; urgency=low

  * Update 121_i965_default_to_virtual_2048_2048.patch to check more
    thoroughly for user-supplied Virtual settings. (Thanks kedazo)
    (LP: #370777, #371544)

 -- Bryce Harrington <email address hidden> Mon, 04 May 2009 15:10:00 -0700

Changed in xserver-xorg-video-intel (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.