LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 07-07-2023, 04:18 AM   #1
andreas213
LQ Newbie
 
Registered: Jul 2023
Posts: 4

Rep: Reputation: 0
Mouse input lag


Hi guys! So since I switched to Debian 12 from Debian 11 I have mouse input lag in the game I play (Wolfenstein Enemy Territory) running native linux binaries using Gnome (version 43) as a desktop enviroment. To isolate the problem to Gnome I did clean install of Debian 12 with XFCE and mouse was working perfectly fine, so I did clean install again with GNOME. When I switch to say, tty4 and run the game with:

xinit /usr/local/bin/et-sdl-sound -- :1 vt$XDG_VTNR

to run it on new bare x server mouse works flawlessly again. When I play another game (Quake Live) on steam through proton the problem doesn't exist. The only idea I have is perhaps that full screen window unredirect doesn't kick in when playing said game and yes the game is running on fullscreen resolution. It is set to 1920x1080. I also tried windowed mode but that didn't help either. Any ideas? Did someone encountered same problem? Cheers and thanks for help in advance
 
Old 07-11-2023, 12:38 AM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,726

Rep: Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706
Hi,

I think that gnome on Debian 12 will be using wayland by default, where as xfce and
xinit are x11. So your issue may be related to that. Try selecting gnome on X11 from
the gdm login screen (bottom right corner) after selecting your user.

Evo2.

Last edited by evo2; 07-11-2023 at 12:43 AM.
 
1 members found this post helpful.
Old 07-11-2023, 05:16 PM   #3
andreas213
LQ Newbie
 
Registered: Jul 2023
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by evo2 View Post
Hi,

I think that gnome on Debian 12 will be using wayland by default, where as xfce and
xinit are x11. So your issue may be related to that. Try selecting gnome on X11 from
the gdm login screen (bottom right corner) after selecting your user.

Evo2.
Hi. Thanks for help, but I'm already running on X.
EDIT: To desribe it better it feels like vsync is on. I do turn it off when playing the game with vblank_mode=0 et-sdl-sound and i think vsync is off since i get 125 fps instead of 60, so it's not vsync issue, but it feels very similiar to playing with vsync. I was thinking perhaps freesync is an issue? Not sure if it's turned on by default. I use amd GPU with radeon as a driver. But It seems like compositor doesn't turn itself off for some reason is there some command I can check if compositing is turned off on game window?

Last edited by andreas213; 07-11-2023 at 05:22 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Keyboard input lag in bash feynman1942 Linux - Software 4 07-17-2019 09:51 AM
Mouse not working on Damn Small Linux | Mouse: Omega Optical Mouse (16c Gaming Mouse) AndyDeveloper Linux - Hardware 3 04-09-2017 01:32 PM
Repeated "input: AT Translated Set 2 keyboard as /class/input/input" messages AcerKev Mandriva 2 09-16-2007 08:35 AM
Bizarre input lag with Radeon 9200 and ATI drivers TFK Linux - Hardware 1 06-27-2004 12:44 PM
my mouse input is takes as keyboard input in BASH e1000 Slackware 5 12-08-2003 03:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 06:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration