Page 1 of 2

Touchpad problem (SOLVED)...

PostPosted: 25 Mar 2012, 06:16
by ardvark71
Hi all....

I have a problem when playing STK that if I'm not extremely careful to not touch the touchpad in any way, I lose control of my kart and I end up having to shut the entire game down. Twice now that has also involved losing certain functions of my OS, requiring a reboot. :(

Although I am running Ubuntu 10.04, I have seen this behavior in other versions of STK and Ubuntu. Is there a setting I need to change to stop this or does a bug report need to be filed? For some reason, the Windows version doesn't have this problem.

Any help would be appreciated...

Regards...

Re: Touchpad problem...

PostPosted: 25 Mar 2012, 15:42
by Auria
Hi,

that's weird, the touchpad should normally be reported as mouse input, and you can't drive STK with the mouse so it shouldn't do anything. Maybe you can check in the options if the touchpad is somehow misreported as a gamepad by the OS, and if so disable that bogus gamepad?

Re: Touchpad problem...

PostPosted: 25 Mar 2012, 16:06
by ardvark71
Auria {l Wrote}:that's weird, the touchpad should normally be reported as mouse input, and you can't drive STK with the mouse so it shouldn't do anything. Maybe you can check in the options if the touchpad is somehow misreported as a gamepad by the OS, and if so disable that bogus gamepad?


Hi...

Thank you for your reply. I looked in "Controls" under "Options" and found only the keyboard listed. Is there somewhere else I should look?

Thanks! :)

Re: Touchpad problem...

PostPosted: 25 Mar 2012, 23:12
by Auria
ok let's try something else, can you run stk from terminal like this

supertuxkart --gamepad-visualisation

then hit the touchpad and see if anything reacts on-screen?

Re: Touchpad problem...

PostPosted: 26 Mar 2012, 07:47
by ardvark71
Hi...

Upon running the command you gave me, STK came up with some very strange (white) designs against a black background. Along with that was this output in the terminal...

{l Code}: {l Select All Code}
Irrlicht Engine version 1.8.0-alpha
Linux 2.6.32-38-generic #83-Ubuntu SMP Wed Jan 4 11:12:07 UTC 2012 x86_64
Could not load sprite bank because the file does not exist: #DefaultFont
[FileManager] Data files will be fetched from: '/usr/share/games/supertuxkart/'
[FileManager] Addons files will be stored in '/home/aaron/.local/share/supertuxkart/addons'.
[translate] Env var LANGUAGE = 'en_US.UTF-8'
[translate] Env var LANGUAGE = 'en_US.UTF-8', which corresponds to 'English (United States)'
Adding language fallback en
!!!!! Performance warning: Irrlicht compiled with debug mode.!!!!!
!!!!! This can have a significant performance impact         !!!!!
[IrrDriver] Trying OpenGL rendering.
[IrrDriver Temp Logger] Level 3: Could not load sprite bank because the file does not exist: #DefaultFont


Nothing reacted when I hit the touchpad.

Regards...

Re: Touchpad problem...

PostPosted: 26 Mar 2012, 15:19
by Auria
Thanks.

I'm afraid that at this time I really don't understand what is going on, STK does not seem to detect your touchpad at all, so I see no reason why it would react at all when you touch the touchpad :/

Re: Touchpad problem...

PostPosted: 26 Mar 2012, 21:55
by ardvark71
Hi...

You may very well be right. I just tried playing STK making a point to mess with the touchpad constantly throughout the race and nothing happened. However, unless it's some other kind of bug, I don't know what else it could be because I'm not touching anything else (besides the necessary keys on the keyboard) while playing the game. Is there a crash log somewhere that I could retrieve for you that would shed more light on this?

Regards...

Re: Touchpad problem...

PostPosted: 27 Mar 2012, 16:43
by Auria
can you describe precisely what happens? I'm not sure exactly what happens to the kart when the problems occur

Re: Touchpad problem...

PostPosted: 28 Mar 2012, 03:14
by ardvark71
Hi....

Randomly, the kart I'm driving will stop responding to any commands. A kind of freezing but the game will still go on normally otherwise. When this happens, if I am turning right,for example, the front wheels will stay in that position and I will keep going around in a circle, if the terrain will let me. The ability to control speed (along with everything else) is lost too.

Sometimes I can play as many rounds as I want without this happening, other times it will happen repeatedly, forcing to shut down and restart the entire game. While, up until now, thinking it was the touchpad, I have no idea what's causing this. I've seen this on every copy of Ubuntu/Kubuntu (64 bit) installed on my laptop. :!:

Thanks again for your help...

Regards...

Re: Touchpad problem...

PostPosted: 28 Mar 2012, 10:32
by hiker
A quick guess: it is possible that you' have configured two screens (even if you have only one connected atm), then moved the cursor away from the STK window when you touched the touch pad? That might even happen if you are running in fullscreen. Then all your key presses might get delivered to the wrong application, causing all kind of problems.

Cheers,
Joerg

Re: Touchpad problem...

PostPosted: 28 Mar 2012, 11:34
by asciimonster
ardvark71 {l Wrote}:(...). A kind of freezing but the game will still go on normally otherwise. When this happens, if I am turning right,for example, the front wheels will stay in that position and I will keep going around in a circle, if the terrain will let me. The ability to control speed (along with everything else) is lost too.(...)
Could you change the key mappings to check if this isn't a case of evil keyboards?

Re: Touchpad problem...

PostPosted: 28 Mar 2012, 13:52
by ctdabomb
ardvark71 {l Wrote}:Hi....

Randomly, the kart I'm driving will stop responding to any commands. A kind of freezing but the game will still go on normally otherwise. When this happens, if I am turning right,for example, the front wheels will stay in that position and I will keep going around in a circle, if the terrain will let me. The ability to control speed (along with everything else) is lost too.

I had a problem like that once also. I would turn right and my kart would keep going right even when I released the right key and nothing I could do would stop it so I would have to wait till it stopped(though the back helped sometimes)

Re: Touchpad problem...

PostPosted: 28 Mar 2012, 15:39
by ardvark71
hiker {l Wrote}:A quick guess: it is possible that you' have configured two screens (even if you have only one connected atm), then moved the cursor away from the STK window when you touched the touch pad? That might even happen if you are running in fullscreen. Then all your key presses might get delivered to the wrong application, causing all kind of problems.


Hi....

Thank you for your help, I never run STK in full screen so I'm not sure if what you described would be the case.

@asciimonster: The only thing is that STK worked absolutely fine when I was using Windows Vista. This never happened. :?

Regards...

Re: Touchpad problem...

PostPosted: 28 Mar 2012, 15:45
by ctdabomb
ardvark71 {l Wrote}:The only thing is that STK worked absolutely fine when I was using Windows Vista.

he he he!!! that sounds totally backwards. :lol: :lol: :lol: :lol: :p

Re: Touchpad problem...

PostPosted: 28 Mar 2012, 15:57
by ardvark71
Hi ctdabomb...

That's ok, though, Windows Vista couldn't run or run properly some games I had when I was using XP because of compatibility issues. ;)

Regards...

Re: Touchpad problem...

PostPosted: 28 Mar 2012, 20:58
by Iridium
ctdabomb {l Wrote}:
ardvark71 {l Wrote}:The only thing is that STK worked absolutely fine when I was using Windows Vista.

he he he!!! that sounds totally backwards. :lol: :lol: :lol: :lol: :p

Hahaha ;)

Re: Touchpad problem...

PostPosted: 30 Mar 2012, 06:47
by ardvark71
Hi all...

It's been a little quiet since I posted the symptoms, would it be advisable to post a bug report?

Regards...

Re: Touchpad problem...

PostPosted: 31 Mar 2012, 02:19
by Auria
ardvark71 {l Wrote}:Hi all...

It's been a little quiet since I posted the systems, would it be advisable to post a bug report?

Regards...


Well I don't know what we can do about it. Maybe you can try running with --gamepad-debug , which will produce a lot of output, and then give us that output, maybe there's something we can figure from that, maybe you can check if input ceases to reach STK when this issue occurs

It looks like the focus is moving away from STK, which would then be a window manager issue more than a stk issue

Re: Touchpad problem...

PostPosted: 01 Apr 2012, 06:31
by ardvark71
Hi...

I meant "symptoms," what was I thinking when I put "systems?" Image

I can try running the debug command you gave me, I will post any results.

Thanks!

Re: Touchpad problem...

PostPosted: 01 Apr 2012, 10:07
by ardvark71
Hi...

This is the code that generated while the kart was unresponsive....

{l Code}: {l Select All Code}
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
steering: steer_val 0   set to: 0.000000
-------------------------------------
AL lib: ALc.c:1818: alcCloseDevice(): deleting 1 Buffer(s)
aaron@aaron:~$ supertuxkart --gamepad-debug


The strange thing was that while the kart was unresponsive and I was trying to steer it, the terminal was flashing other numbers while I was pressing the keys. While I don't know why the numbers weren't recorded in the above logs, it shows that the game was receiving and recognizing input from me while the kart was unresponsive. Image

Regards...

Re: Touchpad problem...

PostPosted: 01 Apr 2012, 14:12
by Auria
I suspect the numbers you saw don't appear here because the terminal scrollback was exceeded

Try

{l Code}: {l Select All Code}
supertuxkart --gamepad-debug > log.txt


then when you're done, zip log.txt and upload it here

Re: Touchpad problem...

PostPosted: 02 Apr 2012, 01:33
by ardvark71
Auria {l Wrote}:then when you're done, zip log.txt and upload it here


Hi...

Thank you for your continued help with this... :)

I won't be able to get to it for a couple days but I will upload the file when I get a chance.

Regards...

Re: Touchpad problem...

PostPosted: 04 Apr 2012, 19:08
by ardvark71
Auria {l Wrote}:then when you're done, zip log.txt and upload it here


Hi....

Where do I find the log file at? The only information reported in the terminal was this...

{l Code}: {l Select All Code}
$ supertuxkart --gamepad-debug > log.txt
[FileManager] Data files will be fetched from: '/usr/share/games/supertuxkart/'
Music information file 'mysteriousbarricades.music' not found - ignored.
Missing wheel information 'front-right' for model 'blinky.b3d'.
This can be ignored, but the wheels will not rotate.
Missing wheel information 'front-left' for model 'blinky.b3d'.
This can be ignored, but the wheels will not rotate.
Missing wheel information 'rear-right' for model 'blinky.b3d'.
This can be ignored, but the wheels will not rotate.
Missing wheel information 'rear-left' for model 'blinky.b3d'.
This can be ignored, but the wheels will not rotate.


Thanks for your help. :)

Regards...

Re: Touchpad problem...

PostPosted: 04 Apr 2012, 20:01
by Arthur
You'll find it wherever you are currently located in the terminal. So if you're in your home folder it'll output to /home/USERNAME/log.txt

Re: Touchpad problem...

PostPosted: 05 Apr 2012, 00:45
by ardvark71
Arthur {l Wrote}:You'll find it wherever you are currently located in the terminal. So if you're in your home folder it'll output to /home/USERNAME/log.txt


Thank you. :)

I've attached the requested log file. The kart froze on me while the information was being recorded so hopefully a reason can be found as to why this is happening.

Regards...