Old 11-09-2017, 11:45 AM   #1
_Stevie_
Human being with feelings
 
_Stevie_'s Avatar
 
Join Date: Oct 2017
Location: Black Forest
Posts: 5,067
Default Sluggish MIDI Editor

Hey all,

this is something that I'm experiencing for a while now:
when moving the MIDI Editor content with the middle mouse button + dragging,
the GUI gets verry sluggish and unresponsive.
Watch the scrollbar in relation to the screen movement:

https://imgur.com/RBfRtDF

A fix is more than welcome!

Last edited by _Stevie_; 11-10-2017 at 05:14 PM.
_Stevie_ is offline   Reply With Quote
Old 11-09-2017, 08:47 PM   #2
foxAsteria
Human being with feelings
 
foxAsteria's Avatar
 
Join Date: Dec 2009
Location: Oblivion
Posts: 10,271
Default

Could you post a larger gif please? That one's not big enough... Well the only time I've experiences a sluggish MIDI editor is when I've split very long and complex MIDI item into many separate parts with the "allow trimming of MIDI items when splitting" preference off. In such case, the MIDI data essentially doubles with each split, so you can wind up with too much for Reaper to handle smoothly at some point. Or is this happening always?
__________________
foxyyymusic
foxAsteria is online now   Reply With Quote
Old 11-10-2017, 05:00 AM   #3
_Stevie_
Human being with feelings
 
_Stevie_'s Avatar
 
Join Date: Oct 2017
Location: Black Forest
Posts: 5,067
Default

No problem, I have the full sized gif here:
https://i.imgur.com/RBfRtDF.gif

But maybe I need to increase the frame rate. Not sure if it's really visible.
That issue is always happening, with small items, large ones, lot of notes, bunch of note.
_Stevie_ is offline   Reply With Quote
Old 11-10-2017, 05:41 AM   #4
_Stevie_
Human being with feelings
 
_Stevie_'s Avatar
 
Join Date: Oct 2017
Location: Black Forest
Posts: 5,067
Default

I just tried to record with 25 frames, but somehow the GIF format is not capable of fast frame rates.
So I made short video, I hope it becomes clearer now:
https://www.dropbox.com/s/3nr6vrrfwt...ditor.mp4?dl=0

Btw, the issue does not happen in the arrangement!
_Stevie_ is offline   Reply With Quote
Old 11-10-2017, 07:40 AM   #5
juliansader
Human being with feelings
 
Join Date: Jul 2009
Posts: 3,714
Default

Does this only happen when certain plugins are added to the project? If so, try to deactivate graphics acceleration in these plugins. As discussed elsewhere, incompatibility with the graphics driver may slow down the MIDI editor.
juliansader is offline   Reply With Quote
Old 11-10-2017, 08:08 AM   #6
_Stevie_
Human being with feelings
 
_Stevie_'s Avatar
 
Join Date: Oct 2017
Location: Black Forest
Posts: 5,067
Default

This even happens with no plugins loaded at all.
I'm using a relatively new graphics card: Radeon RX 460 2GB RAM and with the latest drivers.
Is there anything else that I could try?
_Stevie_ is offline   Reply With Quote
Old 11-10-2017, 10:20 AM   #7
Zamyen
Human being with feelings
 
Join Date: Dec 2008
Posts: 78
Default

I’m not sure I’ve seem this exact problem but I noticed a slight delay in Step input when Note Preview is on and the ASIO driver buffer is high (e.g. 512 samples vs 64 or 128).. would be interesting to know if either of those make any difference.. Finally, also check no other programs are running I’ve even seen Firefox introducing weird latency at the system level something like DPC Latency Checker can show up.

Last edited by Zamyen; 11-10-2017 at 10:29 AM.
Zamyen is offline   Reply With Quote
Old 11-10-2017, 12:58 PM   #8
foxAsteria
Human being with feelings
 
foxAsteria's Avatar
 
Join Date: Dec 2009
Location: Oblivion
Posts: 10,271
Default

Haha, I sometimes forget that people can't necessarily detect sarcasm in text. When I said give us a bigger gif, I was sarcastically referring to how such a massive, embedded image makes the entire thread difficult to use. Sorry.

At any rate, I've seen another thread with people claiming the MIDI editor has become sluggish in recent versions so maybe it is a bug that can be fixed. I haven't noticed it yet though, so there are probably certain conditions to it.
__________________
foxyyymusic
foxAsteria is online now   Reply With Quote
Old 11-10-2017, 02:11 PM   #9
_Stevie_
Human being with feelings
 
_Stevie_'s Avatar
 
Join Date: Oct 2017
Location: Black Forest
Posts: 5,067
Default

Ahhh, now that I opened the thread on the iPad, I know what you mean :-D Sorry

@Zamyen, I don't think it's an ASIO issue, my system runs rock solid on DPC lately checker.
But I will switch the latency to see if it makes a difference.
_Stevie_ is offline   Reply With Quote
Old 11-10-2017, 05:12 PM   #10
_Stevie_
Human being with feelings
 
_Stevie_'s Avatar
 
Join Date: Oct 2017
Location: Black Forest
Posts: 5,067
Default

I have just tested it on my Macbook, it does not happen there. What I noticed is: on my Windows machine, the CC lane description starts to flicker. I will also test how it behaves with no CC lanes active.
_Stevie_ is offline   Reply With Quote
Old 11-11-2017, 02:24 AM   #11
juliansader
Human being with feelings
 
Join Date: Jul 2009
Posts: 3,714
Default

Does this happen in all projects, or only one?

Does it depend on the number of MIDI events in the takes that are visible or editable in the editor?
juliansader is offline   Reply With Quote
Old 11-11-2017, 03:49 AM   #12
_Stevie_
Human being with feelings
 
_Stevie_'s Avatar
 
Join Date: Oct 2017
Location: Black Forest
Posts: 5,067
Default

Okay, so:

- changing the latency has no effect
- removing cc lanes has no effect either

@Julian, it indeed happens in all projects, even empty ones with just one empty MIDI take (no MIDI notes or CCs). What's strange though, when I use the scroll bar at the bottom, to scroll thru the take, its absolutely fluent, as it should be.

Check the GIF below. When using the scroll hand mouse, the CC/velocity lane flickers. When using the scrollbars, it doesn't:

https://imgur.com/FZt5RPp
_Stevie_ is offline   Reply With Quote
Old 05-11-2018, 05:17 AM   #13
_Stevie_
Human being with feelings
 
_Stevie_'s Avatar
 
Join Date: Oct 2017
Location: Black Forest
Posts: 5,067
Default

Fixed: https://forums.cockos.com/showpost.p...7&postcount=11

I plugged my monitor to a KVM, so that I can switch between 2 computers. And guess what... The sluggish MIDI editor has gone. I have no idea what's happening there, but the KVM seems to fix it!
However, it's indeed scary, what impact displayport can have.
__________________
My Reascripts forum thread | My Reascripts on GitHub
If you like or use my scripts, please support the Ukraine: Ukraine Crisis Relief Fund | DirectRelief | Save The Children | Razom
_Stevie_ is offline   Reply With Quote
Old 05-12-2018, 09:01 AM   #14
_Stevie_
Human being with feelings
 
_Stevie_'s Avatar
 
Join Date: Oct 2017
Location: Black Forest
Posts: 5,067
Default

Spoke too soon... Issue is back, however I think I know what the issue is.
My monitor has a resolution of 3440 x 1440 and apparently Reaper doesn't like that. When I switch to 2650 x 1080, the scrolling works as expected.
__________________
My Reascripts forum thread | My Reascripts on GitHub
If you like or use my scripts, please support the Ukraine: Ukraine Crisis Relief Fund | DirectRelief | Save The Children | Razom
_Stevie_ is offline   Reply With Quote
Old 12-16-2018, 11:21 AM   #15
_Stevie_
Human being with feelings
 
_Stevie_'s Avatar
 
Join Date: Oct 2017
Location: Black Forest
Posts: 5,067
Default

Some issues have been fixed by Justin (scrolling around in the MIDI editor works now as expected), but there are still some bugs remaining.

Not sure if the cc lane descriptions are the culprit here, but opening the MIDI editor takes longer and the cc lane description flickers. This is especially noticable, when there are multiple MIDI items in the project (which is usually the case).

EDIT: this only happens, when the setting "Open all selected items..." or " Open all MIDI items..." is set.
It's like Reaper has to gather all the items.
With "Open the clicked MIDI item only" the editor opens as fast as usual.




And in general, the cc lane descriptions are flickering, when scrolling in the midi editor + the cc lanes are not drawn instantly, as seen in thr GIF:

__________________
My Reascripts forum thread | My Reascripts on GitHub
If you like or use my scripts, please support the Ukraine: Ukraine Crisis Relief Fund | DirectRelief | Save The Children | Razom

Last edited by _Stevie_; 12-21-2018 at 07:08 AM.
_Stevie_ is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 06:42 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.