protonscr

[CS:S/TF2] Configuration, Server, Achievement and other menus does not register mouseclicks

steamclosed reviewedMOVED: Counter-Strike: Source
ValveSoftware/steam-for-linux#1282 · opened 2013-02-05 by swordfischer · updated 2013-02-08 · 3 comments · github
Sswordfischer 2013-02-05 github

EDIT: I just checked and this is the same with TF2, used to work in the first release of TF2

Description

When trying to configure games or connecting to a server, the mouse clicks wont be registered, leaving menus only usable through keyboard navigation.
Steps to reproduce

  • Launch Counter-Strike: Source
  • Click leftmost menu, spawning a new menu
  • Try to click on the new menu
  • See that no mouseclicks are registered.

Debug

(steam:15062): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
saving roaming config store to 'sharedconfig.vdf'
roaming config store 2 saved successfully
SDL video target is 'x11'
SDL video target is 'x11'
SDL failed to create GL compatibility profile (whichProfile=0!
This system supports the OpenGL extension GL_EXT_framebuffer_object.
This system supports the OpenGL extension GL_EXT_framebuffer_blit.
This system supports the OpenGL extension GL_EXT_framebuffer_multisample.
This system DOES NOT support the OpenGL extension GL_APPLE_fence.
This system supports the OpenGL extension GL_NV_fence.
This system supports the OpenGL extension GL_ARB_sync.
This system supports the OpenGL extension GL_EXT_draw_buffers2.
This system supports the OpenGL extension GL_EXT_bindable_uniform.
This system DOES NOT support the OpenGL extension GL_APPLE_flush_buffer_range.
This system supports the OpenGL extension GL_ARB_map_buffer_range.
This system supports the OpenGL extension GL_ARB_vertex_buffer_object.
This system supports the OpenGL extension GL_ARB_occlusion_query.
This system DOES NOT support the OpenGL extension GL_APPLE_texture_range.
This system DOES NOT support the OpenGL extension GL_APPLE_client_storage.
This system DOES NOT support the OpenGL extension GL_ARB_uniform_buffer.
This system supports the OpenGL extension GL_ARB_vertex_array_bgra.
This system supports the OpenGL extension GL_EXT_vertex_array_bgra.
This system supports the OpenGL extension GL_ARB_framebuffer_object.
This system DOES NOT support the OpenGL extension GL_GREMEDY_string_marker.
This system supports the OpenGL extension GL_ARB_debug_output.
This system supports the OpenGL extension GL_EXT_direct_state_access.
This system DOES NOT support the OpenGL extension GL_NV_bindless_texture.
This system DOES NOT support the OpenGL extension GL_AMD_pinned_memory.
This system supports the OpenGL extension GL_EXT_framebuffer_multisample_blit_scaled.
This system supports the OpenGL extension GL_EXT_texture_sRGB_decode.
This system supports the OpenGL extension GL_NVX_gpu_memory_info.
This system DOES NOT support the OpenGL extension GL_ATI_meminfo.
This system supports the OpenGL extension GL_EXT_texture_compression_s3tc.
This system supports the OpenGL extension GLX_EXT_swap_control_tear.
GL_NV_bindless_texture: DISABLED
GL_AMD_pinned_memory: DISABLED
GL_EXT_texture_sRGB_decode: AVAILABLE
Installing breakpad exception handler for appid(gameoverlayui)/version(20130201154330_client)
Installing breakpad exception handler for appid(gameoverlayui)/version(1.0_client)
Installing breakpad exception handler for appid(gameoverlayui)/version(1.0_client)
Installing breakpad exception handler for appid(gameoverlayui)/version(1.0_client)
[0205/231528:ERROR:object_proxy.cc(239)] Failed to call method: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.NetworkManager was not provided by any .service files
[0205/231528:WARNING:proxy_service.cc(646)] PAC support disabled because there is no system implementation
Using breakpad crash handler
ERROR: ld.so: object 'gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded: ignored.
Setting breakpad minidump AppID = 240
Forcing breakpad minidump interfaces to load
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Steam_SetMinidumpSteamID:  Caching Steam ID:  76561197960602577 [API loaded yes]
Steam_SetMinidumpSteamID:  Setting Steam ID:  76561197960602577
GL_NVX_gpu_memory_info: AVAILABLE
GL_ATI_meminfo: UNAVAILABLE
GL_NVX_gpu_memory_info: Total Dedicated: 1048576, Total Avail: 1048576, Current Avail: 903172
GL_MAX_SAMPLES_EXT: 16
[0205/231529:ERROR:resource_bundle.cc(411)] Failed to load /home/swordfischer/.Steam/SteamApps/[email protected]/Counter-Strike Source/cef_gtk.pak
Some features may not be available.
[0205/231529:ERROR:object_proxy.cc(239)] Failed to call method: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.NetworkManager was not provided by any .service files
[0205/231529:WARNING:proxy_service.cc(646)] PAC support disabled because there is no system implementation
CShaderDeviceMgrBase::GetRecommendedConfigurationInfo: CPU speed: 2336 MHz, Processor: GenuineIntel
GlobalMemoryStatus: 4294967295
CShaderDeviceMgrBase::GetRecommendedConfigurationInfo: CPU speed: 2336 MHz, Processor: GenuineIntel
GlobalMemoryStatus: 4294967295
IDirect3DDevice9::Create: BackBufWidth: 1920, BackBufHeight: 1080, D3DFMT: 3, BackBufCount: 1, MultisampleType: 0, MultisampleQuality: 0
Could not load program cache file glbaseshaders.cfg
Could not find base GL shader cache file
Loaded program cache file "glshaders.cfg", total keyvalues: 25, total successfully linked: 25
Precache: Took 235 ms, Vertex 181, Pixel 188
Game.so loaded for "Counter-Strike: Source"
IDirect3DDevice9::CreatePixelShader: shaderapi's centroid mask (0x00000000) differs from mask derived from shader name (0x0000000C) for shader ps-file flashlight_ps20b ps-index 0 ps-combo 0
IDirect3DDevice9::CreatePixelShader: shaderapi's centroid mask (0x00000000) differs from mask derived from shader name (0x0000000C) for shader ps-file flashlight_ps20b ps-index 0 ps-combo 1
IDirect3DDevice9::CreatePixelShader: shaderapi's centroid mask (0x00000000) differs from mask derived from shader name (0x0000000C) for shader ps-file flashlight_ps20b ps-index 0 ps-combo 2
IDirect3DDevice9::CreatePixelShader: shaderapi's centroid mask (0x00000000) differs from mask derived from shader name (0x0000000C) for shader ps-file flashlight_ps20b ps-index 0 ps-combo 3
warning: Unknown nb_ctl request:  4
warning: Unknown nb_ctl request:  4
warning: Unknown nb_ctl request:  4
warning: Unknown nb_ctl request:  4
warning: Unknown nb_ctl request:  4
warning: Unknown nb_ctl request:  4
Unable to remove /home/swordfischer/.Steam/SteamApps/[email protected]/Counter-Strike Source/cstrike/textwindow_temp.html!
Binding uncached material "___error", artificially incrementing refcount
Setting state from prevent no to prevent no:  Cleanup
Game removed: AppID 240 "Counter-Strike: Source", ProcID 15417 
saving roaming config store to 'sharedconfig.vdf'
roaming config store 2 saved successfully

Systeminfo

Processor Information:
    Vendor:  GenuineIntel
    Speed: 2336 Mhz
    4 logical processors
    4 physical processors
    HyperThreading:  Unsupported
    FCMOV:  Supported
    SSE2:  Supported
    SSE3:  Supported
    SSSE3:  Supported
    SSE4a:  Unsupported
    SSE41:  Supported
    SSE42:  Unsupported

Network Information:
    Network Speed:  

Operating System Version:
    "Gentoo Base System release 2.1" (64 bit)
    Kernel Name:  Linux
    Kernel Version:  3.6.11-gentoo
    X Server vendor:  The X.Org Foundation
    X Server release:  11301000

Video Card:
    Driver:  NVIDIA Corporation GeForce GTX 285/PCIe/SSE2

    Driver Version:  3.3.0 NVIDIA 313.18
    Desktop Color Depth: 24 bits per pixel
    Monitor Refresh Rate: 60 Hz
    VendorID:  0x10de
    DeviceID:  0x5e3
    Number of Monitors:  2
    Number of Logical Video Cards:  1
    Primary Display Resolution:  1920 x 1080
    Desktop Resolution: 3840 x 1080
    Primary Display Size: 23.62" x 13.39"  (27.13" diag)
                                            60.0cm x 34.0cm  (68.9cm diag)
    Primary Bus: PCI Express 16x
    Primary VRAM: 1024 MB
    Supported MSAA Modes:  2x 4x 8x 16x 

Sound card:
    Audio device: VIA VT1708S

Memory:
    RAM:  7988 Mb

Miscellaneous:
    UI Language:  English
    LANG:  en_US.UTF-8
    Microphone:  Not set
    Total Hard Disk Space Available:  174626 Mb
    Largest Free Hard Disk Block:  66341 Mb

Installed software:

Recent Failure Reports:
    Tue Feb  5 21:54:53 2013 GMT: file ''/tmp/dumps/assert_20130205225446_1.dmp'', upload yes: ''CrashID=bp-05581b10-fd7f-4f71-a07c-053f42130205''
Bbdeen-valve maintainer 2013-02-07 github

Hmmm... Not seeing this issue here.

Sswordfischer 2013-02-08 github

@bdeen-valve As in, you cannot reproduce, or I didn't explain myself clearly?

What I believe is happening, is that OpenGL tries to draw a 1920x1080 image, on both monitors, thus a 1920x1080 scaled to 3840x1080, so the width count as double when moving the cursor.

This means that when the cursor is 0 px from the left edge, the cursor is 0 px from the left edge. if I move the cursor 400 px right on the screen (so-so), the game registers the cursor as being at 800 px.
This means that the closer I get to the right border of my primary screen, the higher the offset is.

So lets say the menu when launching CS:S is 150px from the left border, and they're 200px wide. This gives me a clickable area from the left side of the screen 150px to 350 px.
If I move the cursor 200 px (visually clicking the button) the game registers my mouse at 400px.

Did that make sense?


EDIT:

I am using 2 monitors, with Nvidia TwinView.
Running Fluxbox.

Sswordfischer 2013-02-08 github

I solved this issue myself, and it wasn't really an obvious one.

Last night I recompiled my WM (Fluxbox) with support for Xinerama (which I don't use), due to another issue I was having with mplayer.
I was told that maybe Nvidia Twinview functioned through Xinerama API, which led to misbehaving windows.

I recompiled Fluxbox with xinerama support, restarted Fluxbox, and here we go, a respecting OpenGL application.

Sorry :)

Nothing extracted yet.