PlaneShift

Support => Linux Specific Issues => Topic started by: SuperDarkstar on October 15, 2007, 11:02:12 am

Title: Problems with Screen Resolution
Post by: SuperDarkstar on October 15, 2007, 11:02:12 am
Hello,

I have a problem starting the game, when I activate full screen and select
a resolution other then my desktop resolution.

For example:
Desktop: 1280x1024
PlaneShift: 1024x768

When I start the game, the screen blinks black, and I get the following output on the console:

DEBUG: Sound System Software Renderer Initializing...
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  135 (XFree86-VidModeExtension)
  Minor opcode of failed request:  10 (XF86VidModeSwitchToMode)
  Value in failed request:  0x3c00002
  Serial number of failed request:  177
  Current serial number in output stream:  181
Segmentation fault (core dumped)

 :(
When I select the same resolution, or change to windowed mode, the game starts normal.  ???
Title: Re: Problems with Screen Resolution
Post by: Vorodie on October 20, 2007, 12:25:17 pm
i got the same problem as well
Title: Re: Problems with Screen Resolution
Post by: Mordraugion on October 20, 2007, 05:20:43 pm
Hi I my natural res is1280x1024 but due to the way I have my toolbars I run ps at a non-standard 1152x864 on a nvidia card with no probs perhaps you could list your system specs?
Title: Re: Problems with Screen Resolution
Post by: Bereror on October 20, 2007, 05:46:27 pm
Well, the reason for the error seems that X server simply can't handle the requested resolution. It is not a fault of Planeshift, but something wrong with the X server configuration. Google for these error codes and you will find that many people have similar problems, especially with games in fullscreen mode and a resolution different from the normal one. People with LCD screens seems to affected mostly. One suggestion was to make HSync and VRefresh values larger than you would normally have for resolutions that are not native for the LCD screen.
Title: Re: Problems with Screen Resolution
Post by: SuperDarkstar on October 28, 2007, 08:41:14 pm
I don't think it's a fault of my X configuration, because all other games I tried (Penguin Racer, Doom III, Quake 4, ...) perfectly worked in fullscreen mode with all resolutions.

Ok, here are my system specs:


Relevant sections of my xorg.conf:

Section "Module"
        Load    "glx"
        Load    "v4l"
        Load    "GLcore"
        Load    "i2c"
        Load    "bitmap"
        Load    "ddc"
        Load    "extmod"
        Load    "freetype"
        Load    "int10"
        Load    "type1"
        Load    "vbe"
        Load    "xinerama"
EndSection

Section "Monitor"
        Identifier      "MD"
        Vendorname      "Generic CRT Display"
        Modelname       "Monitor 1280x1024"
        Horizsync       30-98
        Vertrefresh     50-160
        modeline  "640x480@75" 31.5 640 656 720 840 480 481 484 500 -vsync -hsync
        modeline  "800x600@75" 49.5 800 816 896 1056 600 601 604 625 +hsync +vsync
        modeline  "1024x768@75" 78.8 1024 1040 1136 1312 768 769 772 800 +hsync +vsync
        modeline  "1280x1024@75" 135.0 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync
        Gamma   1.0
        Option      "dpms"
EndSection

Section "Screen"
        Identifier      "Default Screen"
        Device          "nVidia Corporation NV44A [GeForce 6200]"
        Monitor         "MD"
        Defaultdepth    24
        SubSection "Display"
                Depth   24
                Modes   "1280x1024@75" "1024x768@75" "800x600@75" "640x480@75"
        EndSubSection
EndSection