Linux Support
Moderator: Moderators for English X Forum
-
- Posts: 50
- Joined: Mon, 24. Feb 25, 04:38
Re: Linux Support
whats the axis minimum and maximum?
-
- Posts: 19
- Joined: Thu, 13. Jul 23, 03:48
Re: Linux Support
I tested on Windows with a different joystick (though from the same company) and the issue persisted so it seems like it might just be an issue with how the game handles throttle deadzones in general. If I can fix it in linux then that would be great, but I think it would still merit a separate issue.
-
- Posts: 19
- Joined: Thu, 13. Jul 23, 03:48
-
- Posts: 50
- Joined: Mon, 24. Feb 25, 04:38
Re: Linux Support
did you happen to change the dead zone settings and restart the game and or possibly your system?
evdev interacts directly with the kernel so i would change settings and reboot.
evdev interacts directly with the kernel so i would change settings and reboot.
-
- Posts: 19
- Joined: Thu, 13. Jul 23, 03:48
-
- Posts: 50
- Joined: Mon, 24. Feb 25, 04:38
Re: Linux Support
set the throttle in the "back" position and then make the changes. i would probably set the minimum to 0 and maximum to 32k and change the dead zone to 0 instead of it probably going to 16k. you will probably need to make an udev rule to make the changes at boot. though the udev rule will probably be a dirty hack type of solution.
-
- Posts: 19
- Joined: Thu, 13. Jul 23, 03:48
Re: Linux Support
I don't think I can change the min/max that evdev reports to X4, nor the values that my throttle reports to evdev, I can only change how evdev maps the throttle's range to evdev's standard range (-32k to 32k). However this did give me an idea, which is if I set the max value in evdev to twice the actual max, then after evdev it maps to exactly in the middle. Now with bidirectional throttle and it works as intended (back = 0 throttle, forward = max throttle, with some deadzone around 0), if a little hacky.xAix1999 wrote: ↑Wed, 21. May 25, 23:43 set the throttle in the "back" position and then make the changes. i would probably set the minimum to 0 and maximum to 32k and change the dead zone to 0 instead of it probably going to 16k. you will probably need to make an udev rule to make the changes at boot. though the udev rule will probably be a dirty hack type of solution.
-
- Posts: 19
- Joined: Thu, 13. Jul 23, 03:48
Re: Linux Support
I also decided that a systemd user service was a lot easier than a udev rule since it'll always be plugged in anyways, so after manually editing the saved calibration file, this is what I ended up with:
Code: Select all
~/.config/evdev-joystick-calibration/ThrustmasterTWCSThrottle.json
Code: Select all
{"2": {"minimum": 0, "maximum": 131070, "analog": "ABS_Z", "flat": 600}, "5": {"minimum": 0, "maximum": 1023, "analog": "ABS_RZ", "flat": 0}, "7": {"minimum": 0, "maximum": 1023, "analog": "ABS_RUDDER", "flat": 0}, "17": {"minimum": -1, "maximum": 1, "analog": "ABS_HAT0Y", "flat": 0}, "16": {"minimum": -1, "maximum": 1, "analog": "ABS_HAT0X", "flat": 0}, "1": {"minimum": 0, "maximum": 1023, "analog": "ABS_Y", "flat": 32}, "0": {"minimum": 0, "maximum": 1023, "analog": "ABS_X", "flat": 32}}
Code: Select all
~/.config/systemd/user/evdev-joystick-cal.service
Code: Select all
[Unit]
Description=Load Joystick Calibration for evdev-joystick
After=graphical.target
[Service]
Type=oneshot
ExecStart=/usr/local/bin/evdev-joystick-calibration -l
[Install]
WantedBy=default.target
-
- Posts: 50
- Joined: Mon, 24. Feb 25, 04:38
Re: Linux Support
excellent! let me know if it works as intended.
-
- Posts: 19
- Joined: Thu, 13. Jul 23, 03:48
Re: Linux Support
Seems to be, thanks for helping out!
-
- Posts: 74
- Joined: Fri, 8. Mar 19, 20:21
Re: Linux Support
I know insanely general, but anything one can do specifically to help?
I've been running the game on Linux since launch and had nothing but good experiences, would love to just be able to give back in some way
I've been running the game on Linux since launch and had nothing but good experiences, would love to just be able to give back in some way

-
- Posts: 2395
- Joined: Mon, 2. Dec 19, 19:40
Re: Linux Support
Installed pop!_os linux, steam and x4
Testrun x4 (after 45min shader post processing) was sucesful!
I want to transfer my saves, searched in - (personal directory) + "ctrl+h" .config - can not find egosofts x4 directory
What am i doing wrong? - Warning im linux-noob
Edit: FOUND
personal directory/.var/app/com,v,,,team/.config/Egosoft/x4/xxnumbersxx/save
Testrun x4 (after 45min shader post processing) was sucesful!
I want to transfer my saves, searched in - (personal directory) + "ctrl+h" .config - can not find egosofts x4 directory

What am i doing wrong? - Warning im linux-noob
Edit: FOUND

personal directory/.var/app/com,v,,,team/.config/Egosoft/x4/xxnumbersxx/save
-
- Posts: 214
- Joined: Tue, 31. May 11, 20:27
Re: Linux Support
Huh, weird. Are you using steam's flatpak?EGO_Aut wrote: ↑Sat, 26. Jul 25, 15:33 Installed pop!_os linux, steam and x4
Testrun x4 (after 45min shader post processing) was sucesful!
I want to transfer my saves, searched in - (personal directory) + "ctrl+h" .config - can not find egosofts x4 directory![]()
What am i doing wrong? - Warning im linux-noob
Edit: FOUND![]()
personal directory/.var/app/com,v,,,team/.config/Egosoft/x4/xxnumbersxx/save
CPU: 8-core AMD Ryzen 7 5700X (-MT MCP-); 32GiB ram; GPU: AMD Radeon RX 6600; GNU/Linux Devuan
-
- Posts: 2395
- Joined: Mon, 2. Dec 19, 19:40
Re: Linux Support
I dont know, there was a install next to a steam symbol, and i installed it default without changes.xrogaan wrote: ↑Sat, 26. Jul 25, 19:03Huh, weird. Are you using steam's flatpak?EGO_Aut wrote: ↑Sat, 26. Jul 25, 15:33 Installed pop!_os linux, steam and x4
Testrun x4 (after 45min shader post processing) was sucesful!
I want to transfer my saves, searched in - (personal directory) + "ctrl+h" .config - can not find egosofts x4 directory![]()
What am i doing wrong? - Warning im linux-noob
Edit: FOUND![]()
personal directory/.var/app/com,v,,,team/.config/Egosoft/x4/xxnumbersxx/save
BTW: I installed X4 and an old Medival II game.
X4 starts and runs fine, i appreciate 10-15 % more (old win10: ~20 fps vs linux: ~25 fps without graphic problems). I am happy

But i did not get Medival II started, although there is a "start" in the steam app for this game
