Chaosforge Forum

  • April 26, 2024, 01:52
  • Welcome, Guest
Please login or register.



Login with username, password and session length
Pages: [1]

Author Topic: DoomRL hangs on startup  (Read 2596 times)

putridmelon

  • Private FC
  • *
  • Offline Offline
  • Posts: 5
  • Lost Soul
    • View Profile
DoomRL hangs on startup
« on: December 01, 2013, 22:54 »

On one of my machines, a Win7 box, DoomRL hangs on startup. The game appears to open
up its main window but then doesn't proceed. The window doesn't get initalized or updated,
so it shows "garbage" from whatever the windows behind it are showing.

Obviously the problem is with my computer rather than with the game, but I have no idea
how to troubleshoot this. Is there any way I can enable some debug log?

Thanks.
Logged

thelaptop

  • Chaos Fanatic!
  • Grand Inquisitor
  • Apostle
  • *
  • *
  • Offline Offline
  • Posts: 2530
    • View Profile
Re: DoomRL hangs on startup
« Reply #1 on: December 01, 2013, 23:08 »

The debug log is always running.  Grab the contents of log.txt and post it here.

You may need to post only the latest lines from that file if it is too large.  Better yet, make it an attachment to the forum post.
Logged
I computed, therefore I was.

putridmelon

  • Private FC
  • *
  • Offline Offline
  • Posts: 5
  • Lost Soul
    • View Profile
Re: DoomRL hangs on startup
« Reply #2 on: December 02, 2013, 21:53 »

OK, here at the bottom 15 lines of my log.txt. (I couldn't find an "attach file"
option.)

It's at 11:39:22 that the machine hangs. At 11:40:29 I close the main window
(to this the app does respond) and it exits. I notice also that while it hangs,
it's not idle: the process uses about 20% CPU for as long as I leave it.

11:39:22 : INFO    : <TDoomUI> Registering ascii file rarmor.asc...
11:39:22 : INFO    : <TDoomUI> Registering ascii file revenant.asc...
11:39:22 : INFO    : <TDoomUI> Registering ascii file sergeant.asc...
11:39:22 : INFO    : <TDoomUI> Registering ascii file logo.dat...
11:39:22 : INFO    : <TVDataFile> VDF extraction completed (ascii)
11:39:22 : INFO    : <TVDataFile> VDF extraction (graphics)
11:39:22 : INFO    : <TVDataFile> VDF extraction completed (graphics)
11:40:29 : INFO    : <TDoomModules> DoomModules destroyed.
11:40:29 : INFO    : <TSystems//0> Closed.
11:40:29 : INFO    : <TDoomLua//0> Closed.
11:40:29 : INFO    : <TDoom//0> Doom destroyed.
11:40:29 : INFO    : <TDoomIO//0> Closed.
11:40:29 : INFO    : <TDoom//0> Closed.
11:40:29 : INFO    : <TFMODSound//0> Closed.
11:40:29 : INFO    : --- Logging end   : 12/3/2013 11:40:29 ---
Logged

putridmelon

  • Private FC
  • *
  • Offline Offline
  • Posts: 5
  • Lost Soul
    • View Profile
Re: DoomRL hangs on startup
« Reply #3 on: December 02, 2013, 22:17 »

I just noticed that Crawl and TOME exhibit the exact same behavior on this
computer: they open up a main window and then hang.

It's puzzling because this machine functions perfectly fine in every other way,
including running games of various sorts. (It can't be the machine's general
distaste for rogue-likes that causes the problem because it's fine with Adom,
Angband, Nethack etc.)

Is there anything (apart from the obvious) that DoomRL/Crawl/TOME have in
common? I mean, do all three use the same graphics library for example?

Thanks.
Logged

thelaptop

  • Chaos Fanatic!
  • Grand Inquisitor
  • Apostle
  • *
  • *
  • Offline Offline
  • Posts: 2530
    • View Profile
Re: DoomRL hangs on startup
« Reply #4 on: December 03, 2013, 00:05 »

Probably SDL.

Have you messed with your graphics drivers lately?  It sounds like that might be related, at least from a tangential perspective.

Another things that you can try to isolate the graphics issue is to run the game in console mode.  Run doomrl.exe -console from a command line and see if it works.  If it loads and runs fine, then perhaps your graphics drivers are fubared.
Logged
I computed, therefore I was.

putridmelon

  • Private FC
  • *
  • Offline Offline
  • Posts: 5
  • Lost Soul
    • View Profile
Re: DoomRL hangs on startup
« Reply #5 on: December 03, 2013, 01:02 »

I ran DoomRL in console mode and it's fine, so yeah, looks like a problem with the graphics.

But I haven't touched the graphics drivers on this machine in years, and it's been perfectly fine with every game until I discovered this problem.

Is there an easy way to test SDL on Windows?
Logged

putridmelon

  • Private FC
  • *
  • Offline Offline
  • Posts: 5
  • Lost Soul
    • View Profile
Re: DoomRL hangs on startup
« Reply #6 on: December 03, 2013, 04:29 »

I'm currently trying to put together a dev environment to run a little SDL test.

Can someone tell me what version of SDL DoomRL uses? It seems 2.0.1 and 1.2.5
are available from the SDL site.

Thanks.
Logged
Pages: [1]