[Fixed in 5.0] THANK YOU DEVS!!! Linux 2.60-4.10: POV (HAT) misbehaving with POV switches no matter the controller

Ask here if you experience technical problems with X4: Foundations.

Moderator: Moderators for English X Forum

Post Reply
spookywatcher
Posts: 192
Joined: Thu, 11. Apr 19, 20:26

[Fixed in 5.0] THANK YOU DEVS!!! Linux 2.60-4.10: POV (HAT) misbehaving with POV switches no matter the controller

Post by spookywatcher » Tue, 21. Jan 20, 21:25

Fixed in 5.0 and as far as I can tell...all the other hard to describe misbehavior of keys and buttons and mouse overs are fixed beautifully. Only have played with it for about 5 mins though. But Much appreciation Devs!

Linux v2.60 all the way thru to ver 3.30 - Vanilla - No Mods

This behaviour is Also reported by a user in the Steam forum here with his POV / HAT switch: https://steamcommunity.com/app/392160/d ... 1927265269

Using ANY controller POV gets weird unexpected behaviour. It is repeatable every time. Does not happen in my Windows install versions and same setup and configs etc.

When I say POV I also interchangeably mean HAT switches. Cmon Timon37 try it yourself! Pick ANY joystick with a HAT and play it in Linux and map the HAT to anything you want even strafe and you will see how it behaves! You had to fix this in X3 :viewtopic.php?t=332757 Let's get working on this!

I have the pov set up as
POV-Up = Open quick menu
POV-Down = Map
POV-Right = Missions
POV-Left = Player Information

In the menus POV is setup to navigate around..ie. move highlight up down left right etc.

#1) Start new game or load save game (does not matter) standing next to ship and push POV-Up and get expected action "Open Quick Menu"
#2) Hit escape to go back to platform
#3) Push POV-Up and nothing registers. Push several times and nothing.
#4) "Cycle" the POV through all movements and will be able to push POV-Up and get the expected outcome.

While in menus eg. Quick menu push POV-Up may or may not work. Same with all POV inputs..may or may not work. "Cycle" the POV through all movents and then I can use POV to navigate...but then some direction may not work. "Cycle" the POV and then may or may not be able to navigate.

I can confirm that the POV switch is registering all clicks at the kernel level during game play. Even when not working during game play.

inxi -Fxz

Code: Select all

System:    Host: n01-Desktop Kernel: 4.15.0-70-generic x86_64 (64 bit gcc: 5.4.0)
           Desktop: Cinnamon 3.6.7 (Gtk 3.18.9-1ubuntu3.3) Distro: Linux Mint 18.3 Sylvia
Machine:   Mobo: ASUSTeK model: MAXIMUS VIII GENE v: Rev 1.xx Bios: American Megatrends v: 3801 date: 03/14/2018
CPU:       Quad core Intel Core i7-6700K (-HT-MCP-) cache: 8192 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 32064
           clock speeds: max: 4600 MHz 1: 1137 MHz 2: 4151 MHz 3: 4050 MHz 4: 4099 MHz 5: 3711 MHz 6: 4256 MHz
           7: 4262 MHz 8: 4283 MHz
Graphics:  Card: NVIDIA GP102 [GeForce GTX 1080 Ti] bus-ID: 01:00.0
           Display Server: X.Org 1.18.4 driver: nvidia Resolution: 2560x1440@144.00hz
           GLX Renderer: GeForce GTX 1080 Ti/PCIe/SSE2 GLX Version: 4.6.0 NVIDIA 410.78 Direct Rendering: Yes
Audio:     Card-1 Intel 100 Series/C230 Series Family HD Audio Controller driver: snd_hda_intel bus-ID: 00:1f.3
           Card-2 NVIDIA GP102 HDMI Audio Controller driver: snd_hda_intel bus-ID: 01:00.1
           Sound: Advanced Linux Sound Architecture v: k4.15.0-70-generic
Network:   Card: Intel Ethernet Connection (2) I219-V driver: e1000e v: 3.2.6-k bus-ID: 00:1f.6
           IF: enp0s31f6 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:    HDD Total Size: 1000.2GB (13.7% used) ID-1: /dev/nvme0n1 model: N/A size: 500.1GB
           ID-2: /dev/nvme1n1 model: N/A size: 500.1GB ID-3: /dev/sda model: WDC_WD5000AZRX size: 500.1GB
           ID-4: /dev/sdb model: Samsung_SSD_860 size: 500.1GB
Partition: ID-1: / size: 32G used: 9.1G (30%) fs: ext4 dev: /dev/nvme0n1p2
           ID-2: /home size: 412G used: 104G (27%) fs: ext4 dev: /dev/nvme0n1p3
           ID-3: swap-1 size: 16.00GB used: 0.00GB (0%) fs: swap dev: /dev/nvme0n1p1
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 24.0C mobo: N/A gpu: 0.0:42C
           Fan Speeds (in rpm): cpu: 0
Info:      Processes: 225 Uptime: 1:46 Memory: 1119.3/15979.2MB Init: systemd runlevel: 5 Gcc sys: 5.4.0
           Client: Shell (bash 4.3.481) inxi: 2.2.35 
Last edited by spookywatcher on Fri, 18. Mar 22, 15:43, edited 16 times in total.

spookywatcher
Posts: 192
Joined: Thu, 11. Apr 19, 20:26

Re: Linux V2.60 w/ hotfix GOG - POV misbehaviour on Logitech Extreme 3d Pro

Post by spookywatcher » Tue, 21. Jan 20, 22:09

More testing...

I disconnected my Logitech extreme 3d Pro and connected the CH Pro Throttle.
Mapped the same actions to the POV switch and got the exact same misbehaviour.

I also tested the Logitech Dual Shock (PS 2 style controller) and it's POV acted the exact same way with misbehaving.

I also tested the XBox 360 wired controller and the D-pad (closest thing to POV on it) worked perfectly as expected.

So to confirm:

Logitech Extreme 3D Pro POV misbehaves
CH Pro Throttle POV misbehaves
Logitech Dual Shock controller POV misbehaves
XBox D pad behaves normally.

And I tested them all again in the Windows Install and all worked as expected.

wasted90
Posts: 244
Joined: Fri, 2. Nov 18, 03:29
x4

Re: Linux V2.60 w/ hotfix GOG - POV misbehaviour on Logitech Extreme 3d Pro (more testing shows ALL POV's misbehave)

Post by wasted90 » Wed, 22. Jan 20, 13:15

just a few things that catched my attention when lokking at your system specs:

1. your graphics driver is a bit old. you have 410.78, the latest is 440.44. this can be related to your issue.

2. your linux mint installation isn't the latest, too. but since i'm on a rolling release distro i'm quite to unexperienced to tell if that could be related to your issue.


in this forum is a sticky thread for linux support viewtopic.php?f=180&t=414524 maybe somebody else had similiar issues and found a solution.
also check the 'joysticks' section in the initial post.

good luck :)

spookywatcher
Posts: 192
Joined: Thu, 11. Apr 19, 20:26

Re: Linux V2.60 w/ hotfix GOG - POV misbehaviour on Logitech Extreme 3d Pro (more testing shows ALL POV's misbehave)

Post by spookywatcher » Thu, 18. Feb 21, 03:40

After over a year of trying to get my Logitech Extreme 3D pro to NOT be detected as a gamepad in X4 in Linux, I finally got it working.

However...now that I'm actually trying to play X4 again...this problem of the POV switches is Still happening. So I thought I would bump this thread in hopes that the Devs would look into this. It is repeatable with All controllers. Any joystick or controller with a POV / HAT switch has the this problem. It's only happening in X4. All other games act normally.

jstest /dev/input/js0 shows working properly with any HAT switch on any controller

and evtest --grab /dev/input/by-id/ Shows working as expected with any HAT switch on any controller. See output below with press and release of hat switch in one direction

Code: Select all

Event: time 1613616601.157242, type 3 (EV_ABS), code 16 (ABS_HAT0X), value 1
Event: time 1613616601.157242, -------------- SYN_REPORT ------------
Event: time 1613616601.269260, type 3 (EV_ABS), code 16 (ABS_HAT0X), value 0
At least I got the gamepad mode fixed.

Never ending problems with just fundamentals in this game...


Updated inxi -Fxz :

Code: Select all

System:    Kernel: 5.4.0-65-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 Desktop: Cinnamon 4.6.7 
           Distro: Linux Mint 20 Ulyana base: Ubuntu 20.04 focal 
Machine:   Type: Desktop Mobo: ASUSTeK model: MAXIMUS VIII GENE v: Rev 1.xx serial: <filter> UEFI: American Megatrends v: 3801 
           date: 03/14/2018 
Battery:   Device-1: hidpp_battery_0 model: Logitech K520 charge: 70% (should be ignored) status: Discharging 
           Device-2: hidpp_battery_1 model: Logitech M310 charge: 55% (should be ignored) status: Discharging 
CPU:       Topology: Quad Core model: Intel Core i7-6700K bits: 64 type: MT MCP arch: Skylake-S rev: 3 L2 cache: 8192 KiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 63999 
           Speed: 800 MHz min/max: 800/4800 MHz Core speeds (MHz): 1: 800 2: 800 3: 800 4: 800 5: 800 6: 800 7: 800 8: 800 
Graphics:  Device-1: NVIDIA GP102 [GeForce GTX 1080 Ti] vendor: eVga.com. driver: nvidia v: 435.21 bus ID: 01:00.0 
           Display: x11 server: X.Org 1.20.9 driver: nvidia tty: N/A 
           OpenGL: renderer: GeForce GTX 1080 Ti/PCIe/SSE2 v: 4.6.0 NVIDIA 435.21 direct render: Yes 
Audio:     Device-1: Intel 100 Series/C230 Series Family HD Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel 
           bus ID: 00:1f.3 
           Device-2: NVIDIA GP102 HDMI Audio vendor: eVga.com. driver: snd_hda_intel v: kernel bus ID: 01:00.1 
           Sound Server: ALSA v: k5.4.0-65-generic 
Network:   Device-1: Intel Ethernet I219-V vendor: ASUSTeK driver: e1000e v: 3.2.6-k port: f000 bus ID: 00:1f.6 
           IF: enp0s31f6 state: up speed: 1000 Mbps duplex: full mac: <filter> 
Drives:    Local Storage: total: 5.00 TiB used: 107.79 GiB (2.1%) 
           ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 970 EVO 500GB size: 465.76 GiB 
           ID-2: /dev/nvme1n1 vendor: Samsung model: SSD 970 EVO 500GB size: 465.76 GiB 
           ID-3: /dev/sda vendor: Western Digital model: WD40EZRZ-22GXCB0 size: 3.64 TiB 
           ID-4: /dev/sdb vendor: Western Digital model: WD5000AZRX-00A8LB0 size: 465.76 GiB 
           ID-5: /dev/sdc vendor: Samsung model: SSD 860 EVO 500GB size: 465.76 GiB 
Partition: ID-1: / size: 22.79 GiB used: 15.58 GiB (68.4%) fs: ext4 dev: /dev/nvme1n1p3 
           ID-2: /home size: 419.82 GiB used: 92.20 GiB (22.0%) fs: ext4 dev: /dev/nvme1n1p4 
           ID-3: swap-1 size: 14.90 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/nvme1n1p2 
Sensors:   System Temperatures: cpu: 30.0 C mobo: N/A gpu: nvidia temp: 48 C 
           Fan Speeds (RPM): N/A gpu: nvidia fan: 0% 
Info:      Processes: 242 Uptime: 2h 50m Memory: 31.30 GiB used: 1.18 GiB (3.8%) Init: systemd runlevel: 5 Compilers: 
           gcc: 9.3.0 Shell: bash v: 5.0.17 inxi: 3.0.38 

rustyshackleford
Posts: 9
Joined: Sat, 6. Feb 21, 00:51

Re: Linux V2.60 w/ hotfix GOG - POV misbehaviour on Logitech Extreme 3d Pro (more testing shows ALL POV's misbehave)

Post by rustyshackleford » Fri, 19. Feb 21, 06:31

spookywatcher wrote:
Thu, 18. Feb 21, 03:40
After over a year of trying to get my Logitech Extreme 3D pro to NOT be detected as a gamepad in X4 in Linux, I finally got it working.

However...now that I'm actually trying to play X4 again...this problem of the POV switches is Still happening. So I thought I would bump this thread in hopes that the Devs would look into this. It is repeatable with All controllers. Any joystick or controller with a POV / HAT switch has the this problem. It's only happening in X4. All other games act normally.

jstest /dev/input/js0 shows working properly with any HAT switch on any controller

and evtest --grab /dev/input/by-id/ Shows working as expected with any HAT switch on any controller. See output below with press and release of hat switch in one direction

Code: Select all

Event: time 1613616601.157242, type 3 (EV_ABS), code 16 (ABS_HAT0X), value 1
Event: time 1613616601.157242, -------------- SYN_REPORT ------------
Event: time 1613616601.269260, type 3 (EV_ABS), code 16 (ABS_HAT0X), value 0
At least I got the gamepad mode fixed.

Never ending problems with just fundamentals in this game...


Updated inxi -Fxz :

Code: Select all

System:    Kernel: 5.4.0-65-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 Desktop: Cinnamon 4.6.7 
           Distro: Linux Mint 20 Ulyana base: Ubuntu 20.04 focal 
Machine:   Type: Desktop Mobo: ASUSTeK model: MAXIMUS VIII GENE v: Rev 1.xx serial: <filter> UEFI: American Megatrends v: 3801 
           date: 03/14/2018 
Battery:   Device-1: hidpp_battery_0 model: Logitech K520 charge: 70% (should be ignored) status: Discharging 
           Device-2: hidpp_battery_1 model: Logitech M310 charge: 55% (should be ignored) status: Discharging 
CPU:       Topology: Quad Core model: Intel Core i7-6700K bits: 64 type: MT MCP arch: Skylake-S rev: 3 L2 cache: 8192 KiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 63999 
           Speed: 800 MHz min/max: 800/4800 MHz Core speeds (MHz): 1: 800 2: 800 3: 800 4: 800 5: 800 6: 800 7: 800 8: 800 
Graphics:  Device-1: NVIDIA GP102 [GeForce GTX 1080 Ti] vendor: eVga.com. driver: nvidia v: 435.21 bus ID: 01:00.0 
           Display: x11 server: X.Org 1.20.9 driver: nvidia tty: N/A 
           OpenGL: renderer: GeForce GTX 1080 Ti/PCIe/SSE2 v: 4.6.0 NVIDIA 435.21 direct render: Yes 
Audio:     Device-1: Intel 100 Series/C230 Series Family HD Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel 
           bus ID: 00:1f.3 
           Device-2: NVIDIA GP102 HDMI Audio vendor: eVga.com. driver: snd_hda_intel v: kernel bus ID: 01:00.1 
           Sound Server: ALSA v: k5.4.0-65-generic 
Network:   Device-1: Intel Ethernet I219-V vendor: ASUSTeK driver: e1000e v: 3.2.6-k port: f000 bus ID: 00:1f.6 
           IF: enp0s31f6 state: up speed: 1000 Mbps duplex: full mac: <filter> 
Drives:    Local Storage: total: 5.00 TiB used: 107.79 GiB (2.1%) 
           ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 970 EVO 500GB size: 465.76 GiB 
           ID-2: /dev/nvme1n1 vendor: Samsung model: SSD 970 EVO 500GB size: 465.76 GiB 
           ID-3: /dev/sda vendor: Western Digital model: WD40EZRZ-22GXCB0 size: 3.64 TiB 
           ID-4: /dev/sdb vendor: Western Digital model: WD5000AZRX-00A8LB0 size: 465.76 GiB 
           ID-5: /dev/sdc vendor: Samsung model: SSD 860 EVO 500GB size: 465.76 GiB 
Partition: ID-1: / size: 22.79 GiB used: 15.58 GiB (68.4%) fs: ext4 dev: /dev/nvme1n1p3 
           ID-2: /home size: 419.82 GiB used: 92.20 GiB (22.0%) fs: ext4 dev: /dev/nvme1n1p4 
           ID-3: swap-1 size: 14.90 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/nvme1n1p2 
Sensors:   System Temperatures: cpu: 30.0 C mobo: N/A gpu: nvidia temp: 48 C 
           Fan Speeds (RPM): N/A gpu: nvidia fan: 0% 
Info:      Processes: 242 Uptime: 2h 50m Memory: 31.30 GiB used: 1.18 GiB (3.8%) Init: systemd runlevel: 5 Compilers: 
           gcc: 9.3.0 Shell: bash v: 5.0.17 inxi: 3.0.38 
Bumping this as well. I bought a Logitech 3D Pro specifically for this game and I can't even use it because the POV hat, twist axis and throttle will not be detected by the game.

spookywatcher
Posts: 192
Joined: Thu, 11. Apr 19, 20:26

v4.10 Linux - All HAT switches misbehaving on EVERY controller that has a "HAT" switch.

Post by spookywatcher » Mon, 27. Sep 21, 16:40

This is still an ongoing insufferable problem. In linux EVERY single controller or joystick that has a HAT switch or HAT switch equivalent still does NOT work correctly in X4. Let that sink in. EVERY SINGLE JOYSTICK OR CONTROLLER!

Every version that's come out... I post this problem hoping the devs will fix it. And every version I'm eager to download and check. But every time I am disappointed. How can the Devs ignore such a massive problem? It litterally effects EVERY joystick and controller in Linux.

The behaviour is: Lets say I'm in the quick menu where you can select to "get up" or deploy civilian sats and probes etc. If you use the HAT switch to navigate around the menu each HAT click results as two clicks. It's reading the click and the release as two seperate events but counting them both as a click. Then once you use the HAT in one direction it becomes "Latched" in that direction. And you can't move the other direction until you get lucky after "cycling" the HAT through all directions then moving the HAT in the direction you want.

This is a tough problem to describe. So Devs... Please. For once... respond to one of my threads about this. Grab a copy of Linux...install your own game. And connect ANY joystick that has a HAT switch and try it yourself. How many years have I been trying to get you to look into this? It's about time you put in a little effort on this.

ETA - Dpads work correctly.

timon37
EGOSOFT
EGOSOFT
Posts: 485
Joined: Fri, 14. Dec 12, 11:02
x4

Re: Linux V2.60 thru v4.10 - POV (HAT) misbehaviour on all POV switches no matter the controller used

Post by timon37 » Mon, 4. Oct 21, 16:50

Sorry for how long this has been an issue, next major update should fix it.

spookywatcher
Posts: 192
Joined: Thu, 11. Apr 19, 20:26

Re: Linux V2.60 thru v4.10 - POV (HAT) misbehaviour on all POV switches no matter the controller used

Post by spookywatcher » Tue, 5. Oct 21, 16:17

timon37 wrote:
Mon, 4. Oct 21, 16:50
Sorry for how long this has been an issue, next major update should fix it.
VERY much appreciated!

spookywatcher
Posts: 192
Joined: Thu, 11. Apr 19, 20:26

Re: [Fixed in 5.0] THANK YOU DEVS!!! Linux 2.60-4.10: POV (HAT) misbehaving with POV switches no matter the controller

Post by spookywatcher » Fri, 18. Mar 22, 15:44

Fixed in 5.0!!! As far as I can tell...the Devs fixed all the key and button press and mouse over issues plaguing linux! It really feels good. Thank You very much Devs!

Post Reply

Return to “X4: Foundations - Technical Support”