melonDS-emu / melonDS

DS emulator, sorta
https://melonds.kuribo64.net
GNU General Public License v3.0
3.19k stars 527 forks source link

macOS #807

Closed CatsLover2006 closed 3 years ago

CatsLover2006 commented 3 years ago

Need I say more? If need be I can help test builds (I own a MacBook)

CatsLover2006 commented 3 years ago

It's there, but some (by that I mean a fair lot) of polygons are flickering.

RSDuck commented 3 years ago

that's great, we know this issue

it's probably the wbuffering one

RayyanAnsari commented 3 years ago

At least we know the issue this time. So it's not something just with macOS.

CatsLover2006 commented 3 years ago

http://clpblogimages.ueuo.com/upload/Screen%20Recording%202020-11-20%20at%2010.22.26%20AM1.mov That's a link to the video file.

CatsLover2006 commented 3 years ago

One other glitch: For some reason the controller you want to use needs to be connected to the Mac before actually launching the app?

CatsLover2006 commented 3 years ago

EDIT: The above glitch also explains the "no keyboard" glitch (it would need to be connected constantly; when you click away, you'd be basically unplugging it)

RayyanAnsari commented 3 years ago

No I think the keyboard thing is to do with the window focus on the Input and Hotkeys window. If I manually input the keys into the config file, the keys show up in the menu and they work.

CatsLover2006 commented 3 years ago

Where's the config file stored?

RayyanAnsari commented 3 years ago

I think it's somewhere in [home dir]/Library/Preferences/melonDS. Also you have to enter a number, not a key. I think you can use https://wiki.libsdl.org/SDLScancodeLookup but I'm not sure.

RayyanAnsari commented 3 years ago

Could you now test binding keys with the latest artifact @CatsLover2006 ? https://github.com/Arisotura/melonDS/pull/771/checks?check_run_id=1436018083

CatsLover2006 commented 3 years ago

Keypresses now work.

CatsLover2006 commented 3 years ago

Not sure if this is related but the thought of Q and W being pressed together melonDS just can't comprehend.

CatsLover2006 commented 3 years ago

Blooper ink on OpenGL in MKDS is an outline.

RayyanAnsari commented 3 years ago

@CatsLover2006 the OpenGL issues are probably related to what RSDuck said about the wbuffering issues. Could you test Direct Mode with the latest artifact? https://github.com/Arisotura/melonDS/pull/771/checks?check_run_id=1460814267

RayyanAnsari commented 3 years ago

@CatsLover2006 could you test the new app bundle from the latest artifact? https://github.com/Arisotura/melonDS/pull/771/checks?check_run_id=1467761278

CatsLover2006 commented 3 years ago

I'm sorry, but right now my mac is in a rather... unusable state. I can't charge it. I'll test when I manage to charge it a bit. Edit: Never mind, the charger decided to work for a little bit.

CatsLover2006 commented 3 years ago

Bundle works (complains about malware, but that's relatively easy to fix, and still occurred outside of a bundle)

CatsLover2006 commented 3 years ago

I don't know where to find direct mode...

PoroCYon commented 3 years ago

It's in the "Wifi settings" tab.

poudink commented 3 years ago

I don't know about blooper ink in OpenGL being a wbuffer issue. It seems to show up fine on Windows.

RSDuck commented 3 years ago

the wbuffer issue is how individual polygons flicker (see the video: https://github.com/Arisotura/melonDS/issues/807#issuecomment-731302976), that happens under linux for me as well.

poudink commented 3 years ago

So the blooper ink issue is something else, then?

MelonMonke commented 3 years ago

Just tested the new app bundle, keep up the great work! The last time I used melonDS on my Mac was when I managed to compile it a couple of years ago with the libui interface. Issues that I have encountered include:

RayyanAnsari commented 3 years ago

@MelonMonke what GPU do you have? I remember I had this issue on my Intel iGPU. Also are you sure that your dumps are fine? Booting firmware works fine for me.

MelonMonke commented 3 years ago

I am using Intel Iris Plus Graphics and there was an issue with my dump, I can boot the firmware without any issues now. Thanks.

RayyanAnsari commented 3 years ago

Could you show me the logs when you open it from the Terminal @MelonMonke ?

RSDuck commented 3 years ago

the scaling problems are likely related to stupid hidpi stuff

RayyanAnsari commented 3 years ago

Ah, yes. Related to #697

MelonMonke commented 3 years ago

Yeah I initially thought it was related to the fact I was using a retina display, but I wasn't sure. The SDL renderer also scales properly.

CatsLover2006 commented 3 years ago

Here’s a little piece of information that might be helpful fixing that: Retina display = 2x dpi scaling.