EnglishGermanFrenchRussianPolishItalianSpanish
Log inRegister
 
X³: TC and AP - Linux support thread
Post new topic Reply to topic Goto page Previous  1, 2, 3 ... , 42, 43, 44  Next
View previous topic :: View next topic
Author Message
adrianx





Joined: 24 Apr 2011
Posts: 106 on topic

Thank you for registering your game
PostPosted: Mon, 8. May 17, 09:49    Post subject: Reply with quote Print

timon37 wrote:
The input issue will be fixed in the next build, though I don't know when it'll be out.


Um, keyboard or joystick or both ? At any rate, thanks; I can muddle through the keyboard problem and am probably going to buy a Steam controller at some point (would have already but they're not sold in Norway) so will try playing with that instead of joystick and especially for X-Rebirth.

Back to top
View user's profile Send private message
timon37
EGOSOFT
EGOSOFT

MEDAL

Joined: 14 Dec 2012
Posts: 329 on topic

Thank you for registering your game
PostPosted: Mon, 8. May 17, 10:16    Post subject: Reply with quote Print

adrianx wrote:
timon37 wrote:
The input issue will be fixed in the next build, though I don't know when it'll be out.


Um, keyboard or joystick or both ? At any rate, thanks; I can muddle through the keyboard problem and am probably going to buy a Steam controller at some point (would have already but they're not sold in Norway) so will try playing with that instead of joystick and especially for X-Rebirth.


Keyboard issue almost for sure (unless the sdl-events behave inconsistently between systems).
I fixed one joystick issue, but I'm getting the impression that there's a different one, which I couldn't reproduce, so your issue probably won't be fixed:(

Back to top
View user's profile Send private message
adrianx





Joined: 24 Apr 2011
Posts: 106 on topic

Thank you for registering your game
PostPosted: Mon, 8. May 17, 11:03    Post subject: Reply with quote Print

timon37 wrote:


Keyboard issue almost for sure (unless the sdl-events behave inconsistently between systems).
I fixed one joystick issue, but I'm getting the impression that there's a different one, which I couldn't reproduce, so your issue probably won't be fixed:(


Thanks for still supporting the older Xs' - have Rebirth in my library but thought I'd wait until its patched and modded to hell and back before playing Wink (especially so I don't have to "play" the mini-game warp-tunnel).

Back to top
View user's profile Send private message
timon37
EGOSOFT
EGOSOFT

MEDAL

Joined: 14 Dec 2012
Posts: 329 on topic

Thank you for registering your game
PostPosted: Fri, 12. May 17, 17:00    Post subject: Reply with quote Print

Hi,
The most recent fixes are out in public beta (switching instructions https://forum.egosoft.com/viewtopic.php?t=392992) so anyone who's not afraid can test them;)

I also have something I'd like those with joystick issues to try.
Open a console and do (note it's lower case L and not upper case i):
Quote:
ls -lL /dev/input/by-id/

You'll get something like this:
Quote:
total 0
crw-r----- 1 root root 13, 67 May 12 09:14 usb-046a_0023-event-if01
crw-r----- 1 root root 13, 66 May 12 09:14 usb-046a_0023-event-kbd
crw-r----- 1 root root 13, 68 May 12 09:14 usb-Microsoft_Comfort_Mouse_6000-event-mouse
crw-r----- 1 root root 13, 32 May 12 09:14 usb-Microsoft_Comfort_Mouse_6000-mouse
crw-r----- 1 root root 13, 81 May 12 16:53 usb-©Microsoft_Corporation_Controller_0957272-event-joystick
crw-r--r-- 1 root root 13, 2 May 12 16:53 usb-©Microsoft_Corporation_Controller_0957272-joystick

You'll likely see your joystick twice, once with -event-joystick and another just -joystick.
In the example the event-joystick one doesn't have read permissions for anyone other than root. Then the simple (albeit annoying) workaround is to just do:
Quote:
sudo chmod o+r /dev/input/by-id/usb-©Microsoft_Corporation_Controller_0957272-event-joystick


Back to top
View user's profile Send private message
adrianx





Joined: 24 Apr 2011
Posts: 106 on topic

Thank you for registering your game
PostPosted: Fri, 12. May 17, 19:23    Post subject: Reply with quote Print

timon37 wrote:
Hi,
I also have something I'd like those with joystick issues to try.


Code:

adrian@mort:~$ ls -lL /dev/input/by-id/
total 0
crw-rw----  1 root input   13, 67 May 12 16:12 usb-Clearly_Superior_Technologies._CST_Laser_Trackball-event-mouse
crw-rw----  1 root input   13, 32 May 12 16:12 usb-Clearly_Superior_Technologies._CST_Laser_Trackball-mouse
crw-rw----+ 1 root plugdev 13, 81 May 12 18:15 usb-Saitek_Saitek_X52_Pro_Flight_Control_System-event-joystick
crw-rw----+ 1 root plugdev 13,  0 May 12 18:15 usb-Saitek_Saitek_X52_Pro_Flight_Control_System-joystick
adrian@mort:~$ id
uid=1000(adrian) gid=1000(adrian) groups=1000(adrian),4(adm),24(cdrom),27(sudo),29(audio),30(dip),44(video),46(plugdev),108(lpadmin),124(sambashare),125(vboxusers),128(libvirtd)
adrian@mort:~$ sudo chmod o+r /dev/input/by-id/usb-Saitek_Saitek_X52_Pro_Flight_Control_System-*
[sudo] password for adrian:
adrian@mort:~$ ls -lL /dev/input/by-id/
total 0
crw-rw----  1 root input   13, 67 May 12 16:12 usb-Clearly_Superior_Technologies._CST_Laser_Trackball-event-mouse
crw-rw----  1 root input   13, 32 May 12 16:12 usb-Clearly_Superior_Technologies._CST_Laser_Trackball-mouse
crw-rw-r--+ 1 root plugdev 13, 81 May 12 18:15 usb-Saitek_Saitek_X52_Pro_Flight_Control_System-event-joystick
crw-rw-r--+ 1 root plugdev 13,  0 May 12 18:15 usb-Saitek_Saitek_X52_Pro_Flight_Control_System-joystick
adrian@mort:~$ getfacl /dev/input/by-id/usb-Saitek_Saitek_X52_Pro_Flight_Control_System-*
getfacl: Removing leading '/' from absolute path names
# file: dev/input/by-id/usb-Saitek_Saitek_X52_Pro_Flight_Control_System-event-joystick
# owner: root
# group: plugdev
user::rw-
user:adrian:rw-
group::rw-
mask::rw-
other::r--

# file: dev/input/by-id/usb-Saitek_Saitek_X52_Pro_Flight_Control_System-joystick
# owner: root
# group: plugdev
user::rw-
user:adrian:rw-
group::rw-
mask::rw-
other::r--

I'm going to update my LU game with the beta and will let you know of any problems.
Thanks.

Back to top
View user's profile Send private message
adrianx





Joined: 24 Apr 2011
Posts: 106 on topic

Thank you for registering your game
PostPosted: Fri, 12. May 17, 19:48    Post subject: Reply with quote Print

I should just add that the joystick is shown in the config program but doesn't seem to give any input in the game (tried throttle, joystick, various buttons).

Back to top
View user's profile Send private message
adrianx





Joined: 24 Apr 2011
Posts: 106 on topic

Thank you for registering your game
PostPosted: Sat, 13. May 17, 13:58    Post subject: Reply with quote Print

Was there a new release today - I noticed Steam downloading an (seemingly large) update to X3AP just now and was curious why given I only installed it yesterday ?

Back to top
View user's profile Send private message
adrianx





Joined: 24 Apr 2011
Posts: 106 on topic

Thank you for registering your game
PostPosted: Sat, 13. May 17, 14:47    Post subject: Reply with quote Print

Keyboard input problem is fixed with the beta update yesterday, thanks.

Back to top
View user's profile Send private message
edmondo





Joined: 06 Nov 2002
Posts: 6 on topic

Thank you for registering your game
PostPosted: Mon, 15. May 17, 21:44    Post subject: Reply with quote Print

timon37 wrote:
@Avaricia

I'll bundle a few more libs for the next build, that'll hopefully solve the issue for you.
As a workaround you can try copying them from the steam-runtime to the "X3 Terran Conflict/lib" folder.
e.g. from ~/.steam/ubuntu12_32/steam-runtime/i386/lib/i386-linux-gnu/libz.so.1


The mesa shader cache uses zlib to compress the cache and you need at least vesion 1.2.9.

The game comes with a lower version of the library:

Code:

edmondo@balrog ~/.local/share/Steam/SteamApps/common/X3 Terran Conflict/lib $ strings libz.so.1 | grep ZLIB
ZLIB_1.2.0
ZLIB_1.2.0.2
ZLIB_1.2.0.8
ZLIB_1.2.2
ZLIB_1.2.2.3
ZLIB_1.2.2.4
ZLIB_1.2.3.3
ZLIB_1.2.3.4


To workaround the issue you can preload the system libz library, something like this:

Code:

LD_PRELOAD=/usr/lib32/libz.so.1 %command%


Back to top
View user's profile Send private message
rene77





Joined: 06 Apr 2017
Posts: 4 on topic

Thank you for registering your game
PostPosted: Mon, 22. May 17, 11:40    Post subject: Reply with quote Print

Trotz setzen der Zugriffsrechte ist mein Joystick Problem nicht behoben.

Code:

crw-rw----+ 1 root input 13, 66 Mai 22 10:11 usb-Thrustmaster_T.16000M-event-joystick
crw-rw-r--+ 1 root input 13,  0 Mai 22 10:11 usb-Thrustmaster_T.16000M-joystick


Code:

crw-rw-r--+ 1 root input 13, 66 Mai 22 10:11 usb-Thrustmaster_T.16000M-event-joystick
crw-rw-r--+ 1 root input 13,  0 Mai 22 10:11 usb-Thrustmaster_T.16000M-joystick


Back to top
View user's profile Send private message
Authorised



MEDAL

Joined: 04 Nov 2005
Posts: 36 on topic
Location: UK
Thank you for registering your game
PostPosted: Fri, 26. May 17, 20:12    Post subject: Reply with quote Print

If you rename the version of libz.so.1 in the ~/.local/share/Steam/SteamApps/common/X3 Terran Conflict/lib directory then it will use the system library and load just fine on Arch.


_________________
"It's too bad she won't live. But then again, who does?" - Gaff
Back to top
View user's profile Send private message
Avaricia





Joined: 27 Jun 2015
Posts: 12 on topic

Thank you for registering your game
PostPosted: Tue, 30. May 17, 21:46    Post subject: Reply with quote Print

Thanks guys I managed to make it launch on my Arch system.

Back to top
View user's profile Send private message
asfethan





Joined: 31 Jul 2014



PostPosted: Mon, 19. Jun 17, 22:35    Post subject: Reply with quote Print

edmondo wrote:

To workaround the issue you can preload the system libz library, something like this:

Code:

LD_PRELOAD=/usr/lib32/libz.so.1 %command%


This! I put that to "SET LAUNCH OPTIONS..." and config is working well again. Thanks man, I really appreciate your tip.

Back to top
View user's profile Send private message
Rinne





Joined: 18 Aug 2012
Posts: 13 on topic

Thank you for registering your game
PostPosted: Sun, 25. Jun 17, 21:20    Post subject: Reply with quote Print

Hi,

really nice to see X3 is still actively maintained! Smile

I've got the same problems as rene77.

My joystick is recognized and working by the configuration application but not in the game.

Code:
localhost /home/rinne # ls -lL /dev/input/by-id/
insgesamt 0
crw-rw----+ 1 root input 13, 75 25. Jun 16:47 usb-046d_Driving_Force_GT-event-joystick
crw-rw----  1 root input 13, 80 25. Jun 16:47 usb-046d_G11_Keyboard-event-kbd
crw-rw----  1 root input 13, 77 25. Jun 18:47 usb-046d_Gaming_Keyboard-event-if01
crw-rw----  1 root input 13, 76 25. Jun 16:47 usb-046d_Gaming_Keyboard-event-kbd
crw-rw----  1 root input 13, 78 25. Jun 18:47 usb-HOLTEK_ROCCAT_Kave_Headset-event-if00
crw-rw----  1 root input 13, 79 25. Jun 16:47 usb-Logitech_USB_Gaming_Mouse-event-mouse
crw-rw----+ 1 root input 13, 81 25. Jun 18:43 usb-Thrustmaster_T.Flight_Stick_X-event-joystick
localhost /home/rinne # getfa
getfacl   getfattr 
localhost /home/rinne # getfacl /dev/input/by-id/usb-Thrustmaster_T.Flight_Stick_X-event-joystick
getfacl: Removing leading '/' from absolute path names
# file: dev/input/by-id/usb-Thrustmaster_T.Flight_Stick_X-event-joystick
# owner: root
# group: input
user::rw-
user:rinne:rw-
group::rw-
mask::rw-
other::---


Back to top
View user's profile Send private message
Rinne





Joined: 18 Aug 2012
Posts: 13 on topic

Thank you for registering your game
PostPosted: Sun, 16. Jul 17, 17:20    Post subject: Reply with quote Print

Did some more testing concerning the joystick issue.

I downloaded older versions of X3 Terran Conflict via the steam console.

Results:
Version: June 29, 2015
X3TC_config: Joystick works as expected
X3TC_main: Joystick works as expected

Version: April 19, 2017
X3TC_config: Joystick recognized but input doesn't work
X3TC_main: Joystick recognized but input doesn't work

Version: May 15, 2017
X3TC_config: Joystick works as expected
X3TC_main: Joystick recognized but input doesn't work

The AP beta acts the same as the May 15 build.


Is there maybe something missing from the game that was patched in the configuration utility?

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic Reply to topic Goto page Previous  1, 2, 3 ... , 42, 43, 44  Next
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
Control Panel
Login Data
The time now is Mon, 21. Aug 17, 15:43

All times are GMT + 2 Hours


Board Security

Copyright © EGOSOFT 1989-2017
Powered by phpBB © 2001, 2005 phpBB Group
Template created by Avatar & BurnIt!
Debug: page generation = 0.57524 seconds, sql queries = 29