Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
 Welcome to our latest new user maak ! (Registered 2024-04-18) 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: 1987
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.
2018-04-27 11:06
Oswald

Registered: Apr 2002
Posts: 5017
. o O ( mouse? what is he working on? )
2018-04-27 14:37
chatGPZ

Registered: Dec 2001
Posts: 11100
Quote:
the Cocoa build is completly borked

this

you might want to try the GTK3 port :)
2018-04-27 15:23
JackAsser

Registered: Jun 2002
Posts: 1987
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
2018-04-27 15:36
JackAsser

Registered: Jun 2002
Posts: 1987
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.
2018-04-27 16:33
Compyx

Registered: Jan 2005
Posts: 631
Yes indeed. So a nightly build system would help us a lot.
2018-04-27 16:33
MagerValp

Registered: Dec 2001
Posts: 1055
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.

👍🏼👍🏼
2018-04-27 16:36
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`).
2018-04-27 16:46
JackAsser

Registered: Jun 2002
Posts: 1987
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 I’ll 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.
2018-04-27 17:07
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.
2018-04-27 18:38
JackAsser

Registered: Jun 2002
Posts: 1987
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?
2018-04-27 18:47
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.
2018-04-27 18:53
JackAsser

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

Registered: Dec 2001
Posts: 11100
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: 1987
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: 1987
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: 11100
of course :)
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
Guests online: 100
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 Wonderland XIV  (9.6)
9 The Ghost  (9.6)
10 Bromance  (9.6)
Top onefile Demos
1 It's More Fun to Com..  (9.9)
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 Dawnfall V1.1  (9.5)
9 Quadrants  (9.5)
10 Daah, Those Acid Pil..  (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 Original Suppliers
1 Derbyshire Ram  (9.5)
2 Black Beard  (9.4)
3 hedning  (9.2)
4 Baracuda  (9.1)
5 Irata  (8.5)

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