Bug 12345
Summary: | X on Intel 965GM hangs on console switch if compositing is enabled | ||
---|---|---|---|
Product: | Drivers | Reporter: | Peter Gruber (nokos) |
Component: | Video(DRI - Intel) | Assignee: | Jesse Barnes (jbarnes) |
Status: | RESOLVED CODE_FIX | ||
Severity: | normal | CC: | gordon.jin, jbarnes |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 2.6.28 | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Attachments: |
kernel log with drm debug=0xffff
patch to remember the vblank enable state between leavevt and entervt |
Description
Peter Gruber
2009-01-02 06:04:18 UTC
Created attachment 19641 [details]
kernel log with drm debug=0xffff
drm log of:
start compiz -> switch to console 1 -> switch back to console 7 (X console)
Created attachment 19642 [details]
patch to remember the vblank enable state between leavevt and entervt
This patch remembers the vblank enable state for the two pipes between leavevt and entervt.
This fixes the problem for me but I don't know if its "the right thing to do" since I have little idea how the drm stuff should work.
This seems the same as http://bugs.freedesktop.org/show_bug.cgi?id=18879 Thanks Gordon, I was just going to point that out too. Peter, can you try the patch in the referenced bug (http://bugs.freedesktop.org/show_bug.cgi?id=18879)? (In reply to comment #4) > Thanks Gordon, I was just going to point that out too. Peter, can you try > the > patch in the referenced bug > (http://bugs.freedesktop.org/show_bug.cgi?id=18879)? I have tried the patch: It fixes the VT switching bug but introduces another problem; I can't suspend-to-ram anymore (it simply does not suspend). Without any patch suspend-to-ram works (and resume only without compositing manager). With the patch from comment #2, supend and resume work. This one should be fixed now. |