Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
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: 1989
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: 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.
2018-04-27 20:16
JackAsser

Registered: Jun 2002
Posts: 1989
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: 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.
2018-04-27 20:57
JackAsser

Registered: Jun 2002
Posts: 1989
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: 1989
/Users/andreaslarsson/gtk/inst/bin/pkg-config --modversion gtk+-3.0
3.22.20
2018-04-27 21:03
chatGPZ

Registered: Dec 2001
Posts: 11108
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: 1989
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: 631
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: 1989
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
chatGPZ

Registered: Dec 2001
Posts: 11108
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
mutetus/Ald ^ Ons
t0m3000/ibex-crew
Acidchild/Padua
Ghost/Quantum
HOL2001/Quantum
cba
Guests online: 141
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Comaland 100%  (9.6)
6 No Bounds  (9.6)
7 Uncensored  (9.6)
8 The Ghost  (9.6)
9 Wonderland XIV  (9.6)
10 Bromance  (9.6)
Top onefile Demos
1 It's More Fun to Com..  (9.8)
2 Party Elk 2  (9.7)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.5)
5 Rainbow Connection  (9.5)
6 TRSAC, Gabber & Pebe..  (9.5)
7 Onscreen 5k  (9.5)
8 Wafer Demo  (9.5)
9 Dawnfall V1.1  (9.5)
10 Quadrants  (9.5)
Top Groups
1 Oxyron  (9.3)
2 Nostalgia  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Musicians
1 Rob Hubbard  (9.7)
2 Jeroen Tel  (9.7)
3 Stinsen  (9.6)
4 Mutetus  (9.6)
5 Linus  (9.6)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.069 sec.