Difference between revisions of "FAQ"

From GIMX
Jump to: navigation, search

(47 intermediate revisions by 2 users not shown)

Line 1: Line 1:
==Is GIMX able to ...?==
+
<languages />
<span id="4"></span>
+
<translate>==<span id="4"></span>Is GIMX able to ...?== <!--T:1-->
 
See the [[Features|Features page]].
 
See the [[Features|Features page]].
  
==Installation fails, some library dependencies are not satisfiable, what can I do? (Linux)==
+
==<span id="21"></span>My DIY USB adapter isn't working. What can I do?== <!--T:22-->
<span id="6"></span>
 
Make sure you added 'universe' to the repositories.<br/>
 
Make sure you have an internet connection when you install the package.<br/>
 
Try to upgrade Ubuntu to the latest version.
 
  
==I get an error message when I clic "Set Dongle Address", what can I do?  (Linux+bluetooth)==
+
<!--T:23-->
<span id="3"></span>
+
* Double check your wiring as explained here: [[DIY_USB_adapter#Wiring|link]]. A bad wiring results in failure at startup.
 +
* Check your USB cables, one might be bad. Only use shielded USB cables. A bad cable results in disconnection after a variable time.
 +
* Connect the USB to UART adapter directly to your computer. Using USB extenders is discouraged, especially on this side of the adapter.
 +
* Check the wires between the USB to UART adapter (e.g. CP2102) and the AVR USB board (e.g. Teensy 2.0). Make sure there is no bad contact. Loose contact (not soldered and not using jumper wires) is not acceptable and results in inconsistent behavior, such as failure at startup or disconnection after a variable time.
 +
* Test your USB to UART adapter as explained below.
 +
 
 +
==<span id="22"></span>How can I test my serial adapter?== <!--T:21-->
 +
Only connect the rx pin to the tx pin.<br />
 +
Download the [http://arduino.cc/en/Main/Software Arduino IDE].<br />
 +
Start the Arduino IDE (don't forget to extract the archive...).<br />
 +
Select the right serial port in the "Tools>Serial Port" menu.<br />
 +
Click on "Tools>Serial Monitor".<br />
 +
Type something in the small text area at the top of the serial monitor, and click on the "Send" button.<br />
 +
If your adapter works correctly, you should see what you typed appearing in the main text area.<br />
 +
It is possible to test the serial adapter for different transmission speed (from 9600 to 115200 bauds).<br />
 +
 
 +
==<span id="6"></span>Installation fails, some library dependencies are not satisfiable, what can I do? (Linux)== <!--T:2-->
 +
Make sure your Ubuntu or Raspbian version is supported ([[Main_Page#PC|check the requirements]]).<br />
 +
Make sure you added 'universe' to the repositories.<br />
 +
Make sure you have an internet connection when you install the package.<br />
 +
Make sure Ubuntu / Raspbian is up-to-date (for Ubuntu or Raspbian, run "sudo apt-get update && sudo apt-get upgrade" in a terminal).
 +
 
 +
==<span id="3"></span>I get an error message when I click "Set Dongle Address", what can I do?  (Linux+bluetooth)== <!--T:3-->
 
Some bt dongles are not compatible. [[Bluetooth_dongle|Try another one]].
 
Some bt dongles are not compatible. [[Bluetooth_dongle|Try another one]].
  
==I get connection errors, what can I do? (Linux+bluetooth)==
+
==<span id="13"></span>I get connection errors, what can I do? (Linux+bluetooth)== <!--T:4-->
<span id="16"></span>
+
Make sure the sixaxis was already paired with your PS3 (the sixaxis should be able to turn on the ps3 remotely).<br />
Make sure the sixaxis was already paired with your PS3 (the sixaxis should be able to turn on the ps3 remotely).<br/>
+
Make sure the sixaxis is not a fake one: [http://code.google.com/p/diyps3controller/issues/detail?id=74#c18 link]. <br />
Make sure the sixaxis is not a fake one: [http://code.google.com/p/diyps3controller/issues/detail?id=74#c18 link]. <br/>
+
Make sure to turn your sixaxis off before starting emu: unplug the usb cable, and if it does not turn off by itself, press the PS3 button until it turns off. <br />
Make sure to turn your sixaxis off before starting emu: unplug the usb cable, and if it does not turn off by itself, press the PS3 button until it turns off. <br/>
 
Some users reported connection problems that were fixed by upgrading to a newer linux bluetooth stack. Upgrade to the [http://www.ubuntu.com/download/ubuntu/download latest Ubuntu version], or try to update bluez as explained in [http://blog.gimx.fr/?p=92 this blog post].<br/>
 
 
If it still doesn't work, [[Bluetooth_dongle|try another dongle]].
 
If it still doesn't work, [[Bluetooth_dongle|try another dongle]].
  
12
+
==<span id="12"></span><span id="16"></span>I'm having lag issues and/or movement glitches, what can I do? I want best performances, what should I check?== <!--T:5-->
16
+
If you are using a TV, make sure to enable the gaming mode (not all the TVs have such a mode, read the user manual).<br />
==I'm having lag issues and/or movement glitches, what can I do?==
+
If you have lag even with a genuine sixaxis/dualshock 3, the lag is probably not due to GIMX.<br />
==I want best performances, what should I check?==
+
Increase your mouse frequency as explained there: [http://forum.gimx.fr/viewtopic.php?f=4&t=28 link].<br />
Increase your mouse frequency as explained there: [http://forum.gimx.fr/viewtopic.php?f=4&t=28 link].<br/>
+
Make sure your mouse frequency is '''between 250Hz and 500Hz, and at least twice the GIMX update frequency'''.<br />
Make sure your mouse frequency is '''between 250Hz and 500Hz, and at least twice the GIMX update frequency'''.<br/>
+
Make sure your mouse can track '''at least 2000 DPI''', and make sure your mouse is running at the highest DPI setting.<br />
Make sure your mouse can track '''at least 2000 DPI''', and make sure your mouse is running at the highest DPI setting.<br/>
+
Don't use the calibration GUI or the terminal output while playing.<br />
Don't use the calibration GUI or the terminal output while playing.<br/>
+
Close any other application (Firefox...).<br />
Close any other application (Firefox...).<br/>
+
Avoid usb extension cables and hubs. Some of them are weak and result in poor performances.<br />
Avoid usb extension cables and hubs. Some of them are weak and result in poor performances.<br/>
+
Some bluetooth dongles are reported to generate lag issues. It is recommended to use a bluetooth dongle with a CSR Bluecore4-ROM chip.
The linux bluetooth stack may also be buggy. Upgrade to the [http://www.ubuntu.com/download/ubuntu/download latest Ubuntu version], or try to update bluez as explained in [http://blog.gimx.fr/?p=92 this blog post].<br/>
 
Some bluetooth dongles are reported to generate lag issues. A bt 2.0+EDR dongle is better, but not required. If your dongle seems to be the issue, try another one.
 
  
1
+
==<span id="1"></span>I can't save my config file? I can't see the config file I saved?== <!--T:6-->
==I can't save my config file? I can't see the config file I saved?==
+
Save your config files in the right directory: C:\Users\<username>\AppData\Roaming\gimx\config or /home/<username>/.gimx/config (Linux).<br />
Save your config files in the right directory: C:\Program Files\GIMX\config (Windows 32bits) or C:\Program Files (x86)\GIMX\config (Windows 64bits) or /home/username/.emuclient/config (Linux).<br/>
+
GIMX 1.12 and older: C:\Users\<username>\AppData\Roaming\emuclient\config or /home/<username>/.emuclient/config (Linux).<br />
In Linux, the folder named ".emuclient" is hidden. Press ctrl+h to display hidden folders!<br/>
+
GIMX 0.51 and older: C:\Program Files\GIMX\config (Windows 32bits) or C:\Program Files (x86)\GIMX\config (Windows 64bits).<br />
 +
In Linux, the folder named ".gimx" is hidden. Press ctrl+h to display hidden folders!<br />
 
Don't run anything as root user.
 
Don't run anything as root user.
  
17
+
==<span id="17"></span>I can't edit my config file? Modifications are not saved?== <!--T:7-->
==I can't edit my config file? Modifications are not saved?==
+
File permissions are probably wrong.<br />
File permissions are probably wrong.<br/>
+
Start a terminal: Click on the Ubuntu Dash, type "terminal" in the search bar, and click on the terminal icon.<br />
Start a terminal: Click on the Ubuntu Dash, type "terminal" in the search bar, and click on the terminal icon.<br/>
 
 
Then type:
 
Then type:
  ls -l ~/.emuclient
+
  ls -l ~/.gimx
 
You'll see something like this:
 
You'll see something like this:
 
  total 8
 
  total 8
 
  drwxr-xr-x 2 root root 4096 2012-02-24 15:27 config
 
  drwxr-xr-x 2 root root 4096 2012-02-24 15:27 config
 
  drwxr-xr-x 2 root root 4096 2012-02-24 15:27 macros
 
  drwxr-xr-x 2 root root 4096 2012-02-24 15:27 macros
In the above example, file ownership is wrong.<br/>
+
In the above example, file ownership is wrong.<br />
 
To fix it, type:
 
To fix it, type:
  sudo chown -R owner:usergroup ~/.emuclient
+
  sudo chown -R owner:usergroup ~/.gimx
Replace owner and usergroup with the appropriate values, which are usually your username for both.<br/>
+
Replace owner and usergroup with the appropriate values, which are usually your username for both.<br />
 
If you are not sure just type:
 
If you are not sure just type:
 
  ls -ld ~
 
  ls -ld ~
 
You'll see something like this:
 
You'll see something like this:
 
  drwxr-xr-x 94 username group 4096 2012-02-24 16:24 /home/username
 
  drwxr-xr-x 94 username group 4096 2012-02-24 16:24 /home/username
 +
Do the same for the ~/.gimx-launcher directory.
  
2
+
==<span id="2"></span>I can't see the COM port in gimx-launcher? (windows+usb adapter)== <!--T:8-->
==I can't see the COM port in gimx-serial? (windows+usb adapter)==
+
Check the COM port in the device manager.
Check the COM port in the device manager, and in the "Port Settings" panel, click on "Advanced".<br/>
+
<div class="image200px">[https://gimx.fr/img/screenshots/WinCP2102.gif https://gimx.fr/img/screenshots/WinCP2102.gif]</div>
Try to change the "COM Port Number" to a lower value than COM10, and restart gimx-serial.
 
  
5
+
==<span id="5"></span>Why can't we use a male to male usb cable?== <!--T:9-->
==Why can't we use a male to male usb cable?==
 
 
A simple male to male cable is irrelevant due to the usb protocol. A PC is a usb host, it can't be a usb device. Usb to usb cables not designed to work with GIMX such as file transfer cables won't work.
 
A simple male to male cable is irrelevant due to the usb protocol. A PC is a usb host, it can't be a usb device. Usb to usb cables not designed to work with GIMX such as file transfer cables won't work.
  
19
+
==<span id="19"></span>Can we use a normal serial port? (usb adapter)== <!--T:10-->
==Can we use a normal serial port? (usb adapter)==
 
 
No. The serial port (RS232 port) that can be found on old PCs does not work at the right voltage levels. It works at -12V/+12V instead of 0V/+5V.
 
No. The serial port (RS232 port) that can be found on old PCs does not work at the right voltage levels. It works at -12V/+12V instead of 0V/+5V.
  
18
+
==<span id="18"></span>Why isn't there a bluetooth version for windows?== <!--T:11-->
==Why isn't there a bluetooth version for windows?==
 
 
The windows bluetooth stack is weak. It does not provide the low-level access to bluetooth that is required to emulate a sixaxis.
 
The windows bluetooth stack is weak. It does not provide the low-level access to bluetooth that is required to emulate a sixaxis.
  
5b
+
==<span id="5b"></span>Why can't we use any bluetooth address?== <!--T:12-->
==Why can't we use any bluetooth address?==
+
A ps3 doesn't allow communications from an unknown bluetooth address, it only allows communications from bluetooth addresses of paired devices.<br />
A ps3 doesn't allow communications from an unknown bluetooth address, it only allows communications from bluetooth addresses of paired devices.<br/>
+
Two bluetooth devices are paired means that each device knows the address of the other, and each device allows communications from the other device.<br />
Two bluetooth devices are paired means that each device knows the address of the other, and each device allows communications from the other device.<br/>
+
Unpaired devices usually can't communicate. The bluetooth pairing is usually performed over bluetooth, but that's not the case for a sixaxis.<br />
Unpaired devices usually can't communicate. The bluetooth pairing is usually performed over bluetooth, but that's not the case for a sixaxis.<br/>
 
 
The sixaxis pairing is performed over usb: plug the male to mini usb cable, and press the PS button.
 
The sixaxis pairing is performed over usb: plug the male to mini usb cable, and press the PS button.
  
7
+
==<span id="7"></span>Is it possible to use a virtual machine?== <!--T:13-->
==Is it possible to use a virtual machine?==
 
 
Yes and no. It's not officially supported and I don't give support for that. Running the software may work, but for compatibility and performance reasons, you should not use GIMX in a virtual machine.
 
Yes and no. It's not officially supported and I don't give support for that. Running the software may work, but for compatibility and performance reasons, you should not use GIMX in a virtual machine.
  
8
+
==<span id="8"></span>Is there a mac os solution?== <!--T:14-->
==Is there a mac os solution?==
 
 
No, not yet. There probably will be a solution some day, but I have no idea about the date.
 
No, not yet. There probably will be a solution some day, but I have no idea about the date.
  
9
+
==<span id="9"></span>I'm having button glitches, what can I do?== <!--T:15-->
==I'm having button glitches, what can I do?==
 
 
This is a very common issue that you will run into if you miss there is a second config for aiming down the sight. You have to define the same button controls in both configs 1&2!
 
This is a very common issue that you will run into if you miss there is a second config for aiming down the sight. You have to define the same button controls in both configs 1&2!
  
10
+
==<span id="10"></span>My mouse buttons are not working as expected? (windows)== <!--T:16-->
==My mouse buttons are not working as expected? (windows)==
 
 
Check nothing is misconfigured in the mouse configuration software (like the Setpoint application for Logitech mice). Try to close the mouse configuration software.
 
Check nothing is misconfigured in the mouse configuration software (like the Setpoint application for Logitech mice). Try to close the mouse configuration software.
  
11
+
==<span id="11"></span>I feel getting some lag with the left and right mouse buttons, WTF?  (Linux)== <!--T:17-->
==I feel getting some lag with the left and right mouse buttons, WTF?  (Linux)==
 
 
This is a known problem not related to the GIMX code. Ubuntu versions lower than or equal to 10.10 may give this issue. To know the work-around, read [http://blog.gimx.fr/?p=74 this blog post]. Ubuntu 11.04 should not give this issue anymore.
 
This is a known problem not related to the GIMX code. Ubuntu versions lower than or equal to 10.10 may give this issue. To know the work-around, read [http://blog.gimx.fr/?p=74 this blog post]. Ubuntu 11.04 should not give this issue anymore.
  
14
+
==<span id="14"></span>How can I set my old bdaddr back? (Linux+bluetooth)== <!--T:18-->
==How can I set my old bdaddr back? (Linux+bluetooth)==
+
Start a terminal: Click on the Ubuntu Dash, type "terminal" in the search bar, and click on the terminal icon.<br />
Start a terminal: Click on the Ubuntu Dash, type "terminal" in the search bar, and click on the terminal icon.<br/>
 
 
Then type:
 
Then type:
 
  sudo bdaddr -i hciX YY:YY:YY:YY:YY:YY
 
  sudo bdaddr -i hciX YY:YY:YY:YY:YY:YY
 
Replace X with the dongle index (0, 1, 2...), and YY:YY:YY:YY:YY:YY with the bdaddr to set. If you have multiple dongles and if you are not sure about the dongle index, type bdaddr -i hciX to see the current bdaddr of the dongle with index = X.
 
Replace X with the dongle index (0, 1, 2...), and YY:YY:YY:YY:YY:YY with the bdaddr to set. If you have multiple dongles and if you are not sure about the dongle index, type bdaddr -i hciX to see the current bdaddr of the dongle with index = X.
  
15
+
==<span id="15"></span>What mouse is recommended to use with GIMX?== <!--T:19-->
==What mouse is recommended to use with GIMX?==
+
The most important parameter is the mouse DPI.<br />
The most important parameter is the mouse DPI.<br/>
+
The higher the DPI, the better the precision. This is even more the case for a 1-1 translation.<br />
The higher the DPI, the better the precision. This is even more the case for a 1-1 translation.<br/>
+
A 5700+ DPI mouse like the G500 is recommended.<br />
A 5700+ DPI mouse like the G500 is recommended.<br/>
 
 
Using a mouse with lower than 2000 DPI will probably result in movement glitches.
 
Using a mouse with lower than 2000 DPI will probably result in movement glitches.
  
20
+
==<span id="20"></span>Do I need to change the acceleration of the mouse?== <!--T:20-->
==Do I need to change the acceleration of the mouse?==
 
 
There's no need to do that since GIMX gets raw events from the mouse.
 
There's no need to do that since GIMX gets raw events from the mouse.
 +
 +
</translate>

Revision as of 10:03, 30 December 2016

Other languages:
English • ‎français

Is GIMX able to ...?

See the Features page.

My DIY USB adapter isn't working. What can I do?

  • Double check your wiring as explained here: link. A bad wiring results in failure at startup.
  • Check your USB cables, one might be bad. Only use shielded USB cables. A bad cable results in disconnection after a variable time.
  • Connect the USB to UART adapter directly to your computer. Using USB extenders is discouraged, especially on this side of the adapter.
  • Check the wires between the USB to UART adapter (e.g. CP2102) and the AVR USB board (e.g. Teensy 2.0). Make sure there is no bad contact. Loose contact (not soldered and not using jumper wires) is not acceptable and results in inconsistent behavior, such as failure at startup or disconnection after a variable time.
  • Test your USB to UART adapter as explained below.

How can I test my serial adapter?

Only connect the rx pin to the tx pin.
Download the Arduino IDE.
Start the Arduino IDE (don't forget to extract the archive...).
Select the right serial port in the "Tools>Serial Port" menu.
Click on "Tools>Serial Monitor".
Type something in the small text area at the top of the serial monitor, and click on the "Send" button.
If your adapter works correctly, you should see what you typed appearing in the main text area.
It is possible to test the serial adapter for different transmission speed (from 9600 to 115200 bauds).

Installation fails, some library dependencies are not satisfiable, what can I do? (Linux)

Make sure your Ubuntu or Raspbian version is supported (check the requirements).
Make sure you added 'universe' to the repositories.
Make sure you have an internet connection when you install the package.
Make sure Ubuntu / Raspbian is up-to-date (for Ubuntu or Raspbian, run "sudo apt-get update && sudo apt-get upgrade" in a terminal).

I get an error message when I click "Set Dongle Address", what can I do? (Linux+bluetooth)

Some bt dongles are not compatible. Try another one.

I get connection errors, what can I do? (Linux+bluetooth)

Make sure the sixaxis was already paired with your PS3 (the sixaxis should be able to turn on the ps3 remotely).
Make sure the sixaxis is not a fake one: link.
Make sure to turn your sixaxis off before starting emu: unplug the usb cable, and if it does not turn off by itself, press the PS3 button until it turns off.
If it still doesn't work, try another dongle.

I'm having lag issues and/or movement glitches, what can I do? I want best performances, what should I check?

If you are using a TV, make sure to enable the gaming mode (not all the TVs have such a mode, read the user manual).
If you have lag even with a genuine sixaxis/dualshock 3, the lag is probably not due to GIMX.
Increase your mouse frequency as explained there: link.
Make sure your mouse frequency is between 250Hz and 500Hz, and at least twice the GIMX update frequency.
Make sure your mouse can track at least 2000 DPI, and make sure your mouse is running at the highest DPI setting.
Don't use the calibration GUI or the terminal output while playing.
Close any other application (Firefox...).
Avoid usb extension cables and hubs. Some of them are weak and result in poor performances.
Some bluetooth dongles are reported to generate lag issues. It is recommended to use a bluetooth dongle with a CSR Bluecore4-ROM chip.

I can't save my config file? I can't see the config file I saved?

Save your config files in the right directory: C:\Users\<username>\AppData\Roaming\gimx\config or /home/<username>/.gimx/config (Linux).
GIMX 1.12 and older: C:\Users\<username>\AppData\Roaming\emuclient\config or /home/<username>/.emuclient/config (Linux).
GIMX 0.51 and older: C:\Program Files\GIMX\config (Windows 32bits) or C:\Program Files (x86)\GIMX\config (Windows 64bits).
In Linux, the folder named ".gimx" is hidden. Press ctrl+h to display hidden folders!
Don't run anything as root user.

I can't edit my config file? Modifications are not saved?

File permissions are probably wrong.
Start a terminal: Click on the Ubuntu Dash, type "terminal" in the search bar, and click on the terminal icon.
Then type:

ls -l ~/.gimx

You'll see something like this:

total 8
drwxr-xr-x 2 root root 4096 2012-02-24 15:27 config
drwxr-xr-x 2 root root 4096 2012-02-24 15:27 macros

In the above example, file ownership is wrong.
To fix it, type:

sudo chown -R owner:usergroup ~/.gimx

Replace owner and usergroup with the appropriate values, which are usually your username for both.
If you are not sure just type:

ls -ld ~

You'll see something like this:

drwxr-xr-x 94 username group 4096 2012-02-24 16:24 /home/username

Do the same for the ~/.gimx-launcher directory.

I can't see the COM port in gimx-launcher? (windows+usb adapter)

Check the COM port in the device manager.

WinCP2102.gif

Why can't we use a male to male usb cable?

A simple male to male cable is irrelevant due to the usb protocol. A PC is a usb host, it can't be a usb device. Usb to usb cables not designed to work with GIMX such as file transfer cables won't work.

Can we use a normal serial port? (usb adapter)

No. The serial port (RS232 port) that can be found on old PCs does not work at the right voltage levels. It works at -12V/+12V instead of 0V/+5V.

Why isn't there a bluetooth version for windows?

The windows bluetooth stack is weak. It does not provide the low-level access to bluetooth that is required to emulate a sixaxis.

Why can't we use any bluetooth address?

A ps3 doesn't allow communications from an unknown bluetooth address, it only allows communications from bluetooth addresses of paired devices.
Two bluetooth devices are paired means that each device knows the address of the other, and each device allows communications from the other device.
Unpaired devices usually can't communicate. The bluetooth pairing is usually performed over bluetooth, but that's not the case for a sixaxis.
The sixaxis pairing is performed over usb: plug the male to mini usb cable, and press the PS button.

Is it possible to use a virtual machine?

Yes and no. It's not officially supported and I don't give support for that. Running the software may work, but for compatibility and performance reasons, you should not use GIMX in a virtual machine.

Is there a mac os solution?

No, not yet. There probably will be a solution some day, but I have no idea about the date.

I'm having button glitches, what can I do?

This is a very common issue that you will run into if you miss there is a second config for aiming down the sight. You have to define the same button controls in both configs 1&2!

My mouse buttons are not working as expected? (windows)

Check nothing is misconfigured in the mouse configuration software (like the Setpoint application for Logitech mice). Try to close the mouse configuration software.

I feel getting some lag with the left and right mouse buttons, WTF? (Linux)

This is a known problem not related to the GIMX code. Ubuntu versions lower than or equal to 10.10 may give this issue. To know the work-around, read this blog post. Ubuntu 11.04 should not give this issue anymore.

How can I set my old bdaddr back? (Linux+bluetooth)

Start a terminal: Click on the Ubuntu Dash, type "terminal" in the search bar, and click on the terminal icon.
Then type:

sudo bdaddr -i hciX YY:YY:YY:YY:YY:YY

Replace X with the dongle index (0, 1, 2...), and YY:YY:YY:YY:YY:YY with the bdaddr to set. If you have multiple dongles and if you are not sure about the dongle index, type bdaddr -i hciX to see the current bdaddr of the dongle with index = X.

What mouse is recommended to use with GIMX?

The most important parameter is the mouse DPI.
The higher the DPI, the better the precision. This is even more the case for a 1-1 translation.
A 5700+ DPI mouse like the G500 is recommended.
Using a mouse with lower than 2000 DPI will probably result in movement glitches.

Do I need to change the acceleration of the mouse?

There's no need to do that since GIMX gets raw events from the mouse.