Dolphin, the GameCube and Wii emulator - Forums

Full Version: Dolphin 4.0 on Ubuntu 12.04
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3

Josh

(09-24-2013, 04:28 PM)dii Wrote: [ -> ]I've recently compiled 4.0 on Mint 13 (is based on buntu 12.04). If you want to do the same, you'll need to install GCC 4.7, the GCC in 12.04 is too old.

This means you will also have to compile GCC.

Be warned, I did all that, and got Dolphin built, but it still doesn't work (no games launch properly, all just show a black screen)... it might be smart to wait until the first bugfix release.
Did you ever get your issue resolved? I'm having the same one currently.

Dolphin 3.0 and 3.5 worked fine
So far i've built the source on the download page,
built the latest git source,
and installed a package from ppa:glennric/dolphin-emu (After updating to 13.04 to make it available)


On all of them i just get a black screen when i launch any game.

not reallly sure where to start.
(10-17-2013, 02:53 PM)Josh Wrote: [ -> ]
(09-24-2013, 04:28 PM)dii Wrote: [ -> ]I've recently compiled 4.0 on Mint 13 (is based on buntu 12.04). If you want to do the same, you'll need to install GCC 4.7, the GCC in 12.04 is too old.

This means you will also have to compile GCC.

Be warned, I did all that, and got Dolphin built, but it still doesn't work (no games launch properly, all just show a black screen)... it might be smart to wait until the first bugfix release.
Did you ever get your issue resolved? I'm having the same one currently.

Dolphin 3.0 and 3.5 worked fine
So far i've built the source on the download page,
built the latest git source,
and installed a package from ppa:glennric/dolphin-emu (After updating to 13.04 to make it available)


On all of them i just get a black screen when i launch any game.

not reallly sure where to start.

Nope, couldn't get anywhere with it. I gave up on it, luckily I still have my self-compiled 3.5 package lying around... at some point, after rebuilding from git, the problem changed, instead of launching a black screen Dolphin now just crashes, and I haven't heard anything from the devs or anyone to have a fix for the problem, so I guess I'm just waiting for Dolphin 5.0 now... let me know if you get it working somehow.
@dii - Have you tried compiling the latest source code (i.e. very latest commit) from Dolphin's Git repo rather than checking out 4.0? It's always worth trying the latest revisions when in doubt. Also, do you get any console output when running it from the CLI?

Fwiw, 4.0 compiles and runs fine on my end. Are either of you guys using FOSS GPU drivers (aside from Mesa)? If so, you may need to go proprietary to get any results.
I've had the same experience as the others- I can build 4.0 and I've also built the latest git several times over the past couple of weeks. However, I can't get it to load any games. The UI comes up, but as soon as I double-click on a game title to start it, Dolphin crashes. It very briefly opens a black window and then I'm dumped back to the command line without any particularly useful output. I am using the proprietary nvidia drivers, so it isn't the open source drivers causing this. Frankly, I'm stumped on what to try next.

(10-22-2013, 11:56 PM)Shonumi Wrote: [ -> ]@dii - Have you tried compiling the latest source code (i.e. very latest commit) from Dolphin's Git repo rather than checking out 4.0? It's always worth trying the latest revisions when in doubt. Also, do you get any console output when running it from the CLI?

Fwiw, 4.0 compiles and runs fine on my end. Are either of you guys using FOSS GPU drivers (aside from Mesa)? If so, you may need to go proprietary to get any results.
It might be something related to the GLSL merge that happened between 3.5 and 4.0. I'd advise everyone here to double check if 3.5-663 (commit hash: 8767b30f75db5732023d9ebf9d93573f3b839e50) works but if 3.5-1025 (commit hash: e1a081ad2dee7127e6c1fe2827eb1eb59ca24c6e) gives you the black screen. I think there's an issue on Google Code already for problems relating to the GLSL merge, I'll dig it up later.
(10-22-2013, 11:56 PM)Shonumi Wrote: [ -> ]@dii - Have you tried compiling the latest source code (i.e. very latest commit) from Dolphin's Git repo rather than checking out 4.0? It's always worth trying the latest revisions when in doubt. Also, do you get any console output when running it from the CLI?

Fwiw, 4.0 compiles and runs fine on my end. Are either of you guys using FOSS GPU drivers (aside from Mesa)? If so, you may need to go proprietary to get any results.

I've tried the latest code available on git on each compile attempt, the latest attempt was 7th october. Using proprietary nvidia driver.
(10-23-2013, 09:26 PM)dii Wrote: [ -> ]I've tried the latest code available on git on each compile attempt, the latest attempt was 7th october. Using proprietary nvidia driver.

Try what I suggested in my previous post. Download the latest source code from Dolphin's Git repository then run the following command before building:

Code:
git checkout 8767b30f75db5732023d9ebf9d93573f3b839e50

Build as usual, then see if it runs without the black screen. Now run this command before building again:

Code:
git checkout e1a081ad2dee7127e6c1fe2827eb1eb59ca24c6e

Build Dolphin once more and test the executable. If you get a black screen here, that means your issue was caused by the GLSL merge, which changed the way Dolphin used OpenGL.
Thanks for the suggestion Shonumi. I tried to build both of those, but in each case it stopped with the error below. I'm not sure what needs to be fixed to help the build finish.

[ 54%] Building CXX object Source/Core/Common/CMakeFiles/common.dir/Src/ConsoleListener.cpp.o
In file included from /usr/lib/gcc/x86_64-linux-gnu/4.8/include/x86intrin.h:27:0,
from /usr/include/x86_64-linux-gnu/c++/4.8/bits/opt_random.h:33,
from /usr/include/c++/4.8/random:51,
from /usr/include/c++/4.8/bits/stl_algo.h:65,
from /usr/include/c++/4.8/algorithm:62,
from /home/hwangste/dolphin-emu/Source/Core/Common/Src/ConsoleListener.cpp:19:
/home/hwangste/dolphin-emu/Source/Core/Common/Src/CommonFuncs.h:70:12: error: ‘__rold’ declared as an ‘inline’ variable
inline u32 _rotl(u32 x, int shift) {
^
/home/hwangste/dolphin-emu/Source/Core/Common/Src/CommonFuncs.h:70:12: error: ‘u32 __rold’ redeclared as different kind of symbol
/usr/lib/gcc/x86_64-linux-gnu/4.8/include/ia32intrin.h:127:1: error: previous declaration of ‘unsigned int __rold(unsigned int, int)’
__rold (unsigned int __X, int __C)
^
/home/hwangste/dolphin-emu/Source/Core/Common/Src/CommonFuncs.h:70:22: error: expected primary-expression before ‘x’
inline u32 _rotl(u32 x, int shift) {
^
/home/hwangste/dolphin-emu/Source/Core/Common/Src/CommonFuncs.h:70:22: error: expected ‘)’ before ‘x’
make[2]: *** [Source/Core/Common/CMakeFiles/common.dir/Src/ConsoleListener.cpp.o] Error 1
make[1]: *** [Source/Core/Common/CMakeFiles/common.dir/all] Error 2
make: *** [all] Error 2
(10-27-2013, 05:08 AM)hwangste Wrote: [ -> ]Thanks for the suggestion Shonumi. I tried to build both of those, but in each case it stopped with the error below. I'm not sure what needs to be fixed to help the build finish.

[ 54%] Building CXX object Source/Core/Common/CMakeFiles/common.dir/Src/ConsoleListener.cpp.o
In file included from /usr/lib/gcc/x86_64-linux-gnu/4.8/include/x86intrin.h:27:0,
from /usr/include/x86_64-linux-gnu/c++/4.8/bits/opt_random.h:33,
from /usr/include/c++/4.8/random:51,
from /usr/include/c++/4.8/bits/stl_algo.h:65,
from /usr/include/c++/4.8/algorithm:62,
from /home/hwangste/dolphin-emu/Source/Core/Common/Src/ConsoleListener.cpp:19:
/home/hwangste/dolphin-emu/Source/Core/Common/Src/CommonFuncs.h:70:12: error: ‘__rold’ declared as an ‘inline’ variable
inline u32 _rotl(u32 x, int shift) {
^
/home/hwangste/dolphin-emu/Source/Core/Common/Src/CommonFuncs.h:70:12: error: ‘u32 __rold’ redeclared as different kind of symbol
/usr/lib/gcc/x86_64-linux-gnu/4.8/include/ia32intrin.h:127:1: error: previous declaration of ‘unsigned int __rold(unsigned int, int)’
__rold (unsigned int __X, int __C)
^
/home/hwangste/dolphin-emu/Source/Core/Common/Src/CommonFuncs.h:70:22: error: expected primary-expression before ‘x’
inline u32 _rotl(u32 x, int shift) {
^
/home/hwangste/dolphin-emu/Source/Core/Common/Src/CommonFuncs.h:70:22: error: expected ‘)’ before ‘x’
make[2]: *** [Source/Core/Common/CMakeFiles/common.dir/Src/ConsoleListener.cpp.o] Error 1
make[1]: *** [Source/Core/Common/CMakeFiles/common.dir/all] Error 2
make: *** [all] Error 2
Hmm, just to check something, what's the output of
Code:
ls -l /usr/lib/xorg/modules/extensions/libglx.so
?
(10-27-2013, 08:26 PM)DarkeoX Wrote: [ -> ]Hmm, just to check something, what's the output of
Code:
ls -l /usr/lib/xorg/modules/extensions/libglx.so
?

-rw-r--r-- 1 root root 435568 Sep 22 10:48 /usr/lib/xorg/modules/extensions/libglx.so
Pages: 1 2 3