Hard Light Productions Forums
General FreeSpace => FreeSpace & FreeSpace Open Support => Topic started by: sirus on June 08, 2009, 09:24:54 pm
-
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?
-
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.
-
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.
-
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
-
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?
-
Found the problem:
(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.
-
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.
-
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 Listing 2.2: Turning AutoAddDevices off
Option "AutoAddDevices" "false"