Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Starsector 0.98a is out! (03/27/25)

Author Topic: Game wont Launch on Steam Deck OLED  (Read 2205 times)

TyGr

  • Ensign
  • *
  • Posts: 2
    • View Profile
Game wont Launch on Steam Deck OLED
« on: December 03, 2023, 10:59:47 AM »

Game wont launch on steam deck OLED due to no valid display modes being found.

Error: Fatal: No valid display modes found. Starsector requires at least a 1280x768 screen to run

This dose not effect LCD Steam decks as they have a different screen
https://fractalsoftworks.com/forum/index.php?topic=24208.0

I think the issue is due to the OLED screen technically being a 800x1280 screen that is then rotated in the OS.


Ive had no issues with the rotated screen on any other games and sense it looks like the game runs fine on LCD steam decks I would guess that the only change needed to get Starsector working on the OLED screen is to edit the startup code that selects the display mode to consider rotated screens as the resolution is big enough for the 1280x768 mode.
« Last Edit: December 03, 2023, 11:02:44 AM by TyGr »
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 26042
    • View Profile
Re: Game wont Launch on Steam Deck OLED
« Reply #1 on: December 03, 2023, 11:14:56 AM »

Hi - sorry about the trouble!

Hmm. You might try editing data/config/settings.json, looking for this line:

#"resolutionOverride":"1024x768",

And setting it to:
"resolutionOverride":"1280x800",

That *might* make it work? I have no idea what the screen-rotation looks like to the game, though. I'd be shocked if it worked if the resolution was set to 800x1280. But forcing it to 1280x800 might do the job, if the only issue is that at the time it makes the minimum-resolution check, the screen is not rotated yet.
Logged

TyGr

  • Ensign
  • *
  • Posts: 2
    • View Profile
Re: Game wont Launch on Steam Deck OLED
« Reply #2 on: December 03, 2023, 11:33:53 AM »

Hi - sorry about the trouble!

Hmm. You might try editing data/config/settings.json, looking for this line:

#"resolutionOverride":"1024x768",

And setting it to:
"resolutionOverride":"1280x800",

That *might* make it work? I have no idea what the screen-rotation looks like to the game, though. I'd be shocked if it worked if the resolution was set to 800x1280. But forcing it to 1280x800 might do the job, if the only issue is that at the time it makes the minimum-resolution check, the screen is not rotated yet.


This worked!
Game launches without issue after making that config change and plays great on the Deck.
Thanks for the fast reply
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 26042
    • View Profile
Re: Game wont Launch on Steam Deck OLED
« Reply #3 on: December 03, 2023, 11:43:31 AM »

Nice, glad that did it!
Logged