VOGONS


dgVodooo 2.7.x and related WIP versions (2)

Topic actions

  • This topic is locked. You cannot reply or edit posts.

Reply 100 of 237, by RJ8

User metadata
Rank Member
Rank
Member

I wonder if its possible (perhaps a feature for future versions) to use -force resolution- on the input path while the wrapper itself is diabled?
Example: DX9 game that i do not want to wrap to DX11 , but use - force resolution- .
With VorpX i have a couple of games, Divinity 2 for example, permanently switching forth and back from 640x480 to full screen within milliseconds.
DGVoodoo2 can correct that in a great way, but only when wrappimg to DX11, which i cant use in certain cases.

Request a game profile for VorpX - VorpX Inofficial Gamelist - RJs VorpX Games

Reply 101 of 237, by KainXVIII

User metadata
Rank Member
Rank
Member
Dege wrote on 2021-12-22, 18:03:
========================= WIP83.1: ========================= […]
Show full quote

=========================
WIP83.1:
=========================

- Some internal refactoring
- A DX Draw bug fixed in the D3D12 backend
- A bug in sw buffer usage is fixed for D3D8/9 software vertex processing (Everquest 1999)
- Emulated cursor appeared at wrong place with integer scaling, fixed
- Improving GDI hooking (MCI video player) (Age Of Empires 2)
- A workaround-fix for clearing integer format RTV's through AMD D3D11 drivers (issue introduced with dgv 2.74)

http://dege.fw.hu/temp/dgVoodooWIP83_1.zip
http://dege.fw.hu/temp/dgVoodooWIP83_1_dbg.zip

see AMD issues with dgVoodoo why I'm basically releasing this

I still got double cursor issue (when smaller cursor version appears sometimes) in QFGV with these settings: scaling mode - centered, keep ar; resolution - unforced; integer scale factor - 2 (on 1080p resolution monitor), all other settings are defaulted..

Reply 104 of 237, by Shing

User metadata
Rank Newbie
Rank
Newbie

Happy new year, i hope dgVoodoo will have a great year too. 😁 (Well i already find it perfect for most stuff i use it for 😜)

Now back to the business, i have a bug report.
https://i.imgur.com/acG9Reb.png

The water shader or bump map texture goes wrong in Battlefield 1942. It's something that you fixed before. In my testing, it started with dgVoodoo2_75_1 and it's bad with with the latest WIP too, but it gets corrupt maybe a bit less.

dgVoodoo2_74_1 seems to work well.

Reply 106 of 237, by Dege

User metadata
Rank l33t
Rank
l33t

A new WIP with a lot of under-the-hood changes, I release it for testing:

=========================
WIP84:
=========================

- Adapting the DX shader code generator to handle AMD's DXBC parser limitation (crash with TruForm, HD7850)
- Fixing a bug in the DX code generator (crash with adaptive TruForm, HD7850)
- Changes for generating a bit more optimized code in FF vs code generator
- DX frame presentation optimization for performance
- Fixing a D3D11 sampler cache bug (BF 1942)
- Fixing minor bugs in handling Glide LFB access (without PCI emulation) (XA demo)
- Fixing multithreaded D3D12 Glide LFB access with PCI emulation (XA demo)

http://dege.fw.hu/temp/dgVoodooWIP84.zip
http://dege.fw.hu/temp/dgVoodooWIP84_dbg.zip

Reply 107 of 237, by Dege

User metadata
Rank l33t
Rank
l33t

I released v2.78. Compared to WIP84, basically it has some bugfixings, some further image presentation shader optimizations and now all dynamic resolution can have an additional integer scale parameter, like: max_2x, max_qhd_isf_3x.

For a full changelog, see: http://dege.fw.hu/dgVoodoo2/ReadmeGeneral/#changelog

http://dege.fw.hu/dgVoodoo2/bin/dgVoodoo2_78.zip
http://dege.fw.hu/dgVoodoo2/bin/dgVoodoo2_78_dbg.zip

I hope it won't bring in regression bugs, but unfortunately I don't have much time for testing it.

Reply 109 of 237, by lowenz

User metadata
Rank Oldbie
Rank
Oldbie
Squall Leonhart wrote on 2022-01-11, 08:51:
lowenz wrote on 2021-12-04, 21:04:

GeForce Ti 750 does *NOT* support FL12, but UHD 750 (the one attached to the monitor) does :p

750ti is maxwell and does support FL12

No

D3D12 FL11 -> https://www.techpowerup.com/gpu-specs/geforce … tx-750-ti.c2548

D3D12 is NOT FL12. You can have a D3D12 GPU (driver) only supporting FL11.

Reply 110 of 237, by Yoda1776

User metadata
Rank Newbie
Rank
Newbie
Dege wrote on 2021-07-18, 19:38:

Thank you on behalf of all of us!

Im finding how amazing your software actually is very particularly under DX9 doing my GPU optimization widespread support pass presently. The most extreme example is literally 42% faster than using any iteration of DX9 available. I also noticed OpenGL refuses to hook with reshade using DX10 Nvidia hardware. Even in games as primitive as Return to Castle Wolfenstein. Would love a dirty workaround to get DG Voodoo to hook into OpenGL since word on the net is, Truform calls survive. A little too sophisticated for me at this time, but im sure looking at my youtube channel video leads it would take you 5 minutes or less of effort assuming the game is on hand. OpenGL DX10 raytracing would also be a nice touch since a great deal of my library with OpenGL is within the means of this sort of ancient solution.

Finally hitting the milestone of turning inward to quality. Old radeon, new radeon, old geforce, new geforce, intel GPUs in time. Down to game specific drivers, -dxlevel changes, the idea is it runs on pretty much everything especially in a modern context, eventually even on cellular devices. Then comes the generalized driver custom OS optimized image, thread scheduler context switching aversion tactics per app library wide, compiler spoofing performance checks, and finally ill start learning C++ because I have a lot of ideas id like to bring to the community. Even if my library is somewhat narrow. Thats because im ruthless about which games survive the selection process. They are naturally going to be the best examples of the technology. I might not be able to program yet but im a decent janitor for community input. The actual wording will get a remaster to something more robotic, and eventually automation because its too complicated for normies.

Valve might be doing lots of plug and play Vulkan optimizations which would be really nice. I have yet to come across a situation, granted I havent tried many, where DX12 made any sense at all. It appears to be a project you put off, or at least a door you opened for people with skills to one day exploit.

As for my custom DX10 driver idea, probably asking too much. At best we will see blips on linux with the x800 series and stuff like that. Would be really exotic to have Vulkan and DX12 running on DX10 hardware for the CPU benefits especially if each app has had human hand tuning. I know it wouldnt be the bottleneck, except it might be with multi GPU solutions in really jank code.

Thanks for reading, and thanks for your software. Its making a huge impact on what is possible. Also Nvidia made some changes to their drivers recently which lead to the what on my channel I call the nuke button. It basically is a high probability of total OS lock up if you play with reshade too much toggling it on and off under some games, and its most apparent under DG Voodoo.

Reply 111 of 237, by lowenz

User metadata
Rank Oldbie
Rank
Oldbie

For OpenGL you already have WineD3D and MESA D3D12 (and Vulkan too, but D3D12 is in a way better shape, performance wise).

WineD3D -> https://fdossena.com/?p=wined3d/index.frag
MESA D3D12 -> https://github.com/pal1000/mesa-dist-win/releases (MinGW and MSVC flavors)

Reply 112 of 237, by Dege

User metadata
Rank l33t
Rank
l33t

Thanks! I think an OGL 1.5 frontend could be mapped to the same backend that's used for DX in dgVoodoo, with little modifications, but unfortunately I don't think I have time for such a project.
Higher version of OGL requires a GLSL compiler, and that's out of my expertise.

Reply 114 of 237, by Squall Leonhart

User metadata
Rank Newbie
Rank
Newbie
lowenz wrote on 2022-01-11, 09:23:
No […]
Show full quote
Squall Leonhart wrote on 2022-01-11, 08:51:
lowenz wrote on 2021-12-04, 21:04:

GeForce Ti 750 does *NOT* support FL12, but UHD 750 (the one attached to the monitor) does :p

750ti is maxwell and does support FL12

No

D3D12 FL11 -> https://www.techpowerup.com/gpu-specs/geforce … tx-750-ti.c2548

D3D12 is NOT FL12. You can have a D3D12 GPU (driver) only supporting FL11.

the 750ti is FL12, but theres a driver flaw it seems.

unknown.png

Reply 116 of 237, by Dege

User metadata
Rank l33t
Rank
l33t

Not much in this WIP, but this might solve a long outstanding problem: double (flashing) cursors.
I added some more GDI hooks to the existing ones and now if option GeneralExt\EnableGDIHooking is enabled then the cursor handling is also hooked to help the emulated cursor.
This feature is not extensively tested, I only tried it with some games I remembered having double-cursor problem. So, it might turn out to cause adverse symptoms otherwhere but I'll have a look at those.

Also, the new hooks allow HyperBlade menu to work, altough it's a bit glitchy with forced resolutions.

=========================
WIP85:
=========================

Changes compared to v2.78

- A D3D8/9 incompatibility is fixed (RE - Operation Raccoon City)
- A minor frame presentation optimization again (D3D11/12)
- Fixing a Glide Debug Layer message (unnecessary d3dcompiler)
- Slight change in the FF vs DXBC generator for the sake of old FL10.0 drivers (I hope it helps)
- Minor fixes in the D3D11 backend for FL10.0

- DDraw fixes:
* Clip handling (Ed Hunter)
* Flip to GDI surface (HyperBlade)
* Changes to be compatible with the Windows compat layer (Biko)
* Other minor fixes (multi monitor tests)

- Implementing more system/GDI hook (option GeneralExt\EnableGDIHooking):
* HyperBlade menu now works, altough it is not perfect with forced resolutions
* Fixing double mouse cursors (experimental, not very well tested)

http://dege.fw.hu/temp/dgVoodooWIP85.zip
http://dege.fw.hu/temp/dgVoodooWIP85_dbg.zip

Reply 117 of 237, by Squall Leonhart

User metadata
Rank Newbie
Rank
Newbie

How well does dgvoodoo handle the transition between ddraw and glide these days, i remember Uprising 1/2 having some issues.

lowenz wrote on 2022-02-03, 07:02:

I looked into it and the 750ti only passed as FL12 in the early draft form, the final release had additional requirements added which resulted in maxwell v1 being limited to 11.1

Reply 118 of 237, by Dege

User metadata
Rank l33t
Rank
l33t

I've made further changes to address the problems that have arisen in the meantime:

=========================
WIP85.1:
=========================

- Removing the need of compute shader support (old FL10.0 hw, c64 output)
- Improving the DDraw DirectShow hook layer (Max Payne)
- Minor change in DXGI swapchain handling to reduce possibility of deadlocks (Blade Of Darkness)

http://dege.fw.hu/temp/dgVoodooWIP85_1.zip
http://dege.fw.hu/temp/dgVoodooWIP85_1_dbg.zip

(plz don't post about Max Payne here, I'm going to create a new topic for that)

Reply 119 of 237, by ZellSF

User metadata
Rank l33t
Rank
l33t

Cursor scale factor setting seems a bit broken.

Like "Resampling", there's conditions that needs to be met for it to be usable, however you need to change those settings and restart dgVoodooCpl to make it not be greyed out, this is very unintuitive, since to make "Resampling" not greyed out all you have to do is change scaling mode and "Resampling" is available instantly; not requiring an application restart.

Even if they're in advanced settings, maybe there also should be some hint why they're greyed out in the first place?

I tried the double cursor fix, doesn't seem to work for Dragon Age Origins, works for Civilization IV.