Frictional Games Forum (read-only)
strange mouse behavior - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Technical Support (https://www.frictionalgames.com/forum/forum-57.html)
+--- Forum: Technical Support - Penumbra Series (https://www.frictionalgames.com/forum/forum-22.html)
+---- Forum: Linux - Penumbra (https://www.frictionalgames.com/forum/forum-25.html)
+---- Thread: strange mouse behavior (/thread-1811.html)



strange mouse behavior - bbkr - 03-01-2008

after launching the game on default settings mouse cursor is located in the upper-left corner. and after making any mouse move it jumps into lower-right corner and stays there. if i move the mouse it works for a fraction of second and then jumps back into lower-right corner.

game was launched in 800x600 fullscreen, 800x600 windowed and 1280x1024 windowed on 1680x1050 desktop (KDE running, but i also tried separate X screen).

and once i got similar effect to this: http://frictionalgames.com/forum/showthread.php?tid=1092

my xorg.conf

-------- 8< --------
Section "InputDevice"

# Option "Protocol" "auto"
Identifier "Mouse0"
Driver "evdev"
Option "Device" "/dev/input/event2"
# Option "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Maxdata (RogenTech) B102035W"
HorizSync 31.0 - 83.0
VertRefresh 56.0 - 75.0
EndSection

Section "Device"
Identifier "Card0"
Driver "nvidia"
VendorName "nVidia Corporation"
BoardName "GeForce 7900 GS"
Option "NoLogo" "true"
Option "Coolbits" "1"
BusID "PCI:5:0:0"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 6600 GT"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "0"
Option "metamodes" "1680x1050 +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection
-------- 8< --------

i tried to disable multiple X screens in kdmrc (i'm not the only person using computer, 7-9 screens are permanently open), but it didn't help.

any ideas?


RE: strange mouse behavior - bookmarc - 04-23-2008

Hi,

I have the same problem when running the BlackPlague Demo for Linux. I have only one monitor (1600x1200). Here are my system specs :
System : Pentium4 2.8Ghz, 3GbRam, GeForce 6800 AGP 256Mb
Distro : Sabayon Linux 3.5 (x86)
hpl.log :
Quote:-------- THE HPL ENGINE LOG ------------

Creating Engine Modules
--------------------------------------------------------
Creating graphics module
Creating system module
Creating resource module
Creating input module
Creating sound module
Creating physics module
Creating ai module
Creating gui module
Creating haptic module
Creating scene module
--------------------------------------------------------

Initializing Resources Module
--------------------------------------------------------
Creating resource managers
Misc Creation
--------------------------------------------------------

Initializing Graphics Module
--------------------------------------------------------
Init low level graphics
Setting video mode: 1600 x 1200 - 32 bpp
Init Glee...OK
Setting up OpenGL
Max texture image units: 16
Max texture coord units: 8
Two sided stencil: 1
Vertex Buffer Object: 1
Anisotropic filtering: 1
Max Anisotropic degree: 16
Multisampling: 1
Vertex Program: 1
Fragment Program: 1
NV Register Combiners: 1
NV Register Combiners Stages: 8
ATI Fragment Shader: 0
Creating graphic systems
Creating Renderer2D
Renderer2D created
Creating Renderer3D
Load Renderer3D gpu programs:
Extrude
Diffuse Vertex
Diffuse Fragment
Fog
Creating fog textures: Solid Additive Alpha
init sky box
Renderer3D created
Creating screen buffers size 1600.000000 : 1200.000000
Creating programs
RendererPostEffects created
Adding engine materials
--------------------------------------------------------

Initializing Sound Module
--------------------------------------------------------
Initializing OpenAL.
Trying to open audio device... Success!
Device name: ALSA Software on default
Number of mono sources: 32
--------------------------------------------------------

Initializing Game Module
--------------------------------------------------------
Adding engine updates
Initializing script functions
--------------------------------------------------------

User Initialization
--------------------------------------------------------
Initializing Penumbra: Black Plague
Version $Rev: 2567 $
Date $Date: 2008-04-14 18:19:52 -0400 (Mon, 14 Apr 2008) $
Checking Supported Profiles
Profile CG_PROFILE_VP20 is supported
Profile CG_PROFILE_FP20 is supported
Profile CG_PROFILE_VP30 is supported
Profile CG_PROFILE_FP30 is supported
Profile CG_PROFILE_VP40 is supported
Profile CG_PROFILE_FP40 is supported
Profile CG_PROFILE_ARBVP1 is supported
Profile CG_PROFILE_ARBFP1 is supported
Profile CG_PROFILE_GLSLV is supported
Profile CG_PROFILE_GLSLF is supported
Profile CG_PROFILE_GLSLC is supported
Trying to load vertex program!
Success!
WARNING: Couldn't create action from 'Keyboard' and 48
ERROR: Couldn't texture 'other_mapchange.jpg'
All set up done, starting game!
--------------------------------------------------------

Game Running
--------------------------------------------------------
Loading collada for 'maps/level01_cells.dae' took: 555 ms
ERROR: Couldn't create material 'particle_rockpiece.mat'
ERROR: Couldn't create material 'particle_rockpiece.mat'
ERROR: Couldn't find particle system file 'particle_imp_generic_hard.ps'
ERROR: Couldn't create material 'particle_metalpiece.mat'
ERROR: Couldn't create material 'particle_metalpiece.mat'
ERROR: Couldn't create SoundEntity 'unbreak_impact_metal_soft_furniture_med.snt'
WARNING: Couldn't preload sound 'unbreak_impact_metal_soft_furniture_med'
WARNING: Geometry for joint child '' is missing! Might be connected to bone.
WARNING: Geometry joint parten '' is missing! Might be connected to bone.
WARNING: Geometry for joint child '' is missing! Might be connected to bone.
WARNING: Geometry joint parten '' is missing! Might be connected to bone.
WARNING: Geometry for joint child '' is missing! Might be connected to bone.
WARNING: Geometry joint parten '' is missing! Might be connected to bone.
WARNING: Geometry for joint child '' is missing! Might be connected to bone.
WARNING: Geometry joint parten '' is missing! Might be connected to bone.
WARNING: Geometry for joint child '' is missing! Might be connected to bone.
WARNING: Geometry joint parten '' is missing! Might be connected to bone.
WARNING: Geometry for joint child '' is missing! Might be connected to bone.
WARNING: Geometry joint parten '' is missing! Might be connected to bone.
WARNING: Geometry for joint child '' is missing! Might be connected to bone.
WARNING: Geometry joint parten '' is missing! Might be connected to bone.
ERROR: Couldn't find particle system file 'particle_imp_metal_special.ps'
ERROR: Couldn't find particle system file 'particle_imp_metal_special.ps'
WARNING: Geometry for joint child '' is missing! Might be connected to bone.
WARNING: Geometry joint parten '' is missing! Might be connected to bone.
WARNING: Geometry for joint child '' is missing! Might be connected to bone.
WARNING: Geometry joint parten '' is missing! Might be connected to bone.
WARNING: Geometry for joint child '' is missing! Might be connected to bone.
WARNING: Geometry joint parten '' is missing! Might be connected to bone.
WARNING: Geometry for joint child '' is missing! Might be connected to bone.
WARNING: Geometry joint parten '' is missing! Might be connected to bone.
WARNING: Geometry for joint child '' is missing! Might be connected to bone.
WARNING: Geometry joint parten '' is missing! Might be connected to bone.
WARNING: Geometry for joint child '' is missing! Might be connected to bone.
WARNING: Geometry joint parten '' is missing! Might be connected to bone.
WARNING: Geometry for joint child '' is missing! Might be connected to bone.
WARNING: Geometry joint parten '' is missing! Might be connected to bone.
WARNING: Parent 'group3' couldn't be found! Failed to attach 'artefact01_pointLight1' to 'artefact01'.Attaching directly to mesh.
ERROR: Couldn't find particle system file 'particle_imp_generic_hard.ps'
ERROR: SoundEnv 'soundenvs/EnvPreset012_Hallway.snv' does not exist!
ERROR: SoundEnv 'soundenvs/EnvPreset001j_Vent.snv' does not exist!
ERROR: SoundEnv 'soundenvs/EnvPreset104_DustyRoom.snv' does not exist!
ERROR: SoundEnv 'soundenvs/EnvPreset104_DustyRoom.snv' does not exist!
ERROR: SoundEnv 'soundenvs/EnvPreset104_DustyRoom.snv' does not exist!
ERROR: Couldn't find game entity 'descRBshelffloor'
WARNING: Couldn't find game entity 'descRBshelffloor'
Loading map 'level01_cells.dae' took: 10842 ms
ERROR: Couldn't stream sound '13_wind'
WARNING: Can't find sound '13_wind' (may also be due too many sounds playing).
ERROR: Couldn't play sound '13_wind' for sound entity descVentdark
ERROR: Couldn't stream sound 'water_gasp'
WARNING: Can't find sound 'water_gasp' (may also be due too many sounds playing).
WARNING: Couldn't find area 'w2infect3'
WARNING: Couldn't find area 'w2metal3'
WARNING: Couldn't find area 'wmetal6'
WARNING: Couldn't find area 'winfect0'
--------------------------------------------------------

Statistics
--------------------------------------------------------
Medium framerate: 55.242441
--------------------------------------------------------

User Exit
--------------------------------------------------------
Saving to config
Saving keys
Saving to config
Saving keys
Reset maphandler
Exit Player
Exit Button Handler
Exit Map Handler
Exit Game Message Handler
Exit Radio Handler
Exit Inventory
Exit Fade Handler
Exit Save Handler
Exit Trigger Handler
Exit Attack Handler
Exit Notebook
Exit Numerical panel
Exit Intro story
Exit Death menu
Exit Graphics helper
Exit Main menu
Exit Player hands
Exit Music handler
Exit Map Load Text
Exit PreMenu
Exit Demo end text
Exit Gui Handler
Exit Sound Environment Handler
Saving config
Exit Effect Handler
Exit Game
--------------------------------------------------------

Exiting Gui Module
--------------------------------------------------------
--------------------------------------------------------

Exiting Scene Module
--------------------------------------------------------
--------------------------------------------------------

Exiting Input Module
--------------------------------------------------------
--------------------------------------------------------

Exiting Sound Module
--------------------------------------------------------
--------------------------------------------------------

Exiting Graphics Module
--------------------------------------------------------
--------------------------------------------------------

Exiting Resources Module
--------------------------------------------------------
Done with tilesets
Done with fonts
Done with scripts
Done with particles
Done with sounds
Done with meshes
Done with materials
Done with Gpu programs
Done with images
Destroyed all textures
Done with sound entities
Done with animations
All resources deleted
--------------------------------------------------------

Exiting Physics Module
--------------------------------------------------------
--------------------------------------------------------

Exiting System Module
--------------------------------------------------------
--------------------------------------------------------

Deleting game setup provided by user
- Deleting lowlevel stuff.
Physics
Sound
Input
Resources
System
Graphics
Haptic
HPL Exit was successful!
Saving last config

When running the game in a window, the mouse movements are ok in the menus but _very_ strange inside the game.

Thanks !


RE: strange mouse behavior - Yuhaney - 04-23-2008

Try to update your mouse drivers. Also, if you have another mouse, plug it in and see if the game works fine then.


RE: strange mouse behavior - lucid - 06-06-2008

I've had this problem with erratic mouse movement for a few months now. Mouse works absolutely fine in other X programs. The latest 1.0.2553 patch did not help and the same now happens in Black Plague demo so I guess more info is needed. The behaviour is exactly as described in the opening post: mouse cursor gets thrown in the bottom right corner and only by moving very slowly I can get to the exit button on the menu, but even then the cursor randomly moves into opposite direction, towards the corner. It is actually quite difficult to imagine what is happening there.

It seemed that either updated SDL packages or new Xorg introduced the problem in the first place, but it isn't certain. I'm running Overture on Debian.

Some details: GeForce 8400 GS (GF6600 tried as well) with nvidial-glx 169.09, SDL 1.2.13, Xorg 7.3 at 1920x1200 with mouse in use via the evdev driver.


RE: strange mouse behavior - lofter - 06-07-2008

Penumbra doesn't work with the "evdev" driver Sad
If you change it to kbd in xorg.conf everything should be fine.
Hope it will be fixed soon.


RE: strange mouse behavior - stoffe - 11-24-2008

lofter Wrote:Penumbra doesn't work with the "evdev" driver Sad
If you change it to kbd in xorg.conf everything should be fine.
Hope it will be fixed soon.

Ah I see. Well I'm using a recent X11 with no xorg.conf (almost) so I don't want to meddle with it. Would be nice with a fix, instead.

Thanks for the info!


RE: strange mouse behavior - Darkheart - 12-16-2008

Hi, I'm having mouse problems as well. Mine didn't start until I got up into the caves with the spiders, where you can smash a wall with the p-axe. It worked the first time when I hit the wall and started running. Making a long story short, I died and went back and the same thing happed. No proper mouse control and there is no way I can swing the pic to hit anything, not anymore. Once I die and the menu comes up, I have trouble getting the mouse on - continue. I leave and start again from save point and the same thing happens again.

Kernel 2.6.27-9 generic / Ubuntu 810 (Intrepid) / Gnome - 2.24.1 (Overture - Full Game .. not demo.) AMD - 64 - 3000. Mouse and keyboard are - cordless by Micro Innovisions. Mouse is an Optical mouse.

Any Ideas on how to fix this problem? I can't play on.

Thanks!


RE: strange mouse behavior - phanboy_iv - 04-22-2009

Just a quick note, I recently purchased the Linux versions of Penumbra, and had this exact problem. After a bit of research, I can confirm that the solution found here works perfectly.