Skip to content

Waking up from DPMS sleep shows stale frame buffer data of unlocked screen #751

@fritzw

Description

@fritzw

Distribution

Mint 22

Package version

6.2.0+wilma

Graphics hardware in use

Intel Corporation WhiskeyLake-U GT2 [UHD Graphics 620]

Frequency

Always

Bug description

When locking the screen, the monitor is put into DPMS sleep mode. After waking up, the lock screen should be shown. Instead the unlocked desktop from before is visible.

(Note that this also occurs with the default screen locker, not just xscreensaver as seen in the video. I just use xscreensaver because the mint screen locker is horribly insecure and allows typing into windows behind the lock screen when waking up, e.g. linuxmint/cinnamon#12805 and linuxmint/cinnamon#12954 and many more)

Steps to reproduce

  • Use internal laptop screen and disconnect external monitors if possible, because external monitors take way longer to show an image after waking up. This makes it sometimes impossible to see the effect.
  • Lock screen with Win+L or send the computer to sleep (suspend to RAM)
  • Wait some time, 1-2 Seconds is enough, but waiting longer also works
  • Press a key to wake up the screen
  • Note the image of the unlocked desktop, where the clock in the task bar shows the time when you locked the screen, not the current time.
  • It some fast movement was occuring before the the locking, you can even see two distinct consecutive frames after waking up (see attached video: Terminal is updating for 1-2 frames before going black after wakeup). Again, this is old data: If you wait for a few minutes, the spurious frames will show the old time in the task bar clock.
IMG_9662.mp4

Expected behavior

All framebuffers (also double and triple buffers, if applicable) should be wiped to black before sending screen to sleep.

Additional information

I use a Lenovo ThinkPad X390 Yoga, but I don't think that it is hardware-specific.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions