Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Laggy touchpad on new Gentoo install
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
Azel04
n00b
n00b


Joined: 20 Feb 2024
Posts: 4

PostPosted: Tue Feb 20, 2024 12:52 pm    Post subject: Laggy touchpad on new Gentoo install Reply with quote

Like the title says, my touchpad is very laggy making it unusable.

I have an MS! Katana GF66 Laptop

Here is my kernel config: https://pastebin.com/tY7StCyS

The kernel log mentions something about the touchpad supporting another bus, here are the specific lines: https://pastebin.com/wPv9k6R7

On other distros (like Fedora) the touchpad is recognized as an MSNB0001:00 06CB:7E7E Touchpad (and it works fine), while on Gentoo it is recognized as a SynPS/2 Synaptics TouchPad
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4160
Location: Bavaria

PostPosted: Tue Feb 20, 2024 1:52 pm    Post subject: Reply with quote

Azel04,

Welcome to Gentoo forums ! :D

I can see you have configured your kernel yourself and tried to enable everything needed for an touchpad connected via i2c. Yes, you need PINCTRL for i2c ... but I dont think you need ALDERLAKE (12.Gen). Googling for this notebook told me it is an iX-11xxx Intel CPU, so maybe you need TIGERLAKE (11.Gen.). In every case you should enable IRQ_REMAP.
Code:
CONFIG_PINCTRL_ALDERLAKE=y
# CONFIG_PINCTRL_TIGERLAKE is not set

# CONFIG_IRQ_REMAP is not set


(See more in the last chapter of: https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/Manual_Configuring_Kernel_Version_6.6 )
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 1662

PostPosted: Tue Feb 20, 2024 2:01 pm    Post subject: Reply with quote

I suspect because Fedora uses modules everywhere, it works because hid-rmi is able to claim it above the PS/2 choices which are also modules.
In your kernel, hid-rmi is a module but the PS/2 are built-in and the latter takes precedence. If all where built-in or all modules for HID, then you may see a different result.
Back to top
View user's profile Send private message
Azel04
n00b
n00b


Joined: 20 Feb 2024
Posts: 4

PostPosted: Tue Feb 20, 2024 4:45 pm    Post subject: Reply with quote

Quote:
Googling for this notebook told me it is an iX-11xxx Intel CPU.


Nope, i have an i7 12700h, it's alder lake.
Back to top
View user's profile Send private message
Azel04
n00b
n00b


Joined: 20 Feb 2024
Posts: 4

PostPosted: Tue Feb 20, 2024 5:19 pm    Post subject: Reply with quote

Nevermind! Enabling Tiger Lake support on the Pin Controller settings fixed the issue and the trackpad now works perfectly fine!

It's weird that i have to enable Tiger Lake support if I have an Alder Lake CPU tho.
Back to top
View user's profile Send private message
logrusx
Veteran
Veteran


Joined: 22 Feb 2018
Posts: 1539

PostPosted: Tue Feb 20, 2024 6:42 pm    Post subject: Reply with quote

Azel04 wrote:
Nevermind! Enabling Tiger Lake support on the Pin Controller settings fixed the issue and the trackpad now works perfectly fine!

It's weird that i have to enable Tiger Lake support if I have an Alder Lake CPU tho.


Sometimes older drivers work on newer hardware because either it's some kind of hybrid between old and new hardware or it's the same hardware disguised as new. Plus this is related to the busses rather than the CPU itself.


Code:
head -n 5 /proc/cpuinfo


Best Regards,
Georgi
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4160
Location: Bavaria

PostPosted: Tue Feb 20, 2024 6:55 pm    Post subject: Reply with quote

Azel04 wrote:
It's weird that i have to enable Tiger Lake support if I have an Alder Lake CPU tho.

We have often had this problem in the past, where the CPU was 12th generation but TigerLake still had to be used.

(Dell XPS 9520 => cant find anymore, System76 Darter Pro 8 => https://forums.gentoo.org/viewtopic-t-1157071-highlight-.html )

... Now I will add your Notebook to the list :lol:

(https://forums.gentoo.org/viewtopic-p-8692426.html#8692426)
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4160
Location: Bavaria

PostPosted: Tue Feb 20, 2024 7:08 pm    Post subject: Reply with quote

logrusx wrote:
[...] Plus this is related to the busses rather than the CPU itself.

Yes, it depends on the PCH: https://en.wikipedia.org/wiki/Platform_Controller_Hub
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4160
Location: Bavaria

PostPosted: Tue Feb 20, 2024 7:25 pm    Post subject: Reply with quote

Azel04,

do you have a HX CPU ?

https://en.wikipedia.org/wiki/List_of_Intel_chipsets#Dedicated_mobile_chipsets_3

=>
Quote:
Every 12th Gen and 13th Gen Intel Core-i mobile CPU excluding HX-series has an on-package Platform Controller Hub.

_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
Azel04
n00b
n00b


Joined: 20 Feb 2024
Posts: 4

PostPosted: Tue Feb 20, 2024 8:30 pm    Post subject: Reply with quote

pietinger wrote:
Azel04,

do you have a HX CPU ?

https://en.wikipedia.org/wiki/List_of_Intel_chipsets#Dedicated_mobile_chipsets_3

=>
Quote:
Every 12th Gen and 13th Gen Intel Core-i mobile CPU excluding HX-series has an on-package Platform Controller Hub.


Nope, i have an i7 12700h
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4160
Location: Bavaria

PostPosted: Wed Feb 21, 2024 4:58 pm    Post subject: Reply with quote

Azel04 wrote:
Nope, i have an i7 12700h

Jesus ... I am so blind ... you had mentioned it already. :oops: Sorry for the noise and thanks again !
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
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