It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
Hello,

I know it is not designed to Arch Linux, but it usually works, so I always give it a try. It installed with no errors, via terminal, but when launching it start creating an empty window for a fraction of a second and just exits.

I tried to use the instructions from the Arch Linux wiki as well, with no luck.

I'm on a Ryzen 5 5600G using the built-in Radeon, with mesa and opencl-radeon drivers installed.

When running from the terminal, I have this message:

Running Torchlight 2
Creating resource group General
Creating resource group Internal
Creating resource group Autodetect
SceneManagerFactory for type 'DefaultSceneManager' registered.
Registering ResourceManager for type Material
Registering ResourceManager for type Mesh
Registering ResourceManager for type Skeleton
MovableObjectFactory for type 'ParticleSystem' registered.
OverlayElementFactory for type Panel registered.
OverlayElementFactory for type BorderPanel registered.
OverlayElementFactory for type TextArea registered.
Registering ResourceManager for type Font
ArchiveFactory for archive type FileSystem registered.
ArchiveFactory for archive type Zip registered.
DDS codec registering
FreeImage version: 3.13.1
This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See for details
Supported formats: bmp,ico,jpg,jif,jpeg,jpe,jng,koa,iff,lbm,mng,pbm,pbm,pcd,pcx,pgm,pgm,png,ppm,ppm,ras,tga,targa,tif,tiff,wap,wb mp,wbm,psd,cut,xbm,xpm,gif,hdr,g3,sgi,exr,j2k,j2c,jp2,pfm,pct,pict,pic,bay,bmq,cr2,crw,cs1,dc2,dcr,dng,erf,fff ,hdr,k25,kdc,mdc,mos,mrw,nef,orf,pef,pxn,raf,raw,rdc,sr2,srf,arw,3fr,cine,ia,kc2,mef,nrw,qtk,rw2,sti,drf,dsc,p tx,cap,iiq,rwz
Registering ResourceManager for type HighLevelGpuProgram
Registering ResourceManager for type Compositor
MovableObjectFactory for type 'Entity' registered.
MovableObjectFactory for type 'Light' registered.
MovableObjectFactory for type 'BillboardSet' registered.
MovableObjectFactory for type 'ManualObject' registered.
MovableObjectFactory for type 'BillboardChain' registered.
MovableObjectFactory for type 'RibbonTrail' registered.
Loading library RenderSystem_GL
Installing plugin: GL RenderSystem
OpenGL Rendering Subsystem created.
Plugin successfully installed
Loading library Plugin_OctreeSceneManager
Installing plugin: Octree & Terrain Scene Manager
Plugin successfully installed
*-*-* OGRE Initialising
*-*-* Version 1.7.0 (Cthugha)
Path for saving is ... /home/bruno/.local/share/Runic Games/Torchlight 2/save
FMOD detects no hardware acceleration!
malloc_consolidate(): unaligned fastbin chunk detected
support/gog_com.shlib: line 94: 775002 Aborted (core dumped) ./"${bin_64}"


Did anyone have that already and could solve it?

Thanks in advance!
No posts in this topic were marked as the solution yet. If you can help, add your reply
avatar
brunofontes: FMOD detects no hardware acceleration!
malloc_consolidate(): unaligned fastbin chunk detected
support/gog_com.shlib: line 94: 775002 Aborted (core dumped) ./"${bin_64}"
I don't use Arch and it works fine for me, so I can't really help directly. The next line after "FMOD ...." should be "SoundManager Initialized", so that probably narrows it down to FMOD (sound) crashing. If a "core" file was created in the game directory, as indicated by the "core dumped" message, you can do "gdb Torchlight2.bin.x86_64 core"; otherwise leave the "core" argument off and execute the "run" command in gdb to run the game until it crashes. Either way, execute the "thread apply all where" command to figure out where it actually crashed. This may help figure out the problem.
avatar
brunofontes: FMOD detects no hardware acceleration!
malloc_consolidate(): unaligned fastbin chunk detected
support/gog_com.shlib: line 94: 775002 Aborted (core dumped) ./"${bin_64}"
avatar
darktjm: I don't use Arch and it works fine for me, so I can't really help directly. The next line after "FMOD ...." should be "SoundManager Initialized", so that probably narrows it down to FMOD (sound) crashing. If a "core" file was created in the game directory, as indicated by the "core dumped" message, you can do "gdb Torchlight2.bin.x86_64 core"; otherwise leave the "core" argument off and execute the "run" command in gdb to run the game until it crashes. Either way, execute the "thread apply all where" command to figure out where it actually crashed. This may help figure out the problem.
Thank you so much, darktjm! No core file was dumped unfortunately (or I couldn't find it), but I've installed and tried the gdb. It is a really interesting tool that I didn't know!

I had the following log, which matches a bit with what you said about the sound, but to me (first time debugging an executable program), it didn't say much. By using the gdb, I could see the window that flashes is the splash one,

I ended up deciding to install a secondary Linux (kubuntu) to install any games, so I don't have issues as this one, but just for reference, here's the new output of gdb:

Path for saving is ... /home/bruno/.local/share/Runic Games/Torchlight 2/save
[Detaching after vfork from child process 125673]
Downloading separate debug info for /usr/lib/libasound.so.2
FMOD detects no hardware acceleration!
malloc_consolidate(): unaligned fastbin chunk detected

Thread 1 "Torchlight2.bin" received signal SIGABRT, Aborted.
__pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
Downloading source file /usr/src/debug/glibc/glibc/nptl/pthread_kill.c
44 return INTERNAL_SYSCALL_ERROR_P (ret) ? INTERNAL_SYSCALL_ERRNO (ret) : 0;

Thanks again!
I should probably have mentioned that I don't use Ubuntu, either, so I wasn't recommending that you switch to Ubuntu. If you are satisfied with your solution, then great. If you want to beat your head against the problem a little more, you can still try executing "thread apply all where" inside of gdb after it crashes. Using strace (strace -f -o /tmp/st <game>) might help as well. I do have to wonder if Arch does something unusual with sound. I actually do something "unusual" with sound myself: I refuse to use extra layers of software, such as pulse or now pipewire if I can help it.. The default in most distros is to use pulse.
I installed Ubuntu just because the game says it supports Ubuntu. And, indeed, it just worked. :)

But sure, it would be better to do not have to change OS just play a game. I'll try to dig in a bit more. And you are right, it appears it is something related to audio. I do have something not that usual: I have pulseaudio, pipewire-alsa, and pipewire-pulse here, but in the log it appears it is just using alsa directly.

Just for future reference in the forum, the "thread apply all where" returned, between a log of generic things, the following:

Thread 1 (Thread 0x7ffff76af7c0 (LWP 44622) "Torchlight2.bin"):
#0 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#1 0x00007ffff64ac8a3 in __pthread_kill_internal (signo=6, threadid=<optimized out>) at pthread_kill.c:78
#2 0x00007ffff645c668 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#3 0x00007ffff64444b8 in __GI_abort () at abort.c:79
#4 0x00007ffff6445390 in __libc_message (fmt=fmt@entry=0x7ffff65bc55d "%s\n") at ../sysdeps/posix/libc_fatal.c:150
#5 0x00007ffff64b67b7 in malloc_printerr (str=str@entry=0x7ffff65bf180 "malloc_consolidate(): unaligned fastbin chunk detected") at malloc.c:5765
#6 0x00007ffff64b749c in malloc_consolidate (av=av@entry=0x7ffff65f6ac0 <main_arena>) at malloc.c:4839
#7 0x00007ffff64b9a38 in _int_malloc (av=av@entry=0x7ffff65f6ac0 <main_arena>, bytes=bytes@entry=4096) at malloc.c:4034
#8 0x00007ffff64bacad in __GI___libc_malloc (bytes=bytes@entry=4096) at malloc.c:3329
#9 0x00007ffff649549a in __GI__IO_file_doallocate (fp=0x8a71fe0) at filedoalloc.c:101
#10 0x00007ffff64a4279 in __GI__IO_doallocbuf (fp=0x8a71fe0) at /usr/src/debug/glibc/glibc/libio/libioP.h:1030
#11 __GI__IO_doallocbuf (fp=fp@entry=0x8a71fe0) at genops.c:342
#12 0x00007ffff64a2055 in _IO_new_file_underflow (fp=0x8a71fe0) at fileops.c:486
#13 0x00007ffff64a431f in __GI__IO_default_uflow (fp=0x8a71fe0) at /usr/src/debug/glibc/glibc/libio/libioP.h:1030
#14 0x00007ffff649e948 in _IO_getc (fp=0x8a71fe0) at getc.c:40
#15 0x00007fffcf75d6a7 in get_char (input=input@entry=0x7fffffffc300) at /usr/src/debug/alsa-lib/alsa-lib-1.2.10/src/conf.c:756
#16 0x00007fffcf75ddc8 in get_char (input=0x7fffffffc300) at /usr/src/debug/alsa-lib/alsa-lib-1.2.10/src/conf.c:750
#17 get_char_skip_comments (input=input@entry=0x7fffffffc300) at /usr/src/debug/alsa-lib/alsa-lib-1.2.10/src/conf.c:794
#18 0x00007fffcf75e698 in get_nonwhite (input=<optimized out>) at /usr/src/debug/alsa-lib/alsa-lib-1.2.10/src/conf.c:880
#19 parse_defs (parent=parent@entry=0x894c440, input=input@entry=0x7fffffffc300, skip=skip@entry=0, override=override@entry=0) at /usr/src/debug/alsa-lib/alsa-lib-1.2.10/src/conf.c:1512
#20 0x00007fffcf75f11f in _snd_config_load_with_include (config=0x894c440, in=<optimized out>, override=override@entry=0, include_paths=<optimized out>, include_paths@entry=0x0) at /usr/src/debug/alsa-lib/alsa-lib-1.2.10/src/conf.c:1987
#21 0x00007fffcf75f37d in snd_config_load (config=<optimized out>, in=<optimized out>) at /usr/src/debug/alsa-lib/alsa-lib-1.2.10/src/conf.c:2057
#22 0x00007fffcf76949f in snd_config_update_r (_top=_top@entry=0x7fffffffc4c0, _update=_update@entry=0x7fffffffc4b0, cfgs=cfgs@entry=0x0) at /usr/src/debug/alsa-lib/alsa-lib-1.2.10/src/conf.c:4636
#23 0x00007fffcf7c0ed8 in snd_device_name_hint (card=<optimized out>, iface=0x7ffff6f55c30 "pcm", hints=0x7fffffffc5a8) at control/namehint.c:595
#24 0x00007ffff6ec473a in FMOD::OutputALSA::getALSANameHintDrivers() () from /home/bruno/GOG Games/Torchlight 2/game/lib64/libfmodex.so
#25 0x00007ffff6ec4d38 in FMOD::OutputALSA::enumerate() () from /home/bruno/GOG Games/Torchlight 2/game/lib64/libfmodex.so
#26 0x00007ffff6ec4db9 in FMOD::OutputALSA::init(int, unsigned int, int*, int, FMOD_SOUND_FORMAT*, int, int, void*) () from /home/bruno/GOG Games/Torchlight 2/game/lib64/libfmodex.so
#27 0x00007ffff6ebe839 in FMOD::SystemI::init(int, unsigned int, void*) () from /home/bruno/GOG Games/Torchlight 2/game/lib64/libfmodex.so
#28 0x00007ffff6eb05e9 in FMOD::System::init(int, unsigned int, void*) () from /home/bruno/GOG Games/Torchlight 2/game/lib64/libfmodex.so
#29 0x0000000003607459 in CSoundManager::initialize(CSettings*) ()
#30 0x0000000002d40c99 in CGame::setup(bool) ()
#31 0x0000000002d2ec8c in CGame::begin() ()
#32 0x00000000037b0434 in main ()


========== Tail of the STRACE command ===========
49294 openat(AT_FDCWD, "/usr/share/alsa/alsa.conf", O_RDONLY) = 13
49293 newfstatat(13, "", {st_mode=S_IFREG|0644, st_size=10119, ...}, AT_EMPTY_PATH) = 0
49293 read(13, "#\n# ALSA library configuration "..., 4096) = 4096
49293 read(13, "mehint.extended\n\t\t}\n\t\tdescriptio"..., 4096) = 4096
49293 read(13, "ace\n#\n\nhwdep.default {\n\ttype hw\n"..., 4096) = 1927
49293 read(13, "", 4096) = 0
49293 close(13) = 0
49293 openat(AT_FDCWD, "/etc/asound.conf", O_RDONLY) = -1 ENOENT (No such file or directory)
49293 openat(AT_FDCWD, "/home/bruno/.asoundrc", O_RDONLY) = -1 ENOENT (No such file or directory)49293 write(2, "FMOD detects no hardware acceler"..., 38) = 38
49293 write(2, "\n", 1) = 1
49293 newfstatat(AT_FDCWD, "/etc/localtime", {st_mode=S_IFREG|0644, st_size=1430, ...}, 0) = 0
49293 write(5, "12:19:15: FMOD detects no hardwa"..., 49) = 49
49293 newfstatat(AT_FDCWD, "/usr/share/alsa/alsa.conf", {st_mode=S_IFREG|0644, st_size=10119, ...}, 0) = 0
49293 openat(AT_FDCWD, "/usr/share/alsa/alsa.conf", O_RDONLY) = 13
49293 newfstatat(13, "", {st_mode=S_IFREG|0644, st_size=10119, ...}, AT_EMPTY_PATH) = 0
49293 writev(2, [{iov_base="malloc_consolidate(): unaligned "..., iov_len=54}, {iov_base="\n", iov_len=1}], 2) = 55
49293 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f6ffed05000
49293 rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
49293 gettid() = 49293
49293 getpid() = 49293
49293 tgkill(49293, 49293, SIGABRT) = 0
49293 --- SIGABRT {si_signo=SIGABRT, si_code=SI_TKILL, si_pid=49293, si_uid=1000} ---
49297 <... futex resumed>) = ?
49296 <... futex resumed>) = ?
49295 <... futex resumed>) = ?
49294 <... futex resumed>) = ?
49297 +++ killed by SIGABRT (core dumped) +++
49295 +++ killed by SIGABRT (core dumped) +++
49294 +++ killed by SIGABRT (core dumped) +++
49296 +++ killed by SIGABRT (core dumped) +++
49293 +++ killed by SIGABRT (core dumped) +++
FMOD uses alsa, but doesn't do it very well. I have had issues with every game that uses FMOD, in slightly different ways. Not this game, for some reason, but that's just luck, I guess.

Have you tried pulseaudio-alsa? The page I linked to has other suggestions for integrating pulse better with alsa native usage. There is a similar package, pipewire-alsa, for pipewire.