Expack3 wrote:The only thing I can think of is running the game to run in a window, which if the game doesn't support that, you can force usin […] Show full quote
Daninthemix wrote:
Quick question - G-Police crashes if you task switch (so if it loses focus, when you switch back to it it crashes). Can DgVoodoo prevent that at all? Could it hide the task switch from the game, and force the game to keep running as if it had focus?
Thanks
The only thing I can think of is running the game to run in a window, which if the game doesn't support that, you can force using the dgVoodoo2 configuration program:
Go to the "General" tab.
Under appearance, select "Windowed".
Optionally, or if the game still does not run in a window:
Go to the "DirectX" tab.
Under "Behavior", make sure "Application-controlled fullscreen/windowed state" is unchecked.
Thanks so much for taking the time to reply. I am forcing Windowed mode using DgVoodoo already, but the game still crashes when you switch back to it (in-game that is. On the main menu screen it doesn't).
Super Bubsy (Bubsy in: Claws Encounters of the Furred Kind enhanced port for Windows 95) throws a white screen. Its probably not related to graphics at all, since it exhibits the same problem without dgVoodoo.
DXWnd does not launch the game at all. Works fine through PCEM/DOSBOX + W95, of course.
So im facing a special opportunity since my PC is dead for the rest of the month, until my bday.
i've been trying to play WC3 and other DDRAW games in my old and busted Inspiron 1545, but games like wing commander II doesnt work on it, it CTD's right after it starts, while stuff like nglide works well with other games like Wing Commander Prophecy, red baron 3d and Tachyon the fringe.
also this laptop is using Win10, and the video card is a intel WDDM1.1.
- Adding shader code (DXBC) generator for DirectX modules, for fast code generating, to avoid
stuttering/freezing arising from shader compiling on the rendering thread.
The external D3DCompiler is not needed anymore but can be useful because the compiler generates
slightly better optimized code than me. 😀
You can configure dgVoodoo to
- use only its internal code generator (default)
- use internal code generator and external compiler in cooperative mode
- rely only on the external compiler (like in previous versions)
- A new experimental option is added for GDI hooking (game movies rendered through the old AVI player lib)
I tested it only with PanzerDragon (works) and Nocturne (doesn't work). This feature is still to be developed and it's in an
initial state so don't expect it to work generally now. I started working on it but shortly after I decided to work on
the DXBC generator instead.
- Regression bugs caused by the latest refactoring are fixed
(crash in LithTech engine games with dynamic lighting enabled, crash in NFS Most Wanted 2005 and Mirror's Edge)
Do not expect any other bugs fixed other than listed. This version is about the DXBC generator.
Now I can switch to bugfixing mode. I had to read back a lot of reports. 😀
Cool, since you are back on bug fixing, did you check my PM post about : Avp Classic GOG won't upscale
its a long time ago I did that post, so you probably missed that
And if someone wonder way bother? .. have anyone tryed to read the in-game text when playing on a 1440p monitor 🤣
Crysis
F.E.A.R 2
Sonic & Sega All-Stars Racing
Strania - The Stella Machina
Performance boost is massive, these four are probably perfectly playable now, well except Strania's text issues.
Command & Conquer - Red Alert 3 - Uprising
Was a slideshow in WIP58, runs at constant 30 FPS (which sadly, is the highest framerate the game supports) in WIP59. Shader quality medium is the maximum supported by dgVoodoo2 though (guessing high = SM4.0? I haven't checked logs yet).
Deus Ex - Human Revolution - Director's Cut
Gives a rather unspecific error if ShaderCodeGenerating=0, still works "fine" if ShaderCodeGenerating=2.
Outrun 2006 - Coast 2 Coast
No longer stutters when loading next level. Was perfectly playable before, but less annoying now.
Sonic & Sega All-Stars Racing
Supreme Commander
Menu in Sonic & All-Stars racing are badly corrupted if ShaderCodeGenerating=2. ACU warp-in Supreme Commander (start UEF mission 1) is also badly corrupted if ShaderCodeGenerating=2.
Sonic & All-Stars Racing Transformed
No idea why this wasn't working for me earlier with WIP58, it does now. Massive performance difference between WIP58 and WIP59.
ZellSF wrote:Crysis
F.E.A.R 2
Sonic & Sega All-Stars Racing
Strania - The Stella Machina
Performance boost is massive, these four are probabl […] Show full quote
Crysis
F.E.A.R 2
Sonic & Sega All-Stars Racing
Strania - The Stella Machina
Performance boost is massive, these four are probably perfectly playable now, well except Strania's text issues.
...
Should we start keeping a db somewhere for these things? 😁
batterymandark wrote:Cool, since you are back on bug fixing, did you check my PM post about : Avp Classic GOG won't upscale
its a long time ago I did […] Show full quote
Cool, since you are back on bug fixing, did you check my PM post about : Avp Classic GOG won't upscale
its a long time ago I did that post, so you probably missed that
And if someone wonder way bother? .. have anyone tryed to read the in-game text when playing on a 1440p monitor 🤣
its so tiny you might forget that subtitles exist
I got some pm's meanwhile, but didn't yet answer them. Sorry to everbody about that, I'm going to check out the problems reported.
ZellSF wrote:
Command & Conquer - Red Alert 3 - UprisingWas a slideshow in WIP58, runs at constant 30 FPS (which sadly, is the highest framerate the game supports) in WIP59. Shader quality medium is the maximum supported by dgVoodoo2 though (guessing high = SM4.0? I haven't checked logs yet).
No, SM4.x is DX10+.
DX9 has SM3 as maximum which is completely supported by dgVoodoo, so it's weird. Must be some missing cap bit (expected by the game) not exposed from dgv DX9 or sg like that.
ZellSF wrote:Crysis
F.E.A.R 2
Sonic & Sega All-Stars Racing
Strania - The Stella Machina […] Show full quote
Crysis
F.E.A.R 2
Sonic & Sega All-Stars Racing
Strania - The Stella Machina
Performance boost is massive, these four are probably perfectly playable now, well except Strania's text issues.
Yes, that's what expected because the new DXBC generator is ultra fast compared to the compiler. I have my (previously stuttering) games running butter smooth now.
Its drawback is that it can't produce as optimized shader code as the compiler. I coded it to do optimizations on per-instruction or block basis but it cannot do whole-program optimization like a real compiler backend, except for some things. The overall difference doesn't seem to be too big though. I measured 5-8% performance loss in Far Cry and roughly nothing with some other games on my hw. But it may be worse for other gpu's.
What I'm curious about is, is this thing working on AMD's? I tested the generator on nVidia, my ancient AMD card, Intel and DXVK. There was one thing that worked nicely on all platforms except AMD: texture sampling instructions. I ran into the well-known reported problem about corrupted textures on AMD but I managed to fix it "on my AMD card".
Just for tidbit, if there is a texture sampling instruction in ps shader code like
1sample r0, v1.xyzw, t0, s0
meaning 'sample texture resource t0 with sampler s0 at texture coordinates v1 and place it into r0', and if t0 texture is a 2d one then theoretically only v1.xy as texture coordinates are really needed from the v1 input vector. However, if v1.zw is undefined (because it's not declared in the shader preamble as interpolated input) then the texture sampling doesn't work correctly on AMD. I got corrupted textures because of wrong texture coordinates used for sampling.
If the texture coordinate vector is swizzled to contain only defined components like this
1sample r0, v1.xyxx, t0, s0
then it works properly. At least, on my AMD card…
I'm not sure if it all is not the same problem reported multiple times so far, and the texture sampling is wrong even with fully defined address vector under certain circumstances.
One thing I forgot: the code generator is unfortunately not compatible with VorPX because vs shader input signatures are (at least, can be) different when generated by the code generator and the compiler. The compiler re-indexes vs input registers, having a continuous range starting from 0. The code generator however keeps the indices coming from the original shader. This is mostly problem for old SM1.x vertex shaders that were probably compiled from vs assembly so the author was free to choose arbitrary input register indices to use.
So I tested Sine Mora again, a game which only game me a black screen earlier and it suddenly was working. Confused I checked if resolution forcing and MSAA worked (resolution forcing doesn't, no idea about MSAA), it didn't and gave me the same black screen problem. Then I reset the settings to what I thought were safe defaults, no resolution forcing and no MSAA and tried again, suddenly black screen again.
Yeah apparently I thought "MSAA: Off" was a safe option, but apparently some games don't like that and needs it set to "MSAA: App driven" Among them, SkyDrift, which I thought wasn't working, but it is, sort of:
Yeah... the trees seem to have a problem with their texture transparency.
Dragon Age: Origins works perfectly now, very high graphic detail and frame-buffer effects. It looks so good with resolution forced to 3840x2160, but sadly mouse issues make it a pretty bad experience.
Pac-Man Musem: Pac-Man Championship Edition works in WIP59 (is broken in WIP58):
Call of Cthulhu: Dark Corners of the Earth
Carrier Command: Gaea Mission
Legend of Grimrock
Raiden III
R.U.S.E
Tom Clancy's H.A.W.X
Unsurprisingly still have issues.
djc5166 wrote:
ZellSF wrote:Crysis
F.E.A.R 2
Sonic & Sega All-Stars Racing
Strania - The Stella Machina
Performance boost is massive, these four are probabl […] Show full quote
Crysis
F.E.A.R 2
Sonic & Sega All-Stars Racing
Strania - The Stella Machina
Performance boost is massive, these four are probably perfectly playable now, well except Strania's text issues.
...
Should we start keeping a db somewhere for these things? 😁
Compatibility databases aren't that simple to create or maintain. I know I'm too lazy to do it.
Subtle bug in lightning in Dragon Age Origins. In the start of the area walk around while looking at the shields hanging on the wall and they'll occasionally get shadows they shouldn't have:
Native for comparison:
Legend of Grimrock II crashes at start, without any indication as to why in the debug log.
Also an option for 4GB of VRAM support would be great.
dgVoodoo supports any VRAM number you type into the box (or conf file). You have to change some other setting to make it register that there are settings to save though.
ZellSF wrote:Call of Cthulhu: Dark Corners of the Earth
Carrier Command: Gaea Mission
Legend of Grimrock
Raiden III
R.U.S.E
Tom Clancy's H.A. […] Show full quote
Call of Cthulhu: Dark Corners of the Earth
Carrier Command: Gaea Mission
Legend of Grimrock
Raiden III
R.U.S.E
Tom Clancy's H.A.W.X
Unsurprisingly still have issues.
Raider III now works for me with WIP59 (I checked only the first level). I don't know why.
But there is difference between the code generated by the compiler and the internal code generator, subject to debugging...