Bug 19778 - [G45] system freeze playing video after suspend-to-ram
Summary: [G45] system freeze playing video after suspend-to-ram
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Wang Zhenyu
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-28 02:53 UTC by r087r70
Modified: 2009-03-01 19:23 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Xorg.0.log (50.29 KB, text/plain)
2009-01-28 02:53 UTC, r087r70
no flags Details

Description r087r70 2009-01-28 02:53:17 UTC
Created attachment 22305 [details]
Xorg.0.log

----------------------------
System Information:
Debian Release: 5.0
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.28-2.slh.1-sidux-amd64 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages xserver-xorg depends on:
ii  debconf [debconf-2.0]     1.5.24         Debian configuration management sy
ii  hal                       0.5.11-8       Hardware Abstraction Layer
ii  libc6                     2.9-0exp2      GNU C Library: Shared libraries
ii  x11-xkb-utils             7.4+1          X11 XKB utilities
ii  xkb-data                  1.5-1          X Keyboard Extension (XKB) configu
ii  xserver-xorg-core         2:1.5.99.901-1 Xorg X server - core server
ii  xserver-xorg-input-evdev  1:2.1.1-1      X.Org X server -- evdev input driv
ii  xserver-xorg-video-intel  2:2.6.1-1      X.Org X server -- Intel i8xx, i9xx
ii  libgl1-mesa-dri           7.3~rc3-1      A free implementation of the OpenG
ii  udev                      0.125-7        /dev/ and hotplug management daemo

----------------------------

Bug description:

using smplayer with these settings:
video output = xv
double buffering = on
direct rendering = off

works properly (apart of missing vsync) if used after a fresh boot, but it freezes the screen if used after suspend-to-ram.
Comment 1 r087r70 2009-02-12 01:46:15 UTC
update:

bug still alive after updating to mesa-7.3-1 and xserver-xorg-core-1.5.99.902-1



Comment 2 r087r70 2009-02-12 01:58:17 UTC
the bug is possibly related to 17807
https://bugs.freedesktop.org/show_bug.cgi?id=17807
Comment 3 Wang Zhenyu 2009-02-25 00:13:16 UTC
Please try 2.6.2 release. Following commit should fix your problem.
commit 3baf4cf7deedf2e0df13bf07cd0f329cfc7911f5
Author: Helge Bahmann <helge.bahmann@secunet.com>
Date:   Sat Feb 21 10:10:04 2009 -0800

    Move disable_render_standby to EnterVT instead of startup.
    
    Otherwise, with a pre-2.6.28 older kernel the disable would be lost at
    resume time and cause hangs.
    
    Bug #20214

Please reopen if that's not true.
Comment 4 r087r70 2009-02-25 02:05:09 UTC
I will try, but I'm already using the 2.6.28 kernel.
Comment 5 Wang Zhenyu 2009-02-25 17:15:56 UTC
oh, I mean xf86-video-intel 2.6.2 release, not kernel version.
Comment 6 r087r70 2009-03-01 05:31:45 UTC
Unfortunately 2.6.2 needs 2.6.29 kernel headers and 2.6.29 isn't released yet, so it's basically unbuildable now.
Comment 7 Wang Zhenyu 2009-03-01 19:23:15 UTC
You should use libdrm 2.4.5's header. 


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.