Main > Main Forum
2nd Display Software fail
gamepimp:
Actually I would take both. I am trying to learn Java so that I can create a replacement program that works similar to MM but would be better suited for my setup. Ur source might give me a good foundation that I can build on. But in case I find programming too complex for my small brain, having the EXE handy would be great as well. :)
matsadona:
--- Quote from: ids on October 12, 2012, 09:45:08 am ---My guess - which I'll confirm asap - is that on my desktop, the JVM is using video hardware, and on the cab, it's not, due to the USB based monitor.
--- End quote ---
Well, it should be a significant difference running on the two (different) platforms. One the first one you have a dedicated GPU that handles the gfx. On the second you have no GPU, so the main CPU has to do that. If it is a lower spec PC the difference should be even more notable.
ids:
--- Quote from: gamepimp on October 15, 2012, 07:22:19 am ---Actually I would take both. I am trying to learn Java so that I can create a replacement program that works similar to MM but would be better suited for my setup. Ur source might give me a good foundation that I can build on. But in case I find programming too complex for my small brain, having the EXE handy would be great as well. :)
--- End quote ---
Sorry, somehow missed this earlier. Sure, will provide both. Please tolerate a few days delay as I try to clean it up and tweak a few more things. If you are new to Java, I'm not sure that this is something you want to jump into, as it is both a bit messy, and not very representative of typical programs. If newish to programming overall, the code might prove challenging. I could be wrong, I've been doing this stuff for a very, very long time. Anyway, I will probably just post the code here when I feel she's ready for public viewing without too much humiliation. If you can compile java, then no need for the "jar" file executable as well. At that time I guess I should also post some basic info, such as the expectation for a history.dat, clone info, etc....
gamepimp:
Sounds good. I'm newish to programming in general, but eager to learn and know that it will take some time to really grasp it. But hopefully taking a look at an example program whose purpose is to display images as well as videos on multiple displays might provide some pointers for me. My brother is a programmer and will undoubtedly mentor me thru the process. And perhaps if I'm just not able to grasp it, I might see if ur willing to tweak the program to do what I want it to do. ;) Thx again!
ids:
--- Quote from: matsadona on October 15, 2012, 07:40:23 am ---Well, it should be a significant difference running on the two (different) platforms. One the first one you have a dedicated GPU that handles the gfx. On the second you have no GPU, so the main CPU has to do that. If it is a lower spec PC the difference should be even more notable.
--- End quote ---
Sure enough, there is no hardware accel w/ a USB monitor, and the difference IS noticeable. However, it does report having some capabilities, like double buffering and such. It's a bit of a challenge developing on a decent PC and then wondering how it will perform on a crappy one. Interestingly, it also requires ~10+% CPU on my mac laptop, which is probably because the intel graphics are being used, rather than flipping to the good hardware. Full screen mode would probably change that.
I have just added some additional optimizations. On the good PC, sorting Task Mgr by CPU, the process is often so far down the list i have to scroll down to find it - on a 1920x1200 monitor, that's a lot of processes using more cpu. They all show as 0%, but, instead of being in the top 5 with 0%, it's off the list most of the time. Of course, it spikes when loading and scaling images, but the animation part is good. Scrolling history still needs a bit of CPU, however - that hovers around 1% but is not as optimized at this point.
Just ran a loop trying all games with instruction cards, for testing purposes - took a while, but no noticeable bugs. That was for 359 zip files claiming to include instruction cards, pulled from Mr. Do's site.
A clean, more optimal version will be posted here soon. Not feature complete, but workable.