New Doom Forums  
DD on Debian Linux - Segmentation Fault - New Doom Forums
Go Back   New Doom Forums > Source Ports > Doomsday

Reply
 
Thread Tools Display Modes
Old January 27th, 2005, 11:08 PM   #1
bungnugget
Commander Keen
 
Join Date: Jan 2005
Posts: 2
DD on Debian Linux - Segmentation Fault

Hi. I have compiled and copied all resource files and done everything mentioned in the COMPILING/README files respectively.

I have also installed the debian packages for sdlmixer and sdlmixer-dev and everything else as needed. I am launching the game with these parameters, as I have made a little bash script...

Code:
#!/bin/bash
~/Doom/jdoom/bin/doomsday -g jdoom -f ~/Doom/IWADS/doom.wad -ud ~/Doom/jdoom/ -savedir ~/Doom/jdoom/savegames -wnd -w 640 -h 480 -bpp 16
This is the error that I am recieving...
(everything goes fine until this point)

Code:
Sys_Init: Setting up machine state.
Sys_Init: Initializing keyboard, mouse and joystick.
Sys_InitTimer.
Sfx_Init: Initializing SDL_mixer...
DS_Load: Loading of libdssdlmixer failed.
Sfx_Init: Driver init failed. Sfx is disabled.
Fatal signal: Segmentation Fault (SDL Parachute Deployed)
I have installed the sdlmixer libraries. I did searched the debian package cache, after updating it, for *libdssdlmixer* and did not find anything.

Here is a copy of my Doomsday.out file (I think its going to hold the same thing as I have pasted above, but here it is anyway)

Code:
Con_Init: Initializing the console.
SW_Init: Startup message window opened.
Executable: Version 1.8.6 Jan 28 2005 (DGL).
Memory zone: 32.0 Mb.
Parsing configuration files.
W_Init: Init WADfiles.
W_AddFile: /home/ajavid/Doom/IWADS/doom.wad
  IWAD identification: 00cdce4c
W_AddFile: Data/Doomsday.wad
W_AddFile: Data/jDoom/jDoom.wad
  IWAD identification: 00056533
W_AddFile: Data/jDoom/Auto/jDRP.pk3
(blah blah blah, it loads all the .pk3 files)
Reading definition file: Defs/Doomsday.ded
Reading definition file: Defs/jDoom/jDoom.ded
  138 sprite names
  974 states
  140 things
    8 lights
  112 sound effects
   68 songs
  335 text strings
   27 particle generators
   22 animation groups
   49 surface decorations
   69 map infos
    6 finales
Sys_Init: Setting up machine state.
Sys_Init: Initializing keyboard, mouse and joystick.
Sys_InitTimer.
Sfx_Init: Initializing SDL_mixer...
DS_Load: Loading of libdssdlmixer failed.
Sfx_Init: Driver init failed. Sfx is disabled.
Any kind of help would be appreciated, thank you very much.
bungnugget is offline   Reply With Quote
Old January 28th, 2005, 07:49 AM   #2
lord-noctrun
Commander Keen
 
Join Date: Jul 2003
Posts: 215
that are two different problems: first off if you run doomsday with the resource pack you are need to give more memory than 32 mb (default use the -maxzone parameter but note you need to add a m behind the number or it will use kbs and not mbs: -maxzone 128m, needless to say don't give doomsday all of your system ram or even more) that might rid you of the sdl paracute

second: sound is disabled as it doesn't find the sdl-lib, as for libsdlmixer, you're lucky that I am a fellow debian user: the name of package is libsdl-mixer1.2 (and libsdl-mixer1.2-dev if you want to compile yourself)

oh yeah please don't edit the doomsday.out file when posting it, I thought you had a annother problem regarding the the pk3 loading at first. I was expecting the long list of pk3s
lord-noctrun is offline   Reply With Quote
Old January 28th, 2005, 07:46 PM   #3
bungnugget
Commander Keen
 
Join Date: Jan 2005
Posts: 2
I might just be an idiot.
I have a 128mb RAM 866Mhz system, a sony vaio purchasedin 2001, and the video card is well, crappy.
Also the sdl mixer packages are installed.
I ran the game with -nosfx -nosound parameters and it loaded, the doom window came up but I was unable to get to the menu, the mouse stopped resonding, and it seemd like my pc froze up. so I was unable to play the game. I had to restart X in order to get my pc to be in a useable state.

I looked hard but I didn't find any System Req. for jdoom. Is my system not able to run this engine? With or without resource packs? Can I still run doom using this engine, and not use the 3-D models? If I want to just use this engine with sprites and no 3D models, how should I go about doing this?

Thank you very mucy for the response.
bungnugget is offline   Reply With Quote
Old January 29th, 2005, 02:58 PM   #4
lord-noctrun
Commander Keen
 
Join Date: Jul 2003
Posts: 215
I ran doomsday on a 400 mhz, 64 mb ram and a 32mb tnt2 gfx card without the resource pack (it worked but it was too slow for my taste)

doomsday does have one requirement that your system has to meet: opengl hardware acceleration, so it would be good to know what gfx card you have
lord-noctrun is offline   Reply With Quote
Old July 25th, 2005, 11:23 PM   #5
njbair
Commander Keen
 
Join Date: Jun 2004
Location: Clevo
Posts: 100
Wow, I haven't posted here in a long time. I am having the same libdssdlmixer problem. The log is identical. I'm running Gentoo and have installed all of the SDL packages. I can't figure out what the problem is and everybody else seems to not have this issue. The game runs great with -nosound, but what fun is that? Thanks in advance for help.
njbair is offline   Reply With Quote
Old July 26th, 2005, 12:00 AM   #6
Yagisan
Commander Keen
 
Join Date: Jan 2005
Posts: 1,057
Sorry not a Gentoo user,

Doesn't Gentoo have a ebuild that should set this up automatically ?
If you had Debian/Ubuntu there are packages available now that work fine.

BTW, instead of bumping a months old thread, perhaps a new thread with your output could be helpful.
Yagisan is offline   Reply With Quote
Old July 26th, 2005, 12:16 AM   #7
njbair
Commander Keen
 
Join Date: Jun 2004
Location: Clevo
Posts: 100
As I mentioned, the log output is identical (at least the error portion), and I just figured I'd do my part to keep the forum clean by replying to this thread. But I guess for kicks I'll share my stuff:

Command Line:
Code:
doomsday -g jdoom -f ~/Doomsday/data/jDoom/DOOM1.WAD -ud ~/Doomsday/data/jDoom
Doomsday.out:
Code:
Con_Init: Initializing the console.
SW_Init: Startup message window opened.
Executable: Version 1.8.6 Jul  1 2005 (DGL).
Memory zone: 32.0 Mb.
Parsing configuration files.
W_Init: Init WADfiles.
W_AddFile: /home/njbair/Doomsday/data/jDoom/DOOM1.WAD
  IWAD identification: 00491f3f
W_AddFile: Data/Doomsday.wad
W_AddFile: Data/jDoom/jDoom.wad
  IWAD identification: 00056533
Reading definition file: Defs/Doomsday.ded
Reading definition file: Defs/jDoom/jDoom.ded
  138 sprite names
  974 states
  140 things
    8 lights
  112 sound effects
   68 songs
  335 text strings
   27 particle generators
   22 animation groups
   49 surface decorations
   69 map infos
    6 finales
Sys_Init: Setting up machine state.
Sys_Init: Initializing keyboard, mouse and joystick.
Sys_InitTimer.
Sfx_Init: Initializing SDL_mixer...
DS_Load: Loading of libdssdlmixer failed.
Sfx_Init: Driver init failed. Sfx is disabled.
The very next line says:
Code:
Fatal signal: Segmentation Fault (SDL Parachute Deployed)
Gentoo calculates and installs dependencies, so when I install the Doomsday ebuild it automatically installs libsdl et. al. That's what's driving me crazy. The stuff is there, it's just not working. I'm not really familiar with SDL and how to troubleshoot it so I'm kind of stuck for now, since "loading failed" is not the most descriptive error ever.
njbair is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Resolved] Migrating a very nice doomsday with kickstart from windows to linux. DoctorX Doomsday 8 September 5th, 2006 11:06 PM
deng 1.8.6 does not compile on debian 64bit linux orclex Doomsday 3 May 26th, 2005 09:24 AM
Crash under Debian GNU/Linux CyberSeal Doomsday 5 October 17th, 2004 10:17 PM
Convert Your Linksys Router To Run Linux Looney Tech Support 3 April 10th, 2004 09:13 AM
Mystics disposable camera extravaganza mystic Rants & Raves 141 October 26th, 2002 12:13 PM


All times are GMT -7. The time now is 12:03 PM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
NewDoom.com © 2000-2009 Mindless Games & Entertainment. All Rights Reserved.