logs archiveBotHelp.net / Freenode / #3dsdev / 2015 / September / 12 / 3
aliaspider
maybe the difference is with the firmware and not the NH version itself, did someone also test NH2.0 on 9.0 N3DS to see if it brings higher performance gains too ?
endrift
I believe smea has
anyway I've theorized up a bit of a storm here
maybe I should go back to sleep
seeing as I'm working on not-nearly-enough-sleep at the moment
profi200
So far all tries to find out where that comes from lead to nothing.
Yesterday i tried catsfc. It runs fullspeed everywhere but the sound is inaccurate and it seems to spam speedhacks at every game which make them too fast.
aliaspider
yeah the sound is inaccurate, it has the old snes9x sound emulation which is very bad
there is an option to compile it with the blargg apu though, which should give it accurate sound, although Im not sure if it will still run at fullspeed
profi200
If it would not have that speedhack crap and proper sound it could compete with blargSnes.
Is implementing scaling planned and if yes any timeframe?
*scaling options
I would disable that. The current scaling is inacceptable for properly playing anything.
aliaspider
scaling is very low priority at the moment :P
both scaling and vsync, I'm trying to get proper dynarec working first
I didn't even know that palyable speeds were possible until 3 days ago, when people reported double speed on the new 3ds
*playable
huh it links now with the old config when I used git submodule update , OK I must have messed up something before
no need to change anything, works fine
ups sry wrong channel :)
Bond697
[10:02:32] <endrift> I wonder if the scheduler is forcing out the game thread more often
[10:02:43] <endrift> relative to CPU gains
the scheduler is identical between n3ds and o3ds
[08:55:51] <endrift> I increased the CpuAffinity and IdealCpu limits from 1 to 3 and added an option to set bit 13 in the flags section
and access to core 2 lets you spawn threads on core2, that's it
profi200
N3DS black magic
endrift
my changes to makerom might want to get merged regardless, since they verifiably break nothing
and might want to get used by people eventually + increase correctness
even if they aren't imminently useful
profi200
endrift: Well, played a few hours and out of nowhere it froze. So it's not fixed but just appears more rarely.
endrift
I know
wait, on 10.0 you mean?
profi200
Yes.
endrift
ughhhhhhhhhh
Even after yuriks did the GPU overhaul it still freezes
profi200
That's the kind of bug we all like :p
endrift
and there's no exception ever
profi200
This was my own old build. I did not try the newest yet.
endrift
profi200: yuriks confirmed this. The GPU overhaul hasn't been merged
profi200
10.0 brings the better stability. Doubt it's his GPU stuff :p
endrift
he's been doing it on 9.2
I think?
anyway
wtf could the problem be
profi200
inb4headdest if you find out later
Like always with such bugs :p
endrift
but here's the thing
the 3DS port isn't that big in that codepath
and I've looked it over multiple times
aliaspider
does it freeze withotu sound too ? I remember some csnd functions to cause a random freeze.
like this one https://github.com/mgba-emu/mgba/blob/master/src/platform/3ds/main.c#L276
any csnd function that calls csndExecCmds(true)
endrift
aliaspider: it was freezing with sound off, but I "fixed" that freeze
I can try...redoing that somehow
aliaspider: how much do you know about csnd?
aliaspider
not much, only enough to be able to play sound xD
if you look at the source of csndExecCmds, youll see an infinite polling loop, and sometimes the break condition never happens
endrift
yeah I saw
hm
I'll try refactoring the code to obviate that func call
aliaspider
try without calling it first to see if it is really the reason
endrift
aliaspider: it takes hours to freeze
aliaspider
oh :(
profi200
Try on <1.0 then.
*10.0
endrift
yeah true I have an O3DS on 9.2
profi200
On 10.0 it is playable i would say. It just goes fu after some time.
endrift
time to leave them for 3 hours
(Action) leaves O3DS plugged in
profi200
lol
endrift
nevermind O3DS already froze
profi200
:>
That escalated quickly.
endrift
clearly
oops the N3DS just froze too
I guess I made it worse
aliaspider
:/
profi200
It seems to depend also on the game. Some games freeze earlierr as others. I guess that's because how good they run.
endrift
okay, NOW leaving it for hours
profi200
inb4freeze after some minutes
endrift
well it's been like 10 minutes now
instead of 5
profi200
*drumroll*
aliaspider
you disabled all the csnd code ?
endrift
yes
aliaspider
still no freeze ?
endrift
not yet
gonna leave it for an hour or two
which is how long it often takes
aliaspider
kk
endrift
still going
been going for about an hour
gonna leave it for another ~2 hours
aliaspider
so that kinda confirms it then, csnd was the cause
endrift
no it doesn't
sadly
aliaspider
why ?
endrift
it took ~2 hours for it to freeze before I made any changes a few days ago
aliaspider
i thought the freeze happens in less than an hour on o3DS
ah you're testing on n3DS only ?
« prev 1 2 3 4 next »