JACoders / OpenJK

Community effort to maintain and improve Jedi Academy (SP & MP) + Jedi Outcast (SP only) released by Raven Software
GNU General Public License v2.0
2.01k stars 612 forks source link

No cursor in game #490

Closed exander77 closed 6 years ago

exander77 commented 10 years ago

On Ubnuntu saucy I have no cursor in game. Probably related to libsdl2?

exander77 commented 10 years ago

Tried libsdl2 from Ubuntu repositories and also from debian sid.

Razish commented 10 years ago

SP or MP? Compiled yourself? Latest from git works here on Xubuntu 13.10, and always has.

Do you mean the ingame crosshair, or ingame menu cursor? EDIT: Or your system cursor when console is open? In which case, what video settings are you using (fullscreen?)

exander77 commented 10 years ago

MP, compiled it by myself in 32 bit chroot. Same behavior in SP.

The game cross-hair, it is in left top corner when the game is started, when you try to move it disappears. The problem is indifferent to resolution and fullscreen on/off.

The Windows version from buildbot launched through wine works fine.

ensiform commented 10 years ago

Pictures required.

exander77 commented 10 years ago

screenshot - 16 2 2014 - 17 39 22 screenshot - 16 2 2014 - 17 39 41

First picture is after launch, second is after moving the cursor. Cursors seem to very quickly move to the right and disappears.

ensiform commented 10 years ago

Well do you have 2.0.0 or 2.0.1 ?

Razish commented 10 years ago

Try only moving the mouse very slightly. For me, the mouse is incredibly sensitive in menus, especially on a laptop scratch-pad. Not sure if it's Linux-specific or SDL-specific until we migrate Windows backend to SDL.

Also, I believe you can enter a debug mode at the menu by using developer 1 and pressing F11. It should show the mouse co-ordinates. That might help debugging the issue.

I assume you can look around ingame fine?

Razish commented 10 years ago

Is this still happening?

xycaleth commented 6 years ago

Going to close since this hasn't seen any activity in a while. Feel free to reopen if it's still an issue!

ddasilva commented 4 years ago

I am running openjk in an ubuntu virtual machine to write a mod, and am getting this after compiling.

Distributor ID: Ubuntu
Description:    Ubuntu 18.04.3 LTS
Release:    18.04
Codename:   bionic

I am running SDL 2.0.8

Calinou commented 4 years ago

@ddasilva Try disabling absolute mouse input in your VM ("Mouse Integration" in VirtualBox).

ddasilva commented 4 years ago

Thanks, that fixed it