crashes when I press alt-Enter and navigating entries

Ask and answer questions about making games and related topics. Unrelated topics go in that other forum.

Moderators: marionline, SDHawk

Post Reply
User avatar
SwordPlay
Chemical Slime
Posts: 966
Joined: Sun Jan 22, 2017 9:32 am
Location: London, England
Contact:

crashes when I press alt-Enter and navigating entries

Post by SwordPlay »

CUSTOM crashes when I press alt+Enter(?) at the same time as editing/navigating (enemy) entries. Not sure exactly what makes it crash, but it happens sometime when I'm editing entries quickly and I hit the keys together by accident.

This is what the terminal returned on 3 separate crashes in a row within half an hour

Code: Select all

X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  152 (XFree86-VidModeExtension)
  Minor opcode of failed request:  10 (XF86VidModeSwitchToMode)
  Value in failed request:  0x4ac
  Serial number of failed request:  2391
  Current serial number in output stream:  2393

X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  152 (XFree86-VidModeExtension)
  Minor opcode of failed request:  10 (XF86VidModeSwitchToMode)
  Value in failed request:  0x4ac
  Serial number of failed request:  835
  Current serial number in output stream:  837

X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  152 (XFree86-VidModeExtension)
  Minor opcode of failed request:  10 (XF86VidModeSwitchToMode)
  Value in failed request:  0x4ac
  Serial number of failed request:  298
  Current serial number in output stream:  300
"Imagination. Life is your creation."
TMC
Metal King Slime
Posts: 4308
Joined: Sun Apr 10, 2011 9:19 am

Post by TMC »

Huh? Does this only happen in the enemy editor? That seems very unlikely; I don't think that editor does anything special. Have you ever seen this problem before?
User avatar
SwordPlay
Chemical Slime
Posts: 966
Joined: Sun Jan 22, 2017 9:32 am
Location: London, England
Contact:

Post by SwordPlay »

I think it's when I use Alt to navigate entries.
I had this problem a couple times, I think in the attack editor as well.
Yes I've had this happen a few times in the past.

I'll try to reproduce it. Maybe it's a problem on my end.
"Imagination. Life is your creation."
TMC
Metal King Slime
Posts: 4308
Joined: Sun Apr 10, 2011 9:19 am

Post by TMC »

Oh, I misread. I thought you were pressing alt-enter on purpose. That's the key combo to switch between windowed and fullscreen. So attempting to switch always crashes? What if you try to switch in Game? Or using the in-game menu options?
Also, what if you switch to gfx_fb (eg use ctrl+f8) and then try to fullscreen.
Last edited by TMC on Tue Nov 14, 2017 4:54 am, edited 2 times in total.
User avatar
SwordPlay
Chemical Slime
Posts: 966
Joined: Sun Jan 22, 2017 9:32 am
Location: London, England
Contact:

Post by SwordPlay »

Switching to fullscreen works fine everywhere.

The alternate gfx back end doesn't seem to be able to full-screen at all, and can't be resized outside of 2x/3x. Is this intentional?
The window also doesn't seem to be able to be anchored to a screen edge as I usually can.
Game seems to work fine and fullscreens okay
Last edited by SwordPlay on Tue Nov 14, 2017 8:42 am, edited 1 time in total.
"Imagination. Life is your creation."
TMC
Metal King Slime
Posts: 4308
Joined: Sun Apr 10, 2011 9:19 am

Post by TMC »

So alt-enter works fine, but some kind of accidental keypress causes a fatal X11 error. How miserable, and hopeless.
I guess you can try playing with your window manager settings. Would help to first figure out what keys you're pressing.

Really surprising that gfx_fb doesn't fullscreen or clip to screen edges.
What do you mean by only 2x/3x working? Did you try other zoom amounts with a commandline switch? gfx_fb doesn't support freely resizing the window
Post Reply