Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need for Speed screen blinking fixed #16230

Closed
wants to merge 1 commit into from
Closed

Need for Speed screen blinking fixed #16230

wants to merge 1 commit into from

Conversation

lvonasek
Copy link
Contributor

@lvonasek lvonasek commented Oct 15, 2022

This PR is just a revert of code change causing screen blinking on some GPUs. The code was introduced in #16150.

After merging the PR, we can close #16175.

Affected game is NFS Pro street.

@unknownbrackets
Copy link
Collaborator

No, this is definitely wrong, especially unless you also undo masking out the VRAM mirrors everywhere else.

-[Unknown]

Comment on lines -359 to -360
if (Memory::IsVRAMAddress(start))
start &= 0x041FFFFF;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How will this properly detect a block transfer between a VRAM mirror in RAM (i.e. 0x04600000 let's say) and RAM (i.e. 0x09000000)? We now correctly normalize framebuffers and depth buffers to always mask out the mirrors so they're not all over the place.

-[Unknown]

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am sorry but I have no knowledge of that code.

Removal of this two lines fixed the mentioned issue for me.

@lvonasek
Copy link
Contributor Author

lvonasek commented Oct 15, 2022

I am closing this PR as I am not capable to finish it.

@lvonasek lvonasek closed this Oct 15, 2022
@lvonasek lvonasek mentioned this pull request Dec 3, 2022
11 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Broken rendering in Need for Speed: Pro Street
2 participants