Bug#508476: xserver-xorg-core: Cannot run in framebuffer mode. Please specify busIDs for all framebuffer devices

2008-12-11 Thread Luca Capello
Package: xserver-xorg-core
Version: 2:1.5.3-1
Severity: grave

Hi there!

I tried a configless situation with the latest X.Org in experimental,
but this resulted in X not starting at all:
=
luca$gismo:~$ startx


X.Org X Server 1.5.3
Release Date: 5 November 2008
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.17.7 x86_64 Debian
Current Operating System: Linux gismo.pca.it 2.6.27-1-amd64 #1 SMP Wed Dec 10 
04:03:39 UTC 2008 x86_64
Build Date: 12 November 2008  12:59:43PM
xorg-server 2:1.5.3-1 (bui...@xenophanes) 
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu Dec 11 01:04:20 2008
(EE) Unable to locate/open config file
New driver is "intel"
(==) Using default built-in configuration (30 lines)

Fatal server error:
Cannot run in framebuffer mode. Please specify busIDsfor all 
framebuffer devices

giving up.
xinit:  No such file or directory (errno 2):  unable to connect to X server
xinit:  No such process (errno 3):  Server error.

l...@gismo:~$
=

I do not remember why I have installed the X.Org fbdev, but simply
removing it (version 1:0.4.0-2 from experimental) lets X starts.

I am not completely sure the severity is correct, but from what I
understood X tries to use every driver is installed, which does not
sound correct to me.

BTW1, in the information below, I substituted the Xorg.0.log with the
  one coming from the non-starting X

BTW2, why does X consider not having a config file an non-fatal error?
  Should not that be a warning instead?

Thx, bye,
Gismo / Luca

-- Package-specific info:
Contents of /var/lib/x11/X.roster:
xserver-xorg

/var/lib/x11/X.md5sum does not exist.

X server symlink status:
lrwxrwxrwx 1 root root 13 2008-10-13 18:41 /etc/X11/X -> /usr/bin/Xorg
-rwxr-xr-x 1 root root 1797392 2008-11-12 14:14 /usr/bin/Xorg

Contents of /var/lib/x11/xorg.conf.roster:
xserver-xorg

VGA-compatible devices on PCI bus:
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 
943/940GML Express Integrated Graphics Controller (rev 03)

/etc/X11/xorg.conf does not exist.

Xorg X server log files on system:
-rw-r--r-- 1 root root 22434 2008-12-11 02:13 /var/log/Xorg.0.log

Contents of most recent Xorg X server log file
/var/log/Xorg.0.log:

X.Org X Server 1.5.3
Release Date: 5 November 2008
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.17.7 x86_64 Debian
Current Operating System: Linux gismo.pca.it 2.6.27-1-amd64 #1 SMP Wed Dec 10 
04:03:39 UTC 2008 x86_64
Build Date: 12 November 2008  12:59:43PM
xorg-server 2:1.5.3-1 (bui...@xenophanes) 
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu Dec 11 01:02:06 2008
(EE) Unable to locate/open config file
(II) Loader magic: 0x7b1ec0
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.4
X.Org Video Driver: 4.1
X.Org XInput driver : 2.1
X.Org Server Extension : 1.1
X.Org Font Renderer : 0.6
(II) Loader running on linux
(--) using VT number 7

(--) PCI:*(0...@0:2:0) Intel Corporation Mobile 945GM/GMS, 943/940GML Express 
Integrated Graphics Controller rev 3, Mem @ 0xee10/524288, 
0xd000/268435456, 0xee20/262144, I/O @ 0x1800/8
(--) PCI: (0...@0:2:1) Intel Corporation Mobile 945GM/GMS/GME, 943/940GML 
Express Integrated Graphics Controller rev 3, Mem @ 0xee18/524288
(II) Scanning /usr/share/xserver-xorg/pci directory for additional PCI ID's 
supported by the drivers
(II) Matched intel from file name intel.ids
(==) Matched intel for the autoconfigured driver
New driver is "intel"
(==) Using default built-in configuration (30 lines)
(==) --- Start of built-in configuration ---
Section "Device"
Identifier  "Builtin Default intel Device 0"
Driver  "intel"
EndSection
Section "Screen"
Identifier  "Builtin Default intel Screen 0"
Device  "Builtin Default intel Device 0"
EndSection
Section "Device"
Identifier  "Builtin Default fbdev Device 0"
Driver  "fbdev"
EndSection
Section "Screen"
Identifier  "Builtin Default fbdev Screen 0"
Device  "Builtin Default fbdev Device 0"
EndSection
Section "Device"
Identifier  "Builtin Default vesa Device 0"
Driver  "vesa"
EndSec

xorg-server: Changes to 'upstream-experimental'

2008-12-11 Thread Timo Aaltonen
Rebased ref, commits from common ancestor:


-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



xorg-server: Changes to 'debian-experimental'

2008-12-11 Thread Timo Aaltonen
Rebased ref, commits from common ancestor:
commit 523aae1fa6d8002e55e85aee49f113b7eb9a6df3
Author: Keith Packard 
Date:   Tue Dec 9 22:10:56 2008 -0800

Bump version to 1.5.99.3 (1.6 beta3)

Signed-off-by: Keith Packard 

diff --git a/configure.ac b/configure.ac
index 81024e9..2bfa296 100644
--- a/configure.ac
+++ b/configure.ac
@@ -26,7 +26,7 @@ dnl
 dnl Process this file with autoconf to create configure.
 
 AC_PREREQ(2.57)
-AC_INIT([xorg-server], 1.5.99.2, 
[https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], xorg-server)
+AC_INIT([xorg-server], 1.5.99.3, 
[https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], xorg-server)
 AC_CONFIG_SRCDIR([Makefile.am])
 AM_INIT_AUTOMAKE([dist-bzip2 foreign])
 AM_MAINTAINER_MODE

commit 4810226dfc52ef798b507d284030b4b3aec020a6
Author: Matthias Hopf 
Date:   Fri Dec 5 15:37:15 2008 +0100

randr: Update SProcRandrVector for panning
(cherry picked from commit 44bef8b850c5a78a3d3eca5f0d92b71bdd0a87e2)

Signed-off-by: Keith Packard 

diff --git a/randr/rrsdispatch.c b/randr/rrsdispatch.c
index d356ab0..3ff9f3f 100644
--- a/randr/rrsdispatch.c
+++ b/randr/rrsdispatch.c
@@ -399,6 +399,43 @@ SProcRRGetCrtcTransform (ClientPtr client)
 return (*ProcRandrVector[stuff->randrReqType]) (client);
 }
 
+static int
+SProcRRGetPanning (ClientPtr client)
+{
+int n;
+REQUEST(xRRGetPanningReq);
+
+REQUEST_SIZE_MATCH(xRRGetPanningReq);
+swaps(&stuff->length, n);
+swapl(&stuff->crtc, n);
+return (*ProcRandrVector[stuff->randrReqType]) (client);
+}
+
+static int
+SProcRRSetPanning (ClientPtr client)
+{
+int n;
+REQUEST(xRRSetPanningReq);
+
+REQUEST_SIZE_MATCH(xRRSetPanningReq);
+swaps(&stuff->length, n);
+swapl(&stuff->crtc, n);
+swapl(&stuff->timestamp, n);
+swaps(&stuff->left, n);
+swaps(&stuff->top, n);
+swaps(&stuff->width, n);
+swaps(&stuff->height, n);
+swaps(&stuff->track_left, n);
+swaps(&stuff->track_top, n);
+swaps(&stuff->track_width, n);
+swaps(&stuff->track_height, n);
+swaps(&stuff->border_left, n);
+swaps(&stuff->border_top, n);
+swaps(&stuff->border_right, n);
+swaps(&stuff->border_bottom, n);
+return (*ProcRandrVector[stuff->randrReqType]) (client);
+}
+
 int (*SProcRandrVector[RRNumberRequests])(ClientPtr) = {
 SProcRRQueryVersion,   /* 0 */
 /* we skip 1 to make old clients fail pretty immediately */
@@ -433,5 +470,7 @@ int (*SProcRandrVector[RRNumberRequests])(ClientPtr) = {
 SProcRRGetScreenResources, /* 25 GetScreenResourcesCurrent */
 SProcRRSetCrtcTransform,   /* 26 */
 SProcRRGetCrtcTransform,   /* 27 */
+SProcRRGetPanning, /* 28 */
+SProcRRSetPanning, /* 29 */
 };
 

commit 798a4878a4ffb03024e77ea6ddbd9b170b9c3fe4
Author: Matthias Hopf 
Date:   Thu Dec 4 18:13:40 2008 +0100

randr: Allow panning to be disabled per axis
(cherry picked from commit e5ab9e66628cde081757cf2a1013a78e927a622e)

Signed-off-by: Keith Packard 

diff --git a/hw/xfree86/modes/xf86RandR12.c b/hw/xfree86/modes/xf86RandR12.c
index 879f4a2..362229c 100644
--- a/hw/xfree86/modes/xf86RandR12.c
+++ b/hw/xfree86/modes/xf86RandR12.c
@@ -182,8 +182,8 @@ xf86RandR13Pan (xf86CrtcPtr crtc, int x, int y)
return;
 
 if (! crtc->enabled||
-   crtc->panningTotalArea.x2 <= crtc->panningTotalArea.x1  ||
-   crtc->panningTotalArea.y2 <= crtc->panningTotalArea.y1)
+   (crtc->panningTotalArea.x2 <= crtc->panningTotalArea.x1 &&
+crtc->panningTotalArea.y2 <= crtc->panningTotalArea.y1))
return;
 
 newX   = crtc->x;
@@ -191,26 +191,36 @@ xf86RandR13Pan (xf86CrtcPtr crtc, int x, int y)
 width  = crtc->mode.HDisplay;
 height = crtc->mode.VDisplay;
 
-if (x >= crtc->panningTrackingArea.x1 && x < crtc->panningTrackingArea.x2 
&&
-   y >= crtc->panningTrackingArea.y1 && y < crtc->panningTrackingArea.y2) {
-   if (x < crtc->x + crtc->panningBorder[0])
-   newX = x - crtc->panningBorder[0];
-   if (x >= crtc->x + width - crtc->panningBorder[2])
-   newX = x - width + crtc->panningBorder[2] + 1;
-   if (y < crtc->y + crtc->panningBorder[1])
-   newY = y - crtc->panningBorder[1];
-   if (y >= crtc->y + height - crtc->panningBorder[3])
-   newY = y - height + crtc->panningBorder[3] + 1;
+if ((crtc->panningTrackingArea.x2 <= crtc->panningTrackingArea.x1 ||
+(x >= crtc->panningTrackingArea.x1 && x < 
crtc->panningTrackingArea.x2)) &&
+   (crtc->panningTrackingArea.y2 <= crtc->panningTrackingArea.y1 ||
+(y >= crtc->panningTrackingArea.y1 && y < 
crtc->panningTrackingArea.y2))) {
+   if (crtc->panningTotalArea.x2 > crtc->panningTotalArea.x1) {
+   if (x < crtc->x + crtc->panningBorder[0])
+   newX = x - crtc->panningBorder[0];
+   if (x >= crtc->x + width - crtc->panningBorder[2])
+   newX = x - width + crt