Project

General

Profile

Actions

Emulator Issues #5762

closed

Nothing displayed on MacOS 10.6

Added by mdeletrain over 11 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

  1. Game Name and ID (as it appears in right click > properties: "GZ2P01",
    "RSBE01", etc):
    All game I tested (R69P36, GF7P01, GMSE01, ...)

2) What is the expected output? What do you see instead?
The games should start and display something. Instead, the window stays blank, VPS seems Ok, speed too, but FPS is 0.

3) Did the game ever work correctly (i.e. not have this problem) on an
earlier version of dolphin? Please specify the exact revision when the
problem began.
I used to play the game in Dolphin 3.0

4) What steps will reproduce the problem?

  1. Start Dolphin
  2. Launch a game from here
  3. See that nothing is displayed in the game window

5) What version of dolphin are you using (32bit/64bit along with the
version as it appears in the title bar, etc)? Do not say 'latest version'
this changes multiple times a day.
On what operating system, drivers, and hardware? Be sure to list OS,
graphics driver information, and video card model if you are having
graphics problems, for example.

Using revision: 983d5d1f733e slightly modified to compile and run on MacOS 10.6 (see provided patch). Title bar says 'Dolphin [HEAD] 3.0-866-dirty'
Run from MacOS 10.6.8 on a 2008 aluminium iMac (2.8Ghz Core 2 Duo with 4GB Ram, ATI Radeaon HD2600)

6) Please provide any additional information below.

I tried using all combinations of Emu engine / DSP engine / Audio and video backends

  1. Attachments.

Screenshot : http://minus.com/l1IaIgQLaQzE3

Actions #1

Updated by mdeletrain over 11 years ago

Strangely enough, I tried to perform the build on a 10.8 system, and the generated application does not show that issue once launched from 10.6 oO .

Anyway, that means the provided patch allows a 10.8 build system to generate an application that works on both 10.6 and 10.8 . I did not try on 10.7 .

Actions #2

Updated by skidau over 11 years ago

Thanks. Just to clarify, the provided patch allows you to compile from 10.6 to run in 10.6 too?

Actions #3

Updated by mdeletrain over 11 years ago

The provided patch allows compilation to succeed with 10.6 and 10.8 (10.7 untested but should work).
From what I tested the application built under 10.6 does nothing when launching a game, but the application built under 10.8 (10.7 should be the same) works as expected, even when launched in 10.6.

Actions #4

Updated by pauldacheez over 11 years ago

Dolphin compiles and runs games properly on both my Macs (Lion + ML) with this patch. I can't test compiling/running on SL, though.

Actions #5

Updated by mdeletrain over 11 years ago

I tried to launch Dolphin from a virtual machine and it works (at least with VMWare 4). So now I can test it on both my macs (10.6 and 10.8) and on a vm with 10.7 started from 10.6.

As for the content of the patch, there are two different but related things :

  • The first part changes the wxcocoa.h file as if it was generated using the configure script on a 10.6 system : that also works on 10.7 and 10.8 but it is less than ideal (because then some non-standard functions available in 10.7+ but not 10.6 are replaced by wx's custom implementations). Isn't there something similar to configure with CMake ?
  • The second part fixes the bundle fixup not working because of write permissions when using a custom build shared library version of wxWidgets. This is a real fix and works when building from command line, but something else is missing for the build to succeed when launched from XCode.

As to why the application displays nothing if built from 10.6, it needs some investigations. Anyway, as some incoming branch will break 10.6's build ability, I don"t think it is that important anymore.

Actions #6

Updated by mdeletrain over 11 years ago

Well, I can finally build a fully working version for 10.6 from 10.6 : following wiki's page 'MacOSX_Build', I built the application using : mkdir build && cd build && cmake [-DCMAKE_VERBOSE_MAKEFILE:BOOL=TRUE] [-DCMAKE_CXX_FLAGS=-no-integrated-as] .. && make

I should have understood the brackets are here to denote optional parameters... but optional parameters should not have been put in a one-liner ;) !

As it stands, typing the command this way did have a side effect : the -no-integrated-as option is not taken into account, when it is required for 10.6 to work around a problem with clang, as said in the same Wiki page.

So this ticket may be closed, as we now have a fully working version for 10.6 again.

Actions #7

Updated by NeoBrainX over 11 years ago

Uh, so was your patch necessary at all?

Actions #8

Updated by mdeletrain over 11 years ago

Yes :

  • Without it, the application cannot be build from 10.6
  • Without it, the application can be built from 10.7+ but the result then does not work on 10.6
Actions #9

Updated by NeoBrainX over 11 years ago

  • Status changed from New to Fixed

Fixed by revision 4fc0125fb3b0.

Actions #10

Updated by wayne.mokane over 11 years ago

Version 3.0-872 from http://dolphin-emu.org/download/ is now working for me. Thank you!

Actions

Also available in: Atom PDF