Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
My PS4 controller when connected over Bluetooth is laggy
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Sol33t303
n00b
n00b


Joined: 23 Mar 2018
Posts: 62

PostPosted: Thu Sep 17, 2020 11:13 am    Post subject: My PS4 controller when connected over Bluetooth is laggy Reply with quote

My dualshock for has consistent (I'd say roughly every 5 seconds) bouts of lag/latency. This doesn't happen when it is connected over USB.

My wifi/Bluetooth card is an Intel 7260 AC, which has always been finicky with it's Bluetooth since forever whenever I install a distro, but generally, once it's fixed it stops being a problem, but I wouldn't be surprised if that was causing the issue (although it normally only has issues actually connecting, once somethings connected it's always been fine).

Here is what bluetoothctl says about the bluetooth controller:
Code:

Controller 58:91:CF:15:B9:62 (public)
        Name: BlueZ 5.54
        Alias: Wills PC
        Class: 0x00100104
        Powered: yes
        Discoverable: yes
        DiscoverableTimeout: 0x00000000
        Pairable: yes
        UUID: A/V Remote Control        (0000110e-0000-1000-8000-00805f9b34fb)
        UUID: PnP Information           (00001200-0000-1000-8000-00805f9b34fb)
        UUID: Message Access Server     (00001132-0000-1000-8000-00805f9b34fb)
        UUID: Vendor specific           (185f3df4-3268-4e3f-9fca-d4d5059915bd)
        UUID: Message Notification Se.. (00001133-0000-1000-8000-00805f9b34fb)
        UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
        UUID: Generic Access Profile    (00001800-0000-1000-8000-00805f9b34fb)
        UUID: Phonebook Access Server   (0000112f-0000-1000-8000-00805f9b34fb)
        UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb)
        UUID: OBEX File Transfer        (00001106-0000-1000-8000-00805f9b34fb)
        UUID: OBEX Object Push          (00001105-0000-1000-8000-00805f9b34fb)
        UUID: IrMC Sync                 (00001104-0000-1000-8000-00805f9b34fb)
        Modalias: usb:v1D6Bp0246d0536
        Discovering: yes
Advertising Features:
        ActiveInstances: 0x00
        SupportedInstances: 0x05
        SupportedIncludes: tx-power
        SupportedIncludes: appearance
        SupportedIncludes: local-name


And here is what it says about the PS4 controller:
Code:

Device 28:C1:3C:4F:C9:4D (public)
        Name: Wireless Controller
        Alias: Wireless Controller
        Class: 0x00002508
        Icon: input-gaming
        Paired: yes
        Trusted: yes
        Blocked: no
        Connected: yes
        LegacyPairing: no
        UUID: Human Interface Device... (00001124-0000-1000-8000-00805f9b34fb)
        UUID: PnP Information           (00001200-0000-1000-8000-00805f9b34fb)
        Modalias: usb:v054Cp09CCd0100
        RSSI: -76


I did also notice that Xorg has a little bit of information regarding my controller lagging in it's log:
Code:

[   191.835] (**) Wireless Controller Touchpad: (accel) selected scheme none/0
[   191.835] (**) Wireless Controller Touchpad: (accel) acceleration factor: 2.000
[   191.835] (**) Wireless Controller Touchpad: (accel) acceleration threshold: 4
[   191.836] (II) event6  - Wireless Controller Touchpad: is tagged by udev as: Touchpad
[   191.836] (II) event6  - Wireless Controller Touchpad: no resolution or size hints, assuming a size of 69x50mm
[   191.837] (II) event6  - Wireless Controller Touchpad: device is a touchpad
[   197.060] (EE) event6  - Wireless Controller Touchpad: kernel bug: Touch jump detected and discarded. See https://wayland.freedesktop.org/libinput/doc/1.16.1/touchpad-jumping-cursors.html for details
[   199.536] (EE) event6  - Wireless Controller Touchpad: kernel bug: Touch jump detected and discarded. See https://wayland.freedesktop.org/libinput/doc/1.16.1/touchpad-jumping-cursors.html for details
[   228.414] (EE) event6  - Wireless Controller Touchpad: kernel bug: Touch jump detected and discarded. See https://wayland.freedesktop.org/libinput/doc/1.16.1/touchpad-jumping-cursors.html for details
[   228.415] (EE) event6  - Wireless Controller Touchpad: kernel bug: Touch jump detected and discarded. See https://wayland.freedesktop.org/libinput/doc/1.16.1/touchpad-jumping-cursors.html for details
[   228.468] (EE) event6  - Wireless Controller Touchpad: kernel bug: Touch jump detected and discarded. See https://wayland.freedesktop.org/libinput/doc/1.16.1/touchpad-jumping-cursors.html for details


I can also startup libinput record and I can see that the output seems to lag as well when the controller begins to lag. "SYN_REPORT" will go from around +4-5ms, to jumping up to +1500ms when the controller has a lag spike. Thats all the information I have gotten so far, any ideas on what I could do?
Back to top
View user's profile Send private message
RayDude
Veteran
Veteran


Joined: 29 May 2004
Posts: 1725
Location: San Jose, CA

PostPosted: Mon Sep 21, 2020 5:11 pm    Post subject: Reply with quote

I have that problem when the Bluetooth adapter and the dualshock are too far apart.

Putting a USB bluetooth controller on a cable and adjusting its angle seemed to help aim the antenna better. Yours sounds like it's embedded. So that may not be an option.

Also, keep in mind that bluetooth and your microwave oven and wifi transmit at similar frequencies. My 2.5 GHz Wifi stops working when we run the microwave. So all the devices that stream need to be at 5GHz.
_________________
Some day there will only be free software.
Back to top
View user's profile Send private message
x90e
n00b
n00b


Joined: 30 Sep 2020
Posts: 39

PostPosted: Thu Oct 01, 2020 2:40 am    Post subject: Reply with quote

RayDude wrote:
I have that problem when the Bluetooth adapter and the dualshock are too far apart.

Putting a USB bluetooth controller on a cable and adjusting its angle seemed to help aim the antenna better. Yours sounds like it's embedded. So that may not be an option.

Also, keep in mind that bluetooth and your microwave oven and wifi transmit at similar frequencies. My 2.5 GHz Wifi stops working when we run the microwave. So all the devices that stream need to be at 5GHz.


usb3.0 also disrupts wifi signals if it's too close to a USB port. sounds crazy but intel put out a whitepaper years ago about USB interference with wifi signals.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
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