Hi.
I think it may be the same regression I also saw in another app. At least it seems to be in that place too. Can you check if this patch helps?
Maxime Bellengé wrote: > Hi Stephan, > > Since this patch has been commited to git I have a big regression in the > game Syberia. Everything is black. Nothing is displayed expected some > menu items. > > In order to determine that this is this patch which is the problem I did > a "git bisect". > > Maxime
Hi,
Yes the problem is fixed with this patch although I have millions traces like this one :
err:d3d_surface:IWineD3DSurfaceImpl_BltOverride Unexpected render target -> render target blit
It makes the game slow whereas before wine 0.9.51 if I remember exactly, the game was fast without this message. Maybe this trace should be made a warn instead of en error ?
Maxime
On Sat, 2007-12-29 at 02:32 -0800, Alexander Dorofeyev wrote:
Hi.
I think it may be the same regression I also saw in another app. At least it seems to be in that place too. Can you check if this patch helps?
Maxime Bellengé wrote: > Hi Stephan, > > Since this patch has been commited to git I have a big regression in the > game Syberia. Everything is black. Nothing is displayed expected some > menu items. > > In order to determine that this is this patch which is the problem I did > a "git bisect". > > Maxime
I don't have this game, so I can't check myself, but I think that the reason of slowdown may be not only that a err message is printed, but also because it exists with error, and that means it will have to do slower, software blit. But in older versions in this situation it would try hardware accelerated blit, I think.
Can you try commenting or removing the line with ERR() to check? It's wine/dlls/wined3d/surface.c:2976. If the game is still slower than it used to be, another thing you can try is also comment/remove 'return ...' statement just after that ERR and see what happens. After more careful look at that code, it looks to me both ERR and return there may be a mistake, because it causes regular texture -> render target blits not to happen in hardware, but it will be safer if you test first if it works at all without these lines :).
Maxime Bellengé wrote:
Hi,
Yes the problem is fixed with this patch although I have millions traces like this one :
err:d3d_surface:IWineD3DSurfaceImpl_BltOverride Unexpected render target -> render target blit
It makes the game slow whereas before wine 0.9.51 if I remember exactly, the game was fast without this message. Maybe this trace should be made a warn instead of en error ?
Here are the results :
- Without ERR : slightly faster but not really a big difference - Without the return statement : back to normal, the game is 3 times faster. The difference in the main menu is really impressive.
Maxime
On Sat, 2007-12-29 at 21:24 -0800, Alexander Dorofeyev wrote:
I don't have this game, so I can't check myself, but I think that the reason of slowdown may be not only that a err message is printed, but also because it exists with error, and that means it will have to do slower, software blit. But in older versions in this situation it would try hardware accelerated blit, I think.
Can you try commenting or removing the line with ERR() to check? It's wine/dlls/wined3d/surface.c:2976. If the game is still slower than it used to be, another thing you can try is also comment/remove 'return ...' statement just after that ERR and see what happens. After more careful look at that code, it looks to me both ERR and return there may be a mistake, because it causes regular texture -> render target blits not to happen in hardware, but it will be safer if you test first if it works at all without these lines :).
Maxime Bellengé wrote:
Hi,
Yes the problem is fixed with this patch although I have millions traces like this one :
err:d3d_surface:IWineD3DSurfaceImpl_BltOverride Unexpected render target -> render target blit
It makes the game slow whereas before wine 0.9.51 if I remember exactly, the game was fast without this message. Maybe this trace should be made a warn instead of en error ?