Instalar Steam
iniciar sesión
|
idioma
简体中文 (Chino simplificado)
繁體中文 (Chino tradicional)
日本語 (Japonés)
한국어 (Coreano)
ไทย (Tailandés)
български (Búlgaro)
Čeština (Checo)
Dansk (Danés)
Deutsch (Alemán)
English (Inglés)
Español - España
Ελληνικά (Griego)
Français (Francés)
Italiano
Bahasa Indonesia (indonesio)
Magyar (Húngaro)
Nederlands (Holandés)
Norsk (Noruego)
Polski (Polaco)
Português (Portugués de Portugal)
Português - Brasil (Portugués - Brasil)
Română (Rumano)
Русский (Ruso)
Suomi (Finés)
Svenska (Sueco)
Türkçe (Turco)
Tiếng Việt (Vietnamita)
Українська (Ucraniano)
Informar de un error de traducción
So I'd suggest using the line "SDL_EnableScreenSaver();" somewhere in your code.
This is quite important -- I've had it before when my screen was on all night with a static image, which can damage the screen.
The problem with setting SDL_VIDEO_ALLOW_SCREENSAVER is that that will allow the screensaver during other SDL processes, like some native games and media players. So it's not really a solution. It feels like the workaround for now is to run steam when I want to play something, and exit afterwards, which is kind of sucky.
I use a software called process lasso which gives me a lot of control with all processes running and it's a very good program, tons of features, some of them directly related to power usage and even when I force the system to go idle with IdleSaver, sometimes the monitor enters sleep mode for a few seconds (4-5) and then returns to "normal" mode. Just thought I would share my experience since I'm on a different OS.
After searching the forums I found this:
Here is working WA for me:
Start "cmd" as admin, check problem exists
powercfg.exe /requests
Override request:
powercfg /requestsoverride PROCESS steamwebhelper.exe DISPLAY AWAYMODE
and reboot PC.
I don't know if this is of any help but it worked for me, now the pc enters sleep mode with steam on.
Anyway, what I do when the bug appears (it hasn't for a long time), is put the variable on when I launch steam, and disable the screensaver when I play a game, and reenable it afterwards. Because I prefer to have steam always on (I chat a bit), and it's usually easy with a desktop manager to disable the screensaver.
(Also my experience is that the screensaver only kicks in when I'm playing with a controller. Usually when I'm playing with a mouse, moving the mouse actually disables the screensaver. It might depend on your exact screensaver and on the game though)
However, you're suggesting that you can set the environment variable per process spawned by steam? If so, I could have steam run with that variable set on (so that it doesn't interfere with my screensaver whilst downloading & stuff, because I'd also like it to be running all the time), and I could set it off when launching a game, so that the game wouldn't be interrupted.
My experience has been that watching a video in steam will also trigger the problem -- it looks like steam inhibits the screensaver so as to not allow the video to be interrupted, but doesn't always revert the setting. I have also had the issue after playing games with a controller -- but I've also had it after playing without a controller )':
It's would be super-neat if the steam devs actually just gave a ♥♥♥♥ and fixed this. It's been an issue for a very long time :/
In my desktop manager (kde) it's just two clicks, should be the same on unity/gnome I guess.
I'm also using KDE, and, out of interest, would like to know the "two clicks", I can only think of going through systemsettings, which is 4 including launch, assuming I get to the correct submenu first. Is there a faster way that I'm missing?
(If it's not there, you can probably add it)