Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
112 user(s) are online (96 user(s) are browsing Forums)

Members: 2
Guests: 110

NinjaCyborg, hlt, more...

Support us!

Headlines

 
  Register To Post  

(1) 2 »
why not Dosbox with overlay and composition
Quite a regular
Quite a regular


See User information
I was thinking about ...strange no one do it , can someone make this small upgrade to Dosbox 0.74 for AmigaOs4 ?

Go to top
Re: why not Dosbox with overlay and composition
Home away from home
Home away from home


See User information
@tlosm

Probably the same reason that mplayer does not have composition support yet.

(NutsAboutAmiga)

Basilisk II for AmigaOS4
AmigaInputAnywhere
Excalibur
and other tools and apps.
Go to top
Re: why not Dosbox with overlay and composition
Quite a regular
Quite a regular


See User information
@LiveForIt

No know how to do?

Go to top
Re: why not Dosbox with overlay and composition
Home away from home
Home away from home


See User information
@tsolm

There bunch of:

-- its not "small upgrade" and its not little easy task for few minutes
-- no skilled devs (those who skilled, are busy with everything already)
-- no one can say that adding of compositing/overlay to dosbox will in any way speed it up, as its all mostly cpu based loading and only faster cpu or jit will help: but that need developer's time and tests => all the usual answers :)



Edited by kas1e on 2013/11/26 8:07:53
Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: why not Dosbox with overlay and composition
Just can't stay away
Just can't stay away


See User information
@kas1e

+ 1

Two software I never saw before. Someone may want to use them:
www.gnu.org/software/libjit/
http://www.gnu.org/software/lightning/manual/lightning.html

Philippe 'Elwood' FERRUCCI
Sam460ex 1.10 Ghz
http://elwoodb.free.fr
Go to top
Re: why not Dosbox with overlay and composition
Just can't stay away
Just can't stay away


See User information
@kas1e

Yes, I was thinking exactly the same thing. I really doubt compositing or overlay would speed up the whole thing.

I'll ask Corto about this specific topic.

--
AmigaONE X1000 and Radeon RX 560
Go to top
Re: why not Dosbox with overlay and composition
Just popping in
Just popping in


See User information
Compositing is hardware-accelerated while other is CPU render only.

In a Hollywood-Script i wrote for a test i got these resultes:

http://amigaworld.net/modules/newbb/v ... opic_id=36878&forum=32&19

The Demo is always hardware-accelerated, without it you can divide all screenrates by 10.


Edited by Rigo on 2013/11/26 11:05:30
Go to top
Re: why not Dosbox with overlay and composition
Quite a regular
Quite a regular


See User information
@tlosm
Overlays would make scaling faster, but if you don't use that it won't do much for you.

This is just like television, only you can see much further.
Go to top
Re: why not Dosbox with overlay and composition
Quite a regular
Quite a regular


See User information
@kas1e

I dont know i see very big speed improving with composition and Overlay in Basilisk II graphic rendering .. Live4it Basilisk II is a true example :)

@bszili

In dosbox i see big difference in rendering speed if i swap 16 to 256 colors the performances degrase and become 1/8
Probably with compositing will become more faster because the use of the gpu for rendering and not the only cpu.
About overlay i know but scaled a winodw 320x240 to 640x480 will be for sure more faster of a 640x480 emulated ;)

Go to top
Re: why not Dosbox with overlay and composition
Quite a regular
Quite a regular


See User information
@fingus

composition is faster on New HD cards on Old radeon serie is very slow.

Go to top
Re: why not Dosbox with overlay and composition
Home away from home
Home away from home


See User information
@tlosm

Quote:
Probably with compositing will become more faster because the use of the gpu for rendering and not the only CPU.


But there is one problem, and it hard to explain but I try anyway.

An emulator is divided into tasks or processes, some of memory in not sheared like real video memory, real video memory is what composition needs.

The CPU emulation runs in one task / process, the video emulation runs in another.
So for this to work there are two steps.

First copy system memory to video memory.
And then composite on to the screen (actually you can't render into a window, you most render over it).

Copy to video memory, then display, it should be similar in speed as rendering into video memory whit the CPU.

There is how ever two benefits to it, system memory is faster for the CPU to access then then Video memory (so CPU emulation speeds up a tiny bit), and you can scale the display output using hardware.

Full screen mode is faster than composition, if you do not need to convert the graphics, because you get a combination, the screen mode display graphics in the right resolution, and you get direct access. If you do not need to use picasso96 lock/unlock bitmap.

(NutsAboutAmiga)

Basilisk II for AmigaOS4
AmigaInputAnywhere
Excalibur
and other tools and apps.
Go to top
Re: why not Dosbox with overlay and composition
Quite a regular
Quite a regular


See User information
@LiveForIt

Thanks for explain it :)

Go to top
Re: why not Dosbox with overlay and composition
Not too shy to talk
Not too shy to talk


See User information
Hi all
I haven't thought about that when I ported DosBox. And I have to say I have never played with compositing and overlay

But you can be sure the CPU pressure is due to the x86 CPU emulation. The display is really hard to improve (like other parts in DosBox) because of the spaghetti code (effects or resizing on pixels done in macros calling macros ...).

So I don't know what I can really do. But if Basilik sources are available I would be pleased to have a look at these parts.

For higher performance, JIT could be an idea (but difficult because there is no doc and no easy debug mechanism). And few other ideas could be checked too.

Go to top
Re: why not Dosbox with overlay and composition
Quite a regular
Quite a regular


See User information
@corto
Thanks corto for the job you did :)
I have on Xe 933 a really good emulation , i can run fast windows 95 and inside of it can play Avi (old indeo) video clips and run game in multitasking dos mode with win 95 at 640x480x4(16colors) (look like a real peeceee 486 66mhz)
the only problems is when i make win95 run in 256 and hi color mode the speed drop down really much and make the emulation unusable.


The best dosbox config after my test on Xe 933is for have audio-video sync and fast:

core:normal
cpu: pentium_slow
vga:svga_noflb
cycles:6500

Look like the gfx rendering with more of 16 colors is the big gap of dosbox.


Edited by tlosm on 2013/11/28 12:10:51
Go to top
Re: why not Dosbox with overlay and composition
Not too shy to talk
Not too shy to talk


See User information
>About overlay i know but scaled a winodw 320x240 to 640x480 will be for sure more faster of a 640x480 emulated ;)

So try Aminet/CloneWindow : It is maded to clone a window/screen to an other resizable window with Compositing
Perhaps it will works with dosbox... (but it dont works with basilisk)

Alain Thellier

Go to top
Re: why not Dosbox with overlay and composition
Home away from home
Home away from home


See User information
@thellier

Quote:
So try Aminet/CloneWindow : It is maded to clone a window/screen to an other resizable window with Compositing, Perhaps it will works with dosbox... (but it dont works with basilisk)


Hi Alain I looked at CloneWindow code when I write the composition modes in Basilisk II, but it's not the same code, its simplified.

(NutsAboutAmiga)

Basilisk II for AmigaOS4
AmigaInputAnywhere
Excalibur
and other tools and apps.
Go to top
Re: why not Dosbox with overlay and composition
Home away from home
Home away from home


See User information
@corto

Yes the code is OS4Depot.net if you like to look.
It should be the latest (if it was not rejected.)

if you do not find the code in video code, then send me a PM.

(NutsAboutAmiga)

Basilisk II for AmigaOS4
AmigaInputAnywhere
Excalibur
and other tools and apps.
Go to top
Re: why not Dosbox with overlay and composition
Quite a regular
Quite a regular


See User information
@LiveForIt

i see this on dosbox readme :P

* Ideas for the future / to do

- Improve access to the x86 registers
- Activate OpenGL
- Check CDROM access

will be great have this improvments and better/faster video rendering ;) ;) ;)(

Go to top
Re: why not Dosbox with overlay and composition
Home away from home
Home away from home


See User information
@tlosm

Well in that case composition is bad choice, it's not 3D it's just a way to draw bitmaps using the GPU.

I think the future for all emulators are JIT, this the only way go get more out if etch CPU cycle.

OpenGL does not make sense if you can't emulate Windows95/98 at a good speed.

(NutsAboutAmiga)

Basilisk II for AmigaOS4
AmigaInputAnywhere
Excalibur
and other tools and apps.
Go to top
Re: why not Dosbox with overlay and composition
Home away from home
Home away from home


See User information
@LiveForIt

Quote:
@tlosm

Well in that case composition is bad choice, it's not 3D it's just a way to draw bitmaps using the GPU.


Bad choice for what? Compositing is perfect for rescaling low-resolution screens to large windows without wasting extra CPU cycles.

Quote:
I think the future for all emulators are JIT, this the only way go get more out if etch CPU cycle.

OpenGL does not make sense if you can't emulate Windows95/98 at a good speed.

AFAIK, DOSBox doesn't provide OpenGL to the emulated environment, but can use OpenGL to scale and display the emulated screen. I'd say that compositing is a better option, as it's simpler and has lower overhead (no need to set up an OpenGL state). For example, MiniGL doesn't support non-power-of-two-textures, so using it for scaling a 320x240 screen would result in huge wastage (a 512x256 texture for a 320x240 screen).

Hans

Join Kea Campus' Amiga Corner and support Amiga content creation
https://keasigmadelta.com/ - see more of my work
Go to top

  Register To Post
(1) 2 »

 




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




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project