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


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Site › Dolphin Patches (Archive) v
« Previous 1 2 3 4 5 ... 7 Next »

[patches] FreeBSD support
View New Posts | View Today's Posts

Pages (5): « Previous 1 2 3 4 5 Next »
Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
[patches] FreeBSD support
09-08-2011, 10:22 PM (This post was last modified: 09-08-2011, 10:22 PM by neobrain.)
#31
neobrain Offline
"Wow, I made my code 1000x faster! That means I can make it 2048x slower now!"
**********
Developers (Some Administrators and Super Moderators)
Posts: 3,209
Threads: 50
Joined: Jun 2009
Okay, I just took a more detailed look at the patches, got a few questions...
- Why did you decide not to install the license file on FreeeBSD?
- you added avcodec, avformat and swscale to the linked libs of the main executable, that's not particularly nice.. and shouldn't be necessary either. a) does linking against ${LIBAV_LIBRARIES} instead work as well? b) if you remove those three altogether and just set ENCODE_FRAMEDUMPS to OFF, does that work?
My blog
Me on Twitter
My wishlist on Amazon.de
Find
09-09-2011, 06:17 PM
#32
martymac Offline
Junior Member
**
Posts: 25
Threads: 3
Joined: May 2009
Hi,

(09-08-2011, 10:22 PM)neobrain Wrote: Okay, I just took a more detailed look at the patches, got a few questions...
- Why did you decide not to install the license file on FreeeBSD?

I've removed it because this file is already handled and installed by FreeBSD ports system (we want to avoid having the same license files installed again and again). This change is FreeBSD-related only and should not be merged back into the main branch.

(09-08-2011, 10:22 PM)neobrain Wrote: - you added avcodec, avformat and swscale to the linked libs of the main executable, that's not particularly nice.. and shouldn't be necessary either.
a) does linking against ${LIBAV_LIBRARIES} instead work as well?

Yes, linking is OK if I replace the 3 libs with ${LIBAV_LIBRARIES}.

(09-08-2011, 10:22 PM)neobrain Wrote: b) if you remove those three altogether and just set ENCODE_FRAMEDUMPS to OFF, does that work?

Yes, linking is OK too. Maybe ${LIBAV_LIBRARIES} should be added conditionally here ?

Best regards,
Find
09-13-2011, 12:04 AM
#33
neobrain Offline
"Wow, I made my code 1000x faster! That means I can make it 2048x slower now!"
**********
Developers (Some Administrators and Super Moderators)
Posts: 3,209
Threads: 50
Joined: Jun 2009
k, I just committed 854c4903ebf7 to the freebsd-port branch.. Could you just check if it still works okay for you so that I can merge it to master? thanks Wink
My blog
Me on Twitter
My wishlist on Amazon.de
Find
09-13-2011, 03:28 AM
#34
martymac Offline
Junior Member
**
Posts: 25
Threads: 3
Joined: May 2009
(09-13-2011, 12:04 AM)neobrain Wrote: k, I just committed 854c4903ebf7 to the freebsd-port branch.. Could you just check if it still works okay for you so that I can merge it to master? thanks Wink

Good, thanks ! I can confirm the freebsd-port branch builds and runs fine for me, so I think you can proceed to the merging Smile
Find
09-13-2011, 05:11 AM (This post was last modified: 09-13-2011, 05:11 AM by neobrain.)
#35
neobrain Offline
"Wow, I made my code 1000x faster! That means I can make it 2048x slower now!"
**********
Developers (Some Administrators and Super Moderators)
Posts: 3,209
Threads: 50
Joined: Jun 2009
Merged as of 13ef4fc54ffa Wink
Thanks again for your work Smile
My blog
Me on Twitter
My wishlist on Amazon.de
Find
09-13-2011, 04:06 PM
#36
martymac Offline
Junior Member
**
Posts: 25
Threads: 3
Joined: May 2009
(09-13-2011, 05:11 AM)neobrain Wrote: Merged as of 13ef4fc54ffa Wink
Thanks again for your work Smile

Great ! Thanks to you for having accepted my patches upstream Smile
Find
09-17-2011, 01:39 AM
#37
martymac Offline
Junior Member
**
Posts: 25
Threads: 3
Joined: May 2009
(09-13-2011, 04:06 PM)martymac Wrote: Great ! Thanks to you for having accepted my patches upstream Smile

Following this merge, here is an updated and improved version of the port. It now reaches a state where it could hit the FreeBSD ports tree. It includes two new patches : one to link against libexecinfo, another one to provide cmake options to disable Nls, Alsa, Ao, Bluez, Portaudio, Pulseaudio if necessary. You can find the file here :

http://contribs.martymac.org/FreeBSD-ports/sandbox/dolphin-emu-3.0.r20110912-port.tgz

Note that I still need feedback on OpenGL rendering ! I'd like to check it works before adding this new port to the tree.

Best regards,
Find
10-03-2011, 09:15 PM
#38
martymac Offline
Junior Member
**
Posts: 25
Threads: 3
Joined: May 2009
(09-17-2011, 01:39 AM)martymac Wrote: http://contribs.martymac.org/FreeBSD-ports/sandbox/dolphin-emu-3.0.r20110912-port.tgz

Hi everyone ! Dolphin is now officially available in FreeBSD ports tree :

# cd /usr/ports/emulators/dolphin-emu-devel && make install clean

Thanks for your support Smile
Find
03-15-2013, 09:42 PM
#39
bl0 Offline
Junior Member
**
Posts: 11
Threads: 1
Joined: Jul 2012
A few months ago I ran Dolphin on FreeBSD in Linux compatibility mode. (I wasn't aware of the FreeBSD port and from what I had seen of the Dolphin code I thought it would not build cleanly on FreeBSD.) It ran all right. Super Smash Bros at full speed, Pokemon Colosseum at about 2/3 speed. I don't know how it compares. The CPU isn't the fastest around, Athlon II X3 2.9 GHz. Video card is nvidia with the proprietary driver for FreeBSD. I played without sound because the Linux binaries I had compiled only had ALSA output compiled in.
Since the native FreeBSD port probably needs more testers, maybe I will give it a try one day.
Find
03-28-2013, 07:36 PM
#40
bl0 Offline
Junior Member
**
Posts: 11
Threads: 1
Joined: Jul 2012
Just to clarify my previous post: the Dolphin OpenGL backend was used and nvidia cg was among the libraries installed into /compat/linux

With both the FreeBSD 9.0 package and the latest port (r20130225) i'm getting similar results to martymac earlier in this thread. Software rendering and sound seem to work. With the OpenGL output, only black screen. Not a surprise, it's similar on other systems when building without Cg.
With the GLSL-master branch from early 2012 (the state this branch was in for a few months) OpenGL output appears to be functional. Super Smash Bros Melee is running at full speed and full fps.
Find
« Next Oldest | Next Newest »
Pages (5): « Previous 1 2 3 4 5 Next »


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


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode