Knuckle Cracker

Knuckle Cracker => Support => Topic started by: knucracker on September 15, 2016, 08:01:40 AM

Title: Linux and OS X users
Post by: knucracker on September 15, 2016, 08:01:40 AM
If you are running Particle Fleet on an OS other than windows (that would be OS X or Linux), I'd like to hear from you.

If everything is fine, just post and let me know your OS (and a tad about your hardware) and say "It's working with no problems".

And if you can't get it to run, I really want to know about that. :)

These are the requirements:
Linux:
OpenGL3.2 or higher.  If you are running linux in a virtual machine, you might not have a driver that is 3.2 or higher.  This can cause the game to not start on linux.
I've tested on Ubuntu 12.04+

OSX:
OSX 10.9+.  Again with opengl3.2 or later.  The opengl version isn't really a problem on OSX, though.
If you are running the non steam version of the game, you will need to temporarily allow gatekeeper to run the game.
If you have a multi monitor setup, the game will crash on start.  Unplug a monitor and it will start. This is a developing issue, so more soon...
Title: Re: Linux and OS X users
Post by: steelwing on September 15, 2016, 08:05:41 AM
Linux user here.  Everything's 8).
Title: Re: Linux and OS X users
Post by: knucracker on September 15, 2016, 08:49:34 AM
For linux people... keep an eye out for vertical lines that appear.  They show up only at certain zoom notches and only at certain map pan positions.  If you ever see them, let me know.  I know planetfall sees them, so my expectation is they will show up for others.
Title: Re: Linux and OS X users
Post by: jaworeq on September 15, 2016, 09:10:49 AM
Bit offtopic, since I'm on win7, but I saw flickering of inactive enemy struct. Screenshots below. Zoom level is the same for both screenshots, I'm just moving map left-right. During continuous map movement it can flicker a lot. Or not at all.
Title: Re: Linux and OS X users
Post by: knucracker on September 15, 2016, 09:32:39 AM
Yeah, that's a pixel alignment issue at a given resolution.  A similar thing happens on the aim line from a grabber.  You normally it at white, but it can appear gray.  The texture for that line is white with gray edges, so depending on the zoom and the exact placement, the GPU does it's best to interpolate what color to show. The struc patter is similar.  It gets 'small' when you zoom it out and it also has a border to make it show up against different colored things.

I may be able to adjust it so it is less severe, but at least it isn't a fundamental GPU or platform issue.  It's actually working 'correctly' if you see that (everyone else will observe it too).
Title: Re: Linux and OS X users
Post by: AJKS on September 15, 2016, 11:01:14 AM
Just joined so please excuse a newbie question: How do I get the Mac beta?
Title: Re: Linux and OS X users
Post by: steelwing on September 15, 2016, 11:06:40 AM
Quote from: virgilw on September 15, 2016, 08:49:34 AM
For linux people... keep an eye out for vertical lines that appear.  They show up only at certain zoom notches and only at certain map pan positions.  If you ever see them, let me know.  I know planetfall sees them, so my expectation is they will show up for others.
Haven't seen them yet, but will watch out.  Every so often, I've noticed that the the aiming line for grabbers disappears at vertical or horizontal rotation.
Title: Re: Linux and OS X users
Post by: SuperTerminator on September 15, 2016, 03:46:34 PM
Once I can get arch linux installed and running on my laptop I'll be checking. Gotta learn a lot of command line and OS configuration junk first Q_Q
Title: Re: Linux and OS X users
Post by: SuperTerminator on September 15, 2016, 11:42:51 PM
So I've just got Arch Linux running on my laptop, but for now I'm unable to play the steam linux version because steam will take waaay too much effort to get running since arch linux has major mental issues with doing things the easy way.  (look at attached photo). I'll try to figure out how to get it running tomorrow, though if it doesn't I might install fedora or straight up debian.
Title: Re: Linux and OS X users
Post by: steelwing on September 16, 2016, 08:13:35 AM
Quote from: SuperTerminator on September 15, 2016, 11:42:51 PM
So I've just got Arch Linux running on my laptop, but for now I'm unable to play the steam linux version because steam will take waaay too much effort to get running since arch linux has major mental issues with doing things the easy way.  (look at attached photo). I'll try to figure out how to get it running tomorrow, though if it doesn't I might install fedora or straight up debian.
There is a steam package in Arch's repository.  Installing that should take care of the dependencies, as long as you have multilib enabled.
Title: Re: Linux and OS X users
Post by: SuperTerminator on September 16, 2016, 09:39:16 AM
Quote from: steelwing on September 16, 2016, 08:13:35 AM
Quote from: SuperTerminator on September 15, 2016, 11:42:51 PM
So I've just got Arch Linux running on my laptop, but for now I'm unable to play the steam linux version because steam will take waaay too much effort to get running since arch linux has major mental issues with doing things the easy way.  (look at attached photo). I'll try to figure out how to get it running tomorrow, though if it doesn't I might install fedora or straight up debian.
There is a steam package in Arch's repository.  Installing that should take care of the dependencies, as long as you have multilib enabled.
Thanks, configuring that now. Should be smooth sailing as soon as I get a couple other minor things straightened out.
Title: Re: Linux and OS X users
Post by: steelwing on September 16, 2016, 10:15:01 AM
No prob.  I'm currently on OpenSUSE and have been looking at switching to Arch, so I've done a fair bit of research on what I'll have to do to get it working for me.  Looks like it'll be a...fun and interesting experience. :D
Title: Re: Linux and OS X users
Post by: UncleBod on September 17, 2016, 03:22:49 AM
Got it running under Kubuntu16.4. 32 bit
I have a problem with the Story missions.
I get no help texts in the Naviety mission.
It starts, I place the Corporate HQ and an Omni, but then I can go no longer.
Not even after removing the installation and cleaning the
~/.local/share/knucklecracker/particlefleet directory.

/UncleBod
-Confused-
Title: Re: Linux and OS X users
Post by: knucracker on September 17, 2016, 09:34:02 AM
Take a look in the log after running the game to see if it is complaining about anything...
http://knucklecracker.com/forums/index.php?topic=21330.0
Title: Re: Linux and OS X users
Post by: SuperTerminator on September 17, 2016, 10:34:35 AM
Quote from: virgilw on September 17, 2016, 09:34:02 AM
Take a look in the log after running the game to see if it is complaining about anything...
http://knucklecracker.com/forums/index.php?topic=21330.0

Would running steam and by extention the game from the command line print any errors to the terminal or is it only to the log file?
Title: Re: Linux and OS X users
Post by: knucracker on September 17, 2016, 10:38:01 AM
Most everything goes to the log file.  It's a unity thing.  If there are critical errors actually starting the application, then they might go to stderr. 
Title: Re: Linux and OS X users
Post by: UncleBod on September 17, 2016, 06:00:07 PM
Quote from: SuperTerminator on September 17, 2016, 10:34:35 AM
Quote from: virgilw on September 17, 2016, 09:34:02 AM
Take a look in the log after running the game to see if it is complaining about anything...
http://knucklecracker.com/forums/index.php?topic=21330.0

Would running steam and by extention the game from the command line print any errors to the terminal or is it only to the log file?

Could i be:
ERROR: ld.so: object '/home/nilsarne/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
Setting breakpad minidump AppID = 422900
Steam_SetMinidumpSteamID:  Caching Steam ID:  76561198130650748 [API loaded no]
ERROR: ld.so: object '/home/nilsarne/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
GLX_EXT_visual_rating GLX_EXT_fbconfig_packed_float GLX_EXT_framebuffer_sRGB GLX_EXT_create_context_es2_profile GLX_EXT_create_context_es_profile GLX_MESA_copy_sub_buffer GLX_MESA_multithread_makecurrent GLX_MESA_query_renderer GLX_MESA_swap_control GLX_OML_swap_method GLX_OML_sync_control GLX_SGI_make_current_read GLX_SGI_swap_control GLX_SGI_video_sync GLX_SGIS_multisample GLX_SGIX_fbconfig GLX_SGIX_pbuffer GLX_SGIX_visual_select_group GLX_EXT_texture_from_pixmap GLX_INTEL_swap_event


that is the problem?
I missed first. It was hidden at the top of the log...

/UncleBod
Less confused
Title: Re: Linux and OS X users
Post by: knucracker on September 17, 2016, 06:46:18 PM
Yeah, turn off the steam overlay for the game and see if that helps.
Title: Re: Linux and OS X users
Post by: UncleBod on September 17, 2016, 07:48:20 PM
Tested that, and some other things I found here:https://wiki.archlinux.org/index.php/Steam/Troubleshooting#Steam_runtime_issues

I suppose it is my own fault. I run a 32 bit OS on a 64 bit maschine. Poor steam gets confused...

I will se if I can test it on a pure 32 bit Linux installation later today. If that also fails with the Story, it will be a real bug, right now it might be just my setup.

/UncleBod
Title: Re: Linux and OS X users
Post by: UncleBod on September 18, 2016, 04:07:47 PM
Quote from: UncleBod on September 17, 2016, 07:48:20 PM

I will se if I can test it on a pure 32 bit Linux installation later today. If that also fails with the Story, it will be a real bug, right now it might be just my setup.

Test failed. The Video card was not new enough, so PF didn't even start...
Well, I will wait until someone else can verify it it works on other 32 bit systems or not.

/UncleBod
Title: Re: Linux and OS X users
Post by: SuperTerminator on September 18, 2016, 07:41:45 PM
Quote from: UncleBod on September 18, 2016, 04:07:47 PM
Quote from: UncleBod on September 17, 2016, 07:48:20 PM

I will se if I can test it on a pure 32 bit Linux installation later today. If that also fails with the Story, it will be a real bug, right now it might be just my setup.

Test failed. The Video card was not new enough, so PF didn't even start...
Well, I will wait until someone else can verify it it works on other 32 bit systems or not.

/UncleBod

What error did it throw and what card do you have? Linux is very picky about its drivers, so there's a good chance you didn't install the right driver package.
Title: Re: Linux and OS X users
Post by: UncleBod on September 18, 2016, 11:48:35 PM
Quote from: SuperTerminator on September 18, 2016, 07:41:45 PM
Quote from: UncleBod on September 18, 2016, 04:07:47 PM
Quote from: UncleBod on September 17, 2016, 07:48:20 PM

I will se if I can test it on a pure 32 bit Linux installation later today. If that also fails with the Story, it will be a real bug, right now it might be just my setup.

Test failed. The Video card was not new enough, so PF didn't even start...
Well, I will wait until someone else can verify it it works on other 32 bit systems or not.

/UncleBod

What error did it throw and what card do you have? Linux is very picky about its drivers, so there's a good chance you didn't install the right driver package.

I'll dig out the log tonite.  Tha box is old, so I am not sure it can run the game anyway...

/Unclebod
Starts planing OS upgrade.
Title: Re: Linux and OS X users
Post by: UncleBod on September 20, 2016, 12:52:07 AM
Tested on a jurry rigged pure 32 bit Kubuntu 14 system.
Works, and shows the help texts.
/UncleBod
Really have to make that update to 64 bit soon...
Title: Re: Linux and OS X users
Post by: Jonny_D on September 20, 2016, 03:40:48 PM
Hey Virgil,

Sent you my specs before but I might as well send you them here too. I'm attaching a screen snippet from my specs info. For the most part the game runs okay aside from that vertical line thingy on the land pieces. Right now she's clocking at around 12 to 16fps on a very large map with busy particle action. Kinda wish I could get the performance higher but it might be my graphics card. Other than that the game runs perfectly fine :)

Title: Re: Linux and OS X users
Post by: Karsten75 on September 20, 2016, 03:54:19 PM
Quote from: Jonny_D on September 20, 2016, 03:40:48 PM
Hey Virgil,

Sent you my specs before but I might as well send you them here too. I'm attaching a screen snippet from my specs info. For the most part the game runs okay aside from that vertical line thingy on the land pieces. Right now she's clocking at around 12 to 16fps on a very large map with busy particle action. Kinda wish I could get the performance higher but it might be my graphics card. Other than that the game runs perfectly fine :)

Yep, that's on the low end of the capability scale nowadays.
Title: Re: Linux and OS X users
Post by: knucracker on September 20, 2016, 09:23:12 PM
Quote from: Jonny_D on September 20, 2016, 03:40:48 PM
Hey Virgil,

Sent you my specs before but I might as well send you them here too. I'm attaching a screen snippet from my specs info. For the most part the game runs okay aside from that vertical line thingy on the land pieces. Right now she's clocking at around 12 to 16fps on a very large map with busy particle action. Kinda wish I could get the performance higher but it might be my graphics card. Other than that the game runs perfectly fine :)

The vertical line issue... can you attach a few screenshots of it?  How common would you say it is?  It should only happen at certain zoom levels.
Title: Re: Linux and OS X users
Post by: Jonny_D on September 21, 2016, 06:56:56 PM
Quote from: virgilw on September 20, 2016, 09:23:12 PM
The vertical line issue... can you attach a few screenshots of it?  How common would you say it is?  It should only happen at certain zoom levels.

Attaching image... again it's infrequent as to when it happens. it's not restricted to certain zoom levels as zooming back and fourth between two levels can both cause and not cause the visual glitch. I had (have even) the same visual glitch with CW3.
Title: Re: Linux and OS X users
Post by: Shockblast DX on September 21, 2016, 08:13:45 PM
I'm mostly Linux. I occasionally use windows, but for certain things only.
Title: Re: Linux and OS X users
Post by: UncleBod on September 24, 2016, 03:11:54 AM
Ok, a last report on the 32/64 missmatch...
iI cn sort of run on my 32 bit ubuntu system (It is not fast enough, but the scripted mission works.)
I run unil I got the Lathe ship placed, and copied the save to my 32/64 missmatch system.
The script in the mission was not running.
Log:
https://drive.google.com/file/d/0B7ZdaMv6cD-rRWJydGdQc1RNQmc/view?usp=sharing

Can anyone confirm that the scripted mission runs on a pure 64 bit Ubuntu install?

I don't think it is worth the time to find this bug, since it could be a Steam issue as well as PF issue, but it is god to know the issue exists...

/UncleBod
Title: Re: Linux and OS X users
Post by: Incompetent on September 29, 2016, 09:43:40 AM
I'm using Mac OS El Capitan.  I downloaded the demo, and initially it refused to open.  It turned out the problem was that the app wasn't set to be executable - after some Googling I found out that this can be fixed by using the console command chmod.

Once I'd sorted that out though, everything ran fine.  Looking forward to the full game!
Title: Re: Linux and OS X users
Post by: DanTheGoodMan on September 29, 2016, 01:03:11 PM
macOS Sierra here.

MacBook Pro (Retina, 15-inch, Late 2013)
Processor: 2 GHz Intel Core i7
Memory: 16GB 1600 MHz DDR3
Graphics: Intel Iris Pro 1536MB

I am able to play the demo just fine. I do experience a crash when I try to start the game and I have my 4K external monitor attached as a second screen. If I disconnect the screen, however, then I can start the game and reattach the screen and play just fine. Attached is the crash dump.
Title: Re: Linux and OS X users
Post by: Portelly on September 29, 2016, 02:57:17 PM
Quote from: DanTheGoodMan on September 29, 2016, 01:03:11 PM
macOS Sierra here.

MacBook Pro (Retina, 15-inch, Late 2013)
Processor: 2 GHz Intel Core i7
Memory: 16GB 1600 MHz DDR3
Graphics: Intel Iris Pro 1536MB

I am able to play the demo just fine. I do experience a crash when I try to start the game and I have my 4K external monitor attached as a second screen. If I disconnect the screen, however, then I can start the game and reattach the screen and play just fine. Attached is the crash dump.

Same problem here with a dual screen on my Mac mini. Same solution.
Although my screen are not 4K but 2 ASUS VW266H (1920x1200)

Title: Re: Linux and OS X users
Post by: PnutbutterSasquatch on September 29, 2016, 06:34:32 PM
Works fine on my MBP:

MacBook Pro (Retina, 15-inch, Mid 2015)
2.8 GHz Intel Core i7
Intel Iris Pro 1536 MB
Built-in Display 2880x1800
Title: Re: Linux and OS X users
Post by: ljw1004 on September 29, 2016, 11:19:21 PM
I had two problems: "all black on launch" and "wrong aspect ratio"


MacBook Air (11", Early 2014)
1.4GHz Intel Core i5
4 GB
Graphics: Intel HD Graphics 5000 1536 MB
OS X El Capitan 10.11.6

I've not tried the demo on this machine. I just purchased the game, unzipped it, did Ctrl+Click > Open to get past Gatekeeper. The game spent about 30 seconds before it popped up its window. When it did pop up the window, the music plays, but the screen is completely black.

Then I did Window > FullScreen. At this point I was able to see the screen, and see it asking for my license key.

I did Window > FullScreen again, and it restored to a normal window, and it continued to display properly.


I'm playing through the prologue now. When I play it in full-screen (from Window > FullScreen) it displays in the wrong aspect ratio - a bit too stretched horizontally. When I play it in windowed mode, it has the correct aspect ratio.

If I enter fullscreen by going to the in-game settings menu and clicking the fullscreen button, then it displays fullscreen in the correct aspect ratio. Okay, I've played up to story level 3 like this.


Dang it's hard to play on a Mac trackpad! I'm going to go buy a mouse tomorrow.
Title: Re: Linux and OS X users
Post by: coruun on September 30, 2016, 11:22:32 AM
I successfully tried the demo in VirtualBox with a fresh Ubuntu 16.04. Though, the performance was horrible.

The game is running very fine with Steam on ArchLinux. But I noticed two problems:
Title: Re: Linux and OS X users
Post by: Kharnellius on September 30, 2016, 12:44:06 PM
Quote from: Jonny_D on September 20, 2016, 03:40:48 PM
Hey Virgil,

Sent you my specs before but I might as well send you them here too. I'm attaching a screen snippet from my specs info. For the most part the game runs okay aside from that vertical line thingy on the land pieces. Right now she's clocking at around 12 to 16fps on a very large map with busy particle action. Kinda wish I could get the performance higher but it might be my graphics card. Other than that the game runs perfectly fine :)

Yeah, the 256MB for the graphics card is very low.  For comparison, my gfx card has 4GB (4000 MB) or in other words, 16 times the memory yours has.  That doesn't even take into consideration the difference in processing speed.  Granted mine is brand new, but there are even cards with 6GB, 8GB, and (coming soon) 16GB.
Title: Re: Linux and OS X users
Post by: UncleBod on October 01, 2016, 03:03:52 AM
At last one problem is solved.
In the Steam Fora nanognome wrote:
QuoteNote for non-English Linux users - this game is affected by Unity locale bug
Just like many other Unity games, it basically doesn't work properly on non-US locales on Linux. On Russian locale I wasn't even able to complete the very first mission.

Standard workaround - click "Set Launch Command" in Steam's game properties dialog and set it to
LC_ALL=C %command%
With this workaround it seems everything works fine.

Now I remember. KSP has the same issue with non english Linux installs. Unity takes the language inforamtion for how to hanlde numbers. Several European countries uses comma in stead of decimal point, so Unity gets lost...

So, in steam, add the line above at "Properties"/"Game launch options".
If you run the Demo from a shell prompt use the line:
LC_ALL=C ./PFLaunch

/UncleBod
Have fun playing. I will.
Title: Re: Linux and OS X users
Post by: krz on October 01, 2016, 04:39:26 AM
Hello everyone,

Didn't work for me at first on Steam version, Mac OS X 10.10. The screen turned almost empty and looked like this: https://www.dropbox.com/s/0su8fwio2hn8lhq/Screenshot%202016-10-01%2011.30.36.png?dl=0

Disabling Steam in-game overlay resolved this issue. (in Game settings)
Title: Re: Linux and OS X users
Post by: stdout on October 04, 2016, 08:55:22 AM
From Day 1 PF has been working great for me on Linux (Fedora and Centos).

One thing has cropped up, though: it seems waypoints don't work. You select a ship, hold shift and click elsewhere, but that does nothing. Isn't that the right way to make the waypoints?
Title: Re: Linux and OS X users
Post by: GoodMorning on October 04, 2016, 09:23:25 AM
Intended behaviour. Waypoints are Omni-only at the moment, likely to prevent easy over-land invincibility exploits.
Title: Re: Linux and OS X users
Post by: stdout on October 04, 2016, 09:26:46 AM
I missed that detail, thanks. Confirmed Omni waypoints do work.
Title: Re: Linux and OS X users
Post by: spenneps on October 04, 2016, 01:26:54 PM
hello runnug ubuntu 16.04 on i5 laptop 4g ram 64bit, onboard intel graphics.  Game runs fine exept slow going between menu screens and main menu screen is glitchy, ie options flash, problems only on menu screen and only visual functionality unimpaired.
Thanks for great game
Title: Re: Linux and OS X users
Post by: thumbmaster on October 12, 2016, 06:10:36 PM
My son is running this on his 13" MacBook Pro (1280x800). When he uses the mission editor, some palettes go off-screen and there's no way to move them. For example, the "General Settings" palette in this screen shot. The laptop is running 10.11.6.
Title: Re: Linux and OS X users
Post by: Karsten75 on October 12, 2016, 06:56:53 PM
Quote from: thumbmaster on October 12, 2016, 06:10:36 PM
My son is running this on his 13" MacBook Pro (1280x800). When he uses the mission editor, some palettes go off-screen and there's no way to move them. For example, the "General Settings" palette in this screen shot. The laptop is running 10.11.6.

Try adjusting the UI scaling in the Graphics menu.
Title: Re: Linux and OS X users
Post by: thumbmaster on October 12, 2016, 07:48:44 PM
Quote from: Karsten75 on October 12, 2016, 06:56:53 PM
Quote from: thumbmaster on October 12, 2016, 06:10:36 PM
My son is running this on his 13" MacBook Pro (1280x800). When he uses the mission editor, some palettes go off-screen and there's no way to move them. For example, the "General Settings" palette in this screen shot. The laptop is running 10.11.6.

Try adjusting the UI scaling in the Graphics menu.

That took care of it! Thanks! He's never been so excited about a game (except Minecraft).
Title: Re: DEMO version BUG on Linux (Ubuntu 16.04 TLS)
Post by: Ge0rgecz on October 18, 2016, 02:36:55 PM
Thank you.

BTW, my Ubuntu default language is Czech (cs_CZ).

This bug is not only about DEMO version, same thing happens in "STEAM version" too (bought right now).
Temporary solution in STEAM:
1. right click on downloaded game in library
2. select "Properties" (last row) in context menu
3. SET LAUNCH OPTIONS... button (first button on first tab)
4. and type: LC_ALL=C %command%
5. confirm with OK button

Btw, its awesome game, masterpiece no.2. Worth the money.
Title: Re: Linux and OS X users
Post by: toolforger on June 30, 2017, 11:41:02 AM
The game doesn't install properly from Steam for me.
I can start it just fine from the Steam client, but the installer has trouble putting it into the desktop's start menu, and when I tried to do that manually it failed with some permission problem (but it didn't clearly say what it was trying to do so so I don't know what permission is wrong, or whether it tried to install a system-wide entry where it should have been a user-specific one).

This is on Ubuntu 16.04.2 LTS.
Steam version is 1:1.0.0.48-1ubuntu4

Arc Eternal installed fine, btw, so I assume it's either a difference in the installers between Arc Eternal and Particle Fleet, or some permission changes done by an Ubuntu or Steam update (I didn't change permissions manually).

Also, I don't see a way to send ratings. This might or might not be related, I have no clue.
UPDATE: Taking this to http://knucklecracker.com/forums/index.php?topic=21626.0 as it's unrelated.
Title: Re: Linux and OS X users
Post by: knucracker on July 25, 2017, 12:05:43 PM
The current beta branch of the game allows rating a map at the end of the mission (rather than on the selection menu only).

As for installing, the steam client does all of that. I don't have an installer I wrote for the game when it is installed by steam. There are just the game files and the steam client puts them where it wants and then creates icons (or not) as it sees fit.  So I can't help with direct installation issues other than to say to do the normal things (reboot, make sure you are running the steam client with an user that has adequate permissions).

If the problem persists and nothing shakes loose, you can email me at support@knucklecracker.com.