Bug 74158 - Option "BackingStore" is not honored
Summary: Option "BackingStore" is not honored
Status: RESOLVED MOVED
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/DDX/Xorg (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Adam Jackson
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-28 19:55 UTC by Aaron Plattner
Modified: 2018-12-13 18:29 UTC (History)
5 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Aaron Plattner 2014-01-28 19:55:19 UTC
Sufficiently recent X servers enable backing store when the Composite extension is enabled, and use Composite to implement WhenMapped support.  This causes problems with SDL 1.2 games because they request backing storage whenever the server says it supports it:

http://hg.libsdl.org/SDL/file/22a7f096bb9d/src/video/x11/SDL_x11video.c#l1096

According to the code, you're supposed to be able to disable backing store by setting

  Option "BackingStore" "off"

in the "Screen" section of xorg.conf.  Indeed, xf86SetBackingStore implements this just fine.  However, the Composite extension comes along later and overrides the backing store support based on the value of the global 'disableBackingStore' flag.  This flag is set in ProcessCommandLine if the -bs flag is passed to the server, but not by xf86SetBackingStore.
Comment 1 GitLab Migration User 2018-12-13 18:29:15 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/xserver/issues/164.


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.