Question Difficulty running on Gentoo Linux: crashes on startup despite

#1
Hi,

Whenever I try to launch Terasology using ./run_linux.sh in the TerasologyOmega.zip archive I crashes with the output:

Code:
codeLocation: /home/fusion809/Programs/terasology/libs/engine-1.4.0.jar
Found the natives dir: /home/fusion809/Programs/terasology/natives
23:21:12.540 [main] INFO  o.terasology.engine.TerasologyEngine - Initializing Terasology...
23:21:12.557 [main] INFO  o.terasology.engine.TerasologyEngine - [buildNumber=71, buildId=71, buildTag=jenkins-TerasologyStable-71, buildUrl=http://jenkins.terasology.org/job/TerasologyStable/71/, gitBranch=master, gitCommit=a38d0c814009f83b27a13564d9b2429452c9dd50, dateTime=2017-03-20T05:04:31Z, displayVersion=alpha, engineVersion=1.4.0]
23:21:12.557 [main] INFO  o.terasology.engine.TerasologyEngine - Home path: /home/fusion809/.local/share/terasology
23:21:12.558 [main] INFO  o.terasology.engine.TerasologyEngine - Install path: /home/fusion809/Programs/terasology
23:21:12.558 [main] INFO  o.terasology.engine.TerasologyEngine - Java: 1.8.0_121 in /opt/oracle-jre-bin-1.8.0.121
23:21:12.558 [main] INFO  o.terasology.engine.TerasologyEngine - Java VM: Java HotSpot(TM) 64-Bit Server VM, version: 25.121-b13
23:21:12.558 [main] INFO  o.terasology.engine.TerasologyEngine - OS: Linux, arch: amd64, version: 4.10.9-gentoo
23:21:12.558 [main] INFO  o.terasology.engine.TerasologyEngine - Max. Memory: 1365 MiB
23:21:12.558 [main] INFO  o.terasology.engine.TerasologyEngine - Processors: 8
23:21:12.645 [main] INFO  o.t.e.s.c.ConfigurationSubsystem - Video Settings: {"pixelFormat":24,"windowPosX":379,"windowPosY":235,"windowWidth":1152,"windowHeight":720,"displayModeSetting":"${engine:menu#video-windowed}","animatedMenu":false,"flickeringLight":true,"animateGrass":true,"animateWater":false,"fieldOfView":90.0,"cameraBobbing":true,"renderPlacingBox":true,"blurIntensity":2,"reflectiveWater":false,"vignette":true,"motionBlur":true,"ssao":false,"filmGrain":false,"outline":true,"lightShafts":true,"eyeAdaptation":true,"bloom":true,"dynamicShadows":true,"vrSupport":false,"maxTextureAtlasResolution":4096,"maxChunksUsedForShadowMapping":1024,"shadowMapResolution":1024,"normalMapping":false,"parallaxMapping":false,"dynamicShadowsPcfFiltering":false,"cloudShadows":true,"renderNearest":true,"particleEffectLimit":10,"frameLimit":60,"meshLimit":400,"inscattering":true,"localReflections":false,"vSync":false,"clampLighting":false,"fboScale":100,"dumpShaders":false,"volumetricFog":false,"screenshotSize":"${engine:menu#screenshot-size-normal}","screenshotFormat":"jpg","cameraSettings":{"cameraSetting":"${engine:menu#camera-setting-normal}"},"debug":{"enabled":false,"stage":"opaque_color","firstPersonElementsHidden":false,"hudHidden":false,"wireframe":false,"renderChunkBoundingBoxes":false,"renderSkeletons":false}}
23:21:12.673 [main] INFO  o.t.module.ModulePathScanner - Discovered module: Soils-0.1.1-SNAPSHOT
23:21:12.674 [main] INFO  o.t.module.ModulePathScanner - Discovered module: GrowingFlora-0.1.1-SNAPSHOT
23:21:12.674 [main] INFO  o.t.module.ModulePathScanner - Discovered module: NameGenerator-0.4.1-SNAPSHOT
23:21:12.675 [main] INFO  o.t.module.ModulePathScanner - Discovered module: Economy-0.1.0-SNAPSHOT
23:21:12.678 [main] INFO  o.t.module.ModulePathScanner - Discovered module: WoodAndStone-0.1.2-SNAPSHOT
23:21:12.678 [main] INFO  o.t.module.ModulePathScanner - Discovered module: Smithing-1.0.1-SNAPSHOT
23:21:12.679 [main] INFO  o.t.module.ModulePathScanner - Discovered module: Books-1.0.1-SNAPSHOT
23:21:12.679 [main] INFO  o.t.module.ModulePathScanner - Discovered module: MobileBlocks-0.1.1-SNAPSHOT
23:21:12.680 [main] INFO  o.t.module.ModulePathScanner - Discovered module: EventualSkills-1.0.0-SNAPSHOT
23:21:12.680 [main] INFO  o.t.module.ModulePathScanner - Discovered module: Journal-0.1.1-SNAPSHOT
23:21:12.681 [main] INFO  o.t.module.ModulePathScanner - Discovered module: DamagingBlocks-0.1.1-SNAPSHOT
23:21:12.681 [main] INFO  o.t.module.ModulePathScanner - Discovered module: Oreons-0.2.1-SNAPSHOT
23:21:12.682 [main] INFO  o.t.module.ModulePathScanner - Discovered module: EdibleSubstance-1.0.0-SNAPSHOT
23:21:12.682 [main] INFO  o.t.module.ModulePathScanner - Discovered module: NeoTTA-1.0.0-SNAPSHOT
23:21:12.683 [main] INFO  o.t.module.ModulePathScanner - Discovered module: Woodcrafting-1.0.1-SNAPSHOT
23:21:12.683 [main] INFO  o.t.module.ModulePathScanner - Discovered module: Sample-0.1.1-SNAPSHOT
23:21:12.684 [main] INFO  o.t.module.ModulePathScanner - Discovered module: ShatteredPlanes-0.0.1-SNAPSHOT
23:21:12.684 [main] INFO  o.t.module.ModulePathScanner - Discovered module: CustomOreGen-1.0.0-SNAPSHOT
23:21:12.685 [main] INFO  o.t.module.ModulePathScanner - Discovered module: FluidComputerIntegration-0.1.1-SNAPSHOT
23:21:12.685 [main] INFO  o.t.module.ModulePathScanner - Discovered module: Machines-1.1.2-SNAPSHOT
23:21:12.686 [main] INFO  o.t.module.ModulePathScanner - Discovered module: Miniion-0.2.1-SNAPSHOT
23:21:12.686 [main] INFO  o.t.module.ModulePathScanner - Discovered module: DynamicCities-0.2.0-SNAPSHOT
23:21:12.687 [main] INFO  o.t.module.ModulePathScanner - Discovered module: Potions-1.1.0-SNAPSHOT
23:21:12.687 [main] INFO  o.t.module.ModulePathScanner - Discovered module: BuilderSampleGameplay-1.4.0
23:21:12.688 [main] INFO  o.t.module.ModulePathScanner - Discovered module: MarkovChains-1.5.1-SNAPSHOT
23:21:12.688 [main] INFO  o.t.module.ModulePathScanner - Discovered module: Pathfinding-0.2.0-SNAPSHOT
23:21:12.688 [main] INFO  o.t.module.ModulePathScanner - Discovered module: ThroughoutTheAges-0.1.1-SNAPSHOT
23:21:12.689 [main] INFO  o.t.module.ModulePathScanner - Discovered module: LightAndShadow-0.1.1-SNAPSHOT
23:21:12.689 [main] INFO  o.t.module.ModulePathScanner - Discovered module: Hunger-1.0.0-SNAPSHOT
23:21:12.690 [main] INFO  o.t.module.ModulePathScanner - Discovered module: ManualLabor-1.1.1-SNAPSHOT
23:21:12.690 [main] INFO  o.t.module.ModulePathScanner - Discovered module: PhysicalStats-0.1.0-SNAPSHOT
23:21:12.691 [main] INFO  o.t.module.ModulePathScanner - Discovered module: IRLCorp-1.1.1-SNAPSHOT
23:21:12.691 [main] INFO  o.t.module.ModulePathScanner - Discovered module: Spawning-0.1.1-SNAPSHOT
23:21:12.692 [main] INFO  o.t.module.ModulePathScanner - Discovered module: BlockNetwork-0.1.1-SNAPSHOT
23:21:12.692 [main] INFO  o.t.module.ModulePathScanner - Discovered module: MultiBlock-1.0.0-SNAPSHOT
23:21:12.693 [main] INFO  o.t.module.ModulePathScanner - Discovered module: WorkstationCrafting-1.0.1-SNAPSHOT
23:21:12.693 [main] INFO  o.t.module.ModulePathScanner - Discovered module: Cooking-1.0.0-SNAPSHOT
23:21:12.694 [main] INFO  o.t.module.ModulePathScanner - Discovered module: EquipmentSmithing-1.0.1-SNAPSHOT
23:21:12.694 [main] INFO  o.t.module.ModulePathScanner - Discovered module: Breathing-0.1.1-SNAPSHOT
23:21:12.694 [main] INFO  o.t.module.ModulePathScanner - Discovered module: Fences-0.1.1-SNAPSHOT
23:21:12.695 [main] INFO  o.t.module.ModulePathScanner - Discovered module: FunnyBlocks-0.2.1-SNAPSHOT
23:21:12.695 [main] INFO  o.t.module.ModulePathScanner - Discovered module: Caves-1.0.0-SNAPSHOT
23:21:12.696 [main] INFO  o.t.module.ModulePathScanner - Discovered module: Tasks-0.2.0-SNAPSHOT
23:21:12.696 [main] INFO  o.t.module.ModulePathScanner - Discovered module: Fluid-1.0.0-SNAPSHOT
23:21:12.696 [main] INFO  o.t.module.ModulePathScanner - Discovered module: TutorialNui-0.1.0-SNAPSHOT
23:21:12.697 [main] INFO  o.t.module.ModulePathScanner - Discovered module: LightAndShadowResources-0.2.0-SNAPSHOT
23:21:12.697 [main] INFO  o.t.module.ModulePathScanner - Discovered module: AnotherWorldPlants-0.1.1-SNAPSHOT
23:21:12.698 [main] INFO  o.t.module.ModulePathScanner - Discovered module: AnotherWorld-0.2.0-SNAPSHOT
23:21:12.698 [main] INFO  o.t.module.ModulePathScanner - Discovered module: Alchemy-1.0.0-SNAPSHOT
23:21:12.699 [main] INFO  o.t.module.ModulePathScanner - Discovered module: WeatherManager-0.1.1-SNAPSHOT
23:21:12.699 [main] INFO  o.t.module.ModulePathScanner - Discovered module: WorkstationInGameHelp-1.0.0-SNAPSHOT
23:21:12.700 [main] INFO  o.t.module.ModulePathScanner - Discovered module: MoreLights-0.1.1-SNAPSHOT
23:21:12.700 [main] INFO  o.t.module.ModulePathScanner - Discovered module: Rails-0.1.1-SNAPSHOT
23:21:12.701 [main] INFO  o.t.module.ModulePathScanner - Discovered module: BlockPicker-1.0.0-SNAPSHOT
23:21:12.701 [main] INFO  o.t.module.ModulePathScanner - Discovered module: Stonecrafting-1.0.1-SNAPSHOT
23:21:12.702 [main] INFO  o.t.module.ModulePathScanner - Discovered module: MasterOfOreon-0.1.1-SNAPSHOT
23:21:12.702 [main] INFO  o.t.module.ModulePathScanner - Discovered module: AlterationEffects-1.0.0-SNAPSHOT
23:21:12.703 [main] INFO  o.t.module.ModulePathScanner - Discovered module: CoreSampleGameplay-1.4.0
23:21:12.703 [main] INFO  o.t.module.ModulePathScanner - Discovered module: InGameHelp-1.0.0-SNAPSHOT
23:21:12.704 [main] INFO  o.t.module.ModulePathScanner - Discovered module: TutorialDynamicCity-0.1.0-SNAPSHOT
23:21:12.704 [main] INFO  o.t.module.ModulePathScanner - Discovered module: PotentialEnergyDevices-1.0.0-SNAPSHOT
23:21:12.705 [main] INFO  o.t.module.ModulePathScanner - Discovered module: Workstation-1.0.0-SNAPSHOT
23:21:12.705 [main] INFO  o.t.module.ModulePathScanner - Discovered module: ClimateConditions-0.1.1-SNAPSHOT
23:21:12.705 [main] INFO  o.t.module.ModulePathScanner - Discovered module: SimpleFarming-1.0.0-SNAPSHOT
23:21:12.706 [main] INFO  o.t.module.ModulePathScanner - Discovered module: ChiselBlocks-0.1.0-SNAPSHOT
23:21:12.706 [main] INFO  o.t.module.ModulePathScanner - Discovered module: TutorialAssetSystem-0.1.0-SNAPSHOT
23:21:12.706 [main] INFO  o.t.module.ModulePathScanner - Discovered module: CommonWorld-0.2.2-SNAPSHOT
23:21:12.707 [main] INFO  o.t.module.ModulePathScanner - Discovered module: CheatsForAll-0.1.1-SNAPSHOT
23:21:12.707 [main] INFO  o.t.module.ModulePathScanner - Discovered module: Portals-0.1.1-SNAPSHOT
23:21:12.707 [main] INFO  o.t.module.ModulePathScanner - Discovered module: GooeysQuests-0.1.0-SNAPSHOT
23:21:12.708 [main] INFO  o.t.module.ModulePathScanner - Discovered module: Thirst-1.0.0-SNAPSHOT
23:21:12.708 [main] INFO  o.t.module.ModulePathScanner - Discovered module: ModularComputers-0.1.1-SNAPSHOT
23:21:12.709 [main] INFO  o.t.module.ModulePathScanner - Discovered module: ChrisVolume1OST-0.2.1-SNAPSHOT
23:21:12.709 [main] INFO  o.t.module.ModulePathScanner - Discovered module: ChrisVolume2OST-0.1.1-SNAPSHOT
23:21:12.709 [main] INFO  o.t.module.ModulePathScanner - Discovered module: ChangingBlocks-0.1.1-SNAPSHOT
23:21:12.710 [main] INFO  o.t.module.ModulePathScanner - Discovered module: MarcinScIncubator-0.1.1-SNAPSHOT
23:21:12.710 [main] INFO  o.t.module.ModulePathScanner - Discovered module: PolyWorld-0.7.1-SNAPSHOT
23:21:12.710 [main] INFO  o.t.module.ModulePathScanner - Discovered module: QuestExamples-0.2.0-SNAPSHOT
23:21:12.711 [main] INFO  o.t.module.ModulePathScanner - Discovered module: Lakes-0.0.1-SNAPSHOT
23:21:12.711 [main] INFO  o.t.module.ModulePathScanner - Discovered module: Valentines-0.1.1-SNAPSHOT
23:21:12.711 [main] INFO  o.t.module.ModulePathScanner - Discovered module: StaticCities-0.2.0-SNAPSHOT
23:21:12.712 [main] INFO  o.t.module.ModulePathScanner - Discovered module: StructureTemplates-0.2.0-SNAPSHOT
23:21:12.712 [main] INFO  o.t.module.ModulePathScanner - Discovered module: Dialogs-0.1.0-SNAPSHOT
23:21:12.712 [main] INFO  o.t.module.ModulePathScanner - Discovered module: Malicious-0.1.1-SNAPSHOT
23:21:12.713 [main] INFO  o.t.module.ModulePathScanner - Discovered module: BlockDetector-1.2.0-SNAPSHOT
23:21:12.713 [main] INFO  o.t.module.ModulePathScanner - Discovered module: ItemRendering-1.0.0-SNAPSHOT
23:21:12.713 [main] INFO  o.t.module.ModulePathScanner - Discovered module: WorldlyTooltip-1.0.0-SNAPSHOT
23:21:12.714 [main] INFO  o.t.module.ModulePathScanner - Discovered module: PlantPack-1.0.0-SNAPSHOT
23:21:12.714 [main] INFO  o.t.module.ModulePathScanner - Discovered module: CakeLie-0.1.1-SNAPSHOT
23:21:12.714 [main] INFO  o.t.module.ModulePathScanner - Discovered module: ManualLaborEventualSkills-1.0.0-SNAPSHOT
23:21:12.715 [main] INFO  o.t.module.ModulePathScanner - Discovered module: MusicDirector-0.2.1-SNAPSHOT
23:21:12.715 [main] INFO  o.t.module.ModulePathScanner - Discovered module: JoshariasSurvival-1.0.0-SNAPSHOT
23:21:12.716 [main] INFO  o.t.module.ModulePathScanner - Discovered module: SubstanceMatters-1.0.0-SNAPSHOT
23:21:12.716 [main] INFO  o.t.module.ModulePathScanner - Discovered module: CopperAndBronze-0.1.2-SNAPSHOT
23:21:12.717 [main] INFO  o.t.module.ModulePathScanner - Discovered module: Minerals-0.1.2-SNAPSHOT
23:21:12.717 [main] INFO  o.t.module.ModulePathScanner - Discovered module: Equipment-1.1.0-SNAPSHOT
23:21:12.717 [main] INFO  o.t.module.ModulePathScanner - Discovered module: TutorialWorldGeneration-0.1.1-SNAPSHOT
23:21:12.718 [main] INFO  o.t.module.ModulePathScanner - Discovered module: StructuralResources-1.0.0-SNAPSHOT
23:21:12.718 [main] INFO  o.t.module.ModulePathScanner - Discovered module: OreGeneration-1.0.0-SNAPSHOT
23:21:12.719 [main] INFO  o.t.module.ModulePathScanner - Discovered module: LegacyMusic-0.1.1-SNAPSHOT
23:21:12.719 [main] INFO  o.t.module.ModulePathScanner - Discovered module: Durability-1.0.0-SNAPSHOT
23:21:12.719 [main] INFO  o.t.module.ModulePathScanner - Discovered module: Genome-0.1.1-SNAPSHOT
23:21:12.720 [main] INFO  o.t.module.ModulePathScanner - Discovered module: ComputerMonitors-0.1.1-SNAPSHOT
23:21:12.720 [main] INFO  o.t.module.ModulePathScanner - Discovered module: Signalling-0.1.1-SNAPSHOT
23:21:12.721 [main] INFO  o.t.module.ModulePathScanner - Discovered module: Seasons-0.9.1-SNAPSHOT
23:21:12.721 [main] INFO  o.t.module.ModulePathScanner - Discovered module: Maze-0.1.1-SNAPSHOT
23:21:12.721 [main] INFO  o.t.module.ModulePathScanner - Discovered module: Core-1.4.0
23:21:12.722 [main] INFO  o.t.module.ModulePathScanner - Discovered module: MedievalCities-0.1.0-SNAPSHOT
23:21:12.722 [main] INFO  o.t.module.ModulePathScanner - Discovered module: Cities-0.6.1-SNAPSHOT
23:21:12.722 [main] INFO  o.t.module.ModulePathScanner - Discovered module: Minimap-1.0.0-SNAPSHOT
23:21:12.723 [main] INFO  o.t.module.ModulePathScanner - Discovered module: WildAnimals-0.1.1-SNAPSHOT
23:21:12.723 [main] INFO  o.t.module.ModulePathScanner - Discovered module: SimpleLiquids-0.1.1-SNAPSHOT
23:21:13.005 [main] INFO  o.t.audio.openAL.OpenALManager - Initializing OpenAL audio manager
23:21:13.029 [main] INFO  o.t.audio.openAL.OpenALManager - OpenAL 1.1 ALSOFT 1.15.1 initialized!
23:21:13.030 [main] INFO  o.t.audio.openAL.OpenALManager - Using OpenAL: OpenAL Soft by OpenAL Community
23:21:13.030 [main] INFO  o.t.audio.openAL.OpenALManager - Using device: OpenAL Soft
23:21:13.030 [main] INFO  o.t.audio.openAL.OpenALManager - Available AL extensions: AL_EXT_ALAW AL_EXT_DOUBLE AL_EXT_EXPONENT_DISTANCE AL_EXT_FLOAT32 AL_EXT_IMA4 AL_EXT_LINEAR_DISTANCE AL_EXT_MCFORMATS AL_EXT_MULAW AL_EXT_MULAW_MCFORMATS AL_EXT_OFFSET AL_EXT_source_distance_model AL_LOKI_quadriphonic AL_SOFT_buffer_samples AL_SOFT_buffer_sub_data AL_SOFTX_deferred_updates AL_SOFT_direct_channels AL_SOFT_loop_points AL_SOFT_source_latency
23:21:13.030 [main] INFO  o.t.audio.openAL.OpenALManager - Available ALC extensions: ALC_ENUMERATE_ALL_EXT ALC_ENUMERATION_EXT ALC_EXT_CAPTURE ALC_EXT_DEDICATED ALC_EXT_disconnect ALC_EXT_EFX ALC_EXT_thread_local_context ALC_SOFT_loopback
23:21:13.031 [main] INFO  o.t.audio.openAL.OpenALManager - Max mono sources: 255
23:21:13.031 [main] INFO  o.t.audio.openAL.OpenALManager - Max stereo sources: 1
23:21:13.031 [main] INFO  o.t.audio.openAL.OpenALManager - Mixer frequency: 44100
23:21:13.034 [main] INFO  o.t.e.subsystem.lwjgl.LwjglGraphics - Starting initialization of LWJGL
23:21:13.035 [main] INFO  o.t.e.subsystem.lwjgl.LwjglGraphics - Initial initialization complete
23:21:14.628 [main] INFO  o.t.e.subsystem.lwjgl.LwjglGraphics - Initializing display (if last line in log then likely the game crashed from an issue with your video card)
now I realize the last line tells me what's wrong but it makes no sense. I have dual NVIDIA and Intel graphics cards and I have drivers for both installed and working perfectly for each apps as I am able to run games like 0 A.D. and RuneScape with optirun (from the Bumblebee package) without issue. I have tried launching Terasology with:

Code:
optirun ./run_linux.sh
but still I get the same error. What am I doing wrong?

Thanks for your time,
Brenton
 

Skaldarnar

Badges badges badges badges mushroom mushroom!
Contributor
Art
World
SpecOps
#2
I've got an old laptop with Optimus NVidia, but I ran it with the GPU active only, no switching. This worked fine, but that also means I cannot give you a solution for this problem.

You could try to start "Java" with optirun, instead of the shell script. I don't know if that makes a difference, but you can give it a try anyways. Just run "java -Xms128m -Xmx1536m -jar libs/Terasology.jar" as in the script.

If that does not help, I'm afraid that it is out of our scope to fix this right now. It has been on the table for some time, but unfortunately its not a trivial fix. As a last resort, you could try to either use proprietary drivers for your GPU (and GPU always active) or only the Intel graphics...