Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
 Welcome to our latest new user Lunasoft ! (Registered 2018-12-15) You are not logged in 
CSDb User Forums


Forums > CSDb Discussions > 1351 mouse emulation in the Mac OsX Cocoa build of Vice
2018-04-27 05:08
JackAsser

Registered: Jun 2002
Posts: 1472
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.
 
... 12 posts hidden. Click here to view all posts....
 
2018-04-27 19:54
Compyx

Registered: Jan 2005
Posts: 403
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.
2018-04-27 20:16
JackAsser

Registered: Jun 2002
Posts: 1472
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. :)
2018-04-27 20:36
Compyx

Registered: Jan 2005
Posts: 403
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.
2018-04-27 20:57
JackAsser

Registered: Jun 2002
Posts: 1472
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)
2018-04-27 21:00
JackAsser

Registered: Jun 2002
Posts: 1472
/Users/andreaslarsson/gtk/inst/bin/pkg-config --modversion gtk+-3.0
3.22.20
2018-04-27 21:03
Groepaz

Registered: Dec 2001
Posts: 8920
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)
2018-04-27 21:08
JackAsser

Registered: Jun 2002
Posts: 1472
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?
2018-04-27 21:23
Compyx

Registered: Jan 2005
Posts: 403
You really should you talk to McMartin, he knows quite a bit of why HW rendering is screwed/flaky on OSX with Gtk3.
2018-04-27 22:41
JackAsser

Registered: Jun 2002
Posts: 1472
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?
2018-04-27 22:42
Groepaz

Registered: Dec 2001
Posts: 8920
of course :)
Previous - 1 | 2 | 3 - Next
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
Compyx/Focus
Mike
Dymo/G★P
XmikeX
Rhythm/G★P
Båtsman/HmF
Perplex/Offence
Golara
Jazzcat/Onslaught
MCM
Glenn/Shape
iAN CooG/HVSC
JCH/Vibrants
Guests online: 54
Top Demos
1 Uncensored  (9.7)
2 Comaland 100%  (9.7)
3 Unboxed  (9.7)
4 Edge of Disgrace  (9.7)
5 Coma Light 13  (9.6)
6 The Shores of Reflec..  (9.6)
7 Lunatico  (9.6)
8 Wonderland XII  (9.6)
9 Old Men in Used Cars  (9.5)
10 C=Bit 18  (9.5)
Top onefile Demos
1 Smile to the Sky  (10)
2 Arok 20 Invitation  (9.6)
3 Daah, Those Acid Pil..  (9.5)
4 FMX Music Demo  (9.5)
5 Crystal Gazer  (9.5)
6 Pandemoniac Part 2 o..  (9.5)
7 Dawnfall V1.1  (9.5)
8 Rewind  (9.5)
9 Party Horse  (9.4)
10 Dawnfall  (9.4)
Top Groups
1 Oxyron  (9.4)
2 Booze Design  (9.4)
3 Censor Design  (9.4)
4 Finnish Gold  (9.3)
5 The Transfer Team  (9.3)
Top Hardware-Gurus
1 Soci  (9.9)
2 Wiesel  (9.9)
3 Grue  (9.8)
4 Zer0-X  (9.8)
5 JMP$FCE2  (9.7)

Home - Disclaimer
Copyright © No Name 2001-2018
Page generated in: 0.057 sec.