Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Half-life: can't use weapon when looking down #910

Closed
LinAGKar opened this issue Jan 26, 2013 · 8 comments
Closed

Half-life: can't use weapon when looking down #910

LinAGKar opened this issue Jan 26, 2013 · 8 comments

Comments

@LinAGKar
Copy link

When I look straight down or almost straight down in Half-life I can't fire weapons (neither primary nor secondary fire, including the crowbar).

Processor:
    Leverantör:  GenuineIntel
    Hastighet: 2001 MHz
    8 logiska processorer
    4 fysikprocessorer
    HyperThreading:  Stöds
    FCMOV:  Stöds
    SSE2:  Stöds
    SSE3:  Stöds
    SSSE3:  Stöds
    SSE4a:  Stöds inte
    SSE41:  Stöds
    SSE42:  Stöds

Nätverk:
    Nätverkshastighet:  Mhz

Windows-version:
    "openSUSE 12.2 (x86_64)" (64 bitar)
    Kernelnamn: Linux
    Kernelversion: 3.4.11-2.16-desktop
    X Serverleverantör: The X.Org Foundation
    X Serverversion: 11203000

Grafikkort:
    Drivrutin:  Tungsten Graphics, Inc Mesa DRI Intel(R) Sandybridge Mobile x86/MMX/SSE2

    Version av drivrutin:  3.0 Mesa 8.0.4
    Skrivbordets färgdjup: 24 bitar per pixel
    Skärmens uppdateringshastighet: 60 Hz
    Leverantörs-ID hittades inte
    Enhets-ID hittades inte
    Antal skärmar:  1
    Antal grafikkort hittades inte
    Primär skärmupplösning:  1920 x 1080
    Skrivbordsupplösning: 1920 x 1080
    Primär skärmstorlek: 15,04" x 8,46"  (17,24" diag)
                                      38,2 cm x 21,5 cm  (43,8 cm diag)
    Primär VRAM hittades inte

Ljudkort:
    Ljudenhet: Intel CougarPoint HDMI

Minne:
    Arbetsminne:  7910 MB

Övrigt:
    Gränssnittsspråk:  Svenska
    LANG:  sv_SE.UTF-8
    Mikrofon:  Not set
    Totalt tillgängligt hårddiskutrymme:  234729 MB
    Största lediga hårddiskblock:  40308 MB

Installerad programvara:

Nyligen inträffade felrapporter:
    Fri Jan 25 19:46:29 2013 GMT: file ''/tmp/dumps/assert_20130125204550_1.dmp'', upload yes: ''CrashID=bp-4d7f1035-3c9a-46e7-85fe-b1ce62130125''
    Fri Jan 25 19:50:39 2013 GMT: file ''/tmp/dumps/assert_20130125205005_2.dmp'', upload yes: ''CrashID=bp-56483820-e94d-46e5-8dfb-c9efa2130125''
    Fri Jan 25 21:33:02 2013 GMT: file ''/tmp/dumps/assert_20130125223237_1.dmp'', upload yes: ''CrashID=bp-be033905-12f5-4d3d-a269-c4c882130125''
@ghost ghost assigned alfred-valve Jan 26, 2013
@alfred-valve
Copy link

I cannot reproduce this, can you still cause it to happen?

@LinAGKar
Copy link
Author

LinAGKar commented Feb 1, 2013

Yes, just look straight down and try to shoot.

@johndrinkwater
Copy link
Contributor

Can’t reproduce either, I can crowbar my toes and stand on the edge of walls and shoot down at troops.
Could your window manager/desktop have its bottom panel absorbing the click or something?

@LinAGKar
Copy link
Author

LinAGKar commented Feb 3, 2013

That might be it, I moved the panel to the top and suddenly I can shoot straight down but not straight up. I'm using KDE plasma.

@alfred-valve
Copy link

Closing this out, looks like a window manager issue. The fixes/changes for alt-tab to work on linux may also help here, #906

@LinAGKar
Copy link
Author

LinAGKar commented Feb 8, 2013

Shouldn't the game keep the pointer to the center?
cl_mousegrab 0 seems to fix this but then doing anything with the mouse cansels anython else I'm doing with the mouse e.g. if if I am moving the camera and I start holding LMB the camera will stop moving.
I am already able to alt-tab just fine.

@alfred-valve
Copy link

The game uses an X windows call to cause the mouse to be stuck in the window (when cl_mousegrab is 1), so in theory it should just work and never be overridden. It sounds like your window manager is misbehaving and not respecting this grab.
When cl_mousegrab is set to 0 we don't set the grab, instead we just manually slam the mouse position each frame, working around your WM bug. The not being able to move and click with mousegrab 0 sounds like a legit issue, open a new (separate bug) to report it please.

@LinAGKar
Copy link
Author

LinAGKar commented Feb 8, 2013

This seems to be specific to these GoldSrc games though, I haven't tried any Source games but other non-Steam FPSes seems to work fine. Also this problem only seems to occur when the panel is set to "auto hide" or "windows can cover" but not when it's set to "always visible" or "windows go below".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants