Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mouse Lags A Lot. #9

Open
dyharlan opened this issue May 8, 2015 · 7 comments
Open

Mouse Lags A Lot. #9

dyharlan opened this issue May 8, 2015 · 7 comments

Comments

@dyharlan
Copy link

dyharlan commented May 8, 2015

No description provided.

@pruten
Copy link
Owner

pruten commented May 10, 2015

Does it lag constantly? Or does it only lag when you're doing heavy disk I/O? Or heavy ethernet I/O? Or something else?

@dyharlan
Copy link
Author

It lags constantly. From login screen to desktop.

@pruten
Copy link
Owner

pruten commented Jul 6, 2015

There are some critical parts that aren't properly threaded yet, like emulated SCSI ops. This can cause constant slowness particularly when the emulated RAM size isn't high enough, and A/UX is constantly thrashing virtual memory to/from the emulated SCSI disks. Maybe try increasing memory?

Another possible issue is that Shoebill redraws entire frames at 60hz, even when nothing changed on screen. The screen renderer runs in another thread, but it can eat up 50% or more cycles on another core while running. So if you're using a single-core machine, that could also contribute to mouse lag.

@itomato
Copy link

itomato commented Aug 17, 2017

Mouse tracking in the 0.0.5 build on Linux is very strange, even with the Mouse CDEV set to 'Tablet'. Cursor lags.

Fresh builds of SDL and Cocoa on macOS are both responsive for me.

@pruten
Copy link
Owner

pruten commented Aug 18, 2017

Maybe the event loop is inefficient - it can potentially do a lot of work on each event, including SDL_MOUSEMOTION events. It's also possible that my dumb thread locking model is broken, or that my dumb SCSI implementation (which runs on the same thread as the cpu and blocks while doing reads/writes) is causing random hangs.

@ianfixes
Copy link

ianfixes commented Sep 9, 2019

Please advise on whether this issue should be copied to https://github.com/emaculation/shoebill

@dyharlan
Copy link
Author

dyharlan commented Sep 9, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants