shoebill icon indicating copy to clipboard operation
shoebill copied to clipboard

Mouse Lags A Lot.

Open dyharlan opened this issue 9 years ago • 7 comments

dyharlan avatar May 08 '15 03:05 dyharlan

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?

pruten avatar May 10 '15 23:05 pruten

It lags constantly. From login screen to desktop.

dyharlan avatar May 11 '15 02:05 dyharlan

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.

pruten avatar Jul 06 '15 22:07 pruten

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.

itomato avatar Aug 17 '17 05:08 itomato

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.

pruten avatar Aug 18 '17 19:08 pruten

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

ianfixes avatar Sep 09 '19 02:09 ianfixes

Please do, though I'm not sure if the issue was fixed or not on the latest version

On Mon, Sep 9, 2019, 10:22 AM Ian [email protected] wrote:

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

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/pruten/shoebill/issues/9?email_source=notifications&email_token=AB6OMLLX6N2O3QOIA2AOSS3QIWXN5A5CNFSM4BCNCLFKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6GB4SI#issuecomment-529276489, or mute the thread https://github.com/notifications/unsubscribe-auth/AB6OMLL52VN4OAFOSFUW7KTQIWXN5ANCNFSM4BCNCLFA .

dyharlan avatar Sep 09 '19 07:09 dyharlan