We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 1061 - SDL simulates activity?
Summary: SDL simulates activity?
Status: RESOLVED INVALID
Alias: None
Product: SDL
Classification: Unclassified
Component: *don't know* (show other bugs)
Version: 1.2.14
Hardware: All Linux
: P2 minor
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-01 11:22 UTC by Adrián Chaves Fernández
Modified: 2011-08-21 00:27 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adrián Chaves Fernández 2010-10-01 11:22:32 UTC
Hi, this is the third bug report about this issue that I write, so I'll to sum it: When running RSIBreak and a software using SDL (like Wesnoth or Violetland), RSIBreak detects computer input activity (mouse/keyboard) even if there's none.

First I reported it to RSIBreak, where I was told those games might be simulating activity to avoid the screensaver to turn on (https://bugs.kde.org/show_bug.cgi?id=251364).

Then, I reported in Wesnoth (as I could have done with any other SDL game, but I trust Wesnoth folks), and there I was said the bug must be either RSIBreak or SDL's (http://gna.org/bugs/?16789).

So here I am. Does SDL simulates somehow input activity?
Comment 1 Jen Spradlin 2011-04-12 20:11:48 UTC
Thank you for your bug report!

We're busy working on getting SDL 1.3 ready for a high quality release, and want to make sure as many things are fixed there as possible.
Could you check to see if your bug is resolved by the latest SDL 1.3 snapshot?
http://www.libsdl.org/tmp/SDL-1.3.zip

Thanks!
Comment 2 Adrián Chaves Fernández 2011-04-15 03:22:23 UTC
(In reply to comment #1)
> Thank you for your bug report!
> 
> We're busy working on getting SDL 1.3 ready for a high quality release, and
> want to make sure as many things are fixed there as possible.
> Could you check to see if your bug is resolved by the latest SDL 1.3 snapshot?
> http://www.libsdl.org/tmp/SDL-1.3.zip
> 
> Thanks!

To the test, which I would make with Violetland since it compiles fast, I would also need image, mixer and ttf. Is there any place where I can find 1.3 version of those?
Comment 3 Ryan C. Gordon 2011-08-21 00:27:02 UTC
(In reply to comment #0)
> So here I am. Does SDL simulates somehow input activity?

Sorry for a late reply: yes, SDL does. It calls XResetScreenSaver() every five seconds to prevent the screen saver from triggering. I presume that RSIBreak notices this in some way and considers it input activity.

You can export the environment variable SDL_VIDEO_ALLOW_SCREENSAVER=1 to avoid this.

--ryan.