Notice: Trying to access array offset on value of type bool in /srv/www/vhosts/openpandora.org/domains/bugs.openpandora.org/httpdocs/scripts/details.php on line 649 FS#25 : QWERTY Slowdowns

OpenPandora Main OS

  • Status Closed
  • Percent Complete
    100%
  • Task Type Bug Report
  • Category Core
  • Operating System All
  • Severity Medium
  • Reported Version SuperZaxxon Beta 4
Attached to Project: OpenPandora Main OS
Opened by Scott - 14.01.2010
Last edited by Michael Mrozek - 23.02.2010

FS#25 - QWERTY Slowdowns

Cleaned up a bit according to everything we know. EDIT: notaz did it again. Fixed it. If you find any weird side effects, let us know :) http://notaz.gp2x.de/tmp/Xorg Replace the file /usr/bin/Xorg Be sure to change permissions to 755 Switching between DPAD and keyboard does increase CPU usage on X A LOT. It even tends to crash ALSA if done too extensive. According to notaz, this is due to some very old crap that's still included in X. Internally it has one mouse and one keyboard, everything else is copied every time you press a key and bunch of callbacks are called, messages are sent to all screens and windows. New tests from EvilDragon: Disabling xfwm4 makes things better (ALSA won't crash anymore), but it still lags. Running it in minimal X (directly from .xinitrc) strangely fixes this - X won't eat up more than 17% CPU, regardless how many buttons you press. OLD Entry: The qwerty controls when pressed are causing the system to slowdown making the application running to pause/delay. Ive seen in a least 2 application glquake and supertux. For example pressing space would cause the hiccups and shortly after the pressing stopped the application would regain normal running speed. The other joystick/nub controls work fine. glquake is getting controls direct from the event files. Supertux is using the SDL layer. This was done on angstrom image from dec 19th. EDIT: More tests done by EvilDragon with the latest image (pandora-xfce-image-omap3-pandora-20100102-new-kernel-fn-n-m-support.tar.bz2) When you play with the DPAD and press a keyboard button, the app is making the small pause. You can press as many keyboard buttons as you want after that, there won't be another pause. BUT as soon as you press the DPAD again, it pauses again. Then the next pause does happen when you press a keyboard button, etc. So it feels like it pauses when you switch between DPAD and keyboard. The most important thing: This only happens when you run SDL Games from X. It doesn't occur when running SDL games from the console.
Closed by  Michael Mrozek
23.02.2010 03:36
Reason for closing:  Fixed
Additional comments about closing:  No side effects known yet.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing