Jump to content

LordJason

Members
  • Posts

    5
  • Joined

  • Last visited

Posts posted by LordJason

  1. 2 hours ago, linuxgurugamer said:

    Have you verified that the controller works and is visible ?  Stupid question, but I need to ask.

    I'll see about a debug build, but it really sounds like it could be a driver issue

    Well, yes but no.
    Vanilla KSP does not see any joysticks on linux, unless I use steam to emulate an Xbox controller. Bugs reports exist in the tracker for issues like this.
    A workaround many have claimed to be using is AFBW, because of the use of sdl.
    All of my joysticks are detected if I run jstest-gtk.
    They show up in the system as /dev/input/js0 and js1   (A hotas, and throttle+rudder pedals)
    If I use steam, it creates js2, js3,etc for the emulated xbox controllers, including up to js4 if I also have the steam controller plugged in.

    Other games see and use js0 and 1 just fine. Xplane-11 is the first that comes to mind. Come to think of it though, I am not aware of any Unity based game that does.
    Screenshot%20from%202018-06-05%2021-22-0

     

    EDIT: This may be related, or it may be two separate issues.
    I've filed a bug report.
    I suspect it has something to do with steam/bpm, steam controller, libCsteamworks.so, libsteam_api, and the virtual xbox controllers created by steam.

    A vanilla install simply crashes when trying to set any input axis, while steam is running and the virtual devices exist.
    Without steam, KSP doesn't see js0 or js1, so trying to set inputs at the vanilla configuration screen simply sits there waiting for input. If AFBW is added, everything is the same (no crash at config screen, and no detection) but the game fails to load any flight.
    This may be two separate issues?

  2. 4 hours ago, linuxgurugamer said:

    I will have to make an Arch Linux install to test this, is going to take a while

    If it would be easier, perhaps a build with a bunch of debug output? What I can tell you at the moment is:
    Steam/the overlay isn't a factor as the same thing happens when running ksp standalone.
    Something is happening, it's stuck in a loop perhaps. One core stays at 100% while it's at the loading screen and I don't kill the process.
    I've disconnected the steam controller and no change.

    I'm willing to help however I can. Just tell me what you need. I'll even attempt looking at the code myself if anybody can point me to, up to date information, on setting up a ksp-modding dev environment on linux.

  3. Do you have the SDL-2 libraries loaded?  I just tested this and it worked, but if the libraries aren't loaded, I don't know what would happen.

    From the OP:

    Linux users, you must install SDL2 through your distro's package manager (libSDL2-2.so must be present on the system)

    What version of Linux are you on?


    Arch Linux.

    I have sdl2.
     

    usr/lib/libSDL2-2.0.so
    usr/lib/libSDL2-2.0.so.0
    usr/lib/libSDL2-2.0.so.0.8.0
    usr/lib/libSDL2.so
    usr/lib/libSDL2main.a
    

    All files on my system related to sdl2 are listed on this page.

  4. KSP: 1.4.3.2152 Linux 64bit

    Problem: AFBW causes flight scene not to load. The load animation stops moving, and it sits there indefinitely? (tested up to 10 mins)

    Mods installed:

    AFBW Revived (Linux version) 1.8.0.5

    ClickThrough Blocker 0.1.6.5

    Toolbar Controller 0.1.6.7

    Reproduction steps:

    Have AFBW installed. Attempt to launch any rocket.

    Log:
    PlayerLog with AFBW installed. - 
    Flight scene never loads / lockup on loading screen.
    PlayerLog with only AFBW removed.  - Flight scene loads quickly and I can launch rockets as expected.

×
×
  • Create New...