View previous topic :: View next topic |
Author |
Message |
orb
Joined: 20 Dec 2003
Posts: 9
Location: russia
|
Posted: Sat Dec 20, 2003 12:39 pm Post subject: linux_glx + DPMS |
|
|
well just compiled 0.30
and has very fun plaiyn but DPMS turned my display off )))
i got ot press F10 then y
then my display rises.
temporary workaround:
i use this script to run fuhquake:
Code: |
#!/bin/sh
xset s off -dpms
./fuhquake-gl.glx -fullscreen +exec orb.cfg $*
xset s on +dpms
|
well, it good to add something like:
Code: |
void soff(Display *Display)
if (DPMSQueryExtension(Display, ¬hing, ¬hing))
{
BOOL onoff;
CARD16 state;
DPMSInfo(Display, &state, &onoff);
if (onoff)
{
Status stat;
dpms_disabled=1;
stat = DPMSDisable(Display);
}
}
... other xscreensaver of stuff
}
|
|
|
Back to top |
|
|
fuh
Almighty King
Joined: 07 Sep 2002
Posts: 2086
|
Posted: Sat Dec 20, 2003 4:02 pm Post subject: |
|
|
interesting, i will think about it. thanks. |
|
Back to top |
|
|
Luke
Joined: 25 Jan 2003
Posts: 408
|
Posted: Sun Dec 21, 2003 9:10 am Post subject: |
|
|
Fuhquake probably shouldn't turn off DPMS. It would be more correct to have DMPS work as usual even when you are using DGA input. That is, if I don't input anything for a while, then use powersave features... otherwise don't.
Now, it would make sense for Fuhquake to disable DPMS during demo viewing, which many media players do by default. You wouldn't want your screen to turn off in the middle of a movie, just as you wouldn't want that to happen in the middle of a demo. |
|
Back to top |
|
|
orb
Joined: 20 Dec 2003
Posts: 9
Location: russia
|
Posted: Mon Dec 22, 2003 1:14 am Post subject: |
|
|
If you using dga input, it happens like there is nothing on input for a timeout time, then it turns off/suspend/.
Well is there any way to tell to Xserver then you are "online" even if using DGA input ? |
|
Back to top |
|
|
|