FuhQuake Forum Index FuhQuake
https://fuhquake.net
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

linux_glx + DPMS

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    FuhQuake Forum Index -> Bug Reports
View previous topic :: View next topic  
Author Message
orb



Joined: 20 Dec 2003
Posts: 9
Location: russia

PostPosted: Sat Dec 20, 2003 12:39 pm    Post subject: linux_glx + DPMS Reply with quote

well just compiled 0.30
and has very fun plaiyn but DPMS turned my display off Smile)))
i got ot press F10 then y Smile
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
View user's profile Send private message Send e-mail Visit poster's website
fuh
Almighty King


Joined: 07 Sep 2002
Posts: 2086

PostPosted: Sat Dec 20, 2003 4:02 pm    Post subject: Reply with quote

interesting, i will think about it. thanks.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Luke



Joined: 25 Jan 2003
Posts: 408

PostPosted: Sun Dec 21, 2003 9:10 am    Post subject: Reply with quote

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
View user's profile Send private message
orb



Joined: 20 Dec 2003
Posts: 9
Location: russia

PostPosted: Mon Dec 22, 2003 1:14 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    FuhQuake Forum Index -> Bug Reports All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

hosted by ausgamers