Chaosforge Forum

  • December 22, 2024, 04:43
  • Welcome, Guest
Please login or register.



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

Author Topic: Having trouble running the Linux version of this in graphical mode.  (Read 3631 times)

Zero Gravitas

  • Private FC
  • *
  • Offline Offline
  • Posts: 8
  • Lost Soul
    • View Profile

I'm running Ubuntu 12.04 on an old laptop, I've installed sdl, sdl_image, sdl_mixer, timidity, libpng, libsmpeg, etc. The scripts that come with the installation work - but only in console mode. The error log shows this:

Timestamp   : 24-3-13 03:02:43
Error level : FATAL EXCEPTION
Message     : Fatal exception encountered

An unhandled exception occurred at $080D428A :
EAccessViolation : Access violation
  $080D428A  TNODE__DETACH,  line 520 of /home/user/project/fpcvalkyrie/src/vnode.pas
  $080D4452  TNODE__DESTROY,  line 569 of /home/user/project/fpcvalkyrie/src/vnode.pas
  $080996FE  TSYSTEM__DESTROY,  line 51 of /home/user/project/fpcvalkyrie/src/vsystem.pas
  $0818D5CF  TIO__DESTROY,  line 66 of /home/user/project/fpcvalkyrie/src/vio.pas
  $080917DD  TDOOMIO__DESTROY,  line 386 of src/doomio.pas
  $0807FB85  TDOOM__CREATEIO,  line 226 of src/doombase.pas

I don't normally use Linux, so it's entirely possible that I'm doing something wrong.
Logged
Hell Baron Colonel
24/19/15/5/0

Ashannar

  • Elder
  • Second Lieutenant
  • *
  • *
  • Offline Offline
  • Posts: 187
  • Shottyhead Aficionado
    • View Profile

Check out this thread. Hopefully that's the solution you need.
Logged
Hell Baron Major (0.9.9.7) 22 18 12 1 0 0

Zero Gravitas

  • Private FC
  • *
  • Offline Offline
  • Posts: 8
  • Lost Soul
    • View Profile

I don't think this is the same issue. I don't see anything, it crashes before displaying the title screen. The music plays perfectly in console mode, but I've been disabling the sound engine in config just in case anyway.

I'm not sure if this is related - If I run DoomRL from its directory in a terminal, it works. However, setting the config file option to console and clicking the DoomRL executable does not work.

When trying to run it in graphical mode, this is the log.txt output. (The error.log is the same as before.)

12:24:48 : INFO    : Root path set to -
12:24:48 : INFO    : <TDoom//0> Initialized.
12:24:48 : INFO    : <TDoom//0> 0.9.9.7
12:24:48 : INFO    : <TDownloadTask> DoomNet: downloading doom.chaosforge.net/info.xml to info.xml...
12:24:48 : INFO    : HTTP/1.1 200 OK
12:24:48 : INFO    : <TDownloadTask> DoomNet: download completed - 425 bytes received
12:24:48 : INFO    : <TDoomNetwork> Remote stable - 0.9.9.7 (http://doom.chaosforge.net/mods/0997/modules.xml)
12:24:48 : INFO    : <TDoomNetwork> Remote beta   - 0.9.9.7 GOLD(http://doom.chaosforge.net/mods/0997/modules.xml)
12:24:48 : INFO    : <TDoomNetwork> MOTD          - ChaosForge Network is online! | DoomRL 0.9.9.7 has been RELEASED!
12:24:48 : INFO    : <TDoomModules> DoomModules loading...
12:24:48 : INFO    : <TDoomModules> DoomModules loaded.
12:24:48 : INFO    : <TSDLIODriver> Initializing SDL...
12:24:48 : INFO    : <TSDLIODriver> Checking mode 800x600/32bit...
12:24:48 : INFO    : <TDoomIO//0> Closed.
12:24:48 : INFO    : <TDoomModules> DoomModules destroyed.
12:24:48 : INFO    : <TSystems//0> Closed.
12:24:48 : INFO    : <TDoom//0> Doom destroyed.
12:24:48 : INFO    : <TDoom//0> Closed.
12:24:48 : INFO    : --- Logging end   : 24-3-13 12:24:48 ---
Logged
Hell Baron Colonel
24/19/15/5/0

Kornel Kisielewicz

  • God Hand
  • Apostle
  • *
  • *
  • Offline Offline
  • Posts: 4578
    • View Profile
    • http://chaosforge.org/

Exactly how "old" is the laptop? Screen resolution? GFX card? Graphics drivers?
Logged
at your service,
Kornel Kisielewicz

Zero Gravitas

  • Private FC
  • *
  • Offline Offline
  • Posts: 8
  • Lost Soul
    • View Profile

It's...pretty bad.

Screen resolution is 1024 x 768.
mobile AMD Athlon(tm) XP 1800+
S3 Inc. VT8375 [ProSavage8 KM266/KL266] (Jesus.)
As for drivers, the xserver-xorg-video-savage/S3 Virge packages are installed.

Are there minimum system requirements for the graphical mode?


Addendum: Save files that are created seem to be corrupt as well:

<TDoom//0> Save file corrupted! Error while loading : Access violation

« Last Edit: March 24, 2013, 15:18 by Zero Gravitas »
Logged
Hell Baron Colonel
24/19/15/5/0

Zero Gravitas

  • Private FC
  • *
  • Offline Offline
  • Posts: 8
  • Lost Soul
    • View Profile

Okay, it looks like the save file thing was just a one-off, I can't repeat it. Save games are working correctly.

And I believe I have found the issue - software rendering. Apparently, the card's drivers aren't being used because the libgl1-mesa-dri package decided to drop the files I require for this card in the latest versions. Wonderful.

I hate Linux.

Addendum: Now I don't know what it could be. After much fumbling, I installed the correct drivers, added my account to the video group and (apparently) have got the card working with the correct driver. DoomRL still does not work past checking the resolution. Any ideas?
« Last Edit: March 27, 2013, 12:46 by Zero Gravitas »
Logged
Hell Baron Colonel
24/19/15/5/0
Pages: [1]