Bug#464793: xserver-xorg-video-intel: VT switching after using OpenGL and second display produces system freeze

2008-02-16 Thread Brice Goglin
forwarded 464793 https://bugs.freedesktop.org/show_bug.cgi?id=14521
thank you



Soenke wrote:
> So I found out what was going wrong. The solution turned out to be
> pretty straight forward, I just had to add
>
> Option "ForceEnablePipA" "true"
>
> to my xorg.conf. I tested this with the driver form unstable
> (2.2.0.90-3) and git master branch. No more crashes since yesterday.
> As requested in the intel man page, I filed a bug upstream about this:
>
> https://bugs.freedesktop.org/show_bug.cgi?id=14521
>   

Ok I am marking the bug as forwarded there then.

> Seems I should read man pages more often...
> Sorry to have bothered you
>   

Don't worry about that :)

Brice




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#464793: xserver-xorg-video-intel: VT switching after using OpenGL and second display produces system freeze

2008-02-16 Thread Soenke
So I found out what was going wrong. The solution turned out to be
pretty straight forward, I just had to add

Option "ForceEnablePipA" "true"

to my xorg.conf. I tested this with the driver form unstable
(2.2.0.90-3) and git master branch. No more crashes since yesterday.
As requested in the intel man page, I filed a bug upstream about this:

https://bugs.freedesktop.org/show_bug.cgi?id=14521

Seems I should read man pages more often...
Sorry to have bothered you and thanks for the great support.

Regards,

Soenke




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#464793: xserver-xorg-video-intel: VT switching after using OpenGL and second display produces system freeze

2008-02-14 Thread Soenke
Hello again,

over the last few days, I have done more testing. Bad news is that actually all 
driver versions
crash, including the git-master branch. Sometimes it just takes longer, so it 
was not
immediately noticeable.
The crash doesn't even seem to depend on using OpenGL apps, as I first thought.
The system freezes when switching outputs several times and than switching to 
VT. Sometimes it
just crashes without VT-switch (output switching only), leaving the screen 
strangely distorted.

I did an strace for both the intel driver 2.2.0.90-3 from debian as well as the 
git-master
version crashing, I hope that helps somehow. As these are quite long, I have 
packed them up.
Both traces were copied from an SSH terminal, so its only the last 
thousand-something lines.

If there is more I can do, just tell me. It might take a few days, though.

Regards,

Soenke

Brice Goglin wrote:
> Soenke wrote:
>> 2.2-branch crashes, Xorg.log is attached.
>> Still no crashes with master branch.
>>
>> As I am somewhat new to git, I hope I got it right.
>> Here's what I did:
>>
>> git-checkout -b xf86-video-intel-2.2-branch  
>> origin/xf86-video-intel-2.2-branch
>>
>> git pull (was already at newest version)
>>
>> make clean && ./autogen.sh && make
>>
>> and it seemed to produce a different driver version (md5sums were
>> different). I hope that was the correct way to switch to the other branch.
>>   
> 
> It looks good.
> 
> Do you know if the 2.2.0 driver had the problem?
> The package is available in
> http://snapshot.debian.net/archive/2007/11/17/debian/pool/main/x/xserver-xorg-video-intel/
> 
> If it works, we'll need to git-bisect between 2.2.0 and the current 2.2
> branch to find where the problem appeared. If it doesn't work, we'll
> need to git-bisect between 2.2.0 and the current master branch to find
> where the problem was fixed. I'll help you do the git-bisect if needed.
> 
> Brice


xorg-intel-straces.tar.bz2
Description: application/bzip


Bug#464793: xserver-xorg-video-intel: VT switching after using OpenGL and second display produces system freeze

2008-02-11 Thread Soenke
I've had the problem with 2.2.0 as well. The git master-branch is the only one 
that seems to be
working correctly, so I think bisecting between that and the 2.2-branch makes 
sense.
I am a bit short on time at the moment, but I will look into how to do that 
later today or tomorrow.

Soenke

Brice Goglin wrote:
 > Do you know if the 2.2.0 driver had the problem?
> The package is available in
> http://snapshot.debian.net/archive/2007/11/17/debian/pool/main/x/xserver-xorg-video-intel/
> 
> If it works, we'll need to git-bisect between 2.2.0 and the current 2.2
> branch to find where the problem appeared. If it doesn't work, we'll
> need to git-bisect between 2.2.0 and the current master branch to find
> where the problem was fixed. I'll help you do the git-bisect if needed.
> 
> Brice



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#464793: xserver-xorg-video-intel: VT switching after using OpenGL and second display produces system freeze

2008-02-09 Thread Brice Goglin
Soenke wrote:
> 2.2-branch crashes, Xorg.log is attached.
> Still no crashes with master branch.
>
> As I am somewhat new to git, I hope I got it right.
> Here's what I did:
>
> git-checkout -b xf86-video-intel-2.2-branch   
> origin/xf86-video-intel-2.2-branch
>
> git pull (was already at newest version)
>
> make clean && ./autogen.sh && make
>
> and it seemed to produce a different driver version (md5sums were
> different). I hope that was the correct way to switch to the other branch.
>   

It looks good.

Do you know if the 2.2.0 driver had the problem?
The package is available in
http://snapshot.debian.net/archive/2007/11/17/debian/pool/main/x/xserver-xorg-video-intel/

If it works, we'll need to git-bisect between 2.2.0 and the current 2.2
branch to find where the problem appeared. If it doesn't work, we'll
need to git-bisect between 2.2.0 and the current master branch to find
where the problem was fixed. I'll help you do the git-bisect if needed.

Brice




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#464793: xserver-xorg-video-intel: VT switching after using OpenGL and second display produces system freeze

2008-02-09 Thread Brice Goglin
tags 464793 +fixed-upstream
thank you


Soenke wrote:
> The problem seems to be solved in the git-version of the driver (from 
> 2008-02-08, last commit
> 8c8ca16120927fc2d3cf8bcd5212a4227a280708).
> I would like do some more testing before closing this bug, but so far 
> everything looks fine.
>   

Don't worry, we don't close bugs before the fixed upstream enters
Debian, which is not the case yet. For now, I am marking the bug as
fixed-upstream.

However, you seem to have tried the master branch of the upstream git
repo, while the upcoming 2.2.x packages come from the
xf86-video-intel-2.2-branch. It would be nice to try this branch. If it
fails, we'll tell the upstream devs that some fixes are missing on the
branch (and are required for 2.2.x).

To checkout the branch, once you're in your git cloned repo, do:
git-checkout -b xf86-video-intel-2.2-branch
origin/xf86-video-intel-2.2-branch
(it creates a local branch based on the remote one, and checkouts it).

Brice




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#464793: xserver-xorg-video-intel: VT switching after using OpenGL and second display produces system freeze

2008-02-09 Thread Soenke
The problem seems to be solved in the git-version of the driver (from 
2008-02-08, last commit
8c8ca16120927fc2d3cf8bcd5212a4227a280708).
I would like do some more testing before closing this bug, but so far 
everything looks fine.

Regards,

Soenke

Brice Goglin wrote:
> 
> Do you mean that it didn't happen with the previous intel driver, i.e.
> 2:2.2.0 or so ?
> If so, it would be great to git-bisest between these releases (on
> xf86-video-intel-2.2-branch in the upstream git repo) and find when the
> problem appeared (if you need help, let me know). Since you seem to be
> able to reproduce quite easy, bisect could be pretty easy.
> 
> Brice



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#464793: xserver-xorg-video-intel: VT switching after using OpenGL and second display produces system freeze

2008-02-09 Thread Brice Goglin
Soenke wrote:
> Package: xserver-xorg-video-intel
> Version: 2:2.2.0.90-3
> Severity: important
>
> Hi everyone,
>
> the following problem came up  with the xorg intel driver:
>   

Do you mean that it didn't happen with the previous intel driver, i.e.
2:2.2.0 or so ?
If so, it would be great to git-bisest between these releases (on
xf86-video-intel-2.2-branch in the upstream git repo) and find when the
problem appeared (if you need help, let me know). Since you seem to be
able to reproduce quite easy, bisect could be pretty easy.

Brice




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#464793: xserver-xorg-video-intel: VT switching after using OpenGL and second display produces system freeze

2008-02-08 Thread Soenke
Package: xserver-xorg-video-intel
Version: 2:2.2.0.90-3
Severity: important

Hi everyone,

the following problem came up  with the xorg intel driver:

When using an external monitor on my laptop (switching it on and off with
xrandr) as well as glxgears or keyjnote (both OpenGL apps), the system will
sometimes freeze (black screen, no ssh, no alt+sysrq, just power off) on 
switching to a virtual console.

Steps to reproduce:

- connect external monitor
- use xrandr --output VGA --same-as LVDS or --left-of LVDS to activate
  external display
- open glxgears or keyjnote (haven't tried any other apps yet)
- close glxgears
- optional: switch off external monitor
- switch to VT

Reproducibility: 

Seems random. Sometimes VT switching works for many cycles of
switching VGA on and off, using glxgears/keyjnote and/or XVideo and even 
suspending to ram
in the meantime. Sometimes not.

If more info is needed, I shall gladly try to supply it. I will be testing the
most recent git snapshot next.

Regards,

Soenke

P.S.: Xorg.0.log is from freshly started server, Xorg.0.log.old from crashed
server

-- 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 2006-06-21 06:20 /etc/X11/X -> /usr/bin/Xorg
-rwxr-xr-x 1 root root 1673980 2008-02-01 05:06 /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 82852/855GM Integrated 
Graphics Device (rev 02)

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

Xorg X server configuration file status:
-rw--- 1 root root 3670 2008-01-18 17:54 /etc/X11/xorg.conf

Contents of /etc/X11/xorg.conf:


Xorg X server log files on system:
-rw--- 1 root root 34276 2007-11-10 00:28 /var/log/Xorg.9.log
-rw-r--r-- 1 root root 34534 2008-02-04 13:08 /var/log/Xorg.1.log
-rw-r--r-- 1 root root 37320 2008-02-09 01:17 /var/log/Xorg.0.log

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

This is a pre-release version of the X server from The X.Org Foundation.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.

X.Org X Server 1.4.0.90
Release Date: 5 September 2007
X Protocol Version 11, Revision 0
Build Operating System: Linux Debian (xorg-server 2:1.4.1~git20080131-1)
Current Operating System: Linux lydia 2.6.22-3-686 #1 SMP Mon Nov 12 08:32:57 
UTC 2007 i686
Build Date: 01 February 2008  03:49:13AM
 
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
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 Feb  9 01:16:44 2008
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "layout_default"
(**) |-->Screen "screen_default" (0)
(**) |   |-->Monitor "LVDS"
(**) |   |-->Device "I865"
(**) |-->Input Device "keyboard"
(**) |-->Input Device "trackpoint"
(**) |-->Input Device "ext_mouse"
(**) Option "AllowMouseOpenFail"
(==) Automatically adding devices
(==) Automatically enabling devices
(==) Including the default font path 
/usr/share/fonts/X11/misc,/usr/share/fonts/X11/cyrillic,/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.
(**) FontPath set to:
unix/:7100,
unix/:7110,
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/cyrillic,
/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
(==) RgbPath set to "/etc/X11/rgb"
(==) ModulePath set to "/usr/lib/xorg/modules"
(**) Extension "Composite" is enabled
(II) Open ACPI successful (/var/run/acpid.socket)
(II) Loader magic: 0x81d8a60
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.3
X.Org Video Driver: 2.0
X.Org XInput driver : 2.0
X.Org Server Extension : 0.3
X.Org Font Renderer : 0.5
(II) Loader running on linux
(II) LoadModule: "pcidata"
(II) Loading /usr/lib/xorg/modules//libpcidata.so
(II) Module pcidata: vendor="X.Org Foundation"
compiled for 1.4.0.90, module version = 1.0.0
ABI class: X.Org Video Driver, version 2.0
(++) using VT number 7

(II) PCI: PCI scan (all values are in hex)
(