![]() |
|
Linux compilation - some patches included - Printable Version +- Dolphin, the GameCube and Wii emulator - Forums (https://forums.dolphin-emu.org) +-- Forum: Dolphin Emulator Discussion and Support (https://forums.dolphin-emu.org/Forum-dolphin-emulator-discussion-and-support) +--- Forum: Development Discussion (https://forums.dolphin-emu.org/Forum-development-discussion) +--- Thread: Linux compilation - some patches included (/Thread-linux-compilation-some-patches-included) |
Linux compilation - some patches included - Tub - 08-31-2009 Hi, Now and then I've been trying to get dolphin to run on linux. Today was the first time I got it both compiling and starting emulation without segfaulting! Anyway, a couple of patches were needed. r4108_linux_fixes.patch Edit: not needed any more, those are fixed in latest trunk so finally it worked! But when pressing "Stop" during a game, it segfaulted. Valgrind to the rescue! Well, or not. The valgrind.log said: Code: vex amd64->IR: unhandled instruction bytes: 0x66 0xF 0x29 0xC6 0x66 0xFr4108_gpfifo_memmove.patch Code: Index: Source/Core/Core/Src/HW/GPFifo.cppI'd be happy to see those patches commited to trunk by a dev ![]() I thought it was a little slow, so I tried to compile it with Profile-guided Optimization. r4108_enable_pgo.patch Code: Index: SConstructTo create an optimized binary, do this:
some short tests suggest that PGO yields about ~3% more fps. Yay! \o/ again, feel free to commit this to trunk
RE: Linux compilation - some patches included - Jack Frost - 02-06-2010 Those unhandled instruction bytes might be a valgrind bug (actually, it has been), but your version doesnt look like the one reported there. It would probably help to know more about this, it might be a JIT Bug. Which game (or any game, if no specific one does this), and probably a memory image of the process at the time when valgrind throws this (piped thru objdump perhaps, filtered to the reported bytes). I'm not so sure that this is the complete context where valgrind dies: Code: D:\_dev>udcli -xRE: Linux compilation - some patches included - Cloudef - 02-06-2010 Thank you for these patches! Maybe i should start contributing the Linux build too hmm.. |