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


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Hardware v
« Previous 1 2 3 4 5 ... 184 Next »

Dolphin on the pi 4?
View New Posts | View Today's Posts

Pages (19): « Previous 1 ... 15 16 17 18 19 Next »
Jump to page 
Thread Rating:
  • 2 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Dolphin on the pi 4?
05-29-2020, 12:08 AM (This post was last modified: 05-29-2020, 12:09 AM by bomblord.)
#161
bomblord Offline
Member
***
Posts: 221
Threads: 31
Joined: Jul 2014
64 bit raspberry pi os (no long rapsbian) is in Beta and Vulkan information is coming soon according to Eben Upton. Also there's an 8GB variant now but I don't think that's relevant to Dolphin other than the higher power delivery potentially allowing further overclocking.
https://www.raspberrypi.org/blog/8gb-raspberry-pi-4-on-sale-now-at-75/
Find
Reply
05-30-2020, 12:37 PM (This post was last modified: 05-30-2020, 10:07 PM by bomblord.)
#162
bomblord Offline
Member
***
Posts: 221
Threads: 31
Joined: Jul 2014
Trying to build from source on the new shiny Raspberry pi 64 bit OS beta instead of using the ancient out of date 5.0 in the 64bit arm repo and I keep running into errors.

Don't think I ran into these when I was on Gentoo help would be appreciated
Code:
-- Detected architecture: aarch64
-- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_glx_LIBRARY OPENGL_INCLUDE_DIR)
CMake Warning at CMakeLists.txt:448 (message):
  X11 support enabled but not found.  This build will not support X11.


-- Checking for module 'egl'
--   No package 'egl' found
-- Could NOT find EGL (missing: EGL_INCLUDE_DIRS EGL_LIBRARIES)
CMake Warning at CMakeLists.txt:458 (message):
  EGL support enabled but not found.  This build will not support EGL.


-- Could NOT find FFmpeg (missing: FFmpeg_INCLUDE_avcodec FFmpeg_LIBRARY_avcodec FFmpeg_INCLUDE_avformat FFmpeg_LIBRARY_avformat FFmpeg_INCLUDE_avutil FFmpeg_LIBRARY_avutil FFmpeg_INCLUDE_swscale FFmpeg_LIBRARY_swscale avcodec avformat avutil swscale)
-- libav/ffmpeg not found, disabling AVI frame dumps
-- Could NOT find LIBUDEV (missing: LIBUDEV_LIBRARY LIBUDEV_INCLUDE_DIR)
-- Could NOT find libevdev (missing: LIBEVDEV_LIBRARY LIBEVDEV_INCLUDE_DIR)
CMake Error at CMakeLists.txt:493 (message):
  Couldn't find libevdev and/or libudev.  Can't build evdev controller
  backend.

  Disable ENABLE_EVDEV if you wish to build without controller support


-- Configuring incomplete, errors occurred!
See also "/home/pi/build/dolphin-emu/build/CMakeFiles/CMakeOutput.log".
See also "/home/pi/build/dolphin-emu/build/CMakeFiles/CMakeError.log".

Edit: At least partially dependency errors. I was able to get through those errors but then hit a dozen more. I tried to install all the listed dependencies in the compile from source instructions on the wiki but it has a warning that it's out of date and indeed those don't seem to work to get the compile going. Also, are there any flags I should be using?
Find
Reply
06-01-2020, 01:11 PM
#163
bomblord Offline
Member
***
Posts: 221
Threads: 31
Joined: Jul 2014
After painstakingly tracking down the dependencies I waited an hour for it to build to 85% and get this
https://pastebin.com/7ssAdAuk

Put on pastebin because it's massive but it's libusb errors
Find
Reply
06-01-2020, 11:00 PM (This post was last modified: 06-01-2020, 11:44 PM by chrisis123. Edit Reason: typo )
#164
chrisis123 Offline
Junior Member
**
Posts: 6
Threads: 1
Joined: May 2020
(06-01-2020, 01:11 PM)bomblord Wrote: After painstakingly tracking down the dependencies I waited an hour for it to build to 85% and get this
https://pastebin.com/7ssAdAuk

Put on pastebin because it's massive but it's libusb errors

I was able to build the current GIT version a few days ago on Raspberry Pi 4 with the 64 bit beta of Raspberry Pi OS just fine.
I just used the generic build instructions for Linux, no special settings.

The GUI works fine, though not usable obviously as neither the Open GL nor the Vulkan drivers work yet... and probably will never be able to run any game full speed anyway as the CPU is just too slow...
Find
Reply
06-01-2020, 11:58 PM (This post was last modified: 06-02-2020, 12:01 AM by bomblord.)
#165
bomblord Offline
Member
***
Posts: 221
Threads: 31
Joined: Jul 2014
(06-01-2020, 11:00 PM)chrisis123 Wrote: I was able to build the current GIT version a few days ago on Raspberry Pi 4 with the 64 bit beta of Raspberry Pi OS just fine.
I just used the generic build instructions for Linux, no special settings.

The GUI works fine, though not usable obviously as neither the Open GL nor the Vulkan drivers work yet... and probably will never be able to run any game full speed anyway as the CPU is just too slow...

Honestly, I think it's the GPU that's the bigger bottleneck. CPU can keep up with the Jetson Nano once overclocked and that can run some games full speed it's the GPU that falls woefully behind.

So you just cloned the git, ran sudo cmake .. and then sudo make? Maybe I need to reinstall my OS or something. I started with a fresh 64 bit raspberry pi OS.
Find
Reply
06-02-2020, 07:03 AM
#166
chrisis123 Offline
Junior Member
**
Posts: 6
Threads: 1
Joined: May 2020
(06-01-2020, 11:58 PM)bomblord Wrote: So you just cloned the git, ran sudo cmake .. and then sudo make?

Yeah that's basically what I did though I installed serveral dependencies via apt before I build it. I used the guide here as a basis https://dolphin-emu.org/docs/guides/building-dolphin-linux/ (even though it's outdated most of the dependencies are still needed).
I did this more out of curiosity and have since wiped the SD I used...
It was on a newly installed 64 bit Raspberry Pi OS and the GUI runs perfectly, just not usable in any sense...
Find
Reply
06-03-2020, 10:00 AM (This post was last modified: 06-03-2020, 11:45 AM by bomblord.)
#167
bomblord Offline
Member
***
Posts: 221
Threads: 31
Joined: Jul 2014
(06-02-2020, 07:03 AM)chrisis123 Wrote: Yeah that's basically what I did though I installed serveral dependencies via apt before I build it. I used the guide here as a basis https://dolphin-emu.org/docs/guides/building-dolphin-linux/ (even though it's outdated most of the dependencies are still needed).
I did this more out of curiosity and have since wiped the SD I used...
It was on a newly installed 64 bit Raspberry Pi OS and the GUI runs perfectly, just not usable in any sense...

I was using the one on the wiki this has a lot more dependencies trying it again with these

Edit: note libusb error now with make[2]: *** No rule to make target '/usr/lib/aarch64-linux-gnu/libusb.so', needed by 'Binaries/dolphin-emu-nogui'. Stop.

Double edit
I deleted the cmake files reinstalled libusb rebuilt and now this

Code:
Building CXX object Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/MainWindow.cpp.o
/home/pi/dolphin-emu/Source/Core/DolphinQt/MainWindow.cpp:29:10: fatal error: qpa/qplatformnativeinterface.h: No such file or directory
#include <qpa/qplatformnativeinterface.h>
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/build.make:361: Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/MainWindow.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1838: Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/all] Error 2
make: *** [Makefile:152: all] Error 2
Find
Reply
06-06-2020, 11:47 AM (This post was last modified: 06-07-2020, 02:52 AM by bomblord.)
#168
bomblord Offline
Member
***
Posts: 221
Threads: 31
Joined: Jul 2014
Had to install qtbase5-private-dev

Finally Built!!!

HOWEVER it seems to be ignoring PreferGLES = True as it's not setting it to GLES and instead failing to load OpenGL

Any tips?

Edit: It appears the first line under settings has to be be PreferGLES = True anywhere else it won't work in ~./config/dolphin-emu/GFX.ini also don't run it as sudo
Find
Reply
06-07-2020, 03:08 AM (This post was last modified: 06-07-2020, 03:10 AM by bomblord.)
#169
bomblord Offline
Member
***
Posts: 221
Threads: 31
Joined: Jul 2014
And now I was able to get a random GC game running at what appears to be full speed! I have the Pi OC'd to 2ghz/600mhz. I could probably underclock the virtual CPU for this game and get a little more headroom.
[Image: ZDi6trb.png]
Find
Reply
06-07-2020, 05:59 AM
#170
Shonumi Offline
Linux User/Tester
**********
Administrators
Posts: 6,369
Threads: 52
Joined: Dec 2011
Neat! My RPi4 is currently unused (been meaning to use it as a desktop to save power, but...) I might give this a try soon.
Website Find
Reply
« Next Oldest | Next Newest »
Pages (19): « Previous 1 ... 15 16 17 18 19 Next »
Jump to page 


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 2 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode