Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
34 user(s) are online (21 user(s) are browsing Forums)

Members: 0
Guests: 34

more...

Support us!

Headlines

 
  Register To Post  

« 1 ... 28 29 30 (31) 32 33 34 ... 36 »
Re: BSzili port requests
Home away from home
Home away from home


See User information
@Hans and BSzili
In protect the SDL code: but we have a lot of sdl and sdl+opengl apps/games, where is no such problems with fps drop when it used with or without audio. I mean, if SDL are root case, then problems should happens in every sdl+opengl game/app.

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: BSzili port requests
Just popping in
Just popping in


See User information
We've seen in the last couple of years all sorts of interesting projects on Kickstarter which aren't very demanding graphics-wise and could run on most systems. The most recent name that comes to mind is Thimbleweed Park (old scholl pixelelated point and click) by Ron Gilbert. Gilbert was never actually an amigan even if his best versions always came on the Amiga. He always talks in his blog about retro gaming and his love for old games and pixelated games. Wouldn't it be great to do a port on release? he can say that a port for AmigaOne is being made which could in turn make people look at it as a potentially new Monkey Island level game.

Go to top
Re: BSzili port requests
Quite a regular
Quite a regular


See User information
@kas1e
That is not necessarily true, but I only repeated what Hans said, I have no FPS drop from the audio.

This is just like television, only you can see much further.
Go to top
Re: BSzili port requests
Quite a regular
Quite a regular


See User information
@Srtest
Don't be fooled by the looks, a lot of these games are built on top of modern technologies (programmable shaders, etc.) to make use of the GPU. It could use a proprietary closed source engine, or middleware.
Anyway, if you can negotiate a deal with Ron Gilbert and Gary Winnick and there are no technical barriers, I could probably do the port.


Edited by BSzili on 2015/4/22 8:37:48
This is just like television, only you can see much further.
Go to top
Re: BSzili port requests
Home away from home
Home away from home


See User information
@kas1e
Quote:
In protect the SDL code: but we have a lot of sdl and sdl+opengl apps/games, where is no such problems with fps drop when it used with or without audio. I mean, if SDL are root case, then problems should happens in every sdl+opengl game/app.

Not necessarily. Different games use SDL differently, so it's very possible for many games to have no trouble, while one or two do. I don't know exactly what runs in SDL's audio task, so I can't say for sure.

Obviously, the root cause could be Homeworld's audio code, since it is the only SDL game to exhibit this behaviour. SDL on other OSes don't set the audio task's priority so high, possibly because those OSes have a fairness algorithm that can help ensure that it still gets enough CPU time. So it's quite possible that Homeworld's audio code somehow expects a certain delay until the audio task gets the CPU again.

Whatever the case, I think that an audio task priority of 15 is escessive. That's higher than some important OS tasks, including device driver tasks.

Hans

Join Kea Campus' Amiga Corner and support Amiga content creation
https://keasigmadelta.com/ - see more of my work
Go to top
Re: BSzili port requests
Quite a regular
Quite a regular


See User information
@Hans
The buffer refill callbacks are run in the SDL audio thread.

This is just like television, only you can see much further.
Go to top
Re: BSzili port requests
Quite a regular
Quite a regular


See User information
Perhaps the priority is high just to catch this sort of thing. :P

Go to top
Re: BSzili port requests
Home away from home
Home away from home


See User information
@BSzili

Quote:
The buffer refill callbacks are run in the SDL audio thread.

And what happens when that code gets CPU time but the buffers are already full or there isn't any new data?

Incidentally, where is the audio mixing done? In a separate task?

I did some profiling of the W3D_SI driver, and when audio is enabled in Homeworld then certain operations that should be done within to several microseconds get delayed by up to 0.1-0.2 seconds! When the audio driver is disabled then things drop back to normal.

Hans

Join Kea Campus' Amiga Corner and support Amiga content creation
https://keasigmadelta.com/ - see more of my work
Go to top
Re: BSzili port requests
Quite a regular
Quite a regular


See User information
@Hans
The source code is worth a thousand words: https://github.com/timdetering/Homewor ... b/master/src/SDL/smixer.c

As you've said it's not a problem on other platforms, because
1) they don't set a very high priority for the SDL audio thread, that could potentionally interfere with system processes
2) they potentially have more sophisticated scheduling.

This is just like television, only you can see much further.
Go to top
Re: BSzili port requests
Amigans Defender
Amigans Defender


See User information
@Hans

i'll take a look at SDL audio problem soon i return at home from hospital (and i have a lot of work for you.. ;)

i'm really tired...
Go to top
Re: BSzili port requests
Amigans Defender
Amigans Defender


See User information
@Hans

Quote:

I did some profiling of the W3D_SI driver, and when audio is enabled in Homeworld then certain operations that should be done within to several microseconds get delayed by up to 0.1-0.2 seconds! When the audio driver is disabled then things drop back to normal.


That's why my Homeworld port has no sound

i'm really tired...
Go to top
Re: BSzili port requests
Quite a regular
Quite a regular


See User information
@afxgroup
Are you sure the audio code Homeworld SDL not being endian savvy has nothing to do with it? :D

This is just like television, only you can see much further.
Go to top
Re: BSzili port requests
Amigans Defender
Amigans Defender


See User information
@BSzili

yes i know but i have disabled it in the past because it was stuttered. i've ported a lot of games that works only on little endian mode

i'm really tired...
Go to top
Re: BSzili port requests
Quite a regular
Quite a regular


See User information
@afxgroup
I didn't ask that because I doubt your capabilities, but because the version you've sent me lacked any big-endian fixes in the mixer, streamer, sound code, etc.
The one I worked on has almost 100% functional sound, but the random unit speak trashes the mixer's memory. If you want to revisit Homeworld at any time, I can send you my version, maybe you can figure out what's going on there.

This is just like television, only you can see much further.
Go to top
Re: BSzili port requests
Amigans Defender
Amigans Defender


See User information
@BSzili

uhm. maybe that version was old. yes pls. send it to me i'll take a look asap

i'm really tired...
Go to top
Re: BSzili port requests
Home away from home
Home away from home


See User information
@afxgroup

You are one of the maintainers of OS4SDL, right?

Could you maybe export it to GitHub before it gets deleted with the rest of GoogleCode?

Would be sad if we lose all the changes already done

Go to top
Re: BSzili port requests
Home away from home
Home away from home


See User information
@Raziel
I already export it to github few weeks ago just in case:
https://github.com/kas1e/os4sdl

I also ask Xeron about, but have no answer. So just done with it myself, to avoid loose of code.

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: BSzili port requests
Quite a regular
Quite a regular


See User information
@afxgroup
That would be awesome! Where can I send it to you? My mail got bounced back from your @amigasoft.net address.

This is just like television, only you can see much further.
Go to top
Re: BSzili port requests
Home away from home
Home away from home


See User information
@kas1e

Awesome, thanks a lot

Go to top
Re: BSzili port requests
Amigans Defender
Amigans Defender


See User information
@BSzili

Check PM.

For all others. i've closed my andrea@amigasoft.net email since it was only spam

i'm really tired...
Go to top

  Register To Post
« 1 ... 28 29 30 (31) 32 33 34 ... 36 »

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project