Bug#606288: xserver-xorg-video-intel: No longer finds display; does not allow VT switch (ThinkPad X200)

2010-12-09 Thread Josh Triplett
On Thu, Dec 09, 2010 at 09:07:17PM +0100, Julien Cristau wrote:
> On Thu, Dec  9, 2010 at 11:01:23 -0800, Josh Triplett wrote:
> 
> > On Wed, Dec 08, 2010 at 12:33:46PM +0100, Cyril Brulebois wrote:
> > > Julien Cristau  (08/12/2010):
> > > > Doesn't look like it's actually attached?
> > 
> > Oops.  Attached.
> > 
> > > > Make sure you set
> > > > CONFIG_DRM_I915_KMS=y.
> > 
> > I don't have that set, but the standard Debian 2.6.36 and 2.6.32 kernels
> > don't seem to have it set either.  As far as I know, that just sets the
> > *default* for i915.modeset; xserver-xorg-video-intel installs
> > /etc/modprobe.d/i915-kms.conf which sets "options i915 modeset=1", so
> > that should supercede CONFIG_DRM_I915_KMS, shouldn't it?
> > 
> CONFIG_DRM_I915_KMS=y also adds module aliases to the driver so it gets
> loaded automatically by udev on boot.  The debian kernels are patched to
> have these aliases even without KMS=y.  The X driver used to call
> 'modprobe i915' itself, which was hiding that issue, but the last
> version changed to check for KMS before that.

Ah!  That makes sense.  And indeed, if I add i915 to /etc/modules, X
works just fine with the new kernel.

So, this seems like two separate issues, then:

1) xserver-xorg-video-intel no longer works automatically on upstream
   kernels.

2) If the intel driver doesn't work (such as due to the previous issue),
   and the vesa or fbdev drivers don't exist either, then the X server
   apparently goes out to lunch and doesn't manage to fail in a
   recoverable way.

- Josh Triplett



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



Bug#606288: xserver-xorg-video-intel: No longer finds display; does not allow VT switch (ThinkPad X200)

2010-12-09 Thread Julien Cristau
On Thu, Dec  9, 2010 at 11:01:23 -0800, Josh Triplett wrote:

> On Wed, Dec 08, 2010 at 12:33:46PM +0100, Cyril Brulebois wrote:
> > Julien Cristau  (08/12/2010):
> > > Doesn't look like it's actually attached?
> 
> Oops.  Attached.
> 
> > > Make sure you set
> > > CONFIG_DRM_I915_KMS=y.
> 
> I don't have that set, but the standard Debian 2.6.36 and 2.6.32 kernels
> don't seem to have it set either.  As far as I know, that just sets the
> *default* for i915.modeset; xserver-xorg-video-intel installs
> /etc/modprobe.d/i915-kms.conf which sets "options i915 modeset=1", so
> that should supercede CONFIG_DRM_I915_KMS, shouldn't it?
> 
CONFIG_DRM_I915_KMS=y also adds module aliases to the driver so it gets
loaded automatically by udev on boot.  The debian kernels are patched to
have these aliases even without KMS=y.  The X driver used to call
'modprobe i915' itself, which was hiding that issue, but the last
version changed to check for KMS before that.

> > That, plus since you have no xorg.conf, it should fall back to vesa
> > (or fbdev? I didn't check all combinations) if those are installed.
> > It'd be nice if you could confirm this point while rebuilding with the
> > option Julien mentioned. :)
> 
> It certainly tried to fall back to vesa, but I don't have that installed
> since (normally) the intel driver handles my hardware just fine. :)
> 
Right.

Cheers,
Julien


signature.asc
Description: Digital signature


Bug#606288: xserver-xorg-video-intel: No longer finds display; does not allow VT switch (ThinkPad X200)

2010-12-08 Thread Cyril Brulebois
Julien Cristau  (08/12/2010):
> Doesn't look like it's actually attached?  Make sure you set
> CONFIG_DRM_I915_KMS=y.

That, plus since you have no xorg.conf, it should fall back to vesa
(or fbdev? I didn't check all combinations) if those are installed.
It'd be nice if you could confirm this point while rebuilding with the
option Julien mentioned. :)

Mraw,
KiBi.




signature.asc
Description: Digital signature


Bug#606288: xserver-xorg-video-intel: No longer finds display; does not allow VT switch (ThinkPad X200)

2010-12-08 Thread Julien Cristau
On Tue, Dec  7, 2010 at 22:18:33 -0800, Josh Triplett wrote:

> As far as I know, I *think* this kernel I built has
> KMS support; I've attached the kernel config file (produced by
> "make localmodconfig"), in case it lacks something important that the
> Intel driver requires.  *Something* must have gone wrong, because
> if I boot into the older kernel then X comes up just fine.
> 
Doesn't look like it's actually attached?  Make sure you set
CONFIG_DRM_I915_KMS=y.

Cheers,
Julien


signature.asc
Description: Digital signature


Bug#606288: xserver-xorg-video-intel: No longer finds display; does not allow VT switch (ThinkPad X200)

2010-12-07 Thread Josh Triplett
Package: xserver-xorg-video-intel
Version: 2:2.13.0-4
Severity: important

I currently have a bleeding-edge kernel from one of the wireless
repositories installed in order to try to deal with another bug.  I
previously didn't have any problem using that kernel, but after
upgrading to the latest Intel driver, the next time I booted I no longer
had a working X.  The display went blank and stayed that way, though the
backlight stayed on.  I also could not VT switch back to a text console.

I rebooted into single-user mode, and captured the log file, included
below where Xorg.0.log would normally appear.  It looks like the intel
driver no longer decided it can drive my graphics card.  Given that the
most recent version of the driver changed the probe logic, that could
make sense.

As far as I know, I *think* this kernel I built has
KMS support; I've attached the kernel config file (produced by
"make localmodconfig"), in case it lacks something important that the
Intel driver requires.  *Something* must have gone wrong, because
if I boot into the older kernel then X comes up just fine.

In any case, if the Intel driver somehow decided that it couldn't drive
my video card because it didn't think it had modesetting, that still
shouldn't have wedged my system by refusing to fail or VT switch, or
bring up the usual dialog for when X keeps failing.

Thanks,
Josh Triplett

-- Package-specific info:
/var/lib/x11/X.roster does not exist.

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

X server symlink status:
lrwxrwxrwx 1 root root 13 Nov 20  2008 /etc/X11/X -> /usr/bin/Xorg
-rwxr-xr-x 1 root root 1889472 Dec  1 17:16 /usr/bin/Xorg

/var/lib/x11/xorg.conf.roster does not exist.

VGA-compatible devices on PCI bus:
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset 
Integrated Graphics Controller (rev 07)

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

Kernel version (/proc/version):
Linux version 2.6.37-rc4-wl+ (j...@feather) (gcc version 4.4.5 (Debian 
4.4.5-10) ) #1 SMP Sat Dec 4 16:18:14 PST 2010

Xorg X server log files on system:
-rw-r--r-- 1 root root 32039 Jan  7  2010 /var/log/Xorg.20.log
-rw-r--r-- 1 root root  7916 May 12  2010 /var/log/Xorg.2.log
-rw-r--r-- 1 root root  7916 May 12  2010 /var/log/Xorg.5.log
-rw-r--r-- 1 root root  7916 May 12  2010 /var/log/Xorg.4.log
-rw-r--r-- 1 root root  7916 May 12  2010 /var/log/Xorg.3.log
-rw-r--r-- 1 root root 23864 Oct  6 12:06 /var/log/Xorg.1.log
-rw-r--r-- 1 root root   Dec  7 21:43 /var/log/Xorg.0.log

Contents of most recent Xorg X server log file
/var/log/Xorg.0.log:
[deleted in favor of Xorg.0.log.old, which shows the problem]

X.Org X Server 1.7.7
Release Date: 2010-05-04
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.32.26-dsa-amd64 x86_64 Debian
Current Operating System: Linux feather 2.6.37-rc4-wl+ #1 SMP Sat Dec 4 
16:18:14 PST 2010 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-2.6.37-rc4-wl+ 
root=UUID=a8fb9a37-fac7-4a3e-8081-fc7b347bd0b2 ro quiet
Build Date: 02 December 2010  01:10:32AM
xorg-server 2:1.7.7-10 (Julien Cristau ) 
Current version of pixman: 0.16.4
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: Tue Dec  7 21:43:42 2010
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(==) No Layout section.  Using the first Screen section.
(==) No screen section available. Using defaults.
(**) |-->Screen "Default Screen Section" (0)
(**) |   |-->Monitor ""
(==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
(==) Automatically adding devices
(==) Automatically enabling devices
(WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
Entry deleted from font path.
(WW) The directory "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" does not 
exist.
Entry deleted from font path.
(==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
/usr/share/fonts/X11/75dpi,
built-ins
(==) ModulePath set to "/usr/lib/xorg/modules"
(II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable 
AutoAddDevices.
(II) Loader magic: 0x7c7500
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.4
X.Org Video Driver: 6.0
X.Org XInput driver : 7.0
X.Org Server Extension : 2.0
(++) using VT number 8

(--) PCI:*(0:0:2:0) 8086:2a42:17aa:20e4 Intel Corporation Mobile 4 Series 
Chipset Integrated Graphics Controller rev 7, Mem @ 0xf200/4194304, 
0xd000/26