The International Simutrans Forum

 

Author Topic: Start with fullscreen causes crash if started with bad resolution  (Read 2208 times)

0 Members and 1 Guest are viewing this topic.

Offline Václav

  • Devotee
  • *
  • Posts: 3267
  • formerly VaclavMacurek
  • Languages: CZ, EN
Three days ago I had to change screen because old was getting very close to be KO.

On previous one I used resolution 1152*756 - and had set this resolution in simuconf.tab for fullscreen mode I use. But on new one is set resolution 1360*768.

I forgot to change settings in simuconf.tab - and game crashed immidiately after start.

I don't think this is classical bug - but it is (I hope) useful report.

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 9565
  • Languages: De,EN,JP
Re: Start with fullscreen causes crash if started with bad resolution
« Reply #1 on: March 22, 2011, 09:15:46 PM »
Most likely an error in windows, as illegal resolutions should just not displayed. (If this was GDI version, not SDL.)

However 16 bit support slowly fades out and a lot of driver are buggy there.

Offline Václav

  • Devotee
  • *
  • Posts: 3267
  • formerly VaclavMacurek
  • Languages: CZ, EN
Re: Start with fullscreen causes crash if started with bad resolution
« Reply #2 on: March 22, 2011, 09:25:52 PM »
Thanks.

...oops, I forgot info about PC:
OS: WinXP
Gr. card: HD Radeon 9550
Screen: Phillips 192E2 (previous screen was Phillips Brilliance 107P)

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 9565
  • Languages: De,EN,JP
Re: Start with fullscreen causes crash if started with bad resolution
« Reply #3 on: March 22, 2011, 09:40:31 PM »
GDI or SDL?

Offline Václav

  • Devotee
  • *
  • Posts: 3267
  • formerly VaclavMacurek
  • Languages: CZ, EN
Re: Start with fullscreen causes crash if started with bad resolution
« Reply #4 on: March 22, 2011, 10:22:30 PM »
I use SDL version of Simutrans.
Originally I used GDI version but for some reasons I left it - and when those reasons passed, I had not reason for return.

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 9565
  • Languages: De,EN,JP
Re: Start with fullscreen causes crash if started with bad resolution
« Reply #5 on: March 23, 2011, 10:23:06 AM »
Then this is most likely a bug in SDL, since simutrans just poass the parameters to SDL.

Offline Václav

  • Devotee
  • *
  • Posts: 3267
  • formerly VaclavMacurek
  • Languages: CZ, EN
Re: Start with fullscreen causes crash if started with bad resolution
« Reply #6 on: March 25, 2011, 08:17:50 PM »
May it be ...

I originally used fullscreen with uncommented resolution parameters set on screen - but after last big update (from 4360 to 4369 - with total rewriting of files) I let resolution parameters commented and only enabled fullscreen - and it runs right.