Fedora Linux Support Community & Resources Center
  #1  
Old 2nd May 2007, 12:23 AM
Creedog Offline
Registered User
 
Join Date: Aug 2005
Posts: 53
Games do not play in fullscreen mode

Tried alien arena and et and neither fullscreen mode really works. Is there a trick to this?

here is my xorg.conf

Code:
# XFree86 4 configuration created by pyxf86config

Section "ServerLayout"
	Identifier     "Default Layout"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"

# Multiple FontPath entries are allowed (they are concatenated together)
# By default, a font server independent of the X server is
# used to render fonts.
	ModulePath   "/usr/lib/xorg/modules/extensions/nvidia"
	ModulePath   "/usr/lib/xorg/modules"
	FontPath     "unix/:7100"
EndSection

Section "Module"
	Load  "dbe"
	Load  "extmod"
	Load  "fbdevhw"
	Load  "record"
	Load  "freetype"
	Load  "type1"
	Load  "glx"
EndSection

Section "InputDevice"

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
#	Option	"Xleds"		"1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
#	Option	"XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults).  For example, for a non-U.S.
# keyboard, you will probably want to use:
#	Option	"XkbModel"	"pc102"
# If you have a US Microsoft Natural keyboard, you can use:
#	Option	"XkbModel"	"microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
#	Option	"XkbLayout"	"de"
# or:
#	Option	"XkbLayout"	"de"
#	Option	"XkbVariant"	"nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
#	Option	"XkbOptions"	"ctrl:swapcaps"
# Or if you just want both to be control, use:
#	Option	"XkbOptions"	"ctrl:nocaps"
#
	Identifier  "Keyboard0"
	Driver      "kbd"
	Option	    "XkbModel" "microsoft"
	Option	    "XkbLayout" "us"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "IMPS/2"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5"
	Option	    "Emulate3Buttons" "yes"
EndSection

Section "Modes"
	Identifier     "Modes[0]"
	ModeLine     "1440x900_75.00" 136.5 1440 1536 1688 1936 900 901 904 940 -hsync +vsync
	ModeLine     "1440x900_85.00" 156.8 1440 1536 1696 1952 900 901 904 945 -hsync +vsync
EndSection

Section "Monitor"

 ### Comment all HorizSync and VertSync values to use DDC:
 ### Comment all HorizSync and VertSync values to use DDC:
 ### Comment all HorizSync and VertSync values to use DDC:
 ### Comment all HorizSync and VertSync values to use DDC:
 ### Comment all HorizSync and VertSync values to use DDC:
 ### Comment all HorizSync and VertSync values to use DDC:
 ### Comment all HorizSync and VertSync values to use DDC:
 ### Comment all HorizSync and VertSync values to use DDC:
 ### Comment all HorizSync and VertSync values to use DDC:
 ### Comment all HorizSync and VertSync values to use DDC:
 ### Comment all HorizSync and VertSync values to use DDC:
	Identifier   "Monitor0"
	VendorName   "Viewsonic"
	ModelName    "VA1912wb"
	UseModes     "Modes[0]"
 ### Comment all HorizSync and VertSync values to use DDC:
	HorizSync    30.0 - 82.0
	VertRefresh  50.0 - 85.0
	Option	    "dpms"
EndSection

Section "Device"
	Identifier  "Videocard0"
	Driver      "nvidia"
	VendorName  "Videocard vendor"
	BoardName   "nVidia Corporation NV25 [GeForce4 Ti 4200]"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Videocard0"
	Monitor    "Monitor0"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Depth     16
		Modes    "1440x900_85.00" "1440x900_75.00"
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
		Modes    "1440x900_85.00" "1440x900_75.00"
	EndSubSection
EndSection

Section "DRI"
	Group        0
	Mode         0666
EndSection
Reply With Quote
  #2  
Old 7th May 2007, 03:49 AM
3006828
Guest
 
Posts: n/a
oh this is frustrating.. i had a similar problem, but know not how i fixed it, actually i think it was just when programs were running through wine... oh gord ill have a fiddle and see what i can break
Reply With Quote
  #3  
Old 13th May 2007, 08:04 AM
Thetargos's Avatar
Thetargos Offline
Registered User
 
Join Date: May 2004
Location: Mexico City, Mexico
Age: 35
Posts: 4,419
What do you get in the console when trying to start them in fullscreen? Maybe it is due to a mode not supported by your video drivers? (most often that's the case with native applications, unless you're running through wine, in which case, more information would be in order). Also could you please do:

Code:
glxinfo
Check at the very end, the last lines, where all the modes are listed, do you see anything different in the Caveats column (the last one) than "None" and "Ncon"? Maybe the mode you are attempting to run the games in is not supported by the video driver (usually happens with Open Source DRI drivers, alas, I'm not sure how to fix this, especially true for 32-bit color modes.
__________________
If ain't broken, don't fix it! :eek:
If can be improved, go for it! :cool:

FedoraForum Community forums lurker.
Fedora user since RHL 5.2 :cool:

Systems: Laptop, Main System, Netbook.
Reply With Quote
  #4  
Old 3rd June 2007, 10:48 PM
kRogue Offline
Registered User
 
Join Date: Jun 2005
Posts: 56
I ahve the same issue, lots of games don't run full screen: Doom3, Quake4, Quake3, Quake2.... they run in a window, but take the mouse... on another note, when I use SDL to set to full screen, unless my resolution matches the X-resolution exactly, the "full screen" is jsut centered and takes up as much room as the resolution asks for, my xorg.conf file:

[source]
# Xorg configuration created by system-config-display

Section "ServerLayout"
Identifier "single head configuration"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
ModulePath "/usr/lib/xorg/modules"
EndSection

Section "Module"
Load "glx"
EndSection

Section "InputDevice"

# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons" "no"
Option "Buttons" "7"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 30.0 - 110.0
VertRefresh 50.0 - 150.0
Option "DPMS"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nvidia"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1280x1024" "1280x960" "1280x800" "1280x720" "1152x864" "1152x768" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
Modes "1280x1024" "1280x960" "1280x800" "1280x720" "1152x864" "1152x768" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
[/source]

note that 1024x768 is present in 24,16 and 8 bits... running my SDL app in 1024x768 onyl gives me quasi full screen, i.e. it takes up 1024x768 pixels but doe not take up the hole screen (the remainder is blacked out)... but if I set X's resolution firstm thenall is good.. it is like no app can change the resolution except X.
Reply With Quote
  #5  
Old 3rd June 2007, 11:06 PM
kRogue Offline
Registered User
 
Join Date: Jun 2005
Posts: 56
Talking

I just got the damned full screen to work on my system, but my solution relies on the extra stuff that nvidia's driver installs:

I ran nvidia-settings (as root) and let it write to the xorg.conf file (had to restore my modified mouse stuff though), and the voila full screen games work again, my xorg.conf file now looks like:

-------------------------------------------------------------------------------------
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 1.0 (buildmeister@builder3) Mon Feb 26 23:39:38 PST 2007

Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection

Section "Files"
RgbPath "/usr/lib/X11/rgb"
FontPath "unix/:7100"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "type1"
Load "freetype"
Load "glx"
EndSection

Section "ServerFlags"
Option "Xinerama" "0"
EndSection

Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons" "no"
Option "Buttons" "7"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
# generated from data in "/etc/sysconfig/keyboard"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbLayout" "us"
Option "XkbModel" "pc105"
EndSection

Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Samsung SyncMaster"
HorizSync 30.0 - 110.0
VertRefresh 50.0 - 160.0
Option "DPMS"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 6600 GT"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
Option "metamodes" "nvidia-auto-select +0+0; 1280x1024_85 +0+0"
SubSection "Display"
Depth 24
Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

--------------------------------------------------------------------------------------------------------------------
though I have to admit, I don't see how that helped, though the "metamodes" stuff looks fishy...
Reply With Quote
  #6  
Old 3rd June 2007, 11:52 PM
v00d00's Avatar
v00d00 Offline
Registered User
 
Join Date: Mar 2007
Location: UK
Posts: 138
So it removed that dodgy 1440 screen size you were trying to use.

I would only bother with that type of res on a widescreen tft. And if i was doing that i'd run my games windowed anyway,so i could keep a few other things running on the side.
__________________
To Help Cure Diseases By Utilising Idle Cpus, Click Below:
Folding@Home

Registered Linux User #314489
Reply With Quote
Reply

Tags
fullscreen, games, mode, play

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fullscreen dont work in games starstatras Gamers' Lounge 10 22nd September 2007 11:36 PM
Ctrl+Alt+TAB in fullscreen games The_Rooster Gamers' Lounge 3 16th December 2006 09:10 PM
Fullscreen games crash X. locodude Gamers' Lounge 13 10th December 2006 01:14 PM
games won't do fullscreen fastm38 Using Fedora 0 30th May 2006 08:18 PM
Changing resolution, cycling virtual consoles, games in fullscreen causing X to crash Wulfrunner Using Fedora 0 4th June 2005 10:37 AM


Current GMT-time: 21:17 (Tuesday, 18-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat