Bug#522226: xserver-xorg-video-intel: screen briefly flashes/flickers a few times an hour

2009-08-04 Thread Sanjoy Mahajan
The flickering seems absent since this morning, when I installed and
rebooted with the latest and greatest 2.6.30 kernel package
(linux-image-2.6.30-1-686 version 2.6.30-5).



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



Bug#522226: xserver-xorg-video-intel: screen briefly flashes/flickers a few times an hour

2009-08-03 Thread Sanjoy Mahajan
The screen flickering has returned after aptitude upgrading a few days
ago.  It happens every few minutes.

The upgrade switched to these xserver-xorg packages:

  xserver-xorg-core 2:1.6.3-1
  xserver-xorg-video-intel 2:2.8.0-2

The hardware is a TP T60 with Intel graphics.  From lspci:

00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML 
Express Integrated Graphics Controller (rev 03)



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



Bug#522226: xserver-xorg-video-intel: screen briefly flashes/flickers a few times an hour

2009-08-03 Thread Brice Goglin
Sanjoy Mahajan wrote:
 The screen flickering has returned after aptitude upgrading a few days
 ago.  It happens every few minutes.

 The upgrade switched to these xserver-xorg packages:

   xserver-xorg-core 2:1.6.3-1
   xserver-xorg-video-intel 2:2.8.0-2

 The hardware is a TP T60 with Intel graphics.  From lspci:

 00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 
 943/940GML Express Integrated Graphics Controller (rev 03)
   

Please send your config and log.

Brice




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



Bug#522226: xserver-xorg-video-intel: screen briefly flashes/flickers a few times an hour

2009-08-03 Thread Sanjoy Mahajan
 Please send your config and log.

=== /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  pc104
Option  XkbLayout us
EndSection

Section InputDevice
Identifier  Configured Mouse
Driver  mouse
EndSection

Section ServerFlags
   Option DontZap false
EndSection

#Section Device
#   Identifier  Configured Video Device
#EndSection

Section Device
Identifier  Intel Corporation Mobile Integrated Graphics 
Controller
#   Driver  i810
#   BusID   PCI:0:2:0
  Option MonitorLayout CRT,LFP
  Option Clone true
  Option DevicePresence true
EndSection

Section Monitor
Identifier  Configured Monitor
EndSection

Section Screen
Identifier  Default Screen
Monitor Configured Monitor
EndSection

=== end /etc/X11/xorg.conf =


= /var/log/Xorg.0.log =

X.Org X Server 1.6.3
Release Date: 2009-7-31
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.31-rc3-686 i686 Debian
Current Operating System: Linux approx 2.6.30-1-686 #1 SMP Thu Jul 30 14:45:30 
UTC 2009 i686
Build Date: 01 August 2009  07:00:08AM
xorg-server 2:1.6.3-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: Sat Aug  1 22:07:10 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.
(**) |   |--Device Intel Corporation Mobile Integrated Graphics Controller
(**) Option DontZap false
(==) Automatically adding devices
(==) Automatically enabling devices
(WW) The directory /usr/share/fonts/X11/cyrillic 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,
/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,
built-ins
(==) ModulePath set to /usr/lib/xorg/modules
(II) Cannot locate a core pointer device.
(II) Cannot locate a core keyboard device.
(II) The server relies on HAL to provide the list of input devices.
If no devices become available, reconfigure HAL or disable 
AllowEmptyInput.
(II) Loader magic: 0x3e40
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.4
X.Org Video Driver: 5.0
X.Org XInput driver : 4.0
X.Org Server Extension : 2.0
(II) Loader running on linux
(++) using VT number 7

(WW) xf86OpenConsole: setpgid failed: Operation not permitted
(WW) xf86OpenConsole: setsid failed: Operation not permitted
(--) PCI:*(0:0:2:0) 8086:27a2:17aa:201a Intel Corporation Mobile 945GM/GMS, 
943/940GML Express Integrated Graphics Controller rev 3, Mem @ 
0xee10/524288, 0xd000/268435456, 0xee20/262144, I/O @ 0x1800/8
(II) Open ACPI successful (/var/run/acpid.socket)
(II) System resource ranges:
[0] -1  0   0x - 0x (0x1) MX[B]
[1] -1  0   0x000f - 0x000f (0x1) MX[B]
[2] -1  0   0x000c - 0x000e (0x3) MX[B]
[3] -1  0   0x - 0x0009 (0xa) MX[B]
[4] -1  0   0x - 0x (0x1) IX[B]
[5] -1  0   0x - 0x (0x1) IX[B]
(II) LoadModule: extmod
(II) Loading /usr/lib/xorg/modules/extensions//libextmod.so
(II) Module extmod: vendor=X.Org Foundation
compiled for 1.6.3, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension SELinux
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading 

Bug#522226: xserver-xorg-video-intel: screen briefly flashes/flickers a few times an hour

2009-04-09 Thread Sanjoy Mahajan
 Don't use make install. Just copy src/.libs/intel.so into
 /usr/lib/xorg/modules/drivers/ (after having moved the old intel.so
 from there).

Great, that's a much simpler recipe.  I did that and restarted the X
server (with just one server), and got this in the log

(II) LoadModule: intel
(II) Loading /usr/lib/xorg/modules/drivers//intel_drv.so
dlopen: /usr/lib/xorg/modules/drivers//intel_drv.so: undefined symbol: 
PictureScreenPrivateKey
(EE) Failed to load /usr/lib/xorg/modules/drivers//intel_drv.so
(II) UnloadModule: intel
(EE) Failed to load module intel (loader failed, 7)

Perhaps I compiled against incompatible header files?

But, the good news is that in looking at that log file, I noticed i810
being loaded.  My xorg.conf (until 2 days ago) had the i810 and
PCI:0:2:0 lines commented in (see snippet below).  I think those lines
were needed long ago, and got inherited.  When I commented out those two
lines, and returned to the intel 2.3.2 driver, the flicker seems to have
gone away.  I'll keep watching for it and report if I see it return.

Section Device
Identifier  Intel Corporation Mobile Integrated Graphics 
Controller
#   Driver  i810
#   BusID   PCI:0:2:0
  Option MonitorLayout CRT,LFP
  Option Clone true
  Option DevicePresence true
EndSection



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



Bug#522226: xserver-xorg-video-intel: screen briefly flashes/flickers a few times an hour

2009-04-05 Thread David Härdeman

On Sat, Apr 04, 2009 at 08:13:52PM -0400, Sanjoy Mahajan wrote:

I'm pretty certain that what you're seeing is already reported upstream:
https://bugs.freedesktop.org/show_bug.cgi?id=17805


I just read through that thread.  It looks similar but I'm not too sure.
The reports there were of the whole display blanking for a (short)
while.  Mine doesn't go blank.  Instead a portion of it jitters rapidly
sideways, then recovers (all under 0.1 seconds).  Seen out of the corner
of the eye, it looks like a flash.


I'm guessing that the exact behaviour is dependent on the display 
hardware. I've seen the same problem manifest itself in slightly 
different ways when I've had the same computer (with the same driver) 
hooked up to a couple of different TV's via HDMI. Some react like the 
HDMI cable had been physically disconnected and reconnected while at 
least one TV never showed any (visible) problems at all...



I'll either wait for a new driver to make it into Debian unstable, or
compile 2.5.1 + patch myself.  Is it reasonable to try the version in
'experimental'?  That seems like it would be a big change to the xorg
file or package layout, so I was a bit worried about using those
packages.


I'm using the intel driver from the experimental repo on a system 
otherwise using unstable without any ill effects. The problem is that 
even the experimental version is too old (2.6.1). Upstream has had a 
large number of bug fixes since then (most importantly to me - XV 
tearing fixes and the sync fixes we're discussing right now), so I'm 
hoping a more recent version will appear in experimental or unstable 
soon.


--
David Härdeman



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



Bug#522226: xserver-xorg-video-intel: screen briefly flashes/flickers a few times an hour

2009-04-05 Thread Sanjoy Mahajan
 I'm using the intel driver from the experimental repo on a system
 otherwise using unstable without any ill effects. The problem is that
 even the experimental version is too old (2.6.1). Upstream has had a
 large number of bug fixes since then (most importantly to me - XV
 tearing fixes and the sync fixes we're discussing right now), so I'm
 hoping a more recent version will appear in experimental or unstable
 soon.

I compiled xf86-video-intel-2.6.99.902 from upstream.  It also didn't
have the sync fix.  But it was the only version to which the sync patch
applied cleanly (2.6.1 and 2.6.3 had a few hunks failing).  The 'make
install' put the modules went into /usr/local/lib/xorg/

I cannot quite figure out how to run the regular server (1.4.2) but with
the latest intel driver.  I tried adding a vt8 line to the end of
/etc/X11/xdm/Xservers

:0 local /usr/bin/X :0 vt7 -nolisten tcp
:1 local /usr/bin/Xorg :0 vt8 -nolisten tcp -modulepath 
/usr/local/lib/xorg/modules/drivers/,/usr/lib/xorg/modules

but didn't have any luck getting the server to start that way or when
starting it by hand.

I'm quite confused about how all the X pieces with together, so I'm just
taking random stabs in the dark.  How should/can I run the new driver
compiled by hand alongside the rest of the Debian unstable X install?



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



Bug#522226: xserver-xorg-video-intel: screen briefly flashes/flickers a few times an hour

2009-04-05 Thread Brice Goglin
Sanjoy Mahajan wrote:
 I compiled xf86-video-intel-2.6.99.902 from upstream.  It also didn't
 have the sync fix.  But it was the only version to which the sync patch
 applied cleanly (2.6.1 and 2.6.3 had a few hunks failing).  The 'make
 install' put the modules went into /usr/local/lib/xorg/
   

Don't use make install. Just copy src/.libs/intel.so into
/usr/lib/xorg/modules/drivers/ (after having moved the old intel.so from
there).

 I cannot quite figure out how to run the regular server (1.4.2) but with
 the latest intel driver.  I tried adding a vt8 line to the end of
 /etc/X11/xdm/Xservers

 :0 local /usr/bin/X :0 vt7 -nolisten tcp
 :1 local /usr/bin/Xorg :0 vt8 -nolisten tcp -modulepath 
 /usr/local/lib/xorg/modules/drivers/,/usr/lib/xorg/modules
   

Don't use multiple X servers when debugging things like this since some
2-server-related problems may appear.
Just restart the main X after installing the new driver as explained
above, and check in the log that the right intel driver version is found.

Brice




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



Bug#522226: xserver-xorg-video-intel: screen briefly flashes/flickers a few times an hour

2009-04-04 Thread David Härdeman

I'm pretty certain that what you're seeing is already reported upstream:
https://bugs.freedesktop.org/show_bug.cgi?id=17805

That particular bug is fixed in later versions of the intel driver.

--
David Härdeman



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



Bug#522226: xserver-xorg-video-intel: screen briefly flashes/flickers a few times an hour

2009-04-04 Thread Sanjoy Mahajan
 I'm pretty certain that what you're seeing is already reported upstream:
 https://bugs.freedesktop.org/show_bug.cgi?id=17805

I just read through that thread.  It looks similar but I'm not too sure.
The reports there were of the whole display blanking for a (short)
while.  Mine doesn't go blank.  Instead a portion of it jitters rapidly
sideways, then recovers (all under 0.1 seconds).  Seen out of the corner
of the eye, it looks like a flash.

But it seems similar to those reports in that sync timings are a likely
culprit.

I'll either wait for a new driver to make it into Debian unstable, or
compile 2.5.1 + patch myself.  Is it reasonable to try the version in
'experimental'?  That seems like it would be a big change to the xorg
file or package layout, so I was a bit worried about using those
packages.

By the way, I just saw the same flash now running 2.6.27.4, so the
problem is not a kernel problem (or not only a kernel problem).  I
wonder why I didn't notice it before though.

-Sanjoy



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