Search found 41 matches
- Sat May 27, 2006 9:32 am
- Forum: D2X-XL
- Topic: D2X-XL Bug Reports - Linux
- Replies: 227
- Views: 37082
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...
- Thu May 25, 2006 7:45 am
- Forum: D2X-XL
- Topic: D2X-XL Bug Reports - Linux
- Replies: 227
- Views: 37082
- Thu May 25, 2006 7:26 am
- Forum: D2X-XL
- Topic: D2X-XL Bug Reports - Linux
- Replies: 227
- Views: 37082
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...
- Thu May 25, 2006 5:35 am
- Forum: D2X-XL
- Topic: D2X-XL Bug Reports - Linux
- Replies: 227
- Views: 37082
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...
- Sun Apr 16, 2006 2:56 am
- Forum: D2X-XL
- Topic: D2X-XL Bug Reports - Linux
- Replies: 227
- Views: 37082
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...
- Sat Mar 25, 2006 2:43 am
- Forum: D2X-XL
- Topic: D2X-XL Bug Reports - Linux
- Replies: 227
- Views: 37082
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...
- Tue Mar 21, 2006 12:34 pm
- Forum: D2X-XL
- Topic: D2X-XL Bug Reports - Linux
- Replies: 227
- Views: 37082
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...
- Mon Mar 20, 2006 2:12 pm
- Forum: D2X-XL
- Topic: D2X-XL Bug Reports - Linux
- Replies: 227
- Views: 37082
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...
- Mon Mar 20, 2006 12:08 pm
- Forum: D2X-XL
- Topic: D2X-XL Bug Reports - Linux
- Replies: 227
- Views: 37082
- Mon Mar 20, 2006 10:35 am
- Forum: D2X-XL
- Topic: D2X-XL Bug Reports - Linux
- Replies: 227
- Views: 37082
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...
- Sun Mar 19, 2006 12:29 pm
- Forum: D2X-XL
- Topic: D2X-XL Bug Reports - Linux
- Replies: 227
- Views: 37082
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...
- Sun Mar 19, 2006 12:19 pm
- Forum: D2X-XL
- Topic: D2X-XL Bug Reports - Linux
- Replies: 227
- Views: 37082
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...
- Sun Mar 19, 2006 9:17 am
- Forum: D2X-XL
- Topic: D2X-XL Bug Reports - Linux
- Replies: 227
- Views: 37082
- Sun Mar 19, 2006 1:20 am
- Forum: D2X-XL
- Topic: D2X-XL Bug Reports - Linux
- Replies: 227
- Views: 37082
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...
- Sat Mar 18, 2006 1:05 pm
- Forum: D2X-XL
- Topic: D2X-XL Bug Reports - Linux
- Replies: 227
- Views: 37082
- Wed Mar 08, 2006 2:50 pm
- Forum: D2X-XL
- Topic: D2X-XL Bug Reports - Linux
- Replies: 227
- Views: 37082
- Wed Mar 08, 2006 2:08 pm
- Forum: D2X-XL
- Topic: D2X-XL Bug Reports - Linux
- Replies: 227
- Views: 37082
- Fri Mar 03, 2006 10:54 am
- Forum: D2X-XL
- Topic: D2X-XL Bug Reports - Linux
- Replies: 227
- Views: 37082
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...
- Fri Mar 03, 2006 9:38 am
- Forum: D2X-XL
- Topic: D2X-XL Bug Reports - Linux
- Replies: 227
- Views: 37082
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...
- Thu Mar 02, 2006 1:05 pm
- Forum: D2X-XL
- Topic: D2X-XL Bug Reports - Linux
- Replies: 227
- Views: 37082
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...
- Thu Mar 02, 2006 10:45 am
- Forum: D2X-XL
- Topic: D2X-XL Bug Reports - Linux
- Replies: 227
- Views: 37082
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...
- Sat Feb 25, 2006 2:03 pm
- Forum: D2X-XL
- Topic: D2X-XL Bug Reports - Linux
- Replies: 227
- Views: 37082
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...
- Sat Feb 25, 2006 1:48 pm
- Forum: D2X-XL
- Topic: D2X-XL Bug Reports - Linux
- Replies: 227
- Views: 37082
- Sat Feb 25, 2006 8:26 am
- Forum: D2X-XL
- Topic: D2X-XL Bug Reports - Linux
- Replies: 227
- Views: 37082
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...
- Fri Feb 24, 2006 11:23 am
- Forum: D2X-XL
- Topic: D2X-XL Bug Reports - Linux
- Replies: 227
- Views: 37082
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...
- Fri Feb 24, 2006 10:42 am
- Forum: D2X-XL
- Topic: D2X-XL Bug Reports - Linux
- Replies: 227
- Views: 37082
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...
- Wed Feb 22, 2006 5:54 am
- Forum: D2X-XL
- Topic: D2X-XL Bug Reports - Linux
- Replies: 227
- Views: 37082
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...
- Tue Feb 21, 2006 3:13 pm
- Forum: D2X-XL
- Topic: D2X-XL Bug Reports - Linux
- Replies: 227
- Views: 37082
- Tue Feb 21, 2006 2:07 pm
- Forum: D2X-XL
- Topic: D2X-XL Bug Reports - Linux
- Replies: 227
- Views: 37082
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...
- Tue Feb 21, 2006 11:17 am
- Forum: D2X-XL
- Topic: D2X-XL Bug Reports - Linux
- Replies: 227
- Views: 37082
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, ...
- Tue Feb 21, 2006 10:50 am
- Forum: D2X-XL
- Topic: D2X-XL Bug Reports - Linux
- Replies: 227
- Views: 37082
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...
- Mon Feb 20, 2006 2:31 pm
- Forum: D2X-XL
- Topic: D2X-XL Bug Reports - Linux
- Replies: 227
- Views: 37082
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...
- Mon Feb 20, 2006 11:41 am
- Forum: D2X-XL
- Topic: D2X-XL Bug Reports - Linux
- Replies: 227
- Views: 37082
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: ...
- Mon Feb 20, 2006 10:09 am
- Forum: D2X-XL
- Topic: D2X-XL Bug Reports - Linux
- Replies: 227
- Views: 37082
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...
- Sun Feb 19, 2006 6:59 am
- Forum: D2X-XL
- Topic: D2X-XL Bug Reports - Linux
- Replies: 227
- Views: 37082
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 ...
- Sun Feb 19, 2006 2:20 am
- Forum: D2X-XL
- Topic: D2X-XL Bug Reports - Linux
- Replies: 227
- Views: 37082
- Sat Feb 18, 2006 4:11 am
- Forum: D2X-XL
- Topic: D2X-XL Bug Reports - Linux
- Replies: 227
- Views: 37082
- Sat Feb 18, 2006 3:19 am
- Forum: D2X-XL
- Topic: D2X-XL Bug Reports - Linux
- Replies: 227
- Views: 37082
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.
Edit: Got the exact same results with 1.5.121 source.
- Sat Feb 18, 2006 3:17 am
- Forum: D2X-XL
- Topic: D2X-XL Bug Reports - Linux
- Replies: 227
- Views: 37082
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...
- Fri Feb 17, 2006 3:59 pm
- Forum: D2X-XL
- Topic: A compile error, d2x-xl-src 116 and linux
- Replies: 1
- Views: 1468
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/...