![]() |
Home | Downloads | Screenshots | Forums | Source code | RSS | Donate |
Register | Log in |
< DSi bugfixesMore camera trouble... > |
Windows OpenGL issues fixed, finally! Jun 28th 2025, by Arisotura |
I went on a quest and battled the worst enemy imaginable. Worse than a thousand orcs. I fought endless privacy settings screens. Warded off all sorts of bullshit offers. Resisted the temptation to throw my brain in a lake. I installed Windows 10 on my old laptop Crepe, so I could finally fix the issues with multiple windows and OpenGL. CasualPokePlayer greatly helped me understand the problem, too. Basically, due to the way melonDS works, when using OpenGL, we create the GL context on the UI thread, then use it on the emu thread exclusively. This is so that the OpenGL renderers can access OpenGL without needing extra locking. Window redrawing is also done on the emu thread. The issue was due to how I originally implemented the multi-window mode. When a second window is created, it shares its GL context with its parent window. This way, everything OpenGL related will work on all windows. Except it turned out that the parent context was created on the UI thread, then made current on the emu thread, before the child context was created. Windows doesn't like that, and thus, fails to create the child context. So it took some reworking to get this working smoothly, but the issue is fixed now. This means that the proper 1.0 release will be soon -- for real. This issue was the last show stopper, basically. I also fixed a couple other issues. For one, I added a way to tell melonDS windows apart, since multi-window made things pretty confusing. So now they get a [p1:w1] type tag that says which instance and which window it is. I also fixed a bug with the way windows were parented for second multiplayer instances. I might try to fix some other misc. stability issues, if I can reproduce them. I will also likely rework the DSi camera timing model a bit, to fix a couple games. DSP HLE is tempting me, as a next project, but it won't be for 1.0. |
13 comments have been posted. |
< DSi bugfixesMore camera trouble... > |
cuddles says: Jun 28th 2025 |
the new melonds wordmark looks nice, very melon-y |
LEGO_Vince says: Jun 28th 2025 |
Hallelujah! I can finally check the latest releases again! |
Arisotura says: Jun 28th 2025 |
heh, thanks I have some ideas in mind for a more general website revamp too, but that'll take more time. I have a basic idea for a more informative homepage. I also want to add a wiki for all melonDS matters (compatibility, game info, etc). we'll see... |
Foxeh says: Jun 29th 2025 |
haha im so glad this has been fixed, i've always wanted to keep touch screen on my cintiq leaving the top screen on my monitor, so i can finally do that |
Guy says: Jun 29th 2025 |
Keep in mind texture dumping and replacement for the future please |
Pokemon says: Jun 29th 2025 |
Hi. I really like the emulator. However, there is a problem with the music. At the moment I am playing Pokemon White. If you do not use interpolation in the music there is a lot of noise, and if you use it in the music there is crackling. I read on the Internet that many have this problem. I tried everything and nothing helps :( |
Minessota Klei says: Jun 30th 2025 |
Thank you very much for all the work, I really like the emulator, it's the best (^o^)// Playing Yoshi's Island DS, really cool!!! |
Synthwave says: Jun 30th 2025 |
Hi im loving the emulator so far but i wanna ask one question, after i tried to quit a game my emulator froze and my anti virus wanted to trust the program with changing a file, i accepted and i had to but the game directory back and redo my controls. is this normal? |
Arisotura says: Jun 30th 2025 |
sounds like the antivirus caused melonDS to be run in some sandbox, where the settings/etc files were saved to a different path (or not saved at all) |
humanoi says: Jul 1st 2025 |
> rework the DSi camera What a great thing to say. If you can do that, and if "face training" works, you are the only God.i |
BlazingDiancie says: Jul 1st 2025 |
Definitely been out of the loop for a while, but 1.0 RC fixed BlazeBlack/VoltWhite 1? Legit, they just work now lol |
caxel says: Jul 5th 2025 |
I can imagine how hard that battle must have been. |
I have no ideas says: Jul 8th 2025 |
I've been playing multiplayer Dragon Quest IX with friends through Parsec using the multi-windows and it was already running super smoothly for how much of a fantasy this is! Does that mean it might run better now when using OpenGL instead of the software renderer? Great work! |