 |
 |
 |
 |
| Gamers' Lounge Talk about gaming on Fedora and linux. |

2nd May 2007, 12:23 AM
|
|
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
|

7th May 2007, 03:49 AM
|
|
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
|

13th May 2007, 08:04 AM
|
 |
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:
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.
|

3rd June 2007, 10:48 PM
|
|
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.
|

3rd June 2007, 11:06 PM
|
|
Registered User
|
|
Join Date: Jun 2005
Posts: 56

|
|
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...
|

3rd June 2007, 11:52 PM
|
 |
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
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 21:17 (Tuesday, 18-06-2013)
|
|
 |
 |
 |
 |
|
|