| |
JackAsser
Registered: Jun 2002 Posts: 2014 |
1351 mouse emulation in the Mac OsX Cocoa build of Vice
Anyone got this working? The SDL-build works okish, but the Cocoa build is completly borked when it comes to mouse emulation. Just a random mess. |
|
| |
Oswald
Registered: Apr 2002 Posts: 5086 |
. o O ( mouse? what is he working on? ) |
| |
chatGPZ
Registered: Dec 2001 Posts: 11350 |
Quote:the Cocoa build is completly borked
this
you might want to try the GTK3 port :) |
| |
JackAsser
Registered: Jun 2002 Posts: 2014 |
Quote: Quote:the Cocoa build is completly borked
this
you might want to try the GTK3 port :)
Yeah, will do. Gotta build a native Gtk3 first. Would hate to run via an x-layer |
| |
JackAsser
Registered: Jun 2002 Posts: 2014 |
Btw, is it planned that the Gtk-build will be used as standard on Win, Mac and Linux. If so I can try to setup nightly builds for Mac at work. |
| |
Compyx
Registered: Jan 2005 Posts: 631 |
Yes indeed. So a nightly build system would help us a lot. |
| |
MagerValp
Registered: Dec 2001 Posts: 1074 |
Quote: Btw, is it planned that the Gtk-build will be used as standard on Win, Mac and Linux. If so I can try to setup nightly builds for Mac at work.
👍🏼👍🏼 |
| |
Compyx
Registered: Jan 2005 Posts: 631 |
If possible a system like pokefinder's WinVICE's nightlies would be nice: when the build fails, mail some people with the output of ./configure, the config.log file and the output of make (ie `make 2>&1 | tee make2.log`). |
| |
JackAsser
Registered: Jun 2002 Posts: 2014 |
Quote: If possible a system like pokefinder's WinVICE's nightlies would be nice: when the build fails, mail some people with the output of ./configure, the config.log file and the output of make (ie `make 2>&1 | tee make2.log`).
Sure. First Ill experiment with native Gtk3 libs and statically link them to Vice. I think a self container package with all deps included is the only way to get broad user acceptance. |
| |
Compyx
Registered: Jan 2005 Posts: 631 |
Yes. That's the way the Gtk3 devs advised me to distribute the Windows port as well, just package all libs, images, css files etc of Gtk3 with VICE together. |
| |
JackAsser
Registered: Jun 2002 Posts: 2014 |
Quote: Yes. That's the way the Gtk3 devs advised me to distribute the Windows port as well, just package all libs, images, css files etc of Gtk3 with VICE together.
Is your GTK-version of VICE jhbuild compatible? |
| |
Compyx
Registered: Jan 2005 Posts: 631 |
I would be very surprised if it was. We use autotools, also for the Windows build, which uses MSYS2.
Isn't jhbuild meant to build development versions of Gnome? Not for client software I think. |
| |
JackAsser
Registered: Jun 2002 Posts: 2014 |
Quote: I would be very surprised if it was. We use autotools, also for the Windows build, which uses MSYS2.
Isn't jhbuild meant to build development versions of Gnome? Not for client software I think.
It can be used to describe package dependencies for GTK-programs generally and then jhbuild will automatically download all deps and include them into the final package. Gimp is one example. |
| |
Compyx
Registered: Jan 2005 Posts: 631 |
well, like I said, we expect people to install all dependencies and then run ./configure, the autotools way.
You're welcome to join #vice-dev on freenode, sometimes we even talk about VICE there. |
| |
JackAsser
Registered: Jun 2002 Posts: 2014 |
Quote: well, like I said, we expect people to install all dependencies and then run ./configure, the autotools way.
You're welcome to join #vice-dev on freenode, sometimes we even talk about VICE there.
Yep yep! :)
Currently following https://wiki.gnome.org/Projects/GTK+/OSX/Building which builds a clean separate GTK3+ environment. Using that as prefix and point pkg-config there I hope configure with VICE will work out properly. :) |
| |
Compyx
Registered: Jan 2005 Posts: 631 |
Hmmm, I'm curious to see how that works out. If that's proper way to build VICE-Gtk3-OSX, then I have no issues with that.
Although perhaps jhbuild might pull in certain libs with a version number higher than we use (3.22). But we'll see, 3.22 is supposed to be the stable gtk3 version untill gtk4. |
| |
JackAsser
Registered: Jun 2002 Posts: 2014 |
Quote: Hmmm, I'm curious to see how that works out. If that's proper way to build VICE-Gtk3-OSX, then I have no issues with that.
Although perhaps jhbuild might pull in certain libs with a version number higher than we use (3.22). But we'll see, 3.22 is supposed to be the stable gtk3 version untill gtk4.
Successfully built now and it works fine (well mouse is still quite borked). But it's not static yet.
otool -L x64sc
x64sc:
/System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio (compatibility version 1.0.0, current version 1.0.0)
/System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox (compatibility version 1.0.0, current version 492.0.0)
/System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit (compatibility version 1.0.0, current version 1.0.0)
/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit (compatibility version 1.0.0, current version 275.0.0)
/System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices (compatibility version 1.0.0, current version 822.31.0)
/Users/andreaslarsson/gtk/inst/lib/libjpeg.9.dylib (compatibility version 12.0.0, current version 12.0.0)
/Users/andreaslarsson/gtk/inst/lib/libpng16.16.dylib (compatibility version 51.0.0, current version 51.0.0)
/Users/andreaslarsson/gtk/inst/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.11)
/Users/andreaslarsson/gtk/inst/lib/libreadline.7.dylib (compatibility version 7.0.0, current version 7.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1252.50.4)
/Users/andreaslarsson/gtk/inst/lib/libgtk-3.0.dylib (compatibility version 2201.0.0, current version 2201.20.0)
/Users/andreaslarsson/gtk/inst/lib/libgdk-3.0.dylib (compatibility version 2201.0.0, current version 2201.20.0)
/Users/andreaslarsson/gtk/inst/lib/libpangocairo-1.0.0.dylib (compatibility version 4001.0.0, current version 4001.12.0)
/Users/andreaslarsson/gtk/inst/lib/libpango-1.0.0.dylib (compatibility version 4001.0.0, current version 4001.12.0)
/Users/andreaslarsson/gtk/inst/lib/libatk-1.0.0.dylib (compatibility version 22410.0.0, current version 22410.1.0)
/Users/andreaslarsson/gtk/inst/lib/libcairo-gobject.2.dylib (compatibility version 11403.0.0, current version 11403.8.0)
/Users/andreaslarsson/gtk/inst/lib/libcairo.2.dylib (compatibility version 11403.0.0, current version 11403.8.0)
/Users/andreaslarsson/gtk/inst/lib/libgdk_pixbuf-2.0.0.dylib (compatibility version 3601.0.0, current version 3601.6.0)
/Users/andreaslarsson/gtk/inst/lib/libgio-2.0.0.dylib (compatibility version 5201.0.0, current version 5201.2.0)
/Users/andreaslarsson/gtk/inst/lib/libgobject-2.0.0.dylib (compatibility version 5201.0.0, current version 5201.2.0)
/Users/andreaslarsson/gtk/inst/lib/libglib-2.0.0.dylib (compatibility version 5201.0.0, current version 5201.2.0)
/Users/andreaslarsson/gtk/inst/lib/libintl.9.dylib (compatibility version 11.0.0, current version 11.4.0)
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 1452.23.0)
/System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL (compatibility version 1.0.0, current version 1.0.0)
/System/Library/Frameworks/CoreMIDI.framework/Versions/A/CoreMIDI (compatibility version 1.0.0, current version 69.0.0)
/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 400.9.0)
|
| |
JackAsser
Registered: Jun 2002 Posts: 2014 |
/Users/andreaslarsson/gtk/inst/bin/pkg-config --modversion gtk+-3.0
3.22.20
|
| |
chatGPZ
Registered: Dec 2001 Posts: 11350 |
would be great if you could look at the bindist target and make that work for OSX (it should kindof work... but you never know =P) |
| |
JackAsser
Registered: Jun 2002 Posts: 2014 |
Quote: would be great if you could look at the bindist target and make that work for OSX (it should kindof work... but you never know =P)
It works fine. Using it atm. But it's not statically linked so it's not possible to distribute. However I see performance issued with the GTK3 build compared to the Cocoa build. The graphics stutters quite a lot. It uses 100% cpu power on one core and fails to reach 50fps on that. The Cocoa build is a lot more efficient. Maybe some compile option to enable some optimizations? |
| |
Compyx
Registered: Jan 2005 Posts: 631 |
You really should you talk to McMartin, he knows quite a bit of why HW rendering is screwed/flaky on OSX with Gtk3. |
| |
JackAsser
Registered: Jun 2002 Posts: 2014 |
Quote: You really should you talk to McMartin, he knows quite a bit of why HW rendering is screwed/flaky on OSX with Gtk3.
Active on #vice-dev? |
| |
chatGPZ
Registered: Dec 2001 Posts: 11350 |
of course :) |