Dolphin, the GameCube and Wii emulator - Forums

Full Version: Black screen in all games using Linux
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hi, I had a successful compile of this emulator, but when I try to load *any game, I only get a black screen. I'm using Debian Linux 5.1 and downloaded all dependencies from aptitude.

I run the emulator with the default config, with safe texture, no aa ... and all "safe configs". I'm using the last revision(6190), ALSA,Pulse, OpenAL in DSP HLE plugin, OpenGL plugin.

Here the output of dolphin:
Code:
$ ./dolphin-emu
22:16:358 Source/Core/Common/Src/FileUtil.cpp:97 W[COMMON]: IsDirectory: stat failed on ./user/Wii/title/00000001/00000002/content:
22:16:430 Source/Core/DolphinWX/Src/X11Utils.cpp:115 N[Video]: XRRExtension-Version 1.3
22:16:430 Source/Core/DolphinWX/Src/X11Utils.cpp:158 N[Video]: Fullscreen Resolution 1280x1024

(dolphin-emu:5949): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -5 and height 15

(dolphin-emu:5949): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -5 and height 15

(dolphin-emu:5949): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -5 and height 15

(dolphin-emu:5949): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -5 and height 15

(dolphin-emu:5949): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -5 and height 15

(dolphin-emu:5949): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -5 and height 15

(dolphin-emu:5949): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -5 and height 15

(dolphin-emu:5949): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -5 and height 15

(dolphin-emu:5949): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -5 and height 15

(dolphin-emu:5949): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -5 and height 15

(dolphin-emu:5949): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -5 and height 15

(dolphin-emu:5949): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -5 and height 15

(dolphin-emu:5949): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -5 and height 15

(dolphin-emu:5949): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -5 and height 15
22:57:160 Source/Core/Core/Src/ConfigManager.cpp:73 N[BOOT]: Saving settings to ./user/Config/Dolphin.ini
23:07:503 Source/Plugins/Plugin_VideoOGL/Src/GLUtil.cpp:352 N[Video]: glX-Version 1.4
23:07:503 Source/Plugins/Plugin_VideoOGL/Src/GLUtil.cpp:374 N[Video]: Got Doublebuffered Visual!
23:07:549 Source/Core/Core/Src/Boot/Boot.cpp:165 N[BOOT]: Booting /down2/games/The_Legend_of_Zelda_Twilight_Princess-bak.iso
23:07:564 Source/Core/Core/Src/HLE/HLE_OS.cpp:52 N[OSREPORT]: 812003d8->81300000|
Apploader Initialized.
23:07:564 Source/Core/Core/Src/HLE/HLE_OS.cpp:52 N[OSREPORT]: 812003f4->81300000| This Apploader built Oct  7 2006 00:46:32 for RVL
23:07:986 Source/Core/Core/Src/PowerPC/Interpreter/Interpreter_SystemRegisters.cpp:353 N[PowerPC]: Flush Instruction Cache! ICE=0
23:08:060 Source/Core/Core/Src/PowerPC/Interpreter/Interpreter_SystemRegisters.cpp:344 N[PowerPC]: Instruction Cache Enable (HID0.ICE) = 1


So, what I do?

Thaks

*P.S: I said any game because I tried 3 games, all that I have... SMG1,SMG2 and The Legend of Zelda Twilight Princess .

I tested it in my notebook, same error for the same games...

I forget to say my specs Tongue ...

In desktop:
Intel® Core™2 Duo CPU E8400 @ 3.00GHz
GeForce GTX 260 (with the last module, 256.53 for Linux-x86)
4GB DDR2 and using Debian Linux x86 squezee.

In notebook:
Intel® Core™2 Duo CPU P7350 @ 2.00GHz
GeForce 9200M GS (with the last module, 256.44 for Linux-x86)
4GB DDR and using Debian Linux x86 lenny

I tested others builds, from others revisions, compiled by users of this forum, always the same error, and in version in 2.0, the Wiimote plugin cannot be loaded.

I tested the emulator in my brother desktop, with windows xp, with the same games, and all of them run perfect....

So it's some configuration mismatch, some Linux problem... what?

I noted that the code can be compiled in Visual Studio, that not always follow ISO C++ and other standards, can be some incoherence in the compile made from gcc?

Thnks
I ran dolphin in debug mode.... I didn't understand much of the assembly, it's RISC PowerPC right? Confused

So, this is SMWG2 debug image:
[Image: errorlr.jpg]

And this is Zelda debug:
[Image: errorlr2.jpg]

So, it's the same error... alright, but why?
Can some one give me any thing?! Any tip, test to isolate the problem?!



I'm not a troll Sleepy, I just wanna to feed you guys with all information that I can provide...

This is the ldd output... appears that I have all shared libs in its right place... buut...:

Code:
$ ldd ./dolphin-emu
    linux-gate.so.1 =>  (0xb771f000)
    libGLEW.so.1.5 => /usr/lib/libGLEW.so.1.5 (0xb76ad000)
    libSDL-1.2.so.0 => /usr/local/lib/libSDL-1.2.so.0 (0xb75f1000)
    libz.so.1 => /usr/lib/libz.so.1 (0xb75dc000)
    libwx_gtk2u_aui-2.8.so.0 => /usr/lib/libwx_gtk2u_aui-2.8.so.0 (0xb756d000)
    libwx_gtk2u_adv-2.8.so.0 => /usr/lib/libwx_gtk2u_adv-2.8.so.0 (0xb74ae000)
    libwx_gtk2u_core-2.8.so.0 => /usr/lib/libwx_gtk2u_core-2.8.so.0 (0xb7144000)
    libwx_baseu-2.8.so.0 => /usr/lib/libwx_baseu-2.8.so.0 (0xb6ff0000)
    libbluetooth.so.3 => /usr/lib/libbluetooth.so.3 (0xb6fd9000)
    libasound.so.2 => /usr/lib/libasound.so.2 (0xb6f11000)
    libao.so.2 => /usr/lib/libao.so.2 (0xb6f09000)
    libpthread.so.0 => /lib/i686/cmov/libpthread.so.0 (0xb6ef0000)
    libdl.so.2 => /lib/i686/cmov/libdl.so.2 (0xb6eec000)
    libpulse.so.0 => /usr/lib/libpulse.so.0 (0xb6eaa000)
    libX11.so.6 => /usr/lib/libX11.so.6 (0xb6d8d000)
    libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0xb6d86000)
    libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0xb69b0000)
    libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0xb691a000)
    libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0xb68fe000)
    libgio-2.0.so.0 => /usr/lib/libgio-2.0.so.0 (0xb6861000)
    libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0xb6839000)
    libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0xb6820000)
    libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0xb6815000)
    libcairo.so.2 => /usr/lib/libcairo.so.2 (0xb679e000)
    libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0xb6759000)
    libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb66e2000)
    libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb66b3000)
    libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb6675000)
    libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb6671000)
    libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xb666b000)
    librt.so.1 => /lib/i686/cmov/librt.so.1 (0xb6662000)
    libglib-2.0.so.0 => /lib/libglib-2.0.so.0 (0xb6599000)
    libGLU.so.1 => /usr/lib/libGLU.so.1 (0xb6529000)
    libGL.so.1 => /usr/lib/libGL.so.1 (0xb645e000)
    libCg.so => /usr/lib/libCg.so (0xb5d91000)
    libCgGL.so => /usr/lib/libCgGL.so (0xb5d3c000)
    libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb5c47000)
    libm.so.6 => /lib/i686/cmov/libm.so.6 (0xb5c21000)
    libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb5c03000)
    libc.so.6 => /lib/i686/cmov/libc.so.6 (0xb5abc000)
    libXmu.so.6 => /usr/lib/libXmu.so.6 (0xb5aa6000)
    libXi.so.6 => /usr/lib/libXi.so.6 (0xb5a99000)
    libXext.so.6 => /usr/lib/libXext.so.6 (0xb5a8a000)
    libaudio.so.2 => /usr/lib/libaudio.so.2 (0xb5a74000)
    libXt.so.6 => /usr/lib/libXt.so.6 (0xb5a22000)
    libdirectfb-1.0.so.0 => /usr/lib/libdirectfb-1.0.so.0 (0xb59ad000)
    libfusion-1.0.so.0 => /usr/lib/libfusion-1.0.so.0 (0xb59a3000)
    libdirect-1.0.so.0 => /usr/lib/libdirect-1.0.so.0 (0xb598f000)
    libvga.so.1 => /usr/lib/libvga.so.1 (0xb592e000)
    libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0xb592b000)
    libSM.so.6 => /usr/lib/libSM.so.6 (0xb5923000)
    libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb58fe000)
    libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xb58de000)
    libtiff.so.4 => /usr/lib/libtiff.so.4 (0xb5883000)
    /lib/ld-linux.so.2 (0xb7720000)
    libICE.so.6 => /usr/lib/libICE.so.6 (0xb586b000)
    libXtst.so.6 => /usr/lib/libXtst.so.6 (0xb5865000)
    libpulsecommon-0.9.21.so => /usr/lib/libpulsecommon-0.9.21.so (0xb581a000)
    libgdbm.so.3 => /usr/lib/libgdbm.so.3 (0xb5814000)
    libcap.so.2 => /lib/libcap.so.2 (0xb5810000)
    libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb57f7000)
    libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb57ed000)
    libXcomposite.so.1 => /usr/lib/libXcomposite.so.1 (0xb57ea000)
    libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0xb57e7000)
    libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xb57e2000)
    libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0xb57d9000)
    libpcre.so.3 => /lib/libpcre.so.3 (0xb57a5000)
    libresolv.so.2 => /lib/i686/cmov/libresolv.so.2 (0xb5791000)
    libselinux.so.1 => /lib/libselinux.so.1 (0xb5776000)
    libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0xb571d000)
    libdirectfb-1.2.so.0 => /usr/lib/libdirectfb-1.2.so.0 (0xb56a8000)
    libfusion-1.2.so.0 => /usr/lib/libfusion-1.2.so.0 (0xb569e000)
    libdirect-1.2.so.0 => /usr/lib/libdirect-1.2.so.0 (0xb568a000)
    libxcb-render-util.so.0 => /usr/lib/libxcb-render-util.so.0 (0xb5686000)
    libxcb-render.so.0 => /usr/lib/libxcb-render.so.0 (0xb567f000)
    libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb5659000)
    libnvidia-tls.so.256.53 => /usr/lib/tls/libnvidia-tls.so.256.53 (0xb5656000)
    libnvidia-glcore.so.256.53 => /usr/lib/libnvidia-glcore.so.256.53 (0xb4129000)
    libx86.so.1 => /lib/libx86.so.1 (0xb4126000)
    libuuid.so.1 => /lib/libuuid.so.1 (0xb4122000)
    libwrap.so.0 => /lib/libwrap.so.0 (0xb4119000)
    libsndfile.so.1 => /usr/lib/libsndfile.so.1 (0xb40b2000)
    libasyncns.so.0 => /usr/lib/libasyncns.so.0 (0xb40ad000)
    libdbus-1.so.3 => /lib/libdbus-1.so.3 (0xb4074000)
    libattr.so.1 => /lib/libattr.so.1 (0xb406f000)
    libXau.so.6 => /usr/lib/libXau.so.6 (0xb406b000)
    libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb4066000)
    libnsl.so.1 => /lib/i686/cmov/libnsl.so.1 (0xb404f000)
    libFLAC.so.8 => /usr/lib/libFLAC.so.8 (0xb3fff000)
    libvorbisenc.so.2 => /usr/lib/libvorbisenc.so.2 (0xb3e88000)
    libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0xb3e60000)
    libogg.so.0 => /usr/lib/libogg.so.0 (0xb3e5a000)

THnks
In debug mode, use the menu and tick "Show Logwindow". In the log window, select Warning, select Log to Window, select Log to File and click toggle all a couple times to select all logs. Run the game until the black screen (you have to press the Play button in the toolbar). Then paste the log to http://pastie.org
(09-09-2010, 11:44 AM)skid Wrote: [ -> ]In debug mode, use the menu and tick "Show Logwindow". In the log window, select Warning, select Log to Window, select Log to File and click toggle all a couple times to select all logs. Run the game until the black screen (you have to press the Play button in the toolbar). Then paste the log to http://pastie.org

=]

Zelda: http://pastie.org/1147287

SMG2: http://pastie.org/1147293

P.S: Some times Zelda finish as in the paste .... but it's more frequent that it end equals SMG2, and to every game that I try in my 2 boxes Sad
In title of the black screen windows, FPS=0, VPS=3 , 20 until 50 and SPEED is almost 100%, some times 5%, 20% ...

Thks for the feed back Big Grin
ah ok.. I think you have the x11 problem. An update to x11 has broken Dolphin in a lot of Linux installations (but not all). Outlook is grim...
(09-10-2010, 10:46 AM)skid Wrote: [ -> ]ah ok.. I think you have the x11 problem. An update to x11 has broken Dolphin in a lot of Linux installations (but not all). Outlook is grim...

Ok, but which X11 version the dolphin run without a problem? Because in my notebook, the version is the same of debian 5, with no update... and debian 5 is from 1 year ago...

Supposing that is the X11 the problem( only Zelda, some time crash for error in X11... buut..) , when it will be fixed?

It's already a reported bug? If yes, which one?

Thanks =]
(09-12-2010, 06:03 AM)otavioarj Wrote: [ -> ]
(09-10-2010, 10:46 AM)skid Wrote: [ -> ]ah ok.. I think you have the x11 problem. An update to x11 has broken Dolphin in a lot of Linux installations (but not all). Outlook is grim...

Ok, but which X11 version the dolphin run without a problem? Because in my notebook, the version is the same of debian 5, with no update... and debian 5 is from 1 year ago...

Supposing that is the X11 the problem( only Zelda, some time crash for error in X11... buut..) , when it will be fixed?

It's already a reported bug? If yes, which one?

Thanks =]

I'm having this issue to!! I'm using now Mint Linux 9, and it's always happen... black screen, no error in output, and VPS, SPEED with big values...
News, PM me PLEAAASE!!
Ping...

No one can even isolate the problem?! The X11 is a extreme robust system, why the emulator inst' properly working with it?

I tested dolphin yesterday in Mint 9, to see if the error was the same, and no... I'm getting a complete new error.

Later I post here... but some one can even tell me if this is a reported bug?!

I don't want to make duplicate bugs, and I don't have time to see much bugs report in the tracker... so if anybody knows..

Thnks

-niko-

http://code.google.com/p/dolphin-emu/issues/detail?id=3053#c3

It also closed

Any chance of fixing the dolphin to work correctly with this library?
Pages: 1 2