supertuxkart / stk-code

The code base of supertuxkart
Other
4.46k stars 1.05k forks source link

Wiimote -TR confusion and problems #2572

Open qwertychouskie opened 8 years ago

qwertychouskie commented 8 years ago
  1. It is very unclear whether the "RVL-CNT-01-TR" is supposed to work or not.
  2. When trying to connect the remote, it says that 1 remote is found and the remote vibrates, but the lights on the remote keep blinking, and do not stop until STK is closed or Bluetooth is turned off (using the tray applet).
  3. STK freezes when trying to quit after trying to connect the remote.

Here is the output from running supertuxkart &> output.txt, clicking "Options", clicking the "Controls" tab, clicking "Add a device", clicking "Add Wiimote", pressing the red sync button on the Wiimote, clicking "OK", clicking "OK" when the "Found 1 remote" dialog comes up, clicking the back button, clicking "Quit", turning Bluetooth off after a while, and pressing Control+C: (whew, that was a lot of clicking. :) )

[verbose  ] main: Error messages and other text output will be logged to /home/qwerty/.config/supertuxkart/0.8.2/stdout.log.
[info   ] [FileManager]: Data files will be fetched from: '/usr/share/supertuxkart/data/'
[info   ] [FileManager]: User directory is '/home/qwerty/.config/supertuxkart/0.8.2/'.
[info   ] [FileManager]: Addons files will be stored in '/home/qwerty/.local/share/supertuxkart/addons/'.
[info   ] [FileManager]: Screenshots will be stored in '/home/qwerty/.cache/supertuxkart/screenshots/'.
[info   ] [FileManager]: User-defined grand prix will be stored in '/home/qwerty/.local/share/supertuxkart/grandprix/'.
[info   ] [FileManager]: Asset 0 will be loaded from '/usr/share/supertuxkart/data/challenges/'.
[info   ] [FileManager]: Asset 1 will be loaded from '/usr/share/supertuxkart/data/gfx/'.
[info   ] [FileManager]: Asset 2 will be loaded from '/usr/share/supertuxkart/data/grandprix/'.
[info   ] [FileManager]: Asset 3 will be loaded from '/usr/share/supertuxkart/data/gui/'.
[info   ] [FileManager]: Asset 4 will be loaded from '/usr/share/supertuxkart/data/library/'.
[info   ] [FileManager]: Asset 5 will be loaded from '/usr/share/supertuxkart/data/models/'.
[info   ] [FileManager]: Asset 6 will be loaded from '/usr/share/supertuxkart/data/music/'.
[info   ] [FileManager]: Asset 7 will be loaded from '/usr/share/supertuxkart/data/replay/'.
[info   ] [FileManager]: Asset 8 will be loaded from '/usr/share/supertuxkart/data/tracks/'.
[info   ] [FileManager]: Asset 9 will be loaded from '/usr/share/supertuxkart/data/sfx/'.
[info   ] [FileManager]: Asset 10 will be loaded from '/usr/share/supertuxkart/data/shaders/'.
[info   ] [FileManager]: Asset 11 will be loaded from '/usr/share/supertuxkart/data/skins/'.
[info   ] [FileManager]: Asset 12 will be loaded from '/usr/share/supertuxkart/data/textures/'.
[info   ] [FileManager]: Asset 13 will be loaded from '/usr/share/supertuxkart/data/ttf/'.
[info   ] [FileManager]: Asset 14 will be loaded from '/usr/share/supertuxkart/data/po/'.
[verbose  ] translation: Env var LANGUAGE = 'en'.
[verbose  ] translation: Language 'English'.
[warn   ] tinygettext: jbo.po: warning: ignoring, unknown language
[warn   ] tinygettext: no.po: warning: ignoring, unknown language
[warn   ] tinygettext: no_NO.po: warning: ignoring, unknown language
[warn   ] tinygettext: sc.po: warning: ignoring, unknown language
[warn   ] tinygettext: sco.po: warning: ignoring, unknown language
Irrlicht Engine version 1.8.0
Linux 4.4.0-30-generic #49-Ubuntu SMP Thu Jun 30 20:51:32 UTC 2016 x86_64
[warn   ] [IrrDriver Temp Logger]: Level 2: X Error: GLXBadFBConfig

[warn   ] [IrrDriver Temp Logger]: Level 2: From call : unknown

[warn   ] [IrrDriver Temp Logger]: Level 3: Vertex shader compilation failed at position -1:


[warn   ] [IrrDriver Temp Logger]: Level 3: Pixel shader compilation failed at position -1:


[warn   ] [IrrDriver Temp Logger]: Level 3: Vertex shader compilation failed at position -1:


[warn   ] [IrrDriver Temp Logger]: Level 3: Pixel shader compilation failed at position -1:


[warn   ] [IrrDriver Temp Logger]: Level 3: Vertex shader compilation failed at position -1:


[warn   ] [IrrDriver Temp Logger]: Level 3: Pixel shader compilation failed at position -1:


[info   ] IrrDriver: OpenGL version: 3.3
[info   ] IrrDriver: OpenGL vendor: Intel Open Source Technology Center
[info   ] IrrDriver: OpenGL renderer: Mesa DRI Intel(R) Sandybridge Mobile 
[info   ] IrrDriver: OpenGL version string: 3.3 (Core Profile) Mesa 12.1.0-devel
[info   ] GLDriver: AMD Vertex Shader Layer Present
[info   ] GLDriver: ARB Buffer Storage PresentCannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock
AL lib: (WW) ALCjackBackendFactory_init: jack_client_open() failed, 0x11
AL lib: (WW) alc_initconfig: Failed to initialize backend "jack"

[info   ] GLDriver: ARB Base Instance Present
[info   ] GLDriver: ARB Arrays of Arrays Present
[info   ] GLDriver: ARB Texture Storage Present
[info   ] GLDriver: EXT Texture Compression S3TC Present
[info   ] GLDriver: ARB Uniform Buffer Object Present
[info   ] GLDriver: ARB Explicit Attrib Location Present
[info   ] GLDriver: Geometry Shaders Present
[warn   ] irr_driver: Created visual is not sRGB-capable. Re-creating device to workaround the issue.
[warn   ] [IrrDriver Temp Logger]: Level 2: X Error: GLXBadFBConfig

[warn   ] [IrrDriver Temp Logger]: Level 2: From call : unknown

[warn   ] [IrrDriver Temp Logger]: Level 3: Vertex shader compilation failed at position -1:


[warn   ] [IrrDriver Temp Logger]: Level 3: Pixel shader compilation failed at position -1:


[warn   ] [IrrDriver Temp Logger]: Level 3: Vertex shader compilation failed at position -1:


[warn   ] [IrrDriver Temp Logger]: Level 3: Pixel shader compilation failed at position -1:


[warn   ] [IrrDriver Temp Logger]: Level 3: Vertex shader compilation failed at position -1:


[warn   ] [IrrDriver Temp Logger]: Level 3: Pixel shader compilation failed at position -1:


[info   ] irr_driver: GLSL supported.
[info   ] Freetype Environment: Loading fonts...
[info   ] Freetype Environment: DPI for Normal Font is 25.
[info   ] Freetype Environment: DPI for Title Font is 54.
[info   ] Freetype Environment: DPI for Digit Font is 38.
[warn   ] [IrrDriver Temp Logger]: Level 2: PNG warning: iCCP: known incorrect sRGB profile

[warn   ] [IrrDriver Temp Logger]: Level 2: PNG warning: iCCP: known incorrect sRGB profile

[warn   ] [IrrDriver Temp Logger]: Level 2: PNG warning: iCCP: known incorrect sRGB profile

[warn   ] [IrrDriver Temp Logger]: Level 2: PNG warning: iCCP: known incorrect sRGB profile

[warn   ] [IrrDriver Temp Logger]: Level 2: PNG warning: iCCP: known incorrect sRGB profile

[warn   ] [IrrDriver Temp Logger]: Level 2: PNG warning: iCCP: known incorrect sRGB profile

[info   ] ScalableFont::loadTTF: Created 15 glyphs supporting 16 characters for high-res digits font Sigmar using 1 glyph page(s).
[info   ] ScalableFont::loadTTF: Created 94 glyphs supporting 152 characters for bold title font FreeSans using 1 glyph page(s).
[info   ] ScalableFont::loadTTF: Created 98 glyphs supporting 101 characters for normal font Cantarell using 1 glyph page(s).
[info   ] shader: Compiling shader : texturedquad.vert
[info   ] shader: Compiling shader : texturedquad.frag
[info   ] shader: Compiling shader : texturedquad.vert
[info   ] shader: Compiling shader : uniformcolortexturedquad.frag
[info   ] shader: Compiling shader : colortexturedquad.vert
[info   ] shader: Compiling shader : colortexturedquad.frag
[info   ] HTTPRequest: Sending userid=15980&token=************************ to https://addons.supertuxkart.net/api/v2/user/saved-session/
[info   ] HTTPRequest: Downloading http://addons.supertuxkart.net/dl/xml/news.xml
[warn   ] track: Music information file 'TheDeadRocks-EasyJob.music' not found for track 'harvest' - ignored.

[warn   ] TrackManager: Track '20_harvest' is not supported by this binary, ignored. (Track is version 5, this executable supports from 6 to 6).
[error  ] Irrlicht: Could not load texture: /usr/share/supertuxkart/data/wip-tracks/20_luna/
[error  ] irr_driver: Texture '/usr/share/supertuxkart/data/wip-tracks/20_luna/' not found.
[warn   ] Irrlicht: Could not open file of texture: /usr/share/supertuxkart/data/wip-tracks/20_mansion/screenshot.jpg
[error  ] irr_driver: Texture '/usr/share/supertuxkart/data/wip-tracks/20_mansion/screenshot.jpg' not f[INFO] wiiuse clean up...
[INFO] Found 1 bluetooth device(s).
[INFO] Found wiimote (type:  (motion plus inside)) (B8:AE:6E:23:BC:46) [id 1].
[INFO] Connected to wiimote [id 1].
[INFO] wiiuse clean up...
[ERROR] Receiving wiimote data (id 1).
Error Details: Software caused connection abort
[ERROR] Receiving wiimote data (id 1).
Error Details: Transport endpoint is not connected
[ERROR] Bluetooth appears to be disconnected. Wiimote unid 1 will be disconnected.
[INFO] Wiimote disconnected [id 1].
[ERROR] Receiving wiimote data (id 1).
Error Details: Transport endpoint is not connected
[ERROR] Bluetooth appears to be disconnected. Wiimote unid 1 will be disconnected.
[INFO] Wiimote disconnected [id 1].
[ERROR] Receiving wiimote data (id 1).
Error Details: Bad file descriptor
[ERROR] Receiving wiimote data (id 1).
Error Details: Bad file descriptor
[ERROR] Receiving wiimote data (id 1).
Error Details: Bad file descriptor
[ERROR] Receiving wiimote data (id 1).
Error Details: Bad file descriptor
[ERROR] Receiving wiimote data (id 1).
Error Details: Bad file descriptor
............... (a bunch of these, the log was 402.8 MB!) ...............

Things that need to be done:

My system:

*-cpu
     product: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz
     vendor: Intel Corp.
     physical id: 1
     bus info: cpu@0
     size: 1319MHz
     capacity: 3200MHz
     width: 64 bits
     capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp x86-64 constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm epb tpr_shadow vnmi flexpriority ept vpid xsaveopt dtherm ida arat pln pts cpufreq
mattia-b89 commented 7 years ago

I tried with my RVL-CNT-01, that is a version of the controller with "motion inside". I can say that basically it works: I connected it via bluetooth and is automatically recognized by the system and STK, just selected it in order to use it. anyway, the most amazing feature is missing (I don't know if this issue is related to the linux kernel or Xorg or STK..., I don't know if it was supposed to work....): I can't use the gyroscope to steer

EDIT: typo

qwertychouskie commented 6 years ago

For the record, Linux's built-in Wiimote handling plus MoltenGamepad worked fine last time I did this.