Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 9th March 2011, 10:04 AM
eduard879 Offline
Registered User
 
Join Date: Mar 2011
Posts: 1
windows_xp_2003firefox
[SOLVED] Dolphin-emu segfaults when loading any game image Witgetsteinsbee

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
Reply With Quote
Reply

Tags
dolphinemu, game, image, loading, segfaults, solved, witgetsteinsbee

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Dolphin-emu segfaults when loading any game image Witgetsteinsbee Using Fedora 0 9th February 2011 02:27 PM
Problem loading live image with boot DVD Vengence Installation and Live Media 3 11th June 2009 10:51 AM
qemu boot of live USB image hangs loading initrd.img poblano Using Fedora 1 9th March 2008 03:44 PM
FC5 Install crashes w/ Error 256 when loading repomd.xml from DVD image wessonjoe EOL (End Of Life) Versions 1 18th October 2006 09:00 PM


Current GMT-time: 08:22 (Friday, 24-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat