Cradle
knylok Jul 26, 2015 @ 10:32am
Unigine has fatal error
I bought and tried to play Cradle, only to have it not launch. Running from command line produces the following error:

Unigine fatal error
SystemAllocator::deallocate(): memory corruption detected
begin: 0x00000020 0x131c3c1f
end: 0x00000000 0x01f0f1cd
Shutdown


Running the Unigine benchmark "Heaven" works fine.
I have updated the drivers for my AMD Radeon HD 6870

ii fglrx 2:15.200-0ubuntu1 amd64 Video driver for the AMD graphics accelerators
ii fglrx-amdcccle 2:15.200-0ubuntu1 amd64 Catalyst Control Center for the AMD graphics accelerators
ii fglrx-core 2:15.200-0ubuntu1 amd64 Minimal video driver for the AMD graphics accelerators
ii fglrx-dev 2:15.200-0ubuntu1 amd64 Video driver for the AMD graphics accelerators (devel files)

I am running Ubuntu 14.04. Had to remove Wine to get the fglrx drivers to work, so there might be some leftover pieces from that still floating around.

Other users seem to have had the same problem before, but no resolution was ever provided:
http://steamcommunity.com/app/361550/discussions/2/535151589896133571/
http://steamcommunity.com/app/361550/discussions/2/535151589895653464/
https://github.com/QuantumBytesInc/RelicsOfAnnorath/issues/11

These were for different games, but the problem is the same.

Any assistance would be appreciated. Would like to try playing this game.
< >
Showing 1-15 of 16 comments
worzel910 Jul 28, 2015 @ 12:27pm 
Can confirm, Same issue here on a 290x. Mrs tried on my system as it's slow on her laptop.

Log has ths in it

20:17:45 Loading "/home/lou/.local/share/Steam/steamapps/common/Cradle/bin/../cradle.cfg"...
20:17:45 Loading "libSteam_x64.so"...
20:17:45 Loading "libGL.so.1"...
20:17:45 Loading "libopenal.so.1"...
20:17:45 Set 1600x900 windowed video mode
20:17:46 SystemAllocator::deallocate(): memory corruption detected
20:17:46 begin: 0x00000000 0x131c3c1f
20:17:46 end: 0x00000000 0x01f0f1cd
20:17:46 Shutdown
LinuxVR Jul 29, 2015 @ 7:09am 
Happening here as well. AMD 7870, latest fglrx. Debian Jessie.
Last edited by LinuxVR; Jul 29, 2015 @ 7:09am
fedik Jul 31, 2015 @ 11:19am 
same here,
Ubuntu 14.04 x64
ATI HD6850
monitor resolution 1920x1080

fglrxinfo:
display: :0 screen: 0
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: AMD Radeon HD 6800 Series
OpenGL version string: 4.4.13374 Compatibility Profile Context 15.20.1013

ERROR log:
Unigine fatal error
SystemAllocator::deallocate(): memory corruption detected
begin: 0x00000020 0x131c3c1f
end: 0x00000000 0x01f0f1cd
Default mode: 0
Loading "....Steam/SteamApps/common/Cradle/bin/../cradle.cfg"...
Loading "libSteam_x64.so"...
Dongle firmware <HOME>/.local/share/Steam/linux64/../controller_base/d0ggle.bin loaded, version 1435869091.
Loading "libGL.so.1"...
Loading "libopenal.so.1"...
Set 1600x900 windowed video mode
Shutdown
Last edited by fedik; Jul 31, 2015 @ 11:21am
twister Aug 2, 2015 @ 12:46am 
I have the same problem. Ubuntu 14.04 LTS x64

albert@AlbertNPC:~$ fglrxinfo
display: :0 screen: 0
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: AMD Radeon HD 7600M Series
OpenGL version string: 4.4.13374 Compatibility Profile Context 15.20.1013

albert@AlbertNPC:~$ sudo lspci -v -s 00:01.0
00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Trinity [Radeon HD 7640G] (prog-if 00 [VGA controller])
Subsystem: Samsung Electronics Co Ltd Device c0da
Flags: bus master, fast devsel, latency 0, IRQ 50
Memory at b0000000 (32-bit, prefetchable) [size=256M]
I/O ports at f000 [size=256]
Memory at feb00000 (32-bit, non-prefetchable) [size=256K]
Expansion ROM at <unassigned> [disabled]
Capabilities: [50] Power Management version 3
Capabilities: [58] Express Root Complex Integrated Endpoint, MSI 00
Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
Kernel driver in use: fglrx_pci

albert@AlbertNPC:~$ sudo lspci -v -s 01:00.0
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Thames [Radeon HD 7500M/7600M Series] (prog-if 00 [VGA controller])
Subsystem: Samsung Electronics Co Ltd Radeon HD 7670M
Physical Slot: 0
Flags: bus master, fast devsel, latency 0, IRQ 51
Memory at c0000000 (64-bit, prefetchable) [size=256M]
Memory at fea20000 (64-bit, non-prefetchable) [size=128K]
I/O ports at e000 [size=256]
Expansion ROM at fea00000 [disabled] [size=128K]
Capabilities: [50] Power Management version 3
Capabilities: [58] Express Legacy Endpoint, MSI 00
Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
Capabilities: [150] Advanced Error Reporting
Kernel driver in use: fglrx_pci

Resolution: 1366x768

Log:
Unigine fatal error
SystemAllocator::deallocate(): memory corruption detected
begin: 0x00000020 0x131c3c1f
end: 0x00000000 0x01f0f1cd
Default mode: 0
Loading "/home/albert/.local/share/Steam/steamapps/common/Cradle/bin/../cradle.cfg"...
Loading "libSteam_x64.so"...
Dongle firmware /home/albert/.local/share/Steam/linux64/../controller_base/d0ggle.bin loaded, version 1435869091.
Loading "libGL.so.1"...
Loading "libopenal.so.1"...
Set 1600x900 windowed video mode
Shutdown
Running Steam on ubuntu 14.04 64-bit
STEAM_RUNTIME has been set by the user to: /home/albert/.local/share/Steam/ubuntu12_32/steam-runtime
ExecCommandLine: "/home/albert/.steam/root/ubuntu12_32/steam steam://open/driverhelperready"
ExecSteamURL: "steam://open/driverhelperready"
nanognome Aug 3, 2015 @ 9:16am 
Enough, I got a refund. Don't forget that you have 2 weeks to refund.
knylok Aug 4, 2015 @ 6:48pm 
I requested a refund.

However, I also reached out to Unigine for help and they actually got back to me pretty quickly.

The answer they gave me was the following:

"Heaven" is working fine because it is a 32-bit application and Steam runtime still have issues with running x64 applications.

It seems that x64 game version is trying to load x86 Steam overlay library:

ERROR: ld.so: object '~/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.

Could you please try to fix Steam runtime according to this article: https://wiki.archlinux.org/index.php/steam#Steam_runtime_issues

Here's also another solution: https://github.com/ValveSoftware/steam-runtime/issues/13#issuecomment-60326157


When I attempted to follow the instructions, it borked my OS. I had to reinstall. It was time for an upgrade anyway... that said, wonderful customer service from Unigine. Nothing from Cradle Tech Support. I hope by posting this, someone else can solve this mystery. Good luck. :steamsad:
LinuxVR Aug 5, 2015 @ 4:09am 
Ah Knylok, your a legend!!
I tried this on the first run:

LD_PRELOAD='/usr/$LIB/libstdc++.so.6 /usr/$LIB/libgcc_s.so.1 /usr/$LIB/libxcb.so.1' steam

It's from the Arch Wiki, third code line about overriding the default libs.

IT WORKED!! FIRST TIME!!

EDIT: It will hard crash when you try to start a game, ssh + sigterm works to restore to normal.
We are getting there.
Last edited by LinuxVR; Aug 5, 2015 @ 4:31am
Night Nord Aug 5, 2015 @ 2:36pm 
Unigine (an engine for the game) is known for it's borked shaders and constant problems on all but nvidia drivers, due to high OpenGL standard non-conformance.

And it was never fixed. In other words - Unigine does support only NVidia drivers. AMD and Intel drivers (both proprietary - in case of AMD - and FOSS) may work or may not. You may play with various settings in driconf around, try to fix it, but usually it won't work.

I really doubt it's going to work, both from the game state (very inaccurate packing - resource duplication and borked Steam configuration, so it won't track most of files) and from Unigine previous history.
'/^^/d' Aug 16, 2015 @ 3:43am 
I confirm that the game at least launches with the LD_PRELOAD trick for system-wide 64bit libs. I borked my Steam install trying to delete the Steam runtime libs through, FYI (I tried fixing that with a script to create symbolic links from the runtime to the system-wide libs, but that didn't go too well either).
The game however freezes when I want to play, right after asking if I want to go through the tutorial.
I've tried the default quality settings as well as the lowest ones (from the menu, I haven't touched any conf file yet), Catalyst 15.7 and oibaf's PPA for the latest Git radeon.
The terminal spews quite a lot fo stuff, one thing in particular stands out:
---- Render ---- Renderer: ATI R900 3072MB OpenGL vendor: ATI Technologies Inc. OpenGL renderer: AMD Radeon HD 7900 Series OpenGL version: 3.2.13397 Core Profile Context 15.20.1046 OpenGL flags: Core Profile Found required GL_ARB_map_buffer_range Found required GL_ARB_vertex_array_object Found required GL_ARB_draw_instanced Found required GL_ARB_draw_elements_base_vertex Found required GL_ARB_transform_feedback Found required GL_ARB_half_float_vertex Found required GL_ARB_half_float_pixel Found required GL_ARB_seamless_cube_map Found required GL_ARB_framebuffer_object Found required GL_ARB_texture_multisample Found required GL_ARB_uniform_buffer_object Found required GL_ARB_geometry_shader4 Found optional GL_ARB_blend_func_extended Found optional GL_ARB_tessellation_shader Found optional GL_ARB_shader_bit_encoding Found optional GL_ARB_sample_shading Found optional GL_ARB_compute_shader Found optional GL_ARB_gpu_shader5 Found optional GL_EXT_texture_compression_s3tc Found optional GL_ARB_texture_compression_rgtc Shading language: 4.40 Maximum texture size: 16384 Maximum texture units: 192 Maximum texture renders: 8
Catalyst Control Center however reports OpenGL-version 4.5.13397

EDIT: the game freezes at
Unigine~# world_load source/maps/intro
There is no such folder path in my Cradle installation, are those compiled in the source_x.ung files?

EDIT 2: Oil Rush, another Unigine game, runs just fine on the same config without the need for LD_PRELOAD. It still detects OpenGL 3.2 so it might not be that important. What I get with Cradle though is a lot of lines such as:
NameSpace::check(): unused variable "Source::ObjectPropertyType::BROKEN"
So much so that trying to paste the whole thing made Steam throw a fit.
Last edited by '/^^/d'; Aug 16, 2015 @ 10:22am
Night Nord Aug 16, 2015 @ 1:11pm 
It hangs on what seems to be a dead-lock within sound system.

Three threads are lost in a spin-lock:
#0 SpinLock (new_value=<optimized out>, ptr=<optimized out>, old_value=<optimized out>) at engine/utils/Thread.h:150 #1 ~AtomicLock (this=<optimized out>, __in_chrg=<optimized out>) at engine/utils/Thread.h:174 #2 SoundManaged<SampleStream>::release (this=0x60d6d90) at engine/sound/SoundManager.cpp:79 #3 0x00007ffff6b4124c in AmbientSource::~AmbientSource (this=0x7ffff335cfb0, __in_chrg=<optimized out>) at engine/sound/AmbientSource.cpp:58 #4 0x00007ffff6b4129b in AmbientSource::~AmbientSource (this=0x7ffff335cfb0, __in_chrg=<optimized out>) at engine/sound/AmbientSource.cpp:63

And a SoundManager thread happily sleeping
Thread 18 (Thread 0x7fffa228e700 (LWP 6441)): #0 0x00007ffff633865d in nanosleep () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007ffff6362064 in usleep (useconds=<optimized out>) at ../sysdeps/unix/sysv/linux/usleep.c:32 #2 0x00007ffff68ba824 in SoundThread::process (this=0x62ac10) at engine/EngineThreads.cpp:85 #3 0x00007ffff6913581 in Thread::thread_handler (data=0x62ac10) at engine/utils/Thread.cpp:94 #4 0x00007ffff5761324 in start_thread (arg=0x7fffa228e700) at pthread_create.c:333 #5 0x00007ffff6368a7d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Is there anyone who get this working? Because right now it looks like a steam-play scam (Steam encourages developers to make their games steam-play by giving fee discounts).
Last edited by Night Nord; Aug 16, 2015 @ 1:12pm
knylok Aug 22, 2015 @ 8:32am 
After the last update, the game now works for me. Do not know what changed, but I had given up at this point, so it wasn't anything I did.
'/^^/d' Aug 28, 2015 @ 10:47am 
Originally posted by knylok:
After the last update, the game now works for me. Do not know what changed, but I had given up at this point, so it wasn't anything I did.
Which update are you referring to?
fedik Sep 3, 2015 @ 4:43am 
still nothing works
LinuxVR Sep 16, 2015 @ 5:14am 
It works for me with the new catalyst 15-9 driver.
worzel910 Sep 16, 2015 @ 11:04am 
Originally posted by Linux-storma:
It works for me with the new catalyst 15-9 driver.

Cheers storma!
< >
Showing 1-15 of 16 comments
Per page: 1530 50