On Mon, 2005-07-18 at 19:02 +0100, Oliver Stieber wrote:
Hi,
This patch implements the use of PBuffers for offscreen textures. The fads in Pirates should now appear fullscreen, the dx9_offscreen_rendering tutorial has an odd problem with ATI's drivers, clicking the window and moving the mouse will cause the tutorial to render properly, I haven't found anything else with this problem yet and I don't currently have a workaround.
Registry entries and options in winecfg to change to enable and disable pbuffers will be added in a later patch.
Regression in HL2: http://ivan.ivg2.net/scr.png Screen is almost completely white - no textures.
New messages (maybe?):
...
fixme:d3d9:IDirect3DDevice9Impl_CreateSurface (0x7ff6b940) call to IWineD3DDevice_CreateSurface failed fixme:d3d9:D3D9CB_CreateSurface (0x7ff6b940) IDirect3DDevice9_CreateSurface failed fixme:d3d:IWineD3DDeviceImpl_CreateTexture Failed to create surface 0x7d161620 fixme:d3d9:IDirect3DDevice9Impl_CreateTexture (0x7ff6b940) call to IWineD3DDevice_CreateTexture failed
.... fixme:d3d_shader:IDirect3DDevice9Impl_SetVertexShader Disabled 0x7ff6b940
On Wednesday 20 July 2005 01:57, Ivan Gyurdiev wrote:
On Mon, 2005-07-18 at 19:02 +0100, Oliver Stieber wrote:
Hi,
This patch implements the use of PBuffers for offscreen textures. The fads in Pirates should now appear fullscreen, the dx9_offscreen_rendering tutorial has an odd problem with ATI's drivers, clicking the window and moving the mouse will cause the tutorial to render properly, I haven't found anything else with this problem yet and I don't currently have a workaround.
Registry entries and options in winecfg to change to enable and disable pbuffers will be added in a later patch.
Regression in HL2: http://ivan.ivg2.net/scr.png Screen is almost completely white - no textures.
New messages (maybe?):
....
fixme:d3d9:IDirect3DDevice9Impl_CreateSurface (0x7ff6b940) call to IWineD3DDevice_CreateSurface failed fixme:d3d9:D3D9CB_CreateSurface (0x7ff6b940) IDirect3DDevice9_CreateSurface failed fixme:d3d:IWineD3DDeviceImpl_CreateTexture Failed to create surface 0x7d161620 fixme:d3d9:IDirect3DDevice9Impl_CreateTexture (0x7ff6b940) call to IWineD3DDevice_CreateTexture failed
..... fixme:d3d_shader:IDirect3DDevice9Impl_SetVertexShader Disabled 0x7ff6b940
can you provide more traces (all CreateSurface related traces: context errors, glx errors, ...) ?
Regards, Raphael
can you provide more traces (all CreateSurface related traces: context errors, glx errors, ...) ?
Hi,
The reason for CreateSurface failure is that it runs out of memory... I think this used to occur before the patch, and I just didn't notice it - Oliver said it creates surfaces until it runs out of memory. If trace is enabled, it shows the memory going down until: WARN("Out of 'bogus' video memory\n");
That still doesn't explain the white screen, however - that's a pbuffer related regression. There are no FIXME messages that I haven't seen before - and the trace is 90 MB large, and I don't know what to look for. I do _not_ see a trace saying "Error in setting current context".
--- Raphael fenix@club-internet.fr wrote:
On Wednesday 20 July 2005 01:57, Ivan Gyurdiev wrote:
On Mon, 2005-07-18 at 19:02 +0100, Oliver Stieber wrote:
Hi,
This patch implements the use of PBuffers for offscreen textures. The fads in Pirates should now appear fullscreen, the dx9_offscreen_rendering tutorial has an odd problem with ATI's drivers, clicking the window and moving the mouse will cause the tutorial to render properly, I haven't found anything else with this problem yet and I don't currently have a workaround.
Registry entries and options in winecfg to change to enable and disable pbuffers will be added in a later patch.
Regression in HL2: http://ivan.ivg2.net/scr.png Screen is almost completely white - no textures.
I expect this is caused by states not being in sync between the pbuffer and old buffer, or textures not being loaded properly... I've just sent in a patch that should correct the latter.
New messages (maybe?):
....
fixme:d3d9:IDirect3DDevice9Impl_CreateSurface (0x7ff6b940) call to IWineD3DDevice_CreateSurface failed fixme:d3d9:D3D9CB_CreateSurface (0x7ff6b940) IDirect3DDevice9_CreateSurface failed fixme:d3d:IWineD3DDeviceImpl_CreateTexture Failed to create surface 0x7d161620 fixme:d3d9:IDirect3DDevice9Impl_CreateTexture (0x7ff6b940) call to IWineD3DDevice_CreateTexture failed
I'll change those to warns once I'm sure that memory management and object tracking is working properly, creating the texture and surface failed because there wasn't enough bogus memory. Halflife uses this to guestamate how much memory the graphics card has.
..... fixme:d3d_shader:IDirect3DDevice9Impl_SetVertexShader Disabled 0x7ff6b940
can you provide more traces (all CreateSurface related traces: context errors, glx errors, ...) ?
Regards, Raphael
___________________________________________________________ Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com
I expect this is caused by states not being in sync between the pbuffer and old buffer, or textures not being loaded properly... I've just sent in a patch that should correct the latter.
Re-tested HL2 today, pbuffer white screen regression is gone.