Package Details: starsector 0.98a_RC8-1

Git Clone URL: https://aur.archlinux.org/starsector.git (read-only, click to copy)
Package Base: starsector
Description: Starsector (formerly "Starfarer") is an in-development open-world single-player space-combat, roleplaying, exploration, and economic game.
Upstream URL: http://fractalsoftworks.com/
Licenses: custom
Replaces: starfarer
Submitter: levyd
Maintainer: pschichtel
Last Packager: pschichtel
Votes: 22
Popularity: 0.001655
First Submitted: 2015-08-10 01:58 (UTC)
Last Updated: 2025-04-18 21:53 (UTC)

Dependencies (4)

Required by (1)

Sources (4)

Pinned Comments

pschichtel commented on 2022-12-11 15:35 (UTC) (edited on 2023-05-06 11:18 (UTC) by pschichtel)

0.95.1a_RC6-2 changed a bunch things that might need manual corrections after upgrading from earlier version:

  1. I dropped the java dependency and instead included the JRE that is bundled with the game for better compatibility
  2. I moved the user state directory ($HOME/.starsector) to the appropriate XDG directory $HOME/.local/share/starsector. the actual contents have not changed, so a simple mv "$HOME/.starsector" "$HOME/.local/share/starsector" should do the trick
  3. The start script now supports customizing JVM arguments by creating a the script $HOME/.config/starsector/startup.sh which supports two variables (bash arrays): jvm_args and program_args. So e.g. if you customized the memory settings in the start script, you might want to move the changes to either of these variables (e.g. like this: jvm_args=(-Xms1536m -Xmx1536m -Xss2048k)).

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

JamesMowery commented on 2025-03-31 23:19 (UTC) (edited on 2025-03-31 23:23 (UTC) by JamesMowery)

@pschichtel Ah that was it! I had that file tracked & committed in my dotfiles!

I went ahead and I deleted it. Getting an entirely different error:

OpenJDK 64-Bit Server VM warning: Options -Xverify:none and -noverify were deprecated in JDK 13 and will likely be removed in a future release.
-XX:-AOTInvokeDynamicLinking -XX:AVX3Threshold=0 -XX:-AlignVector -XX:+AlwaysAtomicAccesses -XX:+AlwaysCompileLoopMethods -XX:+AlwaysPreTouch -XX:-BytecodeVerificationLocal -XX:-BytecodeVerificationRemote -XX:CompilerDirectivesFile=./compiler_directives.txt -XX:+DisableExplicitGC -XX:-DontCompileHugeMethods -XX:-EnableThreadSMRStatistics -XX:+EnableVectorAggressiveReboxing -XX:+EnableVectorReboxing -XX:+EnableVectorSupport -XX:+ExtensiveErrorReports -XX:IncreaseFirstTierCompileThresholdAt=99 -XX:InitialHeapSize=2147483648 -XX:InterpreterProfilePercentage=99 -XX:MaxGCPauseMillis=10 -XX:MaxHeapSize=2147483648 -XX:MinHeapSize=2147483648 -XX:NmethodSweepActivity=1 -XX:+ParallelRefProcEnabled -XX:PerMethodRecompilationCutoff=100000 -XX:+PrintCodeCache -XX:+PrintCommandLineFlags -XX:ProfileMaturityPercentage=100 -XX:ReferencesPerThread=0 -XX:ReservedCodeCacheSize=268435456 -XX:+SegmentedCodeCache -XX:ShenandoahAllocationThreshold=85 -XX:ShenandoahGCHeuristics=compact -XX:ShenandoahGCMode=iu -XX:ShenandoahGuaranteedGCInterval=0 -XX:+ShowCodeDetailsInExceptionMessages -XX:+ShowMessageBoxOnError -XX:ThreadPriorityPolicy=1 -XX:ThreadStackSize=4096 -XX:Tier0Delay=1 -XX:Tier0ProfilingStartPercentage=2000 -XX:+TieredCompilation -XX:TieredOldPercentage=10000 -XX:TieredStopAtLevel=4 -XX:TrimNativeHeapInterval=60000 -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -XX:UseAVX=3 -XX:+UseBMI1Instructions -XX:+UseBMI2Instructions -XX:+UseCLMUL -XX:+UseCompressedClassPointers -XX:+UseCompressedOops -XX:-UseCondCardMark -XX:+UseCriticalCompilerThreadPriority -XX:+UseCriticalJavaThreadPriority -XX:-UseDynamicNumberOfCompilerThreads -XX:+UseFMA -XX:+UseFPUForSpilling -XX:+UseFastStosb -XX:+UseFastUnorderedTimeStamps -XX:UseSSE=4 -XX:+UseSSE42Intrinsics -XX:+UseShenandoahGC -XX:+UseStringDeduplication -XX:+UseUnalignedAccesses -XX:+UseUnalignedLoadStores -XX:+UseVectorCmov -XX:+UseVectorStubs -XX:+UseXMMForArrayCopy -XX:+UseXMMForObjInit -XX:+UseXmmI2D -XX:+UseXmmI2F -XX:+ZeroTLAB
OpenJDK 64-Bit Server VM warning: -XX:ThreadPriorityPolicy=1 may require system level permission, e.g., being the root user. If the necessary permission is not possessed, changes to priority will be silently ignored.
OpenJDK 64-Bit Server VM warning: UseXMMForObjInit requires SSE2 and unaligned load/stores. Feature is switched off.
Error occurred during initialization of VM
Unknown -XX:ShenandoahGCMode option

I also tried running it as sudo but got this:

-XX:-AOTInvokeDynamicLinking -XX:AVX3Threshold=0 -XX:-AlignVector -XX:+AlwaysAtomicAccesses -XX:+AlwaysCompileLoopMethods -XX:+AlwaysPreTouch -XX:-BytecodeVerificationLocal -XX:-BytecodeVerificationRemote -XX:CompilerDirectivesFile=./compiler_directives.txt -XX:+DisableExplicitGC -XX:-DontCompileHugeMethods -XX:-EnableThreadSMRStatistics -XX:+EnableVectorAggressiveReboxing -XX:+EnableVectorReboxing -XX:+EnableVectorSupport -XX:+ExtensiveErrorReports -XX:IncreaseFirstTierCompileThresholdAt=99 -XX:InitialHeapSize=2147483648 -XX:InterpreterProfilePercentage=99 -XX:MaxGCPauseMillis=10 -XX:MaxHeapSize=2147483648 -XX:MinHeapSize=2147483648 -XX:NmethodSweepActivity=1 -XX:+ParallelRefProcEnabled -XX:PerMethodRecompilationCutoff=100000 -XX:+PrintCodeCache -XX:+PrintCommandLineFlags -XX:ProfileMaturityPercentage=100 -XX:ReferencesPerThread=0 -XX:ReservedCodeCacheSize=268435456 -XX:+SegmentedCodeCache -XX:ShenandoahAllocationThreshold=85 -XX:ShenandoahGCHeuristics=compact -XX:ShenandoahGCMode=iu -XX:ShenandoahGuaranteedGCInterval=0 -XX:+ShowCodeDetailsInExceptionMessages -XX:+ShowMessageBoxOnError -XX:ThreadPriorityPolicy=1 -XX:ThreadStackSize=4096 -XX:Tier0Delay=1 -XX:Tier0ProfilingStartPercentage=2000 -XX:+TieredCompilation -XX:TieredOldPercentage=10000 -XX:TieredStopAtLevel=4 -XX:TrimNativeHeapInterval=60000 -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -XX:UseAVX=3 -XX:+UseBMI1Instructions -XX:+UseBMI2Instructions -XX:+UseCLMUL -XX:+UseCompressedClassPointers -XX:+UseCompressedOops -XX:-UseCondCardMark -XX:+UseCriticalCompilerThreadPriority -XX:+UseCriticalJavaThreadPriority -XX:-UseDynamicNumberOfCompilerThreads -XX:+UseFMA -XX:+UseFPUForSpilling -XX:+UseFastStosb -XX:+UseFastUnorderedTimeStamps -XX:UseSSE=4 -XX:+UseSSE42Intrinsics -XX:+UseShenandoahGC -XX:+UseStringDeduplication -XX:+UseUnalignedAccesses -XX:+UseUnalignedLoadStores -XX:+UseVectorCmov -XX:+UseVectorStubs -XX:+UseXMMForArrayCopy -XX:+UseXMMForObjInit -XX:+UseXmmI2D -XX:+UseXmmI2F -XX:+ZeroTLAB
OpenJDK 64-Bit Server VM warning: UseXMMForObjInit requires SSE2 and unaligned load/stores. Feature is switched off.
Error occurred during initialization of VM
Unknown -XX:ShenandoahGCMode option

pschichtel commented on 2025-03-31 21:45 (UTC)

@JamesMowery something is setting the PermSize setting for you, but I can't find that string anywhere in the build files of the package. Are you sure, that you don't have a $HOME/.config/starsector/startup.sh ? Or some environment variables that are picked up by the JVM globally?

JamesMowery commented on 2025-03-31 02:06 (UTC) (edited on 2025-03-31 02:07 (UTC) by JamesMowery)

Just installed this from scratch (no prior versions were installed). Getting the following errors when attempting to start:

OpenJDK 64-Bit Server VM warning: Options -Xverify:none and -noverify were deprecated in JDK 13 and will likely be removed in a future release.

Unrecognized VM option 'PermSize=192m'

Error: Could not create the Java Virtual Machine.

Error: A fatal exception has occurred. Program will exit.

martiuk commented on 2024-10-08 17:12 (UTC)

Anyone with an Nvidia GPU experiencing core dumps when starting the game should run it with __GL_THREADED_OPTIMIZATIONS=0

Glomzubuk commented on 2024-02-03 14:18 (UTC) (edited on 2024-02-03 14:18 (UTC) by Glomzubuk)

New jvm args from the original starsector.sh jvm_args=(-XX:+UseG1GC -Xms1536m -Xmx1536m -Xss2048k -XX:PermSize=192m -XX:MaxPermSize=192m)

msnspk commented on 2023-09-18 21:35 (UTC)

I think the source URL moved from AWS to: https://f005.backblazeb2.com/file/fractalsoftworks/release/starsector_linux-0.96a-RC10.zip

At least, that's the URL used on the game's website now, and the AWS URL was failing for me

pschichtel commented on 2022-12-13 22:59 (UTC)

@cure1245 works now

cure1245 commented on 2022-12-12 05:35 (UTC)

starsector.sh is failing to pass validation in latest package.