LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Games (https://www.linuxquestions.org/questions/linux-games-33/)
-   -   how to get games (like doom 3) to go full screen? (https://www.linuxquestions.org/questions/linux-games-33/how-to-get-games-like-doom-3-to-go-full-screen-238852/)

zero79 10-04-2004 08:52 PM

how to get games (like doom 3) to go full screen?
 
I'm friggin awed by the fact that doom 3 runs so well on my measly k7 900 MHz with 256 MB of RAM and a GeForce FX 5200, but anyway, i do have a question:

the game is running at 640x480 (in the lower left corner of the screen and filling everything else with black). is there any way to get X to switch to rendering at 640x480 when the game is launched and thus permitting the game to fill the entire screen.

i did a quick search on this and didn't come up with anything right away. i'm just too lazy to delve more on my own, and i'm sure someone here already knows the easy answer.

doom 3 is yet again awesome...not that this relates to my question, but it's awesome. we need quality apps like this to show that GNU/Linux is ready for the mainstream.

thanks for your thoughts.

brainlesspinkey 10-04-2004 09:22 PM

the command xrandr would work i think, it changes the resolution of x. What you could do as a workaround would be to make a simple shell script that would run the xrandr command and then run doom, then run xrandr again to change things back.
theres probabally a better way of doing it, but you may want to try my way if nothing else works.

zero79 10-04-2004 09:46 PM

that seems like a reasonable way to go about it. how do i add more screen options to the xrandr list? if i do

xrandr -q

i get that i have available screens 0 (1024x768) and 1 (512x384). i don't have 640x480 as an option.

could it be that my monitor is only capable of these resolutions?

edit: i booted into windows to see what resolutions i have available there. i can switch to many settings including 640x480, 800x600, 938x768, 1024x786, etc. in /etc/X11/XF86Config-4, i have 1024x768, 800x600, and 640x480 set up as possible resolutions for each display depth. what settings file does xrandr look at to get its resolutions?

zero79 10-06-2004 08:35 PM

okay, i solved the problem. my monitor is old and doesn't produce conformant EDID information, so most resolutions were being considered unavailable. i just needed to add an option to the monitor section in "/etc/X11/XF86Config-4" to tell X to ignore that EDID data.

Code:

Section "Monitor"
        Identifier        "Gateway FPD 1500"
        HorizSync        30-61
        VertRefresh        56-75
        Option                "DPMS"
        Option                "IgnoreEDID" "true"
EndSection


brainlesspinkey 10-07-2004 11:16 AM

w00t good job... now for some nice killing fun!!! yay for gore!


All times are GMT -5. The time now is 07:06 PM.