在 Ubuntu 14.04 上玩《Urban Terror》,在《Urban Terror》中鼠标很抖动且很慢

在 Ubuntu 14.04 上玩《Urban Terror》,在《Urban Terror》中鼠标很抖动且很慢

我使用 lenovo thinkpad x250 和 Ubuntu 14.04,尝试玩《Urban Terror》,但我的鼠标在游戏过程中表现怪异。在常规桌面会话中,我的鼠标表现正常。但是进入游戏后,它变得很慢,或者无法正确转换移动:鼠标的一次完整滑动将转换为屏幕上较小的移动。

我得到了什么:

⎡ Virtual core pointer                      id=2    [master pointer      (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave      pointer  (2)]
⎜   ↳ Logitech G300s Optical Gaming Mouse       id=9    [slave      pointer  (2)]
⎜   ↳ SynPS/2 Synaptics TouchPad                id=13   [slave      pointer  (2)]
⎜   ↳ TPPS/2 IBM TrackPoint                     id=15   [slave      pointer  (2)]
⎜   ↳ ELAN Touchscreen                          id=16   [slave      pointer  (2)]
⎣ Virtual core keyboard                     id=3    [master keyboard     (2)]
    ↳ Virtual core XTEST keyboard               id=5    [slave      keyboard (3)]
    ↳ Power Button                              id=6    [slave      keyboard (3)]
    ↳ Video Bus                                 id=7    [slave      keyboard (3)]
    ↳ Sleep Button                              id=8    [slave      keyboard (3)]
    ↳ Logitech G300s Optical Gaming Mouse       id=10   [slave      keyboard (3)]
    ↳ Microsoft Wired Keyboard 400              id=11   [slave      keyboard (3)]
    ↳ AT Translated Set 2 keyboard              id=12   [slave      keyboard (3)]
    ↳ ThinkPad Extra Buttons                    id=14   [slave      keyboard (3)]
    ↳ Integrated Camera                         id=17   [slave      keyboard (3)]

有什么建议么?

以下是《城市恐怖》的一些输出,希望它们能有所帮助:

14187 files in pk3 files
execing default.cfg
"MINUS" isn't a valid key
"PLUS" isn't a valid key
execing q3config.cfg
couldn't exec autoexec.cfg
Minimum com_hunkMegs is 512, allocating 512 megs.
Hunk_Clear: reset the hunk ok
----- Client Initialization -----
Couldn't read q3history.
----- Initializing Renderer ----
-------------------------------
QKEY found.
----- Client Initialization Complete -----
----- R_Init -----
...loading libGL.so.1:
Calling SDL_Init(SDL_INIT_VIDEO)...
SDL_Init(SDL_INIT_VIDEO) passed.
Initializing OpenGL display
...setting mode 16: 1920 1080
Using 4/4/4 Color bits, 24 depth, 0 stencil display.
GL_RENDERER: Mesa DRI Intel(R) Broadwell 
Initializing OpenGL extensions
...ignoring GL_S3_s3tc
...ignoring GL_EXT_texture_env_add
...using GL_ARB_multitexture
...using GL_EXT_compiled_vertex_array
...ignoring GL_EXT_texture_filter_anisotropic

GL_VENDOR: Intel Open Source Technology Center
GL_RENDERER: Mesa DRI Intel(R) Broadwell 
GL_VERSION: 3.0 Mesa 10.1.3
GL_MAX_TEXTURE_SIZE: 8192
GL_MAX_ACTIVE_TEXTURES_ARB: 8

PIXELFORMAT: color(32-bits) Z(24-bit) stencil(0-bits)
MODE: 16, 1920 x 1080 windowed hz:N/A
GAMMA: hardware w/ 0 overbright bits
CPU: 
rendering primitives: single glDrawElements
texturemode: GL_LINEAR_MIPMAP_LINEAR
picmip: 1
texture bits: 32
multitexture: enabled
compiled vertex arrays: enabled
texenv add: disabled
compressed textures: disabled
XF86VidModeSetGamma: 1.771, 1.771, 1.771.
Initializing Shaders

答案1

  • 尝试提高鼠标灵敏度:

    设置 → 控制 → 其他 → 灵敏度

  • 如果它不起作用,那么可能是其他点设备之一非常敏感,所以它会影响你的鼠标移动,甚至像我一样拍摄(第一次按钮单击)。

    逐一检查:

    • xinput --disable "SynPS/2 Synaptics TouchPad"
    • xinput --disable "TPPS/2 IBM TrackPoint"
    • xinput --disable "ELAN Touchscreen"

    要重新启用它,请使用:

    xinput --enable <devicename>
    

相关内容