Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (539)
Games in Android Showcase (132)
games submitted by our members
Games in WIP (603)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Libgdx, LWJGL mouse movement slowdown ?  (Read 1508 times)
0 Members and 1 Guest are viewing this topic.
Offline Cero
« Posted 2012-08-13 23:37:50 »

premise: FAST machine, quad core and whatnot, using libgdx-nightly-20120808

I have made sure that this is not my code's fault in any way, by taking out all input related code altogether.

See problem in the video

<a href="http://www.youtube.com/v/a0HVFIujKAY?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/a0HVFIujKAY?version=3&amp;hl=en_US&amp;start=</a>

profiler says this:


Offline ra4king

JGO Kernel


Medals: 356
Projects: 3
Exp: 5 years


I'm the King!


« Reply #1 - Posted 2012-08-14 02:52:45 »

Have you noticed your mouse freezes too? This seems more related to your system than LWJGL.

Offline Cero
« Reply #2 - Posted 2012-08-14 10:27:26 »

Have you noticed your mouse freezes too? This seems more related to your system than LWJGL.

you can swap to jogl of course with lwjgl... no problem there
I dont say it cant be my system, just it would be really weird... and other lwjgl games dont do that

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Cero
« Reply #3 - Posted 2012-08-14 10:40:34 »

also I think that isnt whats really happening, Im just recording with Fraps and at those points it just lags the recording too
pretty sure my cursor doesnt freeze actually

Offline princec

« JGO Spiffy Duke »


Medals: 434
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #4 - Posted 2012-08-14 11:07:54 »

Maybe I'm daft but I can't actually see the problem in the video :/

Cas Smiley

Offline Cero
« Reply #5 - Posted 2012-08-14 11:16:26 »

If you watch it to the end Im doing 25% speed later

When moving the mouse the whole game freezes for some microseconds, maybe even 1 frame, every second or so
but ONLY when you move the mouse

Offline Cero
« Reply #6 - Posted 2012-08-15 12:06:34 »

Im on a different machine now, dual core and stuff

no problem here, meaning my PC is really at fault

so now thats fun... how would I fix this... when obviously the lwjgl and libgdx stuff has no influence, I could reinstall eclipse and jdk... as if that would help
display drivers are of course always latest since nvidia uses their update reminder thingy

oh well

Offline Cero
« Reply #7 - Posted 2012-10-30 23:42:05 »

Still having this problem, as I explain in this thread: http://www.tomshardware.co.uk/forum/57196-47-mouse-movement-lags
Its not a LWJGL behavior or whatever it happens in pretty much EVERY program on my PC, unless its run in admin mode

friggin bizzare, just remember this when we have another "hey windows is not so bad"-discussions  D:

Offline KittenKoder

Senior Devvie


Medals: 7



« Reply #8 - Posted 2012-10-30 23:48:38 »

Check for mouse gestures, that can slow down mouse event processing in Windows, if that's what you're running. Mouse gestures adds another layer to the event processing of the GUI so it's a wild guess but it may help.

If you're in Linux, see what you have running in the manner of processes, there may be a program stuck that's trying to poll the mouse. If you see a program you thought you closed, try to close it again or kill the process if you know for sure it's not suppose to be there.

I am no one else.
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

rwatson462 (36 views)
2014-12-15 09:26:44

Mr.CodeIt (29 views)
2014-12-14 19:50:38

BurntPizza (61 views)
2014-12-09 22:41:13

BurntPizza (98 views)
2014-12-08 04:46:31

JscottyBieshaar (58 views)
2014-12-05 12:39:02

SHC (74 views)
2014-12-03 16:27:13

CopyableCougar4 (76 views)
2014-11-29 21:32:03

toopeicgaming1999 (137 views)
2014-11-26 15:22:04

toopeicgaming1999 (127 views)
2014-11-26 15:20:36

toopeicgaming1999 (37 views)
2014-11-26 15:20:08
Resources for WIP games
by kpars
2014-12-18 10:26:14

Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!