Bug#528551: xserver-xorg-video-intel: hang on 915GM at startup (Thinkpad X41, KMS)

2011-02-23 Thread Cyril Brulebois
Hi Uwe,

Uwe Kleine-König u.kleine-koe...@pengutronix.de (23/02/2011):
 In the meantime I'm at
[…]

thanks for the quick follow-up.

KiBi.


signature.asc
Description: Digital signature


Bug#528551: xserver-xorg-video-intel: hang on 915GM at startup (Thinkpad X41, KMS)

2011-02-22 Thread Cyril Brulebois
Hi Uwe,

Uwe Kleine-König u.kleine-koe...@pengutronix.de (14/05/2009):
 The result was the same: Blank screen, Ctrl-Alt-F1 doesn't work, not
 even Caps-Lock. […]

how is it going with an up-to-date squeeze or sid system?

KiBi.


signature.asc
Description: Digital signature


Bug#528551: xserver-xorg-video-intel: hang on 915GM at startup (Thinkpad X41, KMS)

2009-05-14 Thread Julien Cristau
On Wed, May 13, 2009 at 20:16:51 +0200, Uwe Kleine-König wrote:

  And KMS needs i915 to be loaded from initramfs, so it may to be too
  early to read /etc/modprobe.d/i915
  
  Does it change anything if you don't do the above ?
 When I comment out the line in /etc/modprobe.d/i915, X starts normally.
 And I have
 
   r...@cassiopeia:~# cat /sys/module/i915/parameters/modeset 
   1
 
 Both makes me think that /etc/modprobe.d/i915 is early enough, isn't it?
  
I think you need the module loaded before X starts, or
http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/commit/?id=52367847087206b92f18c40d356d36ab9ee89d39

Cheers,
Julien



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



Bug#528551: xserver-xorg-video-intel: hang on 915GM at startup (Thinkpad X41, KMS)

2009-05-14 Thread Uwe Kleine-König
Hi Julien,

On Thu, May 14, 2009 at 11:27:13AM +0200, Julien Cristau wrote:
 On Wed, May 13, 2009 at 20:16:51 +0200, Uwe Kleine-König wrote:
 
   And KMS needs i915 to be loaded from initramfs, so it may to be too
   early to read /etc/modprobe.d/i915
   
   Does it change anything if you don't do the above ?
  When I comment out the line in /etc/modprobe.d/i915, X starts normally.
  And I have
  
  r...@cassiopeia:~# cat /sys/module/i915/parameters/modeset 
  1
  
  Both makes me think that /etc/modprobe.d/i915 is early enough, isn't it?
   
 I think you need the module loaded before X starts, or
 http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/commit/?id=52367847087206b92f18c40d356d36ab9ee89d39
I tried booting into single user mode

# modprobe i915 modeset=1 # This made my tty use a framebuffer
# logout

The result was the same:  Blank screen, Ctrl-Alt-F1 doesn't work, not
even Caps-Lock.

Backtrace:

#0  0xb7f5e424 in __kernel_vsyscall ()
#1  0xb7ce5c69 in ioctl () from /lib/i686/cmov/libc.so.6
#2  0xb7ae4c5d in drmIoctl () from /usr/lib/libdrm.so.2
#3  0xb7ae5062 in drmCommandNone () from /usr/lib/libdrm.so.2
#4  0xb7a77a4f in I830BlockHandler (i=0, blockData=0x0, 
pTimeout=0xbfa7bc28, 
pReadmask=0x81f08c0) at ../../src/i830_driver.c:2659
#5  0x0817809b in AnimCurScreenBlockHandler (screenNum=0, 
blockData=0x0, 
pTimeout=0xbfa7bc28, pReadmask=0x81f08c0) at 
../../render/animcur.c:222
#6  0x08142828 in compBlockHandler (i=0, blockData=0x0, 
pTimeout=0xbfa7bc28, 
pReadmask=0x81f08c0) at ../../composite/compinit.c:158
#7  0x080902d8 in BlockHandler (pTimeout=0xbfa7bc28, 
pReadmask=0x81f08c0)
at ../../dix/dixutils.c:384
#8  0x0812fcf4 in WaitForSomething (pClientsReady=0x9821400)
at ../../os/WaitFor.c:215
#9  0x0808c53e in Dispatch () at ../../dix/dispatch.c:367
#10 0x080719dd in main (argc=9, argv=0xbfa7bd74, envp=Cannot access 
memory at address 0x6460
) at ../../dix/main.c:397

(I think it's the same, but I didn't check.)

But I noticed:

# grep EE /var/log/Xorg.0.log
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(II) Loading extension MIT-SCREEN-SAVER
(EE) intel(0): Failed to set tiling on front buffer: rejected by kernel

Is that a problem?

Best regards
Uwe

-- 
Pengutronix e.K.  | Uwe Kleine-König|
Industrial Linux Solutions| http://www.pengutronix.de/  |



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



Bug#528551: xserver-xorg-video-intel: hang on 915GM at startup (Thinkpad X41, KMS)

2009-05-13 Thread Uwe Kleine-König
Package: xserver-xorg-video-intel
Version: 2:2.7.1-1
Severity: normal

Hello,

I enabled KMS using 

# echo options i915 modeset=1  /etc/modprobe.d/i915 
# reboot

(This enables KMS, doesn't it?  The log file still reports that EXA is used!?)

Now starting X makes screen and keyboard unusable.  The screen is just
black and enabling CapsLock doesn't work.

Here comes a backtrace:

#0  0xb7ee2424 in __kernel_vsyscall ()
#1  0xb7c69c69 in ioctl () from /lib/i686/cmov/libc.so.6
#2  0xb7a68c5d in drmIoctl () from /usr/lib/libdrm.so.2
#3  0xb7a69062 in drmCommandNone () from /usr/lib/libdrm.so.2
#4  0xb79fba4f in I830BlockHandler (i=0, blockData=0x0, 
pTimeout=0xbfcff5d8, pReadmask=0x81f08c0) at ../../src/i830_driver.c:2659
#5  0x0817809b in AnimCurScreenBlockHandler (screenNum=0, 
blockData=0x0, pTimeout=0xbfcff5d8, pReadmask=0x81f08c0) at 
../../render/animcur.c:222
#6  0x08142828 in compBlockHandler (i=0, blockData=0x0, 
pTimeout=0xbfcff5d8, pReadmask=0x81f08c0) at ../../composite/compinit.c:158
#7  0x080902d8 in BlockHandler (pTimeout=0xbfcff5d8, 
pReadmask=0x81f08c0) at ../../dix/dixutils.c:384
#8  0x0812fcf4 in WaitForSomething (pClientsReady=0x8c9fac8) at 
../../os/WaitFor.c:215
#9  0x0808c53e in Dispatch () at ../../dix/dispatch.c:367
#10 0x080719dd in main (argc=9, argv=0xbfcff724, envp=Cannot access 
memory at address 0x6460
) at ../../dix/main.c:397

Best regards
Uwe

-- 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-08-18 00:23 /etc/X11/X - /usr/bin/Xorg
-rwxr-xr-x 1 root root 1695356 2009-04-15 13:47 /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 915GM/GMS/910GML 
Express Graphics Controller (rev 03)

/etc/X11/xorg.conf does not match checksum in /var/lib/x11/xorg.conf.md5sum.

Xorg X server configuration file status:
-rw-r--r-- 1 root root 1164 2009-04-27 14:33 /etc/X11/xorg.conf

Contents of /etc/X11/xorg.conf:
# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type man xorg.conf at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section InputDevice
Identifier  Generic Keyboard
Driver  kbd
Option  XkbRules  xorg
Option  XkbModel  pc105
Option  XkbLayout de
Option  XkbVariantnodeadkeys
EndSection

Section InputDevice
Identifier  Configured Mouse
Driver  mouse
EndSection

Section Device
Identifier  Configured Video Device
#Driver intel
#Option MonitorLayout CRT,LFP
EndSection

Section Monitor
Identifier  Configured Monitor
EndSection

Section Screen
Identifier  Default Screen
Monitor Configured Monitor
EndSection


Xorg X server log files on system:
-rw-r--r-- 1 root root 30456 2009-01-10 11:11 /var/log/Xorg.21.log
-rw-r--r-- 1 root root 25016 2009-05-05 21:20 /var/log/Xorg.20.log
-rw-r--r-- 1 root root 26542 2009-05-13 17:07 /var/log/Xorg.0.log

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

X.Org X Server 1.6.1
Release Date: 2009-4-14
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.26-1-amd64 x86_64 Package files:  100 
/var/lib/dpkg/status  release a=now  500 http://ftp.debian.org sid/main 
Packages  release o=Debian,a=unstable,l=Debian,c=main  origin 
ftp.debian.org Pinned packages:
Current Operating System: Linux cassiopeia 2.6.29-2-686 #1 SMP Sun May 3 
12:46:00 UTC 2009 i686
Build Date: 15 April 2009  11:46:22AM
xorg-server 2:1.6.1-1 (bgog...@debian.org) 
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: Wed May 13 17:07:22 2009
(==) Using config file: /etc/X11/xorg.conf
(==) No Layout section.  Using the first Screen section.
(**) |--Screen Default Screen (0)
(**) |   |--Monitor Configured Monitor
(==) No device specified for screen Default Screen.
Using the first device section listed.
(**) |   

Bug#528551: xserver-xorg-video-intel: hang on 915GM at startup (Thinkpad X41, KMS)

2009-05-13 Thread Brice Goglin
Uwe Kleine-König wrote:
 Package: xserver-xorg-video-intel
 Version: 2:2.7.1-1
 Severity: normal

 Hello,

 I enabled KMS using 

   # echo options i915 modeset=1  /etc/modprobe.d/i915 
   # reboot

 (This enables KMS, doesn't it?  The log file still reports that EXA is used!?)
   

KMS needs UXA, so I don't think you have KMS :)

And KMS needs i915 to be loaded from initramfs, so it may to be too
early to read /etc/modprobe.d/i915

Does it change anything if you don't do the above ?

Did Intel 2.7.0 work better ?

Brice




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



Bug#528551: xserver-xorg-video-intel: hang on 915GM at startup (Thinkpad X41, KMS)

2009-05-13 Thread Uwe Kleine-König
Hello Brice,

On Wed, May 13, 2009 at 06:38:52PM +0200, Brice Goglin wrote:
 Uwe Kleine-König wrote:
  Package: xserver-xorg-video-intel
  Version: 2:2.7.1-1
  Severity: normal
 
  Hello,
 
  I enabled KMS using 
 
  # echo options i915 modeset=1  /etc/modprobe.d/i915 
  # reboot
 
  (This enables KMS, doesn't it?  The log file still reports that EXA is 
  used!?)

 
 KMS needs UXA, so I don't think you have KMS :)
I already feared that.  I tried 

Option AccelMethod UXA

but (as I expected) that wasn't the problem.
How does the driver determine if KMS is available?

 And KMS needs i915 to be loaded from initramfs, so it may to be too
 early to read /etc/modprobe.d/i915
 
 Does it change anything if you don't do the above ?
When I comment out the line in /etc/modprobe.d/i915, X starts normally.
And I have

r...@cassiopeia:~# cat /sys/module/i915/parameters/modeset 
1

Both makes me think that /etc/modprobe.d/i915 is early enough, isn't it?
 
 Did Intel 2.7.0 work better ?
2.7.0, 2.7.1 and 2.7.99.1 all behave like that.  (That is, it works
without modeset=1, and fails with it.)

Best regards
Uwe

-- 
Pengutronix e.K.  | Uwe Kleine-König|
Industrial Linux Solutions| http://www.pengutronix.de/  |



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