T2K and VLM emulator: updated 12/2/07 to version 0.06b

Everything to do with our favourite pastime! Reviews, recommendations, sells/swaps, problems etc. Whether they are on the latest consoles, arcade or retro classics. It's not the winning or losing, we came to play!
Post Reply
User avatar
Firefox
Sheepie Whore
Sheepie Whore
Posts: 11412
Joined: Fri Apr 26, 2002 6:15 pm 0
Location: Sheffield

Post by Firefox »

Oi! Mr Dio!

Fancy updating the link to the Linux build at the start of this thread to this one? The build you've got linked there at the minute has the extremely wobbly frame rate lock.

Ta! :D
User avatar
Dio
Sheepie Whore
Sheepie Whore
Posts: 18887
Joined: Mon May 31, 2004 1:08 pm 0
Location: Newcastle UK

Post by Dio »

Done.

I really need to find a few hours to put some work in on it - fix the StretchRect stuff, update the framesync with something that Raymond Chen pointed out that will hopefully eliminate all the messing about with Yield and keep the sound stable, and fix the sound capture which I have manage to break if the meter is off, then get another release done.
User avatar
Firefox
Sheepie Whore
Sheepie Whore
Posts: 11412
Joined: Fri Apr 26, 2002 6:15 pm 0
Location: Sheffield

Post by Firefox »

Cheers Dio! The first build you linked to was a bit embarrassingly drunken - I'd neglected to take into account the granularity of the SDL delay function when I wrote the frame rate lock. The newer build feels 100% identical to the Windows version.

No pressure from me for a new T2K release! I'm only missing .wav playing now and it should be a five minuter to rebuild with new emulator cores, so whenever's good for you.

That said, it has gone rather quiet on the T2K front the last couple of weeks. I asked Gravy to put me on the mailing list but I don't think he's done it... Have I missed anything?
User avatar
Dio
Sheepie Whore
Sheepie Whore
Posts: 18887
Joined: Mon May 31, 2004 1:08 pm 0
Location: Newcastle UK

Post by Dio »

Not a jot, my son. Some might guess some of the reasons I've been extraordinarily busy, and only half of it's down to Newcastle United :D.

I am slightly worried that my serious blitter and timing loop surgery has hurt performance a bit though. I can't remember the numbers I had for the previous build but I think it's gone up a bit.

Boots AvP and a couple of other games now though. Hangs on the video, except once in debug build and I fixed something and broke that. That's in the WTF bug pile.
User avatar
toxibunny
Baaaaaaa!
Baaaaaaa!
Posts: 5906
Joined: Thu Jun 17, 2004 11:59 pm 0
Location: limb clock land

Post by toxibunny »

I get an error message:

Image


? :?
User avatar
Dio
Sheepie Whore
Sheepie Whore
Posts: 18887
Joined: Mon May 31, 2004 1:08 pm 0
Location: Newcastle UK

Post by Dio »

Is that Windows 2000? I've no idea if it works on pre-XP machines. I'm pretty certain it won't work on 98 or ME.
User avatar
toxibunny
Baaaaaaa!
Baaaaaaa!
Posts: 5906
Joined: Thu Jun 17, 2004 11:59 pm 0
Location: limb clock land

Post by toxibunny »

ah well. :(
User avatar
Dio
Sheepie Whore
Sheepie Whore
Posts: 18887
Joined: Mon May 31, 2004 1:08 pm 0
Location: Newcastle UK

Post by Dio »

Which was it?

In good news, though, I've definitely fixed the Radeon 7000/7500 (and hopefully the integrated graphics) problems, which transpired to be a very minor piece of stupidity involving caps (and I can't work out exactly whose stupidity it is).
Dave
Baaaaaaa!
Baaaaaaa!
Posts: 8035
Joined: Mon Apr 22, 2002 6:35 pm 0

Post by Dave »

The Linux port didn't work in RedHat Enterprise Linux 3, running in VMWare on top of Windows XP Pro. ;)
User avatar
Firefox
Sheepie Whore
Sheepie Whore
Posts: 11412
Joined: Fri Apr 26, 2002 6:15 pm 0
Location: Sheffield

Post by Firefox »

Dave wrote:The Linux port didn't work in RedHat Enterprise Linux 3
Ah-ha, an actual bug report for me to get my teeth into! :D

Have you got SDL installed? I must admit that I forgot to mention that in the Readme.

What does it say if you change to the T2K directory and enter "ldd ./t2k"?
Dave wrote:running in VMWare on top of Windows XP Pro. ;)
It might be a smidge slow, but I can't see any fundamental reason why it shouldn't run in VMWare.
User avatar
Dio
Sheepie Whore
Sheepie Whore
Posts: 18887
Joined: Mon May 31, 2004 1:08 pm 0
Location: Newcastle UK

Post by Dio »

Actually there might be if the VM is really, really slow.

The 0.04 version kind of explodes if the PC it's running on is way too slow, because it tries to give the DSP enough horsepower to keep the sound running without crackle and doesn't really realise it can't - the DSP gets 10000 timeslices for every 1 68K and GPU timeslice and it really doesn't enjoy it.

0.05 will be fixed a bit in this area - now I think the DSP can't consume more than twice the cycles it's supposed to be on relative to the GPU.
Dave
Baaaaaaa!
Baaaaaaa!
Posts: 8035
Joined: Mon Apr 22, 2002 6:35 pm 0

Post by Dave »

Firefox wrote:
Dave wrote:The Linux port didn't work in RedHat Enterprise Linux 3
Ah-ha, an actual bug report for me to get my teeth into! :D

Have you got SDL installed? I must admit that I forgot to mention that in the Readme.

What does it say if you change to the T2K directory and enter "ldd ./t2k"?
That's where it crashed. I'll get back to you on it hopefully later today after I get home from work.

:thinks for a moment:

I have the blasted image on my iPod. :plugs it in and boots VMware:

It's RedHat Enterprise Edition 3.0 with all of the default packages installed (every one), no updates of any sort applied to it. Logged in as root. When I run things, I get this message:

Code: Select all

#  ./t2k "t2k.jag"
argv[1] (t2k.jag)
new_eeprom_name (t2k.jag.eeprom)
Segmentation fault
#  
And then dumps me back to the prompt. If I run it again, same exact error.
Firefox wrote:
Dave wrote:running in VMWare on top of Windows XP Pro. ;)
It might be a smidge slow, but I can't see any fundamental reason why it shouldn't run in VMWare.
Unless it's speaking to some sort of specific hardware, there probably shouldn't be an issue. VMWare controls hardware at level 0, and hands out control at level 1 for the Windows Host and Linux Guest in terms of hardware access (AFAIK). VMWare Tools is installed and working fine (otherwise networking won't work, video modes are limited, etc...)

Then again, I've never run an emulator inside of an emulator like this before. VMWare is slower than running directly on hardware, but not much slower considering my setup (lots of RAM, and the Guest Linux OS is running off of an external iPod drive (USB 2.0) - RAM and hard drive access are the two biggest factors in VMWare running slow).[/code]
Dave
Baaaaaaa!
Baaaaaaa!
Posts: 8035
Joined: Mon Apr 22, 2002 6:35 pm 0

Post by Dave »

Dio wrote: the DSP gets 10000 timeslices for every 1 68K and GPU timeslice and it really doesn't enjoy it.
That's a bad DSP!!! [/cartman]
User avatar
Firefox
Sheepie Whore
Sheepie Whore
Posts: 11412
Joined: Fri Apr 26, 2002 6:15 pm 0
Location: Sheffield

Post by Firefox »

Dave wrote:It's RedHat Enterprise Edition 3.0 with all of the default packages installed (every one), no updates of any sort applied to it. Logged in as root. When I run things, I get this message:

Code: Select all

#  ./t2k "t2k.jag"
argv[1] (t2k.jag)
new_eeprom_name (t2k.jag.eeprom)
Segmentation fault
#  
And then dumps me back to the prompt. If I run it again, same exact error.
I'm semi-glad I forgot to tidy up my debugging fprintf's now... But that's a weird place for it to segfault. I'm guessing it's blowing up when SDL tries to initialise. SDL should return an error code if it can't start with the configuration I've asked for, not blow up though...

What does it say when you change to your T2K directory and type "ldd ./t2k"?

I should really do a statically-linked build when I have a minute (which will probably the weekend at the earliest now...)
User avatar
Junosix
Baaaaa!
Baaaaa!
Posts: 1959
Joined: Sun Jul 14, 2002 4:12 pm 0
Location: Plymouth

Post by Junosix »

Men - this is flipping brilliant :D

I'm running it on Ubuntu Breezy on P-M 1.4 - sound isn't choppy as such, but lopes a bit. Is that just my machine?

:D

:D
wicked skills
Post Reply