Author Topic: Input is not working on Linux! [solved]  (Read 2154 times)

0 Members and 1 Guest are viewing this topic.

Offline sirus

  • 22
Input is not working on Linux! [solved]
Hello -
I just recently completed installing fs2_open 3.6.9 in Gentoo Linux AMD64. everything is working great except one thing: the mouse. I realize that the joystick in freespace 2 is enable by default and I know how to get to the options menu in game but the problem is the mouse is not working for the menus.

It seems that the game is not detecting a mouse but I do not know what fs2_open is using for its input detection system (SDL?). Is there any way to enable the mouse through command-line or through the fs2_open.ini? Any help would be great. Thanks :).

P.S. - One other thing is that I cannot find a downloadable copy of the Linux QT launcher! The link on the forum post is dead. Does anyone know where to download the Linux launcher?
« Last Edit: June 09, 2009, 10:38:29 am by sirus »

 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
Re: Mouse is not working on Linux!
Can you try 3.6.10 RC3 for Linux? It's just a few megabytes download. Select it in the launcher instead of the 3.6.9 EXE.

 

Offline Jeff Vader

  • The Back of the Hero!
  • Moderator
  • 212
  • Bwahaha
Re: Mouse is not working on Linux!
Select it in the launcher instead of the 3.6.9 EXE.
Linux: no .exes.

Link to FSO 3.6.10 RC3 can be found from my signature. The regular Linux build should suffice. There should also be some kind of a Linux Launcher availble in the same thread.
23:40 < achillion > EveningTea: ass
23:40 < achillion > wait no
23:40 < achillion > evilbagel: ass
23:40 < EveningTea > ?
23:40 < achillion > 2-letter tab complete failure

14:08 < achillion > there's too much talk of butts and dongs in here
14:08 < achillion > the level of discourse has really plummeted
14:08 < achillion > Let's talk about politics instead
14:08 <@The_E > butts and dongs are part of #hard-light's brand now
14:08 <@The_E > well
14:08 <@The_E > EvilBagel's brand, at least

01:06 < T-Rog > welp
01:07 < T-Rog > I've got to take some very strong antibiotics
01:07 < achillion > penis infection?
01:08 < T-Rog > Chlamydia
01:08 < achillion > O.o
01:09 < achillion > well
01:09 < achillion > I guess that happens
01:09 < T-Rog > at least it's curable
01:09 < achillion > yeah
01:10 < T-Rog > I take it you weren't actually expecting it to be a penis infection
01:10 < achillion > I was not

14:04 < achillion > Sometimes the way to simplify is to just have a habit and not think about it too much
14:05 < achillion > until stuff explodes
14:05 < achillion > then you start thinking about it

22:16 < T-Rog > I don't know how my gf would feel about Jewish conspiracy porn

15:41 <-INFO > EveningTea [[email protected]] has joined #hard-light
15:47 < EvilBagel> butt
15:51 < Achillion> yes
15:53 <-INFO > EveningTea [[email protected]] has quit [Quit: http://www.mibbit.com ajax IRC Client]

18:53 < Achillion> Dicks are fun

21:41 < MatthTheGeek> you can't spell assassin without two asses

20:05 < sigtau> i'm mining titcoins from now on

00:31 < oldlaptop> Drunken antisocial educated freezing hicks with good Internet == Finland stereotype

11:46 <-INFO > Kobrar [[email protected]] has joined #hard-light
11:50 < achtung> Surely you've heard of DVDA
11:50 < achtung> Double Vaginal Double ANal
11:51 < Kobrar> ...
11:51 <-INFO > Kobrar [[email protected]] has left #hard-light []

  

Offline sirus

  • 22
Re: Input is not working on Linux!
Thanks for the links. For some reason the link to yal (yet another launcher) was down for a short time but now it works.

I am looking for a more technical answer on the mouse problem.

System Specs:
kernel: Linux 2.6.29-gentoo-r4 x86_64
OS: Gentoo AMD64
fs2_open: 3.6.9
MediaVP: 3.6.8 Zeta

Let me clarify, I do not have a joystick. So when I start fs2_open there is only keyboard functionality but limited to keys like esc, period, colon, and arrows. Why is the program not detecting input from the mouse? Is it a system configuration problem or game configuration problem? Can I pass an option or modify a configuration file to enable mouse input before the game starts?

Thank you,
Sirus



 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
Re: Input is not working on Linux!
So it's not just that you can't use the mouse to steer your ship in-game? You can't use it in the menus either?

 

Offline sirus

  • 22
Re: Input is not working on Linux!
Found the problem:

Code: [Select]
(EE) Razer Razer Diamondback Optical Mouse: Read error: Resource temporarily unavailable
This was in my Xorg.0.log and then I tested input functionality in some other games and it did not work. I am running a beta-release of xorg-server and I am now downgrading to a stable version 1.5.3-r6 compared to 1.6.1.901-r3.

If I get the same problem in the games after this compilation then there might be a feature disabled in the linux kernel.

 

Offline sirus

  • 22
Re: Input is not working on Linux!
The problem is solved ;) It was caused by some Xorg-X11 driver conflicts, specifically the new evdev drivers. In the new version of Xorg-X11 the detection/hotplugging of input devices is controlled by evdev/hal. For the sake of getting input devices into a usable state I downgraded some of my xorg-x11 drivers.

Anyway I want to make sure people know that this problem was not related to fs2_open but to xorg-x11 software or in layman terms linux software/configuration. The other issue is that I am running ~amd64 or unstable/testing software from Gentoo's portage tree. This means that there is no guarantee that software will work seamlessly together or separately. As a tip for future linux users, xorg-x11/xorg-server is problem one of the most problem causing software suites. Throughout my years of using linux configuring xorg-x11 has caused a large amount of trouble  :mad2:

Other than these small issues, fs2_open is amazing and it brings back some great memories. Also it runs very fast and seamless on linux.

 

Offline sirus

  • 22
Re: Input is not working on Linux! [solved]
A little followup: If anyone is using new xorg-server on linux =>xorg-server-1.5.3, here is a little trick to revert back to old input detection instead of hal/evdev:

Code: [Select]
Code Listing 2.2: Turning AutoAddDevices off

Option      "AutoAddDevices"    "false"