Fractal Softworks Forum

Please login or register.

Login with username, password and session length

Author Topic: X error when taking a screenshot  (Read 1697 times)

db48x

  • Ensign
  • *
  • Posts: 38
    • View Profile
X error when taking a screenshot
« on: February 01, 2017, 05:33:00 PM »

This happens whenever I hit the print-screen key. No screenshot is actually saved to disk.

Code
955142 [Thread-5] ERROR com.fs.starfarer.combat.CombatMain  - org.lwjgl.LWJGLException: X Error - disp: 0xffffffffa9c24ea8 serial: 181336 error: BadValue (integer parameter out of range for operation) request_code: 152 minor_code: 18
org.lwjgl.LWJGLException: X Error - disp: 0xffffffffa9c24ea8 serial: 181336 error: BadValue (integer parameter out of range for operation) request_code: 152 minor_code: 18
        at org.lwjgl.opengl.LinuxDisplay.globalErrorHandler(LinuxDisplay.java:321)
        at org.lwjgl.opengl.GL11.nglClear(Native Method)
        at org.lwjgl.opengl.GL11.glClear(GL11.java:588)
        at com.fs.graphics.util.new.Õ00000(Unknown Source)
        at com.fs.starfarer.BaseGameState.traverse(Unknown Source)
        at com.fs.state.AppDriver.begin(Unknown Source)
        at com.fs.starfarer.combat.CombatMain.main(Unknown Source)
        at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)

The stack is not always the same, though, so perhaps it's showing the wrong thread:

Code
22204 [Thread-5] ERROR com.fs.starfarer.combat.CombatMain  - org.lwjgl.LWJGLException: X Error - disp: 0xffffffffa9a0bec0 serial: 2759 error: BadValue (integer parameter out of range for operation) request_code: 152 minor_code: 18
org.lwjgl.LWJGLException: X Error - disp: 0xffffffffa9a0bec0 serial: 2759 error: BadValue (integer parameter out of range for operation) request_code: 152 minor_code: 18
        at org.lwjgl.opengl.LinuxDisplay.globalErrorHandler(LinuxDisplay.java:321)
        at org.lwjgl.opengl.LinuxMouse.nGetWindowHeight(Native Method)
        at org.lwjgl.opengl.LinuxMouse.transformY(LinuxMouse.java:196)
        at org.lwjgl.opengl.LinuxMouse.setCursorPos(LinuxMouse.java:135)
        at org.lwjgl.opengl.LinuxMouse.doHandlePointerMotion(LinuxMouse.java:158)
        at org.lwjgl.opengl.LinuxMouse.handlePointerMotion(LinuxMouse.java:211)
        at org.lwjgl.opengl.LinuxMouse.filterEvent(LinuxMouse.java:311)
        at org.lwjgl.opengl.LinuxDisplay.processEvents(LinuxDisplay.java:854)
        at org.lwjgl.opengl.LinuxDisplay.update(LinuxDisplay.java:912)
        at org.lwjgl.opengl.Display.processMessages(Display.java:600)
        at org.lwjgl.opengl.Display.update(Display.java:666)
        at com.fs.starfarer.BaseGameState.traverse(Unknown Source)
        at com.fs.state.AppDriver.begin(Unknown Source)
        at com.fs.starfarer.combat.CombatMain.main(Unknown Source)
        at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 24118
    • View Profile
Re: X error when taking a screenshot
« Reply #1 on: February 01, 2017, 06:15:20 PM »

Sorry about the trouble! Hmm. Might be related to the aspect ratio issue, though it's hard to say for sure. Either way, seems like it's driver-related - as far as I can tell, on Linux in a twin-monitor setup issues come up sometimes with what's reported to the game as the display resolution. This post may be of help, but I'm not sure if it's relevant to your configuration.
Logged