I replaced the archive here with one having sdl with XInput crap compiled out. It now peacefully segfaults in fglrx on my precise box, which means the XInput problem should be no more.
I now get
./fgt -dfdir ../df3410 dumps/driftwood.dump raw/fakefloors
INFO:fgt.sdl_init:SDL_GL_DOUBLEBUFFER requested 1 got 1
INFO:fgt.sdl_init:SDL_GL_CONTEXT_MAJOR_VERSION requested 3 got 3
INFO:fgt.sdl_init:SDL_GL_CONTEXT_MINOR_VERSION requested 2 got 2
INFO:fgt.sdl_init:SDL_GL_CONTEXT_PROFILE_MASK requested 1 got 1
INFO:fgt.sdl_init:SDL_GL_CONTEXT_FLAGS requested 2 got 2
INFO:fgt.raws._parse_raws:yamnomnom done.
Traceback (most recent call last):
File "./fgtestbed.py", line 778, in <module>
main()
File "./fgtestbed.py", line 770, in main
dump_dir = None)
File "/media/Linux_Data/Dwarf_Fortress/Test_Fortress/printmodeshader3/fgt-oneiric2/fgtestbed/raw.py", line 1643, in __init__
self._parse_raws(dfprefix, fgraws, dump_dir)
File "/media/Linux_Data/Dwarf_Fortress/Test_Fortress/printmodeshader3/fgt-oneiric2/fgtestbed/raw.py", line 1667, in _parse_raws
fontpath, colortab = InitParser(dfprefix).get()
File "/media/Linux_Data/Dwarf_Fortress/Test_Fortress/printmodeshader3/fgt-oneiric2/fgtestbed/raw.py", line 589, in __init__
self.parse_file(init, self.init_handler)
File "/media/Linux_Data/Dwarf_Fortress/Test_Fortress/printmodeshader3/fgt-oneiric2/fgtestbed/raw.py", line 428, in parse_file
data = open(fna, encoding=enc).read()
IOError: [Errno 2] No such file or directory: '../df3410/data/init/init.txt'
It crashes right after the window opens.
It looks like you did not include the 0.34.10 raws in the archive.
After changing the command to point to the v0.34.10 raws I get.
./fgt -dfdir /media/Linux_Data/Dwarf_Fortress/Vanilla_Games/df_34_10_linux/df_linux dumps/driftwood.dump raw/fakefloors
INFO:fgt.sdl_init:SDL_GL_DOUBLEBUFFER requested 1 got 1
INFO:fgt.sdl_init:SDL_GL_CONTEXT_MAJOR_VERSION requested 3 got 3
INFO:fgt.sdl_init:SDL_GL_CONTEXT_MINOR_VERSION requested 2 got 2
INFO:fgt.sdl_init:SDL_GL_CONTEXT_PROFILE_MASK requested 1 got 1
INFO:fgt.sdl_init:SDL_GL_CONTEXT_FLAGS requested 2 got 2
INFO:fgt.raws._parse_raws:yamnomnom done.
INFO:fgt.raws._parse_raws:init.txt done.
Traceback (most recent call last):
File "./fgtestbed.py", line 778, in <module>
main()
File "./fgtestbed.py", line 770, in main
dump_dir = None)
File "/media/Linux_Data/Dwarf_Fortress/Test_Fortress/printmodeshader3/fgt-oneiric2/fgtestbed/raw.py", line 1643, in __init__
self._parse_raws(dfprefix, fgraws, dump_dir)
File "/media/Linux_Data/Dwarf_Fortress/Test_Fortress/printmodeshader3/fgt-oneiric2/fgtestbed/raw.py", line 1671, in _parse_raws
boo.eat(stdraws)
File "/media/Linux_Data/Dwarf_Fortress/Test_Fortress/printmodeshader3/fgt-oneiric2/fgtestbed/raw.py", line 490, in eat
self.parse_file(f, self.parse_token)
File "/media/Linux_Data/Dwarf_Fortress/Test_Fortress/printmodeshader3/fgt-oneiric2/fgtestbed/raw.py", line 433, in parse_file
raise RuntimeError("File '{}' is neither utf8 nor cp1252".format(fna))
RuntimeError: File '/media/Linux_Data/Dwarf_Fortress/Vanilla_Games/df_34_10_linux/df_linux/raw/objects/language_ELF.txt' is neither utf8 nor cp1252
I will see what resaveing that file in utf-8 does.
After resaveing the elf and dwarf language files in utf-8 it worked.
./fgt -dfdir /media/Linux_Data/Dwarf_Fortress/Vanilla_Games/df_34_10_linux/df_linux dumps/driftwood.dump raw/fakefloors
INFO:fgt.sdl_init:SDL_GL_DOUBLEBUFFER requested 1 got 1
INFO:fgt.sdl_init:SDL_GL_CONTEXT_MAJOR_VERSION requested 3 got 3
INFO:fgt.sdl_init:SDL_GL_CONTEXT_MINOR_VERSION requested 2 got 2
INFO:fgt.sdl_init:SDL_GL_CONTEXT_PROFILE_MASK requested 1 got 1
INFO:fgt.sdl_init:SDL_GL_CONTEXT_FLAGS requested 2 got 2
INFO:fgt.raws._parse_raws:yamnomnom done.
INFO:fgt.raws._parse_raws:init.txt done.
INFO:fgt.raws._parse_raws:df material templates done.
INFO:fgt.raws._parse_raws:df materials done.
INFO:fgt.raws.RawsCart.compile:nonmat/NONEMAT/Waterfall no cels defined.
INFO:fgt.raws.RawsCart.compile:nonmat/NONEMAT/Chasm no cels defined.
INFO:fgt.raws.RawsCart.compile:nonmat/NONEMAT/Fire no cels defined.
INFO:fgt.raws.RawsCart.compile:nonmat/NONEMAT/Void no cels defined.
INFO:fgt.raws.RawsCart.compile:nonmat/NONEMAT/MurkyPool no cels defined.
INFO:fgt.raws.RawsCart.compile:nonmat/NONEMAT/GlowingBarrier no cels defined.
INFO:fgt.raws.RawsCart.compile:nonmat/NONEMAT/OpenSpace no cels defined.
INFO:fgt.raws.RawsCart.compile:nonmat/NONEMAT/Campfire no cels defined.
INFO:fgt.raws.RawsCart.compile:nonmat/NONEMAT/EeriePit no cels defined.
INFO:fgt.raws.RawsCart.compile:nonmat/NONEMAT/MagmaFlow no cels defined.
INFO:fgt.raws.RawsCart.compile:nonmat/NONEMAT/GlowingFloor no cels defined.
INFO:fgt.raws.RawsCart.compile:nonmat/NONEMAT/RampTop no cels defined.
DEBUG:fgt.raws.InflateFrameseq:len(keyframes) = 5
INFO:fgt.raws._parse_raws:compile done, 13088 code units.
INFO:fgt.raws._parse_raws:Pageman(): 2 pages 512 tiles, font 352K; findex 4K; surface: rgba_surface(size=2048x44, SDL_PIXELFORMAT_ABGR8888, do_free=True)
INFO:fgt.raws._assemble_blitcode:13088 code units emitted, maxframes=24 codedepth=24
INFO:fgt.raws._assemble_blitcode:tileflags: 699x1x1; 2K
INFO:fgt.raws._assemble_blitcode:dispatch: 478x699x1; 1305K
INFO:fgt.raws._assemble_blitcode:blitcode: 115x115x24; 4959K
WARNING:fgt.CArrray:65536 extra bytes
INFO:fgt.mapdata:loaded 192x192x144 81M
INFO:fgt.renderer.init:GridVAO(size=Size2(w=166, h=72) num=11952)
INFO:fgt.renderer.init:Size2(w=1280, h=800)
Trying to move with the arrow keys crashed with this error.
Traceback (most recent call last):
File "./fgtestbed.py", line 778, in <module>
main()
File "./fgtestbed.py", line 774, in main
rednr.loop(pa.choke)
File "./fgtestbed.py", line 691, in loop
boost = 10 if ev.mod & 3 else 1
AttributeError: 'SDL_Event' object has no attribute 'mod'
I am getting a gfps of 60-62 with a vanilla v0.34.10 install.
I will take some screenshots after I install a tileset, probably tomorrow.