MacVICE

Started by lallafa, February 13, 2008, 06:57:44 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

MagerValp

Quote from: lallafa on October 26, 2009, 03:43:02 AM@MagerValp: does [21645] fix your random crashes... I improved the locking of the GL contexts.
I have updated to the latest svn, and I'll let you know if it crashes again.

GANDALf

#136
Quote from: lallafa on October 26, 2009, 04:50:56 AM
@GANDALf: [21647] should fix your problem...

BTW: make sure to enable "Blend" sync draw mode before enabling flicker fixer.

When I enable blend and then flicker fixer:
MacVideo: reconfiguring display
MacVideo: created pixel buffer of size 384 x 272
MacVideo: setup textures: #4 384 x 272 (was: #4 384 x 272)
MacVideo: displayDelta: 79.8012 ms

But picture still flickers. I have Video Cache and Pal emulation enabled.

mrsid

In the last couple of builds I've noticed this error:

opening dynamic library /opt/local/lib/libavformat.52.dylib failed!

Also I've noticed that the option to record media in Quicktime format is gone. I guess this is the reason?
Any ideas?

MagerValp

Quotemacvice: SVN[21653] macosx: hold flicker fixed frame if emulator is paused
Works great, thanks!

bjorn

I wish to report a problem with using the Gtk+ port of VICE with Mac OS X 10.6.1 to the maintainer. When I double click VICE the emulator selector loads but after I select the emulator I wish to run, VICE crashes. Here is the error from the diagnostic report:

Dyld Error Message:
  Library not loaded: /usr/lib/libxml2.2.dylib
  Referenced from: /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices
  Reason: Incompatible library version: DictionaryServices requires version 10.0.0 or later, but libxml2.2.dylib provides version 9.0.0

I think upgrading the library on my system will fix the problem. Maybe this is something the emulator should address?

mrsid

I've investigated a bit. This seems like a 64-bit issue. It works fine using the 32-bit gcc 4.0 build, or the gcc 4.2 build forced into 32-bit mode.
The clang build seems to crash when launching it in 32-bit mode however.

lallafa

@bjorn: did you try the latest snapshot? I think I have already fixed this issue.

@mrsid: yes, its a 64 bit issue. The missing avformat dylib you mentioned is caused by MacPorts still having only a 32 bit version installed. The quicktime check really breaks on 64 bit. I'll have a look.

@GANDALf: I tried the flicker fixer on my ppc PB G4. The load is quite high then and if it drops frames then flicker fixing was not possible any more and some flckering returned. Disabling sound freed some CPU and then flicker fixing went without problem on this machine.

bjorn

Quote from: lallafa on October 31, 2009, 03:44:34 PM
@bjorn: did you try the latest snapshot? I think I have already fixed this issue.
I have not. I looked here but was not sure which I should be downloading. Is there an explanation somewhere as to what the different versions are? I'm not a programmer so this is all very confusing for me.

lallafa

bjorn, I'd suggest to use the 10.5 cocoa version. It has all features of the native version available. The 10.6 versions are experimental compiles on the newest Mac OS X.

If you want to test on GTK then pick the gtk version available there.

The naming scheme of the versions found there is as follows:

vice-<port=macosx>-<ui>-<supported architecture>-<min macosx version>-<compiler>-<vice release>-<svn revision>-<date of build>

The ui, architecture and, min macosx version are useful to pick a suitable version for you:

ui = user interface with X11/SDL/GTK/Cocoa=native Mac UI
architecture = i386 (32 bit), ppc (32 bit) or x86_64 (64 bit)
min macosx version = 10.4, 10.5, 10.6

bjorn

#144
Quote from: lallafa on October 31, 2009, 10:34:59 PM
bjorn, I'd suggest to use the 10.5 cocoa version. It has all features of the native version available. The 10.6 versions are experimental compiles on the newest Mac OS X.
I had previously avoided the Cocoa version because it didn't seem to have all the features of the various X versions. I see that it is now more complete although the emulation of some of the other machines seems incomplete. I also find the UI somewhat difficult to adjust to because I'm used to Power64. I don't think an x86 version of that emulator will be forthcoming so I better get used to the Cocoa version of VICE. Thank you for explaining the naming scheme. I downloaded vice-macosx-gtk-i386+ppc-10.4-gcc40-2.1.18-r21642_20091025 and ran into a similar problem. Now I get this error:

Dyld Error Message:
 Library not loaded: /Users/chris/vice/extlib/i386-10.4-gcc40/lib/libgtk-x11-2.0.0.dylib
 Referenced from: /Applications/VICE.app/Contents/Resources/bin/x64
 Reason: image not found

I don't think I have the technical knowledge to use the snapshots or to provide useful bug reports. :(

One more question please. I turn off Options -> Video Rendering -> Double Scan and the image doesn't change. Is there a way to reproduce the scanlines?

lallafa

bjorn, there was still a bug in the snapshot that fails the gtk version to start. I fixed that one now and I'll soon upload new snapshots.

Thanks for pointing me to the problem. Thats exactly what the snapshots are for: check them out and report me the bugs.

Scanlines can be reproduced either with "PAL Emulation" or "DoubleSize"=on "DoubleScan"=off

letho

Hi!

First off, superb job on MacVICE!  I've recently switched from Power64 and am very pleased.  I do have a question that I can't seem to find an answer to though and I've hacked at this for the past few days.

How does mouse support work?  I did see a post with someone saying usb overdrive was impacting that functionality so I did remove that.  However, I've tested the x11 and all of the cocoa builds on all of my machines (g4 & g5 running tiger, mbp with leopard and another with snow leopard), and can't for the life of me get the mouse to work.  If it just isn't implemented yet, no problem  :).

Also, in order to get the dvorak keyboard layout working, I wrote a new vkm file.  If that's needed let me know or tell me I was silly for doing it because there was a much much easier way!

Thanks!

lallafa

@leltho:

Mouse support in cocoa is enabled in Options/Mouse (CMD+M). Then moving the mouse inside the emulator window and button presses are reported to the emulator. Now you need a mouse enabled program (e.g. Amica Paint) and drawing should work. Have a look at the mouse settings to alter the scaling or the type.

letho

llallafa,

I think the particular program as you said, has more to do with it than anything.

Thanks!

MagerValp

SDL.framework appears to be missing from the SDL apps.