Search found 41 matches

by _sd
Sat May 27, 2006 9:32 am
Forum: D2X-XL
Topic: D2X-XL Bug Reports - Linux
Replies: 227
Views: 30029

Maybe the game should default to ~/.d2x-xl as the data directory, and keep all the read-only data in /usr/something. I don't see any reason why it should know about all the different pilots present in the machine. Also, it could complain about all cmdline switches it didn't understand, and somehow a...
by _sd
Thu May 25, 2006 7:45 am
Forum: D2X-XL
Topic: D2X-XL Bug Reports - Linux
Replies: 227
Views: 30029

Error: Could not set 640x480x32 opengl video mode

This seems to be the problem. What possible causes are there? xrandr gives me valid output with 640x480 included, and glxinfo says that I have OpenGL acceleration.
by _sd
Thu May 25, 2006 7:26 am
Forum: D2X-XL
Topic: D2X-XL Bug Reports - Linux
Replies: 227
Views: 30029

Odd thing is, it does not segfault with --enable-debug. I've already done the debugging. The game runs in the loop that waits for the user to pick a pilot. Only problem is that the window is not displayed. Not in my Matrox machine, and not in my GeForce2 machine. The loop tightens after the first Ct...
by _sd
Thu May 25, 2006 5:35 am
Forum: D2X-XL
Topic: D2X-XL Bug Reports - Linux
Replies: 227
Views: 30029

About linux 1.6.58 compiled from source Without debug enabled in configure, the executable will run, wait for some time, and then segfault. It will not display any error messages or any windows. My X setup does support OpenGL, and has direct rendering enabled. With debug enabled at compile time, the...
by _sd
Sun Apr 16, 2006 2:56 am
Forum: D2X-XL
Topic: D2X-XL Bug Reports - Linux
Replies: 227
Views: 30029

Version 1.6.17, compiled from source in linux, a debug build When not using printlog or debug, the game runs, consumes some memory, and then segfaults. With debug, it runs, and requires twice pressing Ctrl+C to get back to console, with no error messages. Relevant portion of d2x.log is: Error: Could...
by _sd
Sat Mar 25, 2006 2:43 am
Forum: D2X-XL
Topic: D2X-XL Bug Reports - Linux
Replies: 227
Views: 30029

The machine with the Nvidia GeForce 2 MX is stuck inside newmenu.c:newmenu_get_filename(). It runs all the time, redrawing the menu, but the window is not displayed on screen. After my first Ctrl+C keypress, the game doesn't call any drawing functions anymore, but instead runs a small loop of some h...
by _sd
Tue Mar 21, 2006 12:34 pm
Forum: D2X-XL
Topic: D2X-XL Bug Reports - Linux
Replies: 227
Views: 30029

With 1.5.177 .zip sourcecode extracted on top of 1.5.177 .tgz sourcecode, -debug-printlog works. No MEM_FREE_NOMALLOC errors appear in stdout, but there are exactly 418 of them in d2x.log The backtrace of the first MEM_FREE_NOMALLOC is identical to the one posted above. Parts from the logfile: Loadi...
by _sd
Mon Mar 20, 2006 2:12 pm
Forum: D2X-XL
Topic: D2X-XL Bug Reports - Linux
Replies: 227
Views: 30029

I decided to use --enable-debug until I am able to play d2x-xl with my 2nd machine and its GeForce 2 MX. Do you suggest I forget the MEM_FREE_NOMALLOC and report only segfaults and SDL parachutes? The most recent might need to be reported to SDL or ALSA developers. Or what do you think? If that is s...
by _sd
Mon Mar 20, 2006 12:08 pm
Forum: D2X-XL
Topic: D2X-XL Bug Reports - Linux
Replies: 227
Views: 30029

linux 1.5.171 with your proposed changes to ogl.c

I'll get 1.5.176 and try it immediately

Update. The shader-related segfault is gone with 1.5.176. The MEM_FREE_NOMALLOC problem is still there, i.e. running ./d2x-gl only gives me about 300 of them and then exit. No d2x-gl window appears at all.
by _sd
Mon Mar 20, 2006 10:35 am
Forum: D2X-XL
Topic: D2X-XL Bug Reports - Linux
Replies: 227
Views: 30029

Now I got 300 times MEM_FREE_NOMALLOC: An attempt was made to free a ptr that wasn't allocated with mem.h included and then the game exited. I redirected stderr to a file, and there was one row in the middle of all that said Fatal signal: Floating Point Exception (SDL Parachute Deployed) Debugging t...
by _sd
Sun Mar 19, 2006 12:29 pm
Forum: D2X-XL
Topic: D2X-XL Bug Reports - Linux
Replies: 227
Views: 30029

On my secondary computer, the game segfaults with Program received signal SIGSEGV, Segmentation fault. Debugger shows the problem at line 1441 of ogl.c if (!gameOpts->render.bUseShaders || Cancel everything I had written here a moment ago. I was running the old d2x 0.2.6 and thinking I was running d...
by _sd
Sun Mar 19, 2006 12:19 pm
Forum: D2X-XL
Topic: D2X-XL Bug Reports - Linux
Replies: 227
Views: 30029

No, -sdl_mixer 0 or -sdl_mixer 1 do not help. The game exits immediately with both. -nosound allows to run the game, as do -sound11k and -sound22k. Which, by the way, uses the old menustyle now by default. -sdl_mixer 0 or -sdl_mixer 1 do not cause any problems if I use at least -nosound, -sound11k o...
by _sd
Sun Mar 19, 2006 9:17 am
Forum: D2X-XL
Topic: D2X-XL Bug Reports - Linux
Replies: 227
Views: 30029

In version 1.5.171 digi_init () at digi.c 276 if (SDL_OpenAudio (&WaveSpec, NULL) < 0) { Program received signal SIGSEGV, Segmentation fault. 0xb7e08a3c in SDL_BuildAudioCVT () from /usr/lib/libSDL-1.2.so.0 Single stepping until exit from function SDL_BuildAudioCVT, which has no line number info...
by _sd
Sun Mar 19, 2006 1:20 am
Forum: D2X-XL
Topic: D2X-XL Bug Reports - Linux
Replies: 227
Views: 30029

Is there a way I could get sources for different versions between .150 and .171? Thus I could report where the change happened that causes the crash. Version 158 crashes with the same 2 lines long message. Regrettably, I don't have any versions between 150 and 158. But meanwhile I could try the debu...
by _sd
Sat Mar 18, 2006 1:05 pm
Forum: D2X-XL
Topic: D2X-XL Bug Reports - Linux
Replies: 227
Views: 30029

Compiled linux version 1.5.171 from source, and running the executable results in:

Fatal signal: Segmentation Fault (SDL Parachute Deployed)
Segmentation fault

Whereas 1.5.150 compiled and run in the same environment, works.
by _sd
Wed Mar 08, 2006 2:50 pm
Forum: D2X-XL
Topic: D2X-XL Bug Reports - Linux
Replies: 227
Views: 30029

Here too -sound22k makes the game run (linux 1.5.158 compiled from source), but with old style menus for some odd reason.
by _sd
Wed Mar 08, 2006 2:08 pm
Forum: D2X-XL
Topic: D2X-XL Bug Reports - Linux
Replies: 227
Views: 30029

What could I be missing then? In linux, I can run version 137 and 150, but 158 deploys the parachute and segfaults.
by _sd
Fri Mar 03, 2006 10:54 am
Forum: D2X-XL
Topic: D2X-XL Bug Reports - Linux
Replies: 227
Views: 30029

I'm thinking about that right now. Sure I can afford a video card anytime. But it will be 1. second hand and 2. fanless, because I can't justify any costs bigger than that and I want a quiet machine. I am no big gamer, so there was no problem for me in sticking with an old Matrox, especially because...
by _sd
Fri Mar 03, 2006 9:38 am
Forum: D2X-XL
Topic: D2X-XL Bug Reports - Linux
Replies: 227
Views: 30029

I tried the original d2x-gl now. If I cycle through menus on and on, it too eats meory. I'm starting to hate Matrox and the X.org drivers so much. I can play original d2x-gl in OpenGL mode. Moving the window to stop the flashing works there too. And if I'm using fullscreen, switching virtual console...
by _sd
Thu Mar 02, 2006 1:05 pm
Forum: D2X-XL
Topic: D2X-XL Bug Reports - Linux
Replies: 227
Views: 30029

Well, this feels a bit silly... the running leak does not happen in the player selection menu, with old menustyle. It happens in the main menu. It does not happen in the mission selection menu, but it does happen in the skill selection menu. When I, instead of choosing a pilot, run the cursor up and...
by _sd
Thu Mar 02, 2006 10:45 am
Forum: D2X-XL
Topic: D2X-XL Bug Reports - Linux
Replies: 227
Views: 30029

The message I wrote to the d2x list was intended to see if anyone else has heard anything about a similar problem, and this far nobody has. I don't have the memory leak problem with any other game. It doesn't happen with d2x-rebirth, it doesn't happen with original d2x. It doesn't happen with any Do...
by _sd
Sat Feb 25, 2006 2:03 pm
Forum: D2X-XL
Topic: D2X-XL Bug Reports - Linux
Replies: 227
Views: 30029

I'll try to compile d2x-xl tomorrow in an Ubuntu box. I also filed a bug in Freedesktop bugzilla about the memory leak. I still don't get the midi_volume thing. Should I define it or not? Or where is it supposed to come from? Do I have an outdated ALSA, or what else could it be? If there is no defau...
by _sd
Sat Feb 25, 2006 1:48 pm
Forum: D2X-XL
Topic: D2X-XL Bug Reports - Linux
Replies: 227
Views: 30029

I had \"-player jaakko\" in a file called .d2x-xl in my home dir. Still segfaulted. Tried putting the same string into /usr/local/share/d2x-xl/d2x.ini, with the same result.

Is there an automatic way the game will do this, or will every user need to know to put it there?
by _sd
Sat Feb 25, 2006 8:26 am
Forum: D2X-XL
Topic: D2X-XL Bug Reports - Linux
Replies: 227
Views: 30029

Setting the midi_volume to 4 enables me to compile the game (1.5.132), but when running, I get Fatal signal: Segmentation Fault (SDL Parachute Deployed) and nothing else. The 1.5.127 version still runs fine, with the exception of the memory hog problem, which I am still trying to solve. The binary 1...
by _sd
Fri Feb 24, 2006 11:23 am
Forum: D2X-XL
Topic: D2X-XL Bug Reports - Linux
Replies: 227
Views: 30029

gunzip: d2x-xl-src-1.5.132.tgz: unexpected end of file File size 593920 bytes Not a partial download. I tried refreshing the webpage, redownloading the file, and downloading the file with another browser. But it was always the same file. I'm not using proxies. Update - It's ok now! (the file - the l...
by _sd
Fri Feb 24, 2006 10:42 am
Forum: D2X-XL
Topic: D2X-XL Bug Reports - Linux
Replies: 227
Views: 30029

With 1.5.132 source, a linker error: gcc -I ./arch/linux/include -I/usr/include/SDL -D_REENTRANT -pipe -O2 -Wall -Wno-char-subscripts -o d2x-gl main/libmain.a 3d/lib3d.a 2d/lib2d.a arch/linux/libarch_linux.a arch/ogl/libarch_ogl.a arch/sdl/libarch_sdl.a libmve/libmve.a mem/libmem.a iff/libiff.a texm...
by _sd
Wed Feb 22, 2006 5:54 am
Forum: D2X-XL
Topic: D2X-XL Bug Reports - Linux
Replies: 227
Views: 30029

The memory hogging allocations are not done through mem.c's mem_malloc. Either some part of the code (probably in font.c) do allocations some other way, or there is a leak in X's drivers or the SDL library. mem_malloc doesn't get called at all after the pilot selection menu has appeared. Update -- A...
by _sd
Tue Feb 21, 2006 3:13 pm
Forum: D2X-XL
Topic: D2X-XL Bug Reports - Linux
Replies: 227
Views: 30029

Ok. It took me this night to figure out what is debugging and how to use a debugger. Going to sleep now, and will try that tomorrow. I knew it had to do with the placement of the breakpoints.
by _sd
Tue Feb 21, 2006 2:07 pm
Forum: D2X-XL
Topic: D2X-XL Bug Reports - Linux
Replies: 227
Views: 30029

I am running a loop in newmenu.c and I have breakpoints at lines 3686, 3693, 3697 and 3731. The allocations happen between 3693 and 3731, both before and after the break at 3697. Those lines come and go in an infinite loop, until I choose the pilot. Is this the way it should go? I have two pilots. L...
by _sd
Tue Feb 21, 2006 11:17 am
Forum: D2X-XL
Topic: D2X-XL Bug Reports - Linux
Replies: 227
Views: 30029

To chech memory consumption under linux, I run a program called 'top' in a terminal window. From another terminal windows I run d2x-xl. This would look better with a fixed width font. top - 19:10:51 up 3 days, 1:33, 13 users, load average: 0.20, 0.39, 0.48 Tasks: 127 total, 1 running, 124 sleeping, ...
by _sd
Tue Feb 21, 2006 10:50 am
Forum: D2X-XL
Topic: D2X-XL Bug Reports - Linux
Replies: 227
Views: 30029

About the memory hog problem. The cause of it is probably not in the menu code. Whereas displaying the in-game help (by pressing F1) caused a hogging speed of about one megabyte in two seconds, the credits screen (accessible from the main menu) made a record of 22 megabytes per second. I really wish...
by _sd
Mon Feb 20, 2006 2:31 pm
Forum: D2X-XL
Topic: D2X-XL Bug Reports - Linux
Replies: 227
Views: 30029

Compiled 1.5.125 source. Went perfectly, no problems. Then, running the binary, the memory hog problem is still there. This is a part from /proc/6773/smaps (the d2x-gl process): 0813e000-196d3000 rw-p 0813e000 00:00 0 [heap] Size: 284244 kB Rss: 247736 kB Shared_Clean: 12 kB Shared_Dirty: 4980 kB Pr...
by _sd
Mon Feb 20, 2006 11:41 am
Forum: D2X-XL
Topic: D2X-XL Bug Reports - Linux
Replies: 227
Views: 30029

I ran it as root. It worked, and it is beeeautiful! Only problem is that while I am in any menu, the memory taken by d2x-xl keeps growing. As soon as I enter the game, the memory usage stays same. But as soon as I exit the game and enter the main menu, the memory usage starts growing again. Update: ...
by _sd
Mon Feb 20, 2006 10:09 am
Forum: D2X-XL
Topic: D2X-XL Bug Reports - Linux
Replies: 227
Views: 30029

The game has write permission to everything in my home directory. The game does not have write permission to /usr/local/share/d2x-xl/ where the datafiles are located. I have no idea where it tries to create the files, because it doesn't tell me anything. The -debug switch only outputs: Built: Feb 17...
by _sd
Sun Feb 19, 2006 6:59 am
Forum: D2X-XL
Topic: D2X-XL Bug Reports - Linux
Replies: 227
Views: 30029

Stuck in the way that I have no pilots created yet. So, when d2x-xl asks me to select a pilot, the only possibility is to <CREATE NEW>. I give the pilot my name, and it asks me to pick a controller. I choose KEYBOARD ONLY. Then I think it should put me to the main menu. Instead, it takes me back to ...
by _sd
Sun Feb 19, 2006 2:20 am
Forum: D2X-XL
Topic: D2X-XL Bug Reports - Linux
Replies: 227
Views: 30029

It worked. I was able to compile it. But now I'm again stuck at the pilot selection screen. This same happens with linux 1.5.121 binary.
by _sd
Sat Feb 18, 2006 4:11 am
Forum: D2X-XL
Topic: D2X-XL Bug Reports - Linux
Replies: 227
Views: 30029

I thought that

#define RENDER2TEXTURE 0

is the 2nd fallback solution. My distro is an up-to-date Gentoo, but my graphics card is only a Matrox G400.
by _sd
Sat Feb 18, 2006 3:19 am
Forum: D2X-XL
Topic: D2X-XL Bug Reports - Linux
Replies: 227
Views: 30029

New source found

I'll get the 1.5.121 source and then tell what happened.

Edit: Got the exact same results with 1.5.121 source.
by _sd
Sat Feb 18, 2006 3:17 am
Forum: D2X-XL
Topic: D2X-XL Bug Reports - Linux
Replies: 227
Views: 30029

Fighting to compile 116 source in linux

With source d2x-xl-src-1.5.116.tar and linux, I tried to solve the OpenGL problem. I commented out one #ifdef and one #endif in arch/ogl/fbuffer.c, and likewise in include/fbuffer.h There is also #ifdef _WIN32 # include <windows.h> # include <stddef.h> # include <io.h> #endif in arch/ogl/fbuffer.c a...
by _sd
Fri Feb 17, 2006 3:59 pm
Forum: D2X-XL
Topic: A compile error, d2x-xl-src 116 and linux
Replies: 1
Views: 1444

A compile error, d2x-xl-src 116 and linux

I hope this bug report belongs here. I will post more information if requested. make[2]: Entering directory `/d2xl-src/src' gcc -I ./arch/linux/include -I/usr/include/SDL -D_REENTRANT -pipe -O2 -Wall -Wno-char-subscripts -o d2x-gl main/libmain.a 3d/lib3d.a 2d/lib2d.a arch/linux/libarch_linux.a arch/...