Hi I'm trying to get dolphin-emu, the gamecube emulator, to work on Fedora 14 x86_64. I've never had too much success and now it's getting to really bug me, because I can get it to build and run fine on Ubuntu on another partition of the same machine, but Fedora is so much nicer to use! So please help me if you can.
After much tribulation, on a fresh install of Fedora 14, I got dolphin-emu to build withoutr error using cmake:
su -c 'yum install subversion scons gcc-c++ wxBase wxGTK wxGTK-gl wxGTK-devel SDL-devel SDL-debuginfo Cg libCg libXxf86vm-devel libXxf86vm-debuginfo libXext-devel libXext-debuginfo glew-devel cairo-devel cairo-debuginfo libao libao-devel bluez-libs-devel && svn checkout
http://dolphin-emu.googlecode.com/svn/trunk/ dolphin-emu-read-only && cd dolphin-emu-read-only && mkdir Build && cd Build && cmake .. && make && make install'
Using this method I've sucesfully built Dolphin-emu version r7095-Release.
Now dolphin-emu will load up the menu, allow me to manipulate plugins and so on, but
it segfaults when loading any game image; the images are all fine and work in Ubuntu.
opening an iso causes a segfault after the following dialog (it doesn't depend on the game selected):
[mythtv@media ~]$ /usr/local/bin/dolphin-emu
26:54:979 /home/mythtv/dolphin-emu-read-only/Source/Core/Common/Src/FileUtil.cpp:98 W[COMMON]: IsDirectory: stat failed on /home/mythtv/.dolphin-emu/Wii/title/00000001/00000002/content:
28:14:109 /home/mythtv/dolphin-emu-read-only/Source/Plugins/Plugin_VideoOGL/Src/GLUtil.cpp:475 N[Video]: glX-Version 1.4
28:14:110 /home/mythtv/dolphin-emu-read-only/Source/Plugins/Plugin_VideoOGL/Src/GLUtil.cpp:497 N[Video]: Got Doublebuffered Visual!
28:14:199 /home/mythtv/dolphin-emu-read-only/Source/Core/Core/Src/Boot/Boot.cpp:164 N[BOOT]: Booting /library/gamecube_roms/Pikmin.iso
28:14:848 /home/mythtv/dolphin-emu-read-only/Source/Core/Core/Src/HLE/HLE_OS.cpp:52 N[OSREPORT]: 81200308->81300000| Apploader Initialized. $Revision: 28 $.
28:14:848 /home/mythtv/dolphin-emu-read-only/Source/Core/Core/Src/HLE/HLE_OS.cpp:52 N[OSREPORT]: 81200324->81300000| This Apploader built Nov 30 2001 13:36:06
Segmentation fault (core dumped)
[mythtv@media ~]$ /usr/local/bin/dolphin-emu
28:34:730 /home/mythtv/dolphin-emu-read-only/Source/Core/Common/Src/FileUtil.cpp:98 W[COMMON]: IsDirectory: stat failed on /home/mythtv/.dolphin-emu/Wii/title/00000001/00000002/content:
30:19:499 /home/mythtv/dolphin-emu-read-only/Source/Core/Core/Src/ConfigManager.cpp:83 N[BOOT]: Saving settings to /home/mythtv/.dolphin-emu/Config/Dolphin.ini
30:37:345 /home/mythtv/dolphin-emu-read-only/Source/Plugins/Plugin_VideoOGL/Src/GLUtil.cpp:475 N[Video]: glX-Version 1.4
30:37:345 /home/mythtv/dolphin-emu-read-only/Source/Plugins/Plugin_VideoOGL/Src/GLUtil.cpp:497 N[Video]: Got Doublebuffered Visual!
30:37:383 /home/mythtv/dolphin-emu-read-only/Source/Core/Core/Src/Boot/Boot.cpp:164 N[BOOT]: Booting /library/gamecube_roms/Bleach.iso
30:37:429 /home/mythtv/dolphin-emu-read-only/Source/Core/Core/Src/HLE/HLE_OS.cpp:52 N[OSREPORT]: 81200508->81300000|
Apploader Initialized.
30:37:429 /home/mythtv/dolphin-emu-read-only/Source/Core/Core/Src/HLE/HLE_OS.cpp:52 N[OSREPORT]: 81200524->81300000| This Apploader built May 21 2004 10:12:56
Segmentation fault (core dumped)
[mythtv@media ~]$ /usr/local/bin/dolphin-emu
30:57:597 /home/mythtv/dolphin-emu-read-only/Source/Core/Common/Src/FileUtil.cpp:98 W[COMMON]: IsDirectory: stat failed on /home/mythtv/.dolphin-emu/Wii/title/00000001/00000002/content:
31:05:686 /home/mythtv/dolphin-emu-read-only/Source/Plugins/Plugin_VideoOGL/Src/GLUtil.cpp:475 N[Video]: glX-Version 1.4
31:05:686 /home/mythtv/dolphin-emu-read-only/Source/Plugins/Plugin_VideoOGL/Src/GLUtil.cpp:497 N[Video]: Got Doublebuffered Visual!
31:05:725 /home/mythtv/dolphin-emu-read-only/Source/Core/Core/Src/Boot/Boot.cpp:164 N[BOOT]: Booting /library/gamecube_roms/Viewtiful_Joe_(USA).iso
31:05:774 /home/mythtv/dolphin-emu-read-only/Source/Core/Core/Src/HLE/HLE_OS.cpp:52 N[OSREPORT]: 81200500->81300000| Apploader Initialized. $Revision: 31 $.
31:05:774 /home/mythtv/dolphin-emu-read-only/Source/Core/Core/Src/HLE/HLE_OS.cpp:52 N[OSREPORT]: 8120051c->81300000| This Apploader built Sep 5 2002 05:58:53
Segmentation fault (core dumped)
As I say, I have dolphin working fine using Kubuntu Linux (10.10) on another partition, although I haven't tried this build, so I think it's a "Fedora specific problem" however, as Fedora is my preferred Linux OS I'd like to get to the bottom of this. I'm also posting the issue on dolphin-emu's googlecode page. Any help would be gratefully received
---------- Post added at 02:27 PM ---------- Previous post was at 08:15 AM ----------
It would appear this is related to a part of the dolphin-emu code that is not fully compatible with 64bit Linux (although, as I say, it causes no problems in Kubuntu x86_64) anyway, there's a workaround!
Edit the file CoreParameter.CPP
Code:
kwrite ~/dolphin-emu-read-only/Source/Core/Core/Src/CoreParameter.CPP
Change the line:
Code:
bJITLoadStorePairedOff = false
to
Code:
bJITLoadStorePairedOff = true
You'll know it's the right line because there's a comment on it saying that this value doesn't work with 64 bit linux. Then:
Code:
cd ~/dolphin-emu-read-only/Build
make
sudo make install
It seems to run fine now, from what I can see