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

Random dots flickering on screen when playing GTA 4 Complete Edition #4231

Open
TRSC25 opened this issue Sep 2, 2024 · 18 comments
Open

Random dots flickering on screen when playing GTA 4 Complete Edition #4231

TRSC25 opened this issue Sep 2, 2024 · 18 comments

Comments

@TRSC25
Copy link

TRSC25 commented Sep 2, 2024

Video Attached

asda.mp4

Game performance is also highly affected, I get constant 20fps when not using vulkan

Software information

GTA IV, The complete edition v1.2.0.43

System information

  • GPU: Intel CometLake-U GT2 [UHD Graphics]
  • Wine version: 9.0
  • DXVK version: 2.4
@K0bin
Copy link
Collaborator

K0bin commented Sep 2, 2024

Duplicate of #1862

You also didn't provide logs so I can't check whether or not your Vulkan driver exposed VK_EXT_feedback_loop_layout which normally fixes this issue.
You also didn't mention your driver version in the bug report either. ANV should have the required extension as of Mesa 24.1.

@TRSC25
Copy link
Author

TRSC25 commented Sep 5, 2024

Could you please guide me on how to do that? I'm playing the game via Lutris Flatpak, so... not sure how to get the logs.

Sorry for late reply btw, I had other stuff so I forgot to check GitHub

@K0bin
Copy link
Collaborator

K0bin commented Sep 5, 2024

Change the Steam launch options for GTA IV to PROTON_LOG=1 %command%. Then it will create a log file called steam-GTASTEAMID in your home directory.

I don't know how it works with Lutris. IIRC Lutris has a function to get stdout of the game you were just running or something like that.

@TheComputerGuy96
Copy link
Contributor

Can you also run the flatpak list --runtime command (so I can see if you have an up-to-date runtime)?

@Sid127
Copy link

Sid127 commented Sep 5, 2024

You can get logs by clicking one of the dropdowns next to the PLAY button in Lutris for the game, and then clicking Show Logs.

Could either copy and paste them into a pastebin service, or save them into a file from there

@TRSC25
Copy link
Author

TRSC25 commented Sep 5, 2024

flatpak list --runtime

Name Application ID Version Branch Installation
Codecs …m.Audacity.Codecs stable system
Codecs …er.Blender.Codecs stable system
SWH …Audio.Plugins.swh 0.4.17 22.08 system
Freedes… …edesktop.Platform freedesktop-sdk-23.08.21 23.08 system
Mesa …atform.GL.default 24.0.7 22.08 system
Mesa (E… …atform.GL.default 24.0.7 22.08-extra system
Mesa …atform.GL.default 24.1.3 23.08 system
Mesa (E… …atform.GL.default 24.1.3 23.08-extra system
Mesa …form.GL32.default 24.1.3 23.08 system
Intel …tform.VAAPI.Intel 22.08 system
Intel …tform.VAAPI.Intel 23.08 system
ffmpeg-… …tform.ffmpeg-full 23.08 system
i386 ….ffmpeg_full.i386 23.08 system
openh264 …Platform.openh264 2.1.0 2.2.0 system
openh264 …Platform.openh264 2.4.1 2.4.1 system
Freedes… …g.freedesktop.Sdk 22.08.25 22.08 system
Freedes… …g.freedesktop.Sdk freedesktop-sdk-23.08.21 23.08 system
OpenJDK… …tension.openjdk17 23.08 system
GNOME A… org.gnome.Platform 45 system
GNOME A… org.gnome.Platform 46 system
i386 …tform.Compat.i386 45 system
Mint-Y-… …theme.Mint-Y-Aqua 3.22 system
Mint-Y-… ….Mint-Y-Dark-Aqua 3.22 system
Mint-Y-… ….Mint-Y-Dark-Blue 3.22 system
Mint-Y-… ….Mint-Y-Dark-Grey 3.22 system
KDE App… org.kde.Platform 6.7 system
kde pla… …e.Platform.Locale 6.4 system
DXVK …hq.Wine.DLLs.dxvk 2.4 stable-23.08 system
Gecko …winehq.Wine.gecko stable-23.08 system
Mono ….winehq.Wine.mono stable-23.08 system

You can get logs by clicking one of the dropdowns next to the PLAY button in Lutris for the game, and then clicking Show Logs.

Could either copy and paste them into a pastebin service, or save them into a file from there

Started initial process 187 from gamemoderun /app/bin/wine /media/thefatspacecat/BigBoi/Things/Games/Grand Theft Auto IV - The Complete Edition/GTAIV.exe
Start monitoring process.
gamemodeauto:
Monitored process exited.
Initial process has exited (return code: 0)
Exit with return code 0

This is the log after I loaded into the game and drove around for a bit and quit the game

@K0bin
Copy link
Collaborator

K0bin commented Sep 5, 2024

That's unfortunately missing the DXVK logs I was looking for.

@TRSC25
Copy link
Author

TRSC25 commented Sep 5, 2024

So... how do I get that?

@Blisto91
Copy link
Contributor

Blisto91 commented Sep 5, 2024

Try to right click the game in Lutris -> Configure -> Runner Options tab -> scroll to the bottom -> make sure Output debugging info is set to Enabled.

@TRSC25
Copy link
Author

TRSC25 commented Sep 5, 2024

That was it. I got a log which... looks like a log.
log.log

@TRSC25
Copy link
Author

TRSC25 commented Sep 7, 2024

Hi, any updates?

@mbriar
Copy link
Contributor

mbriar commented Sep 7, 2024

Your driver supports VK_EXT_feedback_loop_layout, but there is probably another driver bug that's causing this. Try INTEL_DEBUG=noccs as environment variable, maybe.

@Blisto91
Copy link
Contributor

Blisto91 commented Sep 7, 2024

We have been unable to reproduce on Nvidia or any of the 3 amd drivers so we assume it is a likely driver bug yes. Unfortunately none of the devs have Intel to test with.

@TRSC25
Copy link
Author

TRSC25 commented Sep 7, 2024

Your driver supports VK_EXT_feedback_loop_layout, but there is probably another driver bug that's causing this. Try INTEL_DEBUG=noccs as environment variable, maybe.

That helped in removing the flickering dots, however there is still the slight frame drops which isn't there when not using dxvk.

@TRSC25
Copy link
Author

TRSC25 commented Sep 7, 2024

I tried recording it but it looks much worse but according to my eyes it's roughly showing half the frames it did when not using dxvk, and its not everywhere, for example the apartment is really laggy but some roads arent.

@mbriar
Copy link
Contributor

mbriar commented Sep 7, 2024

That helped in removing the flickering dots, however there is still the slight frame drops which isn't there when not using dxvk.

INTEL_DEBUG=noccs can reduce performance by disabling compression and overall it's not unheard of that vulkan doesn't perform particularly well on old Intel GPUs. There is most likely nothing that DXVK can do about it, especially considering that this must be the millionth bug report about GTA IV and it performs just fine on other drivers and GPUs.

You can report the flickering dots that happen without INTEL_DEBUG=noccs on the Mesa gitlab as a driver bug.

@K0bin
Copy link
Collaborator

K0bin commented Sep 7, 2024

It's most likely a driver bug but none of us have Intel hardware to try and reproduce the issue. Because of that none of us felt comfortable opening a Mesa issue.

@bylaws
Copy link
Contributor

bylaws commented Sep 10, 2024

This also used to happen on turnip, but seems it got fixed at some point

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants