• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Support v
1 2 3 4 5 … 1203 Next »

[Linux] Hang at black screen when loading game
View New Posts | View Today's Posts

Pages (3): « Previous 1 2 3 Next »
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode
[Linux] Hang at black screen when loading game
09-09-2023, 01:34 AM
#11
Neui Offline
Quiet
***
Posts: 177
Threads: 1
Joined: Apr 2015
For the mGBA thing try: https://forums.dolphin-emu.org/Thread-co...rror-linux
Find
Reply
09-10-2023, 04:22 PM
#12
GameKyuubi Offline
Junior Member
**
Posts: 12
Threads: 1
Joined: Aug 2023
(09-09-2023, 01:34 AM)Neui Wrote: For the mGBA thing try: https://forums.dolphin-emu.org/Thread-co...rror-linux

The command
Code:
cmake .. -DUSE_SYSTEM_LIBMGBA=OFF
seems to have resolved this specific issue, but I was met with another problem:

Code:
[ 82%] Linking CXX executable ../../../Binaries/dolphin-emu-nogui
/usr/bin/ld: ../DiscIO/CMakeFiles/discio.dir/CompressedBlob.cpp.o: undefined reference to symbol 'deflateInit_'
/usr/bin/ld: /usr/lib/libz.so.1: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [Source/Core/DolphinNoGUI/CMakeFiles/dolphin-nogui.dir/build.make:230: Binaries/dolphin-emu-nogui] Error 1
make[1]: *** [CMakeFiles/Makefile2:1905: Source/Core/DolphinNoGUI/CMakeFiles/dolphin-nogui.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 82%] Built target dolphin-emu_autogen
[ 82%] Linking CXX executable ../../../Binaries/dolphin-tool
/usr/bin/ld: ../DiscIO/CMakeFiles/discio.dir/CompressedBlob.cpp.o: undefined reference to symbol 'deflateInit_'
/usr/bin/ld: /usr/lib/libz.so.1: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [Source/Core/DolphinTool/CMakeFiles/dolphin-tool.dir/build.make:230: Binaries/dolphin-tool] Error 1
make[1]: *** [CMakeFiles/Makefile2:1948: Source/Core/DolphinTool/CMakeFiles/dolphin-tool.dir/all] Error 2
make: *** [Makefile:156: all] Error 2

Using this:
Code:
export LDFLAGS="-Wl,--copy-dt-needed-entries"
got me to here:

Code:
[ 98%] Linking CXX executable ../../../Binaries/dolphin-emu
/usr/bin/ld: ../DiscIO/CMakeFiles/discio.dir/CompressedBlob.cpp.o: undefined reference to symbol 'deflateInit_'
/usr/bin/ld: /usr/lib/libz.so.1: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/build.make:3148: Binaries/dolphin-emu] Error 1
make[1]: *** [CMakeFiles/Makefile2:1992: Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/all] Error 2
make: *** [Makefile:156: all] Error 2

which ... seems like the same problem :|
Find
Reply
09-11-2023, 09:48 AM
#13
GameKyuubi Offline
Junior Member
**
Posts: 12
Threads: 1
Joined: Aug 2023
Okay, did a pull, deleted the Build directory, redid the steps in my previous post and it built to 100%, but when running I get this now:
Code:
[:~/source/dolphin-emu/Build/Binaries] master ± ./dolphin-emu
An error occurred.

  Condition: icon.availableSizes().size() > 0
  File: /home/gamekyuubi/source/dolphin-emu/Source/Core/DolphinQt/Resources.cpp
  Line: 53
  Function: LoadNamedIcon

Ignore and continue?
Illegal instruction (core dumped)
Find
Reply
09-11-2023, 11:01 PM
#14
KHg8m3r Offline
Doesn't sleep, just Dolphin and Robots
*******
Posts: 6,027
Threads: 4
Joined: Sep 2013
Did you run `git submodules update --init --recursive` in the main directory before rerunning cmake in your build directory?
Find
Reply
09-12-2023, 08:26 AM
#15
GameKyuubi Offline
Junior Member
**
Posts: 12
Threads: 1
Joined: Aug 2023
(09-11-2023, 11:01 PM)KHg8m3r Wrote: Did you run `git submodules update --init --recursive` in the main directory before rerunning cmake in your build directory?

Yeah.  No output when I run it and the same result happens.
Find
Reply
09-13-2023, 11:31 AM
#16
GameKyuubi Offline
Junior Member
**
Posts: 12
Threads: 1
Joined: Aug 2023
Okay, after pulling today's changes from the repo, the emulator starts but now I'm back to the initial problem: black screen and emulator lockup. Even trying to close the game doesn't really work, the emulator is left in an unusable state and must be killed. Verison is 5.0-20059-dirty and game is verified dump of SSBM
Find
Reply
09-14-2023, 01:00 AM (This post was last modified: 09-14-2023, 01:01 AM by KHg8m3r.)
#17
KHg8m3r Offline
Doesn't sleep, just Dolphin and Robots
*******
Posts: 6,027
Threads: 4
Joined: Sep 2013
If you're getting the "-dirty" suffix on your builds that means you've changed some files in the repository. Try making a clean download of the dolphin repository in a new folder?

Code:
git clone https://github.com/dolphin-emu/dolphin dolphin-new
cd dolphin-new
git submodule update --init --recursive
mkdir build && cd build
cmake .. -DUSE_SYSTEM_LIBMGBA=OFF
make -j$(nproc)
sudo make install
Find
Reply
09-14-2023, 11:46 AM
#18
GameKyuubi Offline
Junior Member
**
Posts: 12
Threads: 1
Joined: Aug 2023
(09-14-2023, 01:00 AM)KHg8m3r Wrote: If you're getting the "-dirty" suffix on your builds that means you've changed some files in the repository. Try making a clean download of the dolphin repository in a new folder?

Code:
git clone https://github.com/dolphin-emu/dolphin dolphin-new
cd dolphin-new
git submodule update --init --recursive
mkdir build && cd build
cmake .. -DUSE_SYSTEM_LIBMGBA=OFF
make -j$(nproc)
sudo make install

This still gives me the error I was talking about earlier.  I need to use
Code:
LDFLAGS="-Wl,--copy-dt-needed-entries" cmake .. -DUSE_SYSTEM_LIBMGBA=OFF
to avoid
Code:
[ 82%] Linking CXX executable ../../../Binaries/dolphin-emu-nogui
/usr/bin/ld: ../DiscIO/CMakeFiles/discio.dir/CompressedBlob.cpp.o: undefined reference to symbol 'deflateInit_'
/usr/bin/ld: /usr/lib/libz.so.1: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
during build.  After doing that to build though, the result is the same.  Same "-dirty" suffix, same lockup problem.
Find
Reply
09-18-2023, 03:57 PM
#19
GameKyuubi Offline
Junior Member
**
Posts: 12
Threads: 1
Joined: Aug 2023
(09-11-2023, 09:48 AM)GameKyuubi Wrote:
Code:
[:~/source/dolphin-emu/Build/Binaries] master ± ./dolphin-emu
An error occurred.

  Condition: icon.availableSizes().size() > 0
  File: /home/gamekyuubi/source/dolphin-emu/Source/Core/DolphinQt/Resources.cpp
  Line: 53
  Function: LoadNamedIcon

Ignore and continue?
Illegal instruction (core dumped)

Latest pull has brought this error back
Find
Reply
09-18-2023, 10:48 PM
#20
KHg8m3r Offline
Doesn't sleep, just Dolphin and Robots
*******
Posts: 6,027
Threads: 4
Joined: Sep 2013
Can you post your full cmake output from a clean build folder? Hopefully something in there will let us know what's going wrong when you compile.

Please use a [spoiler] block instead of a [code] block, as it's going to be very long
Find
Reply
« Next Oldest | Next Newest »
Pages (3): « Previous 1 2 3 Next »


  • View a Printable Version
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma