Hi Andrew,

2015-02-14 10:21 GMT+01:00 Andrew Deryabin <[email protected]>:

> Hi Robert!
>
> I’m writing from mac os x 10.10 yosemite. Compiled platform independence
> branch without errors (though without any plugins support).
>

Nice :) The mac I have access to is old and only support os x 10.7 but here
I can compile with the MESS plugins atleast.
I use the cmake setup:
cmake ../muse/muse2/ -DCMAKE_BUILD_TYPE=release
-DCMAKE_INSTALL_PREFIX=/Users/ddskrjo/muse_release -DENABLE_LV2=NO
-DMODULES_BUILD_STATIC=NO

I think I specified the Static=NO since I had started to build with static,
since I had linking errors. This however does ofcoure not work for plugins
so I backtracked and found the missing linker flags needed to allow linking
dylibs with external symbols unresolved.


>
> MusE starts only with flag -d,
>

Does it start just after the build? On my system there is a problem with
the dylibs again, I have to manually copy them to the bin dir otherwise
muse2 won't find them. Probably some cmake or compiler flag missing.


> but in normal mode I get this error at last (main window opens and the
> program closes):
>
> midi sequencer thread does not start!? Exiting...
>
>
I do get this error but not all the time, most of the time it starts up and
with some debug prints I can see that the threads are running.
Apparently there is some threading issue that locks it up somtimes.
Be aware that I have ifdefed out all the SCHED_FIFO stuff in this branch,
as far as I know it's not supported in OS X.
Still I don't think that will cause the threads to misbehave as long as
there is no load. I might be wrong.

Is it a real mac or a virtual server you are trying on?



> May be it needs some digging, what is happening there (jack is started
> with midi support).
>
> Here is full console output:
>
> iMac-Derabin:build andrew$ uname -a
>
> Darwin iMac-Derabin.local 14.0.0 Darwin Kernel Version 14.0.0: Fri Sep 19
> 00:26:44 PDT 2014; root:xnu-2782.1.97~2/RELEASE_X86_64 x86_64
>
>
>
> Config File </Users/andrew/.config/MusE/MusE.cfg>
>
> LOCALE ru_RU
>
> Denormal protection enabled.
>
> Trying Qt timer...
>
> got timer = 81
>
> Aquired timer frequency: 100
>
> WARNING: Cannot lock memory:: Function not implemented
>
> JackAudioDevice::start(): calling jack_activate()
>
> JACK: buffersize changed 512
>
> JACK: graph_callback
>
> WARNING: Cannot lock memory:: Function not implemented
>
> WARNING: Cannot lock memory:: Function not implemented
>
> InnerTimer::setupTimer() started
>
> starting with template /opt/muse2/share/muse-2.2/templates/default.med
>
> JackAudioDevice::stop(): calling jack_deactivate()
>
> JACK: registerOutPort: <Out 1-0> 0x5
>
> JACK: registerOutPort: <Out 1-1> 0x6
>
> JackAudioDevice::start(): calling jack_activate()
>
> JACK: buffersize changed 512
>
> JACK: registration_callback: port_id:5 is_register:1
>
> JACK: registration_callback: port_id:6 is_register:1
>
> JACK: graph_callback
>
> JACK: port_connect_callback id a:5 id b:3 isConnect:1
>
> JACK: port_connect_callback id a:6 id b:4 isConnect:1
>
> InnerTimer::setupTimer() started
>
> JACK: graph_callback
>
> midi sequencer thread does not start!? Exiting...
>
> iMac-Derabin:build andrew$ /opt/muse2/bin/muse2
>
> Config File </Users/andrew/.config/MusE/MusE.cfg>
>
> LOCALE ru_RU
>
> Denormal protection enabled.
>
> Trying Qt timer...
>
> got timer = 81
>
> Aquired timer frequency: 100
>
> WARNING: Cannot lock memory:: Function not implemented
>
> JackAudioDevice::start(): calling jack_activate()
>
> JACK: buffersize changed 512
>
> JACK: graph_callback
>
> WARNING: Cannot lock memory:: Function not implemented
>
> WARNING: Cannot lock memory:: Function not implemented
>
> InnerTimer::setupTimer() started
>
> MusE: MidiJackDevice::open creating output port name coremidi:E-MU 0404 |
> USB:in1_out
>
> JACK: registration_callback: port_id:11 is_register:1
>
> JACK: registerOutPort: <coremidi:E-MU 0404 | USB:in1_out> 0xb
>
> JACK: port_connect_callback id a:11 id b:8 isConnect:1
>
> MusE: MidiJackDevice::open creating output port name
> coremidi:virtual1:in2_out
>
> JACK: registration_callback: port_id:12 is_register:1
>
> JACK: registerOutPort: <coremidi:virtual1:in2_out> 0xc
>
> JACK: port_connect_callback id a:12 id b:9 isConnect:1
>
> MusE: MidiJackDevice::open creating output port name
> coremidi:virtual2:in3_out
>
> JACK: registration_callback: port_id:13 is_register:1
>
> JACK: registerOutPort: <coremidi:virtual2:in3_out> 0xd
>
> JACK: port_connect_callback id a:13 id b:10 isConnect:1
>
> MusE: MidiJackDevice::open creating input port name coremidi:E-MU 0404 |
> USB:out1_in
>
> JACK: registration_callback: port_id:14 is_register:1
>
> JACK: registerInPort: <coremidi:E-MU 0404 | USB:out1_in> 0xe
>
> JACK: port_connect_callback id a:5 id b:14 isConnect:1
>
> MusE: MidiJackDevice::open creating input port name
> coremidi:virtual1:out2_in
>
> JACK: registration_callback: port_id:15 is_register:1
>
> JACK: registerInPort: <coremidi:virtual1:out2_in> 0xf
>
> JACK: port_connect_callback id a:6 id b:15 isConnect:1
>
> MusE: MidiJackDevice::open creating input port name
> coremidi:virtual2:out3_in
>
> JACK: registration_callback: port_id:16 is_register:1
>
> JACK: registerInPort: <coremidi:virtual2:out3_in> 0x10
>
> JACK: port_connect_callback id a:7 id b:16 isConnect:1
>
> starting with template /opt/muse2/share/muse-2.2/templates/default.med
>
> JackAudioDevice::stop(): calling jack_deactivate()
>
> JACK: registerOutPort: <Out 1-0> 0x11
>
> JACK: registerOutPort: <Out 1-1> 0x12
>
> JackAudioDevice::start(): calling jack_activate()
>
> JACK: buffersize changed 512
>
> JACK: registration_callback: port_id:14 is_register:1
>
> JACK: registration_callback: port_id:15 is_register:1
>
> JACK: registration_callback: port_id:16 is_register:1
>
> JACK: registration_callback: port_id:11 is_register:1
>
> JACK: registration_callback: port_id:12 is_register:1
>
> JACK: registration_callback: port_id:13 is_register:1
>
> JACK: registration_callback: port_id:17 is_register:1
>
> JACK: registration_callback: port_id:18 is_register:1
>
> JACK: graph_callback
>
> JACK: port_connect_callback id a:17 id b:3 isConnect:1
>
> JACK: port_connect_callback id a:18 id b:4 isConnect:1
>
> JACK: port_connect_callback id a:11 id b:8 isConnect:1
>
> JACK: port_connect_callback id a:12 id b:9 isConnect:1
>
> JACK: port_connect_callback id a:13 id b:10 isConnect:1
>
> JACK: port_connect_callback id a:5 id b:14 isConnect:1
>
> JACK: port_connect_callback id a:6 id b:15 isConnect:1
>
> JACK: port_connect_callback id a:7 id b:16 isConnect:1
>
> InnerTimer::setupTimer() started
>
> JACK: graph_callback
>
> midi sequencer thread does not start!? Exiting...
>
>
>
I hadn't noticed the memory lock errors before, I see now I get them too.
otherwise I don't see any errors here.

Still, there are lots of things not working when building on OS X so I
wouldn't hold my breath about using it yet :P
The bigget problem I see, which is maybe related to your problem, is that I
get no sound and when I press play on the transport it moves a few bars
then stops and everything is locked.

Other big problems I have noticed:
- menus are incomplete (I know Qt OSX does some rearranging of the normal
menus, this seems to break down)
- only a few dialogs are possible to open, can't open mixer for instance

Reminds me, there's a minor graphical issue in the editors after moving to
qt5, when selecting several events with the mouse some of the lines of the
drawn box are hard to see.

Regards,
Robert

11 февр. 2015 г., в 12:47, Robert Jonsson <[email protected]> написал(а):
>
> Hi Andrew,
>
> 2015-02-11 6:29 GMT+01:00 Andrew Deryabin <[email protected]>:
>
> Hi Robert,
>
> Hi guys,
>
> Just wanted to share an image of MusE running on OS X :)
> https://dl.dropboxusercontent.com/u/7739312/muse_x.png
>
> I've done this exercise once before many years ago, this time it's
> somewhat more controlled though so hopefully we should be able to
> integrate it sometime.
> It's not really working yet, I get massive underruns and no
> sound when pressing play, I think the threading may not be working
> correctly..
>
> It's all checked in to the platform_independence1 branch if anyone is
> interested!
>
> Very interesting! Will try to build it today :)
>
>
> Ah, I see I forgot to checkin a fix for building on Linux. There's a
> linker setting in most CMakeLists.txt files that should be if(APPLE).
>
> If you actually wanted to try building on a Mac that will probably
> need some hand holding also, but shouldn't be too hard.
> I used http://brew.sh/ to get all dependencies except Qt.
>
> The old mac I had available can hardly cope with all this ;)
>
> I'm pretty annoyed with the Mac way of things also, this was with a
> MacBook 2,1 from 2007, it's no longer supported by current OS and
> subsequently third party softwares are moving to the unsupported
> category. I had to look for quite a while before I found the few
> prebuilt Qt sdk that was possible to install.
>
> Regards,
> Robert
>
> Regards,
> Andrew
>
>
> Regards,
> Robert
>
>
> ----------------------------------------------------------------------------
> -- Dive into the World of Parallel Programming. The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is
> your hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> Lmuse-developer mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/lmuse-developer
>
>
> --
> Regards,
> Andrew
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming. The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is
> your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> Lmuse-developer mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/lmuse-developer
>
>
>
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Lmuse-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lmuse-developer

Reply via email to