> I guess you're talking about drawing to a cairo_xlib surfaces. The xlib > backend > is slow. To get speed use an image surface as a backbuffer and 'xputimage' > it ( or parts of it ) to a window.
That is (kind of) what NTK does. Do you have any numbers (or a test program) to back up the claim that drawing to an xlib surface (pixmap) and copying it into another is slower than drawing into an image surface and copying that? I'm pretty sure I tested this myself a while ago and determined that there was no difference. > I rebooted my pc this morning and things are faster now. > (less than a sec. for a redraw with only jack/zynn/non-mix and > non-seq running). > > When it took 2 sec.'s ( and 3+ when zoomed out ), the x-server > was using 98% cpu while updating and every other gui action was very slow. > But > it looks like the cause was not ( only ) the seq-gui doing a lot of server > requests. > > Non-seq. is much more responsive now, but still not fast. I wouldn't say that the version in 'master' will ever be fast. Either try the new branch or revert to the pre-NTK (pre-cairo) version of non-sequencer. > I did compile and run it but there were no cells visible so i > couldn't try. Should the cells be visible ? I assumed it was in a to early > stage. The new version does away with the cells and simply draws a grid overlayed with notes. Cairo was simply too slow to draw that many individual shapes. The new branch is almost done, however, some functionality has been disabled and there may be bugs I don't know about. It would be helpful if you could confirm that you perceive no slowness on the new branch. >> I need to know more about >> your environment. Are *all* FLTK1.3 and NTK applications slow for you? >> What video card and driver are you using? What version of X? Have you >> tried switching between EXA and XAA? Have you tried the >> XAAOffscreenPixmaps = "no" Xorg option? >> >> > Zynn is OK , non-mixer is always running and when i switch desks > from mixer to sequencer and back i see a blank mixer-window for > 1/4 - 1/3 of a second ( not really a pain ) and a blank seq. window for > about 3/4 - 1 sec. > > I have an NVIDIA card with prop. driver and X.Org X Server 1.9.5. > and never tried or needed other options than standard. Hmm. Have you tried running it under Xephyr? If it's faster under Xephyr, then it's definitely (at least partly) a problem with your X setup. I'm concerned not about a problem with drawing speed (as I have already solved this in the new branch), but about a potential problem with the FLTK/NTK event loop. > I'll be playing around with the sequencer and see if it gets slower > while using it. It's rather addicting and i haven't connected my keyboard > yet. Indeed. Glad you're having fun! > Looking foreward to your new implementation, Yep. I've pretty much finished everything I planned to do to non-mixer and non-timeline, so I should be able to get back to work finishing the updates to get non-sequencer working optimally with NTK.
