Home  
Login
Username:

Password:

Remember me



Lost Password?

Register now!
Sections
Who's Online
19 user(s) are online (10 user(s) are browsing Forums)

Members: 0
Guests: 19

more...
Support us!
Recent OS4 Files
OS4Depot.net



« 1 ... 28 29 30 (31) 32 33 »


Re: BSzili port requests
Home away from home
Joined:
2007/9/11 11:31
From Russia
Posts: 3846
@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.

   Report Go to top

Re: BSzili port requests
Just popping in
Joined:
2014/11/21 2:30
From Israel
Posts: 12
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.

   Report Go to top

Re: BSzili port requests
Not too shy to talk
Joined:
2013/10/17 15:21
From Hungary
Posts: 383
@kas1e
That is not necessarily true, but I only repeated what Hans said, I have no FPS drop from the audio.

_________________
Arguments that explain everything... explain nothing.
   Report Go to top

Re: BSzili port requests
Not too shy to talk
Joined:
2013/10/17 15:21
From Hungary
Posts: 383
@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 7:37:48
_________________
Arguments that explain everything... explain nothing.
   Report Go to top

Re: BSzili port requests
Just can't stay away
Joined:
2007/1/26 21:48
From New Zealand
Posts: 1617
@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

_________________
http://hdrlab.org.nz/ - Amiga OS 4 projects, programming articles and more.
http://keasigmadelta.co.nz/ - more of my software.
   Report Go to top

Re: BSzili port requests
Not too shy to talk
Joined:
2013/10/17 15:21
From Hungary
Posts: 383
@Hans
The buffer refill callbacks are run in the SDL audio thread.

_________________
Arguments that explain everything... explain nothing.
   Report Go to top

Re: BSzili port requests
Quite a regular
Joined:
2007/2/27 10:47
From Gravity well
Posts: 517
Perhaps the priority is high just to catch this sort of thing. :P

   Report Go to top

Re: BSzili port requests
Just can't stay away
Joined:
2007/1/26 21:48
From New Zealand
Posts: 1617
@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

_________________
http://hdrlab.org.nz/ - Amiga OS 4 projects, programming articles and more.
http://keasigmadelta.co.nz/ - more of my software.
   Report Go to top

Re: BSzili port requests
Not too shy to talk
Joined:
2013/10/17 15:21
From Hungary
Posts: 383
@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.

_________________
Arguments that explain everything... explain nothing.
   Report Go to top

Re: BSzili port requests
Amigans Defender
Joined:
2006/12/2 13:27
From Taranto, Italy
Posts: 892
@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...
   Report Go to top

Re: BSzili port requests
Amigans Defender
Joined:
2006/12/2 13:27
From Taranto, Italy
Posts: 892
@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...
   Report Go to top

Re: BSzili port requests
Not too shy to talk
Joined:
2013/10/17 15:21
From Hungary
Posts: 383
@afxgroup
Are you sure the audio code Homeworld SDL not being endian savvy has nothing to do with it? :D

_________________
Arguments that explain everything... explain nothing.
   Report Go to top

Re: BSzili port requests
Amigans Defender
Joined:
2006/12/2 13:27
From Taranto, Italy
Posts: 892
@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...
   Report Go to top

Re: BSzili port requests
Not too shy to talk
Joined:
2013/10/17 15:21
From Hungary
Posts: 383
@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.

_________________
Arguments that explain everything... explain nothing.
   Report Go to top

Re: BSzili port requests
Amigans Defender
Joined:
2006/12/2 13:27
From Taranto, Italy
Posts: 892
@BSzili

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

_________________
i'm really tired...
   Report Go to top

Re: BSzili port requests
Home away from home
Joined:
2006/11/26 21:45
From A haunted Castle somewhere in the Bavarian Mountains
Posts: 2482
@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

_________________
If slaughterhouses had glass walls, everyone would be a vegetarian. ~ Sir Paul McCartney
-
Did everything just taste purple for a second? ~ Philip J. Fry
-
Ain't got no cash, ain't got no style, ladies vomit when I smile. ~ Dr. John Zoidberg
   Report Go to top

Re: BSzili port requests
Home away from home
Joined:
2007/9/11 11:31
From Russia
Posts: 3846
@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.

   Report Go to top

Re: BSzili port requests
Not too shy to talk
Joined:
2013/10/17 15:21
From Hungary
Posts: 383
@afxgroup
That would be awesome! Where can I send it to you? My mail got bounced back from your @amigasoft.net address.

_________________
Arguments that explain everything... explain nothing.
   Report Go to top

Re: BSzili port requests
Home away from home
Joined:
2006/11/26 21:45
From A haunted Castle somewhere in the Bavarian Mountains
Posts: 2482
@kas1e

Awesome, thanks a lot

_________________
If slaughterhouses had glass walls, everyone would be a vegetarian. ~ Sir Paul McCartney
-
Did everything just taste purple for a second? ~ Philip J. Fry
-
Ain't got no cash, ain't got no style, ladies vomit when I smile. ~ Dr. John Zoidberg
   Report Go to top

Re: BSzili port requests
Amigans Defender
Joined:
2006/12/2 13:27
From Taranto, Italy
Posts: 892
@BSzili

Check PM.

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

_________________
i'm really tired...
   Report Go to top


« 1 ... 28 29 30 (31) 32 33 »



[Advanced Search]


Powered by XOOPS 2.0 © 2001-2014 The XOOPS Project