Author Topic: Problems with Screen Resolution  (Read 1239 times)

SuperDarkstar

  • Wayfarer
  • *
  • Posts: 2
    • View Profile
Problems with Screen Resolution
« 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.  ???

Vorodie

  • Wayfarer
  • *
  • Posts: 4
    • View Profile
Re: Problems with Screen Resolution
« Reply #1 on: October 20, 2007, 12:25:17 pm »
i got the same problem as well

Mordraugion

  • Hydlaa Notable
  • *
  • Posts: 816
  • Ex Dev and GM
    • View Profile
Re: Problems with Screen Resolution
« Reply #2 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?
No longer a member of the PlanShift Development Team
Hokinon or Hoki on IRC

PS is not a democracy, nor will it ever be -- Karyuu 2006
http://www.hydlaaplaza.com/smf/index.php?topic=21049.msg230947#msg230947

Bereror

  • Hydlaa Notable
  • *
  • Posts: 773
    • View Profile
    • Planeshift API
Re: Problems with Screen Resolution
« Reply #3 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.
PlaneShift Sources
PlaneShift API
"Words never spoken
Are the strongest resounding"

SuperDarkstar

  • Wayfarer
  • *
  • Posts: 2
    • View Profile
Re: Problems with Screen Resolution
« Reply #4 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:

  • Ubuntu Linux 7.10 (Gutsy Gibbon)
  • Kernel 2.6.22-14 x86_64
  • AMD Athlon 64 Processor 3700+
  • 2GB Ram
  • nVIDIA GeForce 6200 256MB
  • Generic CRT Display (from Medion): H 30-98, V 50-160, max 1280x1024

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