PREVIEW: Effects ddraw 2.0 with enhanced GPU support

All the XWAU recent release news from the project can be found here
Post Reply

Re: PREVIEW: Effects ddraw 2.0 with enhanced GPU support

User avatar
blue_max
XWAU Member
Posts: 2295
Joined: Wed Mar 20, 2019 5:12 am

Post by blue_max » Mon Feb 28, 2022 10:26 pm

Thanks Werner, yes that video explains things quite well. I didn't know the HUD itself could be animated (!) but I know how to fix it. I also wasn't aware of the other problems, I'll take a look.

EDIT: I've restored the HUD animations and enabled backface culling. That seems to have yielded a ~10% improvement in performance.

Porkins_BB
Cadet 2nd Class
Posts: 65
Joined: Wed Nov 25, 2020 1:42 pm

Post by Porkins_BB » Tue Mar 01, 2022 7:04 pm

Do these new Effects DDraw 2.0 fixes apply to Tie Fighter as well or is this only for XWAU?

User avatar
blue_max
XWAU Member
Posts: 2295
Joined: Wed Mar 20, 2019 5:12 am

Post by blue_max » Tue Mar 01, 2022 7:15 pm

Porkins_BB wrote:
Tue Mar 01, 2022 7:04 pm
Do these new Effects DDraw 2.0 fixes apply to Tie Fighter as well or is this only for XWAU?
It should work for both XWAU and TFTC

korekwerner
Cadet 1st Class
Posts: 154
Joined: Wed Mar 20, 2019 7:04 pm

Post by korekwerner » Tue Mar 01, 2022 10:41 pm

blue_max wrote:
Mon Feb 28, 2022 10:26 pm
Thanks Werner, yes that video explains things quite well. I didn't know the HUD itself could be animated (!) but I know how to fix it. I also wasn't aware of the other problems, I'll take a look.

EDIT: I've restored the HUD animations and enabled backface culling. That seems to have yielded a ~10% improvement in performance.
HUD works pretty well. Thank you.
Here is video with it.
link - Image

There is also a problem with objects that have different display parameters. It only occurs in version 2.0 and later. The photo will help you understand.

EDIT.
I made a video for better understanding.
link - Image

Thank you.

BadWookiee
Cadet 4th Class
Posts: 21
Joined: Wed Apr 15, 2020 10:18 pm

Post by BadWookiee » Wed Mar 02, 2022 1:55 am

Using 2.0 - I am getting periodic issue where there seems to be a "blackout" effect for a few seconds and then the graphics return to normal. This was not something that occurred prior to inputting version 2.0.

The blackout occurs in Battle 3 Mission 3 when you turn toward the bright star and then ends when you turn away.

User avatar
blue_max
XWAU Member
Posts: 2295
Joined: Wed Mar 20, 2019 5:12 am

Post by blue_max » Wed Mar 02, 2022 5:34 pm

BadWookiee wrote:
Wed Mar 02, 2022 1:55 am
The blackout occurs in Battle 3 Mission 3 when you turn toward the bright star and then ends when you turn away.
Thanks for reporting this and for the details. I'll take a look

BadWookiee
Cadet 4th Class
Posts: 21
Joined: Wed Apr 15, 2020 10:18 pm

Post by BadWookiee » Wed Mar 02, 2022 6:10 pm

blue_max wrote:
Wed Mar 02, 2022 5:34 pm
BadWookiee wrote:
Wed Mar 02, 2022 1:55 am
The blackout occurs in Battle 3 Mission 3 when you turn toward the bright star and then ends when you turn away.
Thanks for reporting this and for the details. I'll take a look
Also regarding the HUD animations. I currently do not have those. Is there a way to activate the HUD animation?

User avatar
blue_max
XWAU Member
Posts: 2295
Joined: Wed Mar 20, 2019 5:12 am

Post by blue_max » Wed Mar 02, 2022 7:55 pm

BadWookiee wrote:
Wed Mar 02, 2022 6:10 pm
Also regarding the HUD animations. I currently do not have those. Is there a way to activate the HUD animation?
We currently don't have any HUD animations (that I know of) in XWAU. In fact, if you look at my posts above, I didn't even know this was possible myself.

korekwerner made some HUD animations, but I'm not sure he has released them yet.

hryusha
Recruit
Posts: 1
Joined: Sun Feb 27, 2022 3:36 pm

Post by hryusha » Thu Mar 03, 2022 4:02 pm

Any chance this new ddraw.dll will work in Wine?

User avatar
Mike Wazowsky
Cadet 4th Class
Posts: 17
Joined: Tue Jul 21, 2015 12:31 am

Post by Mike Wazowsky » Thu Mar 03, 2022 7:50 pm

The aiming reticle disappears when targeting an object and the square appears around it. Then seems to reappear randomly on and off... Latest version installed.
"Better Lucky Thank Good, Luke!" (Han Solo, unheard)

User avatar
blue_max
XWAU Member
Posts: 2295
Joined: Wed Mar 20, 2019 5:12 am

Post by blue_max » Thu Mar 03, 2022 11:28 pm

BadWookiee wrote:
Wed Mar 02, 2022 1:55 am
The blackout occurs in Battle 3 Mission 3 when you turn toward the bright star and then ends when you turn away.
I just fixed this bug, please download the latest ddraw from the first post in this thread.

@Mike Wazowsky I just posted an update to this thread that may fix the problem you're reporting. Can you try it?

BadWookiee
Cadet 4th Class
Posts: 21
Joined: Wed Apr 15, 2020 10:18 pm

Post by BadWookiee » Fri Mar 04, 2022 6:51 pm

blue_max wrote:
Thu Mar 03, 2022 11:28 pm
BadWookiee wrote:
Wed Mar 02, 2022 1:55 am
The blackout occurs in Battle 3 Mission 3 when you turn toward the bright star and then ends when you turn away.
I just fixed this bug, please download the latest ddraw from the first post in this thread.

@Mike Wazowsky I just posted an update to this thread that may fix the problem you're reporting. Can you try it?
@blue_max So the blackout issue was infact replicated on your end. Just curious, what was the root cause?

User avatar
blue_max
XWAU Member
Posts: 2295
Joined: Wed Mar 20, 2019 5:12 am

Post by blue_max » Fri Mar 04, 2022 10:34 pm

BadWookiee wrote:
Fri Mar 04, 2022 6:51 pm
@blue_max So the blackout issue was infact replicated on your end. Just curious, what was the root cause?
Yes, I replicated the issue on my end. When korekwerner reported that the game was rendering double-sided triangles I checked and yes, that's what ddraw is doing. When I fixed that, it had the side effect of hiding other triangles that were displayed before. One of the triangles that was now hidden was the quad that displays the lens flare effect. So, the fix was to ensure that backface culling is on for regular 3D content and that it's off for all the other things.

Calmputer
Cadet 3rd Class
Posts: 42
Joined: Thu Jun 25, 2020 2:04 pm
Contact:

Post by Calmputer » Sat Mar 05, 2022 10:04 am

Porkins_BB wrote:
Tue Mar 01, 2022 7:04 pm
Do these new Effects DDraw 2.0 fixes apply to Tie Fighter as well or is this only for XWAU?
Just to confirm... I'm currently playing through TFTC with this installed and it's smooth as butter.

User avatar
Mike Wazowsky
Cadet 4th Class
Posts: 17
Joined: Tue Jul 21, 2015 12:31 am

Post by Mike Wazowsky » Sun Mar 06, 2022 12:58 am

blue_max wrote:
Thu Mar 03, 2022 11:28 pm

I just fixed this bug, please download the latest ddraw from the first post in this thread.

@Mike Wazowsky I just posted an update to this thread that may fix the problem you're reporting. Can you try it?
Fixed, top job!
"Better Lucky Thank Good, Luke!" (Han Solo, unheard)

mabifield
Cadet 4th Class
Posts: 12
Joined: Mon Nov 02, 2020 2:12 pm

Post by mabifield » Sat Mar 12, 2022 12:26 am

I've got problems in VR.

Performance wise is amazing, constant max fps and no stutters.
But I'm experiencing 2 horizontal thick lines that hides ship interior or some details, I have this image right here to explain it better
https://ibb.co/fYmQRXX
With the old ddraw.dll it works but performance is meh, with this new ddraw performance is perfect but this glitch happens, I've tried to solve by adjusting things on the config but I couldn't do nothing.

The vertical black bars are normal, I'm talking about the horizontals, those who you can see through.

User avatar
m0rgg
XWAU Member
Posts: 266
Joined: Wed Apr 01, 2020 10:33 pm

Post by m0rgg » Sat Mar 12, 2022 7:00 am

mabifield wrote:
Sat Mar 12, 2022 12:26 am
But I'm experiencing 2 horizontal thick lines that hides ship interior or some details
Thanks for reporting.
This is a known issue, @blue_max is working on resolving it.
For the time being, you can go back to a version from 2022-03-03.

mabifield
Cadet 4th Class
Posts: 12
Joined: Mon Nov 02, 2020 2:12 pm

Post by mabifield » Sat Mar 12, 2022 12:30 pm

m0rgg wrote:
Sat Mar 12, 2022 7:00 am
mabifield wrote:
Sat Mar 12, 2022 12:26 am
But I'm experiencing 2 horizontal thick lines that hides ship interior or some details
Thanks for reporting.
This is a known issue, @blue_max is working on resolving it.
For the time being, you can go back to a version from 2022-03-03.
Where can I download that version? I couldn't find it

User avatar
m0rgg
XWAU Member
Posts: 266
Joined: Wed Apr 01, 2020 10:33 pm

Post by m0rgg » Sat Mar 12, 2022 12:38 pm

mabifield wrote:
Sat Mar 12, 2022 12:30 pm

Where can I download that version? I couldn't find it
Link removed, the latest beta in the first post solves the issue.
Last edited by m0rgg on Sat Mar 12, 2022 3:18 pm, edited 2 times in total.

mabifield
Cadet 4th Class
Posts: 12
Joined: Mon Nov 02, 2020 2:12 pm

Post by mabifield » Sat Mar 12, 2022 12:41 pm

m0rgg wrote:
Sat Mar 12, 2022 12:38 pm
mabifield wrote:
Sat Mar 12, 2022 12:30 pm

Where can I download that version? I couldn't find it
ddraw-2.0-Mar-3-2022.zip
My god, thanks a lot, you guys are awesome

User avatar
m0rgg
XWAU Member
Posts: 266
Joined: Wed Apr 01, 2020 10:33 pm

Post by m0rgg » Sat Mar 12, 2022 3:08 pm

In fact you can download the latest beta in the first post of this thread that fixes the issue.

thermal_detonator
Recruit
Posts: 3
Joined: Sun Mar 13, 2022 7:26 am

Post by thermal_detonator » Sun Mar 13, 2022 9:26 am

This is amazing! But only 18 downloads??

Thank you for such incredible work. The animation is super smooth!

User avatar
Vince T
Fleet Admiral (Administrator)
Posts: 14045
Joined: Fri Apr 27, 2001 11:01 pm
Contact:

Post by Vince T » Sun Mar 13, 2022 10:28 am

That‘s because it‘s bring continuously updated :D
Your ship, Captain. I need a drink. - Vince Trageton
Vince T's X-Wing HQ - where the bad guys get their gear

User avatar
LinusWP
Cadet 4th Class
Posts: 11
Joined: Wed Mar 16, 2022 7:10 pm

Post by LinusWP » Fri Mar 18, 2022 6:54 am

A huge thank you to everyone who made this possible!

Finally my 5700XT has something to do. VR works pretty much flawlessly. Only minor thing I've noticed is that when entering and leaving the hyperspace transition, the head tracking stops working for a few seconds and the view drifts in a random direction - but I can live with that.

mabifield
Cadet 4th Class
Posts: 12
Joined: Mon Nov 02, 2020 2:12 pm

Post by mabifield » Fri Mar 18, 2022 4:55 pm

mabifield wrote:
Sat Mar 12, 2022 12:26 am
I've got problems in VR.

Performance wise is amazing, constant max fps and no stutters.
But I'm experiencing 2 horizontal thick lines that hides ship interior or some details, I have this image right here to explain it better
https://ibb.co/fYmQRXX
With the old ddraw.dll it works but performance is meh, with this new ddraw performance is perfect but this glitch happens, I've tried to solve by adjusting things on the config but I couldn't do nothing.

The vertical black bars are normal, I'm talking about the horizontals, those who you can see through.
Oh. My. God. Solved the same day, you guys don't have a donation tab or something? I wish I could bring you more support!

Post Reply