waynedog74 / mupen64plus

Automatically exported from code.google.com/p/mupen64plus
0 stars 0 forks source link

No support for OpenBSD #414

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Trying to compile on OpenBSD gives an error about no support. I'm currently 
trying to get everything to compile but haven't got it all smooth yet.

Original issue reported on code.google.com by ds_uns...@hotmail.com on 19 Feb 2011 at 2:27

GoogleCodeExporter commented 9 years ago
Ok so everything seems to compile but the Rice video

Original comment by ds_uns...@hotmail.com on 22 Feb 2011 at 5:44

GoogleCodeExporter commented 9 years ago
I did have it compiled with openBSD 4.8 and stock gcc and binutils.
Link had to be done manually.
However i m not able to play any game with any emumode flag:
I do have :
UI-Console: Cheat codes disabled.
UI-console: using Video plugin: 'Mupen64Plus OpenGL Video Plugin by Rice' 
v1.99.4
UI-console: using Audio plugin: 'Mupen64Plus SDL Audio Plugin' v1.99.4
Input: N64 Controller #1: Forcing default keyboard configuration
Input: Using auto-configuration for device 'Keyboard'
UI-console: using Input plugin: 'Mupen64Plus SDL Input Plugin' v1.99.4
UI-console: using RSP plugin: 'Hacktarux/Azimer High-Level Emulation RSP 
Plugin' v1.99.4
Input: N64 Controller #1: Using keyboard/mouse
Input: 1 controller(s) found, 1 plugged in and usable in the emulator
Input: Mupen64Plus SDL Input Plugin version 1.99.4 initialized.
Video: SSE processing enabled.
Video: Found ROM 'epuMP46n sul', CRC ddba4de5b107004a-00
Video: Initializing OpenGL Device Context.
Core: Setting 32-bit video mode: 640x480
Video: Using OpenGL: Mesa Project - Software Rasterizer : 2.1 Mesa 7.8.2
Video: OpenGL Combiner: Fragment Program
Audio: Initializing SDL audio subsystem...
Core: Starting R4300 emulator: Cached Interpreter
Core Error: reserved opcode: a400004c:70a4083c
Core: R4300 emulator finished.
Core Status: Rom closed.

Linked libraries :
 ldd /usr/local/bin/mupen64plus                                                 
/usr/local/bin/mupen64plus:
        Start    End      Type Open Ref GrpRef Name
        1c000000 3c007000 exe  1    0   0      /usr/local/bin/mupen64plus
        05bfa000 25c03000 rlib 0    1   0      /usr/lib/libpthread.so.13.1
        09ff9000 2a02d000 rlib 0    1   0      /usr/lib/libc.so.58.0
        040ce000 040ce000 rtld 0    1   0      /usr/libexec/ld.so

I ll ktrace later eventually

Original comment by johan...@yahoo.fr on 1 Mar 2011 at 9:39

GoogleCodeExporter commented 9 years ago
Could be an endianness problem. Can you please give us more information about 
the machine you are using? It looks a little bit weird because I see SSE 
support (which looks like a x86). And the rom name is usally picked from the 
RiceVideoLinux.ini and would not show any kind of endianess corruption (it is 
just a string)

Btw. You will not have many fun with the mesa software renderizer.

Original comment by sven@narfation.org on 3 Mar 2011 at 4:48

GoogleCodeExporter commented 9 years ago
I just started work on an OpenBSD port for mupen64plus and am having the same 
issue.

Attached is the patch I needed to make mupen64plus compiled on OpenBSD.  You 
can probably ignore the ${LIBmupen64plus_VERSION} parts, that's just used by 
the ports system to control shared library versions.  I was able to get the 
Rice video plugin to compile, but unfortunately GL issues in the radeon driver 
for my graphics card prevent me from using it.

I'm also attaching a log.  Super Mario 64, Wave Race 64, and Paper Mario don't 
seem to load at all.  Zelda 64 loads but uses 100% processing power while 
displaying a black screen.  That may be just because it's using software 
rendering, I'm not sure.  The first entry in the log shows the error message 
when the software renderer is not forced via the LIBGL_ALWAYS_SOFTWARE 
environment variable.

I'm also attaching some more ldd output for the shared libraries, in case it is 
helpful.

My hardware is a Athlon X4 630 with 4GB of RAM running on OpenBSD -current 
(4.9) on amd64.

Let me know if you have any questions or would like me to run any tests.

Original comment by jeremyev...@gmail.com on 16 Mar 2011 at 4:50

Attachments:

GoogleCodeExporter commented 9 years ago
Issue 440 has been merged into this issue.

Original comment by sven@narfation.org on 25 Jun 2011 at 6:39

GoogleCodeExporter commented 9 years ago
I started to fix the problems under OpenBSD in my private repositories at 
https://bitbucket.org/lazhur/ (those might disappear without further warnings). 
It seems that OpenBSD 4.9 has some problems with its development environment - 
for example libz. Some seems to be fixed in their CVS since may 2011, but 
others are still open. I am not really familiar with their release model - so 
maybe I missed some fixes.

I would not say that mupen64plus will support OpenBSD, but I was able to start 
mupen64plus after fixing parts of the OpenBSD build environment.

Original comment by sven@narfation.org on 27 Jun 2011 at 8:54

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks… seems to work okay on my i386 laptop. Only shows a black screen on my 
amd64 desktop, but that may be due to the RadeonHD graphics card.

Original comment by anthonyj...@gmail.com on 3 Jul 2011 at 2:23

GoogleCodeExporter commented 9 years ago
I think all patches are now merged and there is no need to have this bug open 
any longer

Original comment by s...@narfation.org on 9 Sep 2011 at 10:33