Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Locked thread
Suspicious Dish
Sep 24, 2011

2020 is the year of linux on the desktop, bro
Fun Shoe
Note that the Dolphin development team widely considers the D3D backend to be secondary to the OGL backend. We mostly work on the OGL backend and rely on community contributions for D3D.

Adbot
ADBOT LOVES YOU

Suspicious Dish
Sep 24, 2011

2020 is the year of linux on the desktop, bro
Fun Shoe
Nope. We automatically detect whether the game is a Gamecube game or a Wii game when you load it.

Suspicious Dish
Sep 24, 2011

2020 is the year of linux on the desktop, bro
Fun Shoe
Most of us develop on Linux because we're hardcore hackers so OGL is our first priority.

Suspicious Dish
Sep 24, 2011

2020 is the year of linux on the desktop, bro
Fun Shoe
I asked our devs and they've never heard of this bug before. Try using the latest nightly release on the OGL engine, with otherwise stock settings.

Suspicious Dish
Sep 24, 2011

2020 is the year of linux on the desktop, bro
Fun Shoe
As hardware gets more and more modern, we find that there's less tricky timing issues and weird system architectures. Most of the reverse engineering is spent at a high level figuring out how graphics are drawn. Given that on these systems plenty of debugging info and log messages are left in a lot of games and libraries, and since the 3DS uses dynamic linking, this can actually go quite fast: http://3dbrew.org/wiki/GPU_Commands

Suspicious Dish
Sep 24, 2011

2020 is the year of linux on the desktop, bro
Fun Shoe

SlayVus posted:

What backgrounds are usually required for the totality of completing an emulator? Like I see things like interpreters for translating CPU code to x86/x64, graphic interpreters. But wouldn't it be easier as we get closer to current gen consoles be better suited for making emulator for them? Considering that the ps4 and xb1 both use an x86 processor with a dx11 GPU.

The CPU JIT is rarely the difficult part. To start with, you usually start with a very slow interpreter, or just steal one from another project. PSP / Vita / DS / 3DS all use a stock ARM processor, and ARM's ISA really hasn't changed that much over the years, so that's already something you can get out of the gate.

The difficult part is figuring out how the system hooks together. Usually, you just pick a very simple game and try to get it running as far as it can without crashing, since that's the first step to get something on the screen. When the 3DS first came out, one of the free eShop games was really bad and we found how to hack their savefile to run code on it, which should basically never be possible, so we started to poke around the system with that.

Suspicious Dish
Sep 24, 2011

2020 is the year of linux on the desktop, bro
Fun Shoe
Whether the official MS stack will work for you is effectively chance. Basically, the PIN on Wiimotes is their serial number backwards, and sometimes that serial number includes a NUL byte. If it doesmanufactured, then it's very likely they are), then the MS bluetooth stack assumes that a NUL byte in the PIN means that the PIN stopped early, and you're toast. Toshiba's allows you to explicitly specify how long the PIN is.

Suspicious Dish
Sep 24, 2011

2020 is the year of linux on the desktop, bro
Fun Shoe
Citra is cool and I keep meaning to contribute to it. The 3DS architecture is so wacky and done right compared to the Wii.

Suspicious Dish
Sep 24, 2011

2020 is the year of linux on the desktop, bro
Fun Shoe

Kiggles posted:

You already played on a Wii, right, so does this mean the controls are sketchy in Dolphin? I ask because I never had troubles with the controls, and it was a big obnoxious argument when the game came out; some people could just never seem to "get" the controls while others had no issues. The only people who ever seemed to resolve the problem were those with obvious wireless interference issues. If it's just Dolphin, bummer. I'm hoping to eventually get all of these wire peripherals hooked up to the PC and replaying Skyward Sword, it would be frustrating if going to the trouble ends up being mostly a waste of time.

the motion controls, even when working correctly, get extremely tiring after a while.

Suspicious Dish
Sep 24, 2011

2020 is the year of linux on the desktop, bro
Fun Shoe
Other M had motion controls?

Suspicious Dish
Sep 24, 2011

2020 is the year of linux on the desktop, bro
Fun Shoe
ah, right, IR pointy thingy. i usually only think of waggle for motion controls.

they're two entirely separate mechanisms.

Suspicious Dish
Sep 24, 2011

2020 is the year of linux on the desktop, bro
Fun Shoe
You can poke around and extract files from the ISO somewhere in the menus of Dolphin. Assuming you find the music in some compatible format, you can then use vgmstream to rip it.

Or just grab an existing rip: https://mega.co.nz/#!QgQwTKpD!rOnSJ74LtY37MO8RKfeWZfGi-Xptj6DKh5ZKOqBVr14

Suspicious Dish
Sep 24, 2011

2020 is the year of linux on the desktop, bro
Fun Shoe
the wiimote speaker emitted garbage on a real wii, too

Suspicious Dish
Sep 24, 2011

2020 is the year of linux on the desktop, bro
Fun Shoe
Yep. It was a big shock to a lot of us. She had apparently been battling with depression for a long time.

Suspicious Dish
Sep 24, 2011

2020 is the year of linux on the desktop, bro
Fun Shoe
Please stop having lfchat in the Dolphin thread over a person's suicide. Thank you.

Suspicious Dish
Sep 24, 2011

2020 is the year of linux on the desktop, bro
Fun Shoe
There is, but it's effectively a new version of the game and might not load correctly. If you're curious, you can use a hex editor and edit the first bits of the .gci file.

Suspicious Dish
Sep 24, 2011

2020 is the year of linux on the desktop, bro
Fun Shoe
that build is loving trash lmao don't use it

Suspicious Dish
Sep 24, 2011

2020 is the year of linux on the desktop, bro
Fun Shoe
it's forked from a super old version of dolphin and works by basically special-casing every single popular game and writing code for that

Suspicious Dish
Sep 24, 2011

2020 is the year of linux on the desktop, bro
Fun Shoe
the dude updates it sporadically and fairly regularly, you're still effectively running a version of dolphin from well over two years ago without any of our recent fixes, with per-game hacks on top

Suspicious Dish
Sep 24, 2011

2020 is the year of linux on the desktop, bro
Fun Shoe

Xander77 posted:

What's the equivalent of pointing your wiimote down with the mouse What do you need to do with the mouse to approximate the instructions "point your wiimote down"? I tried pointing the mouse cursor pretty much everywhere on the screen, including the toolbar, and the game simply won't recognize what I'm trying to do.

The mouse corresponds to the IR bar, which is used for accurate pointing. Pointing the wiimote down would be using the accelerometer controls.

Suspicious Dish
Sep 24, 2011

2020 is the year of linux on the desktop, bro
Fun Shoe

Admiral H. Curtiss posted:

I'm very happy that this is finally fixed, it has annoyed me for a long time. And it was such a simple thing, too, once I realized what was happening!

It didn't help that every report of the issue was always brushed off as "well maybe the game doesn't support PAL60 then" or similar.

Thanks for all your hard work on fixing this!

Suspicious Dish
Sep 24, 2011

2020 is the year of linux on the desktop, bro
Fun Shoe
Does it happen on all games? What audio backend are you using?

Suspicious Dish
Sep 24, 2011

2020 is the year of linux on the desktop, bro
Fun Shoe
I have no idea what "frame pacing problems" are. Can you give an example of muted colors? I can think of a few reasons but a screenshot would help a lot.

Suspicious Dish
Sep 24, 2011

2020 is the year of linux on the desktop, bro
Fun Shoe
Performance problems heavily depend on the game, your GPU/graphics card, and plenty of other factors. Not much we can say generally, without knowing the exact specifics.

widespread posted:

Also, why must this game have such a huge compromise in the loading stages? It's either 10 mins on Licensed by Nintendo or a black menu.

The game does stupidly slow thing where it pokes the license screens one pixel at a time and then reads back the value. It's fast on the Gamecube since it's all memory-mapped, but it's slow on actual GPUs for silly reasons. We recently added a new EFB poke implementation in OpenGL, so try that.

Suspicious Dish
Sep 24, 2011

2020 is the year of linux on the desktop, bro
Fun Shoe
Are you sure you're using OpenGL? It was merged back at the end of May. https://github.com/dolphin-emu/dolphin/pull/2357

Suspicious Dish
Sep 24, 2011

2020 is the year of linux on the desktop, bro
Fun Shoe

Im_Special posted:

I like how when finally v5.0 of Dolphin gets released, it will be completely pointless!

what do you mean

Suspicious Dish
Sep 24, 2011

2020 is the year of linux on the desktop, bro
Fun Shoe
you can test the development builds and file bugs on those if you have issues with dolphin

everything we've been doing has been to improve game compatibility, performance, and accuracy

Suspicious Dish
Sep 24, 2011

2020 is the year of linux on the desktop, bro
Fun Shoe
It's a recent bug with how we do EFB copies. We're still looking into it. Try using a slightly older dev build for now.

Suspicious Dish
Sep 24, 2011

2020 is the year of linux on the desktop, bro
Fun Shoe
What you're mostly running into with stuttering is shader compiles. We're (slowly, it's a hard problem) working on ubershaders, but in the meantime, simply playing through the game will eventually help the stutter, since we do cache the compiled shader binary.

Suspicious Dish
Sep 24, 2011

2020 is the year of linux on the desktop, bro
Fun Shoe
The thing that's exciting about DX12 isn't that we now support DX12, it's that supporting DX12 is forcing us to clean up our code so it suits modern GPUs and drivers better, because we just have to do things correctly. So expect to see performance improvements across the board because of cleanups in VideoCommon.

Suspicious Dish
Sep 24, 2011

2020 is the year of linux on the desktop, bro
Fun Shoe
XAudio is crashing? Try using a different audio backend and updating your sound card drivers.

Suspicious Dish
Sep 24, 2011

2020 is the year of linux on the desktop, bro
Fun Shoe
Have you filed bugs on either of these?

Suspicious Dish
Sep 24, 2011

2020 is the year of linux on the desktop, bro
Fun Shoe
http://bugs.dolphin-emu.org/

Suspicious Dish
Sep 24, 2011

2020 is the year of linux on the desktop, bro
Fun Shoe
It's around if you go to the forums or the wiki. We don't plaster it all over the homepage simply because we already actually get a lot of bug reports and they tend to be fairly low-quality.

Suspicious Dish
Sep 24, 2011

2020 is the year of linux on the desktop, bro
Fun Shoe
Bad bug report: https://bugs.dolphin-emu.org/issues/9536

Good bug report: https://bugs.dolphin-emu.org/issues/9554

Suspicious Dish
Sep 24, 2011

2020 is the year of linux on the desktop, bro
Fun Shoe
The biggest issue with N64 emulation is that it's just not what PCs do today. The Gamecube's graphics chip (GX) isn't that far of a stretch from a modern GPU, but the N64 is a dizzying array of RSP/RDP, texture tile memory, manual DMAing, and other tricks that aren't quite like what GPUs should do.

Additionally, the RSP is programmable, and developers can upload their own "microcode". While some emulators do try to run that code directly ("LLE"), it's slow, and so most emulators just rewrite the microcode in C++.

I think we've discovered around 16 microcodes in active use, total. Rare, in particular, was fond of making a lot of changes to the microcode -- Rare accounts for 4 out of those 16.

Suspicious Dish
Sep 24, 2011

2020 is the year of linux on the desktop, bro
Fun Shoe
switch to OpenGL

Suspicious Dish
Sep 24, 2011

2020 is the year of linux on the desktop, bro
Fun Shoe
nah, Vulkan won't help Dolphin, since the ways in which we're CPU bound won't really be fixed by Vulkan

Suspicious Dish
Sep 24, 2011

2020 is the year of linux on the desktop, bro
Fun Shoe
are you using the 5.0rc build, or the final 5.0 one?

your gpu might not support bbox either, that might be a thing

Adbot
ADBOT LOVES YOU

Suspicious Dish
Sep 24, 2011

2020 is the year of linux on the desktop, bro
Fun Shoe

SatansBestBuddy posted:

Using the memory card as a bit of extra RAM?

A very common trick is to use the audio DSP's RAM (ARAM) as an extra 16MB of memory. On a system with only 24MB of memory to begin with, this is quite notable.

  • Locked thread