Skip to contentSkip to conversation

What is the bottleneck?

Qemu-devel Stefan Kombrink 3 participants 5 messages Sep 29, 2004 – Sep 30, 2004

lore
Share & tools
lore
#0 lore raw

Hi,

I'm very impressed by the functionality of qemu at the current state of
development. It's easier to handle than vmware or win4lin, but still slower.

Running win98 I got the impression that the speed is sometimes limited by graphics operations, whichs makes me wonder, because SDL should use the hardware acceleration capabilities of the graphics cards.
Will it be possible to speed up graphics simply by improving the driver or are memory transfers the bottleneck?

greetings,
Stefan K. >8^)

#1 lore raw

The bottleneck IS the graphics AFAICT: just try running some Unix-like OS on console mode, non-framebuffer mode.

I've read on more than one occasion that having better graphics support is planned, probably emulating a reasonably modern and capable video card, like the SiS 6326 (IIRC).

If you have some knowledge in that area and is willing to help, you're more than welcome :)

cheers,

Signature · 2 lines
"A year spent in artificial intelligence is enough to make one believe in God"
Alan J. Perlis
Quoted 14 lines · Stefan Kombrink

Hi,

I'm very impressed by the functionality of qemu at the current state of
development. It's easier to handle than vmware or win4lin, but still slower.

Running win98 I got the impression that the speed is sometimes limited by graphics operations, whichs makes me wonder, because SDL should use the hardware acceleration capabilities of the graphics cards.
Will it be possible to speed up graphics simply by improving the driver or are memory transfers the bottleneck?

greetings,
Stefan K. >8^)

#2 lore raw
Quoted 6 lines · André Braga

The bottleneck IS the graphics AFAICT: just try running some Unix-like OS on console mode, non-framebuffer mode.

I've read on more than one occasion that having better graphics support is planned, probably emulating a reasonably modern and capable video card, like the SiS 6326 (IIRC).

I had a look at the cirrus rop code, it's not optimized yet, even in CVS. I think that's the problem.

I don't know the hardware specs of the cirrus, but where's the limit of its hardware support?
Is it really necessary to implement a new graphics card?
Area copying and area filling is already possible, although not optimized.

This question might be stupid but why not using
SDL_FillRect(...) and
SDL_BlitSurface(....).
?

I think SDL accelerates these operations if supported by your driver.

Quoted 3 lines

If you have some knowledge in that area and is willing to help, you're more than welcome :)

No promises yet....
These lines look diffcult to me >8^)

Quoted 3 lines

cheers,

bye
Stefan K. >8^)

#3 lore raw
Quoted 6 lines · Stefan Kombrink

I had a look at the cirrus rop code, it's not optimized yet, even in CVS. I think that's the problem.

I don't know the hardware specs of the cirrus, but where's the limit of its hardware support?
Is it really necessary to implement a new graphics card?

It's not necessary, but it's desirable if it's done in a "high level" way, like mapping primitive card instructions to some high-level acceleration API, like DirectX, OpenGL or Quartz.

Quoted 8 lines

Area copying and area filling is already possible, although not optimized.

This question might be stupid but why not using
SDL_FillRect(...) and
SDL_BlitSurface(....).
?

I think SDL accelerates these operations if supported by your driver.

I think it's because at the time nobody bothered to implement those, and I sincerely don't know how the video emulation is done. I just observed its effects.

Quoted 2 lines

No promises yet....
These lines look diffcult to me >8^)

Think of all the good karma you'll get when people start smiling because of your work to improve QEMU ^_^

cheers,

Signature · 3 lines
"Dealing with failure is easy: Work hard to improve. Success is also
easy to handle: You've solved the wrong problem. Work hard to improve"
Alan J. Perlis
#4 lore raw
In reply to Stefan Kombrink

On Wed, 2004-09-29 at 23:03, Stefan Kombrink wrote:

Hi,

Quoted 2 lines

I'm very impressed by the functionality of qemu at the current state of development. It's easier to handle than vmware or win4lin, but still slower.

Na endlich sieht man sich auch mal außerhalb der Uni *ggg*

CU

Olly