The CPU usage doesn't spike a bit when mousing through the menus as quickly as possible.Emulation is running in windowed mode,VSync is enabled,CPU load is at 15% or below.Increasing the audio latency fourfold doesn't help a bit.Definitely a Qt4 bug.byuu wrote:Just curious here ... other than the "other programs do it" argument -- why do you even expect that to work well? It requires multi-threading right off the bat as Windows locks the thread that calls Get/PeekMessage() once the menubar is clicked on, and the OS itself tends to eat up a lot of resources drawing the menus and such. It'd require quite a bit more buffering (eg latency) to avoid, which is probably what other programs do. That, or as sinamas said, it could be a Qt-specific issue that raw Win32 programming avoids.
How often do you run through the menu when playing a game, anyway? I've never heard anyone complain about what happens when you're navigating menus. Half of the emulators I use pause the emulation while in them.
Gambatte 0.5.0-wip2 released
Moderator: General Mods
Last edited by kick on Sat Nov 01, 2008 2:52 am, edited 1 time in total.
[i]Have a nice kick in da nutz[/i] @~@* c//
At least nVidia keeps every single OpenGL extension intact for all their cardsfranpa wrote:Kick, you DO know that the Nvidia 180 driver series drops support for anything below the 8 series of cards? I wouldn't call that backwards support, hell they dropped support for the tnt2 and riva cards ages ago too.
That's why even their newest cards can run all the legacy OpenGL stuff.
[i]Have a nice kick in da nutz[/i] @~@* c//
Some suggestions / feature requests for the next version:
- Save all settings to a .cfg / .ini file instead of dumping all the stuff in the registry.It would also make the emulator portable.Very important.
- 'Reset to Defaults' button for the sound,video and input settings.
- Independent DMG colors for all 4 graphics layers as in bgb.Gambatte has only 3 at the moment.
- An option to disable the 'Recent ROMs' list.
- Not necessary,but cool to have: DMG (mono) speaker simulation:
Downmixed mono output + very limited audio bandwidth (can be done even now by setting the sample rate to 12kHz or below) + a little reverb + hum + distortion = real GB sound
- Save all settings to a .cfg / .ini file instead of dumping all the stuff in the registry.It would also make the emulator portable.Very important.
- 'Reset to Defaults' button for the sound,video and input settings.
- Independent DMG colors for all 4 graphics layers as in bgb.Gambatte has only 3 at the moment.
- An option to disable the 'Recent ROMs' list.
- Not necessary,but cool to have: DMG (mono) speaker simulation:
Downmixed mono output + very limited audio bandwidth (can be done even now by setting the sample rate to 12kHz or below) + a little reverb + hum + distortion = real GB sound
[i]Have a nice kick in da nutz[/i] @~@* c//
It's been proven by a guy on the Nvidia forums that the Geforce 6600gt will run the games fine with early XP drivers (every single one before the first 1xx one). the 1xx drivers removed the display mode (or whatever it was called) that the games depended on. (I haven't actually tested this myself, but I did notice that older games got worse as more and more driver updates appeared for my own 6600gt which now lives in my dads PC.)
I would link to it but the NVIDIA search function is now broken since they updated the forum a week or 2 ago.
edit: this thread which I haven't noticed before (http://forums.nvidia.com/index.php?show ... 4101&st=40) may actually lead to Nvidia fixing the damn issue's in there drivers. (sure the thread is about the new 260/280 cards but it affects the 8800's too.)
I would link to it but the NVIDIA search function is now broken since they updated the forum a week or 2 ago.
edit: this thread which I haven't noticed before (http://forums.nvidia.com/index.php?show ... 4101&st=40) may actually lead to Nvidia fixing the damn issue's in there drivers. (sure the thread is about the new 260/280 cards but it affects the 8800's too.)
Core i7 920 @ 2.66GHZ | ASUS P6T Motherboard | 8GB DDR3 1600 RAM | Gigabyte Geforce 760 4GB | Windows 10 Pro x64
Don't forget a high-pass filter to remove bass, since the tiny speaker had hardly any.kick wrote:Some suggestions / feature requests for the next version:
[...]
- Not necessary,but cool to have: DMG (mono) speaker simulation:
Downmixed mono output + very limited audio bandwidth (can be done even now by setting the sample rate to 12kHz or below) + a little reverb + hum + distortion = real GB sound :)
Appears to be a pitch bug that remained from the original HqXx source code. Fixed in SVN.kick wrote:- When using the D3D renderer and enabling one of the HQxX filters,you get this
The _exact_ same thing happens on my CGB too. The current level of Gambatte's DMG accuracy is about at the level of a CGB running a DMG game, or slightly higher in some cases. This won't change until I'm able to do some DMG testing. For the next couple of months there's no place on my schedule for that at least.kick wrote:- The first three lines of the displayed image are flashing when a sprite touches them.A lot of games are affected.
Not sure what you're talking about here, as I can't see anything. It's probably due to the Game Boy's high latency LCD.kick wrote:- Kid Icarus: Just after the opening story scrolls to the end and the title screen appears,part of the 'Kid Icarus' fonts appear briefly at the bottom of the screen as tile garbage.
I've said before that I may do that. But what's this stuff about portability? Can't you just export/import registry keys instead?kick wrote:- Save all settings to a .cfg / .ini file instead of dumping all the stuff in the registry.It would also make the emulator portable.Very important.
I've addressed this before. There's no such thing as "all 4 graphics layers". The DMG has exactly 3 palettes, and that's what you're getting. If I really wanted to, I could hack in a separate palette for every single tile.kick wrote:- Independent DMG colors for all 4 graphics layers as in bgb.Gambatte has only 3 at the moment.
Not gonna happen.kick wrote:- An option to disable the 'Recent ROMs' list.
I can pretty much promise you this won't happen. I may do the internal high-pass filter though.kick wrote:- Not necessary,but cool to have: DMG (mono) speaker simulation:
Downmixed mono output + very limited audio bandwidth (can be done even now by setting the sample rate to 12kHz or below) + a little reverb + hum + distortion = real GB sound
As for ATI driver poo poo, hacking around obvious driver bugs would be really low priority and something I'd rather not have to do at all, whether it's related to vsync, rendering or anything else.
There may not be much I can do about audio underruns besides compromising.
@franpa: Any update on the slowdown issue? Did you try the things I suggested?
EDIT:
Duh. Vsync isn't expected to be underrun resistant when you're not strictly playing or your drivers are broken. There are basically three options to make it more resistant:kick wrote:VSync is enabled
1. Skip frames when the buffer is low.
2. Resample to a higher sample rate, which causes more frame duplication.
3. Disable vsync momentarily if the buffer is low. Unfortunately, this often isn't possible without reinitializing the video engine, which could cause both latency, defeating the purpose, and graphical disturbances.
Last edited by sinamas on Sat Nov 01, 2008 10:07 am, edited 1 time in total.
Does exporting also delete the keys? how can you run the file on multiple computers without leaving a trace?sinamas wrote:I've said before that I may do that. But what's this stuff about portability? Can't you just export/import registry keys instead?kick wrote:- Save all settings to a .cfg / .ini file instead of dumping all the stuff in the registry.It would also make the emulator portable.Very important.
Core i7 920 @ 2.66GHZ | ASUS P6T Motherboard | 8GB DDR3 1600 RAM | Gigabyte Geforce 760 4GB | Windows 10 Pro x64
By deleting the registry keys and the appdata folder.franpa wrote:Does exporting also delete the keys? how can you run the file on multiple computers without leaving a trace?sinamas wrote:I've said before that I may do that. But what's this stuff about portability? Can't you just export/import registry keys instead?kick wrote:- Save all settings to a .cfg / .ini file instead of dumping all the stuff in the registry.It would also make the emulator portable.Very important.
sinamas wrote:@franpa: Any update on the slowdown issue? Did you try the things I suggested?
-
- Seen it all
- Posts: 2302
- Joined: Mon Jan 03, 2005 5:04 pm
- Location: Germany
- Contact:
Yeah, but that goes for all programs, portable or not.
A truly portable app doesn't require the user to do that by hand - either by automating it, or not storing its data in these places.
A truly portable app doesn't require the user to do that by hand - either by automating it, or not storing its data in these places.
vSNES | Delphi 10 BPLs
bsnes launcher with recent files list
bsnes launcher with recent files list
by "portable," they mean "able to run, fully self-contained, off a usb flash drive (or other storage device)." any and all configuration settings would generally be saved in the program directory. this way, all you have to do is pop in your drive and run the program - all of your settings etc. are there with no "residue" left on the system.sinamas wrote:By deleting the registry keys and the appdata folder.franpa wrote:Does exporting also delete the keys? how can you run the file on multiple computers without leaving a trace?sinamas wrote:I've said before that I may do that. But what's this stuff about portability? Can't you just export/import registry keys instead?kick wrote:- Save all settings to a .cfg / .ini file instead of dumping all the stuff in the registry.It would also make the emulator portable.Very important.
Last edited by odditude on Sat Nov 01, 2008 6:24 pm, edited 1 time in total.
Why yes, my shift key *IS* broken.
-
- Locksmith of Hyrule
- Posts: 3634
- Joined: Sun Aug 08, 2004 7:49 am
- Location: 255.255.255.255
- Contact:
really is it that hard to delete the executable, config (except registry) and readmes?
<Nach> so why don't the two of you get your own room and leave us alone with this stupidity of yours?
NSRT here.
NSRT here.
To make an app truly portable, you'd have to keep the config file in the same folder as the binary; which isn't going to work well on Linux, where the binary folder is usually read-only to users. It also breaks multi-user support when you do that; though it does allow multiple configuration modes for the same user (eg multiple copies of the binary in different folders for per-game settings.)
There are tools out there which can be used to make an app portable / USB stick friendly. They basically encapsulate a binary + mini-registry + file-system (lots of DLL hooks), and leave no traces on whatever machine they are run on. These apps even work on big programs like Photoshop.
It'd probably be best to let the few worried about privacy use those, and the rest to not have to spawn lots of config files along with the emulator.
There are tools out there which can be used to make an app portable / USB stick friendly. They basically encapsulate a binary + mini-registry + file-system (lots of DLL hooks), and leave no traces on whatever machine they are run on. These apps even work on big programs like Photoshop.
It'd probably be best to let the few worried about privacy use those, and the rest to not have to spawn lots of config files along with the emulator.
Nice.So it wasn't an ATI driver bug at all.Looking forward to the next bugfix releasesinamas wrote: Appears to be a pitch bug that remained from the original HqXx source code. Fixed in SVN.
That glitch may happen on a CGB,but it does not on my DMG.Besides using bgb,KiGB and other GB emulators,I test all those games on my DMG as well.sinamas wrote: The _exact_ same thing happens on my CGB too. The current level of Gambatte's DMG accuracy is about at the level of a CGB running a DMG game, or slightly higher in some cases. This won't change until I'm able to do some DMG testing. For the next couple of months there's no place on my schedule for that at least.
That means I'll still have to use 2 different emus for GB emulation: bgb for accurate DMG / SuperGB emulation and Gambatte for CGB (only for a few months)
Looks like I'll have to post a screenshot of that one too.sinamas wrote: Not sure what you're talking about here, as I can't see anything. It's probably due to the Game Boy's high latency LCD.
That would be awesome.kick wrote: I've said before that I may do that. But what's this stuff about portability? Can't you just export/import registry keys instead?
Portable = the application doesn't leave a single trace in the registry.Instead,it stores all its settings in a config file that resides in the same directory as the application.So you can put those files on a USB flash drive,use it on any computer and when you remove the USB drive the PC is left as it was before.
That would be really cool.Optimal colorization adds a lot of replay value to old DMG classics.kick wrote:If I really wanted to, I could hack in a separate palette for every single tile.
If saving to .cfg file is implemented,there would be no need for this feature.sinamas wrote:Not gonna happen.kick wrote:- An option to disable the 'Recent ROMs' list.
Mono output and highpass filter is all that's neededsinamas wrote: I can pretty much promise you this won't happen. I may do the internal high-pass filter though.
[i]Have a nice kick in da nutz[/i] @~@* c//
I don't know how many months it'll be. I've got other things to do with my time too, and it'll probably be a lot of work. There are more than 1500 test files in the hwtest directory at the minute, most of which I'll have to rework. And then, depending on the nature of the differences, a clean implementation could require a lot of consideration. We don't want lots of duplicate code, and we don't want too many DMG conditionals throughout the code.kick wrote:only for a few months
If it's very brief then there's no chance in hell that the slow ass Game Boy LCD would be able to react in time to show it. I don't consider lack of LCD simulation a bug at this point, and most DMG bugs aren't really interesting right now since they're due to the current CGB level accuracy limit. Another area of bugs I don't care for are those caused by unsupported MBCs, or wrongly identified MBCs. A lot of custom MBCs are marked as MBC1/MBC5 in the ROM header even though they're not compatible.kick wrote:Looks like I'll have to post a screenshot of that one too.
EDIT: That said, I just frame-stepped through the intro, which revealed nothing.
-
- ZSNES Developer
- Posts: 3904
- Joined: Tue Jul 27, 2004 10:54 pm
- Location: Solar powered park bench
- Contact:
Real???kick wrote: - Not necessary,but cool to have: DMG (mono) speaker simulation:
Downmixed mono output + very limited audio bandwidth (can be done even now by setting the sample rate to 12kHz or below) + a little reverb + hum + distortion = real GB sound
Wear head phones!
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
_____________
Insane Coding
-
- ZSNES Developer
- Posts: 3904
- Joined: Tue Jul 27, 2004 10:54 pm
- Location: Solar powered park bench
- Contact:
I don't get it.odditude wrote:fixedNach wrote:Wear shitty head phones!
I've always worn good headphones when I was playing on my DMG. Why would I want mono when I could have stereo? Some games had really excellent music which the built in speaker just wasn't cut out for.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
_____________
Insane Coding
-
- Inmate
- Posts: 1751
- Joined: Mon Dec 06, 2004 7:47 am
- Location: WA
misinterpreted. i thought you meant "recreate the shitty DMG speaker in the emulator by wearing crappy headphones," not "the DMG audio was just fine if you had decent headphones."Nach wrote:I don't get it.odditude wrote:fixedNach wrote:Wear shitty head phones!
I've always worn good headphones when I was playing on my DMG. Why would I want mono when I could have stereo? Some games had really excellent music which the built in speaker just wasn't cut out for.
edit: yeah, what sweener said.
Why yes, my shift key *IS* broken.