lkml.org 
[lkml]   [2003]   [Aug]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [Linux-fbdev-devel] [PATCH] Framebuffer: 2nd try: client notification mecanism & PM
    From
    Date

    > I believe solution to this is simple: always switch to kernel-owned
    > console during suspend. (swsusp does it, there's patch for S3 to do
    > the same). That way, Xfree (or qtopia or whoever) should clean up
    > after themselves and leave the console to the kernel. (See
    > kernel/power/console.c)

    I tried using it on pmac, but it causes hell with XFree. I'm not sure
    what's up yet, I suspect it may be XFree still doing things after
    calling the RELDISP ioctl but I'm not completely sure yet.

    The setup XFree + DRI is working without switching to suspend console
    (with only the apm_bios emulation for XFree to suspend/restore itself)
    but not when switching to suspend console right before doing the apm
    emulation callbacks (which should be ignored by X since it's no longer
    the frontmost process at this point).

    For some reason, it seems that after we have switched to the suspend
    console, we race with the X server on accel engine, and on resume, the X
    server just crashes.

    Ben.

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:47    [W:4.355 / U:0.296 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site