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

Black Bars during gameplay #8963

Open
adamcirillo opened this issue Apr 6, 2021 · 11 comments
Open

Black Bars during gameplay #8963

adamcirillo opened this issue Apr 6, 2021 · 11 comments
Labels

Comments

@adamcirillo
Copy link

@adamcirillo adamcirillo commented Apr 6, 2021

Version of OpenTTD

1.11 Steam
CPU 9900K
Nvidia 3080 GTX Driver 465.89
Windows 10 20H2

Expected result

Black Bars should not appear

Actual result

Black Bars randomly Appear

Steps to reproduce

Just play the game and it will happen
It did not show up in the screen shoot not sure why

image

@LordAro
Copy link
Member

@LordAro LordAro commented Apr 6, 2021

That fact that this does not show up in screenshots suggests to me that this is some sort of video output issue, either with the video card, the cable, or even the monitor itself

@adamcirillo
Copy link
Author

@adamcirillo adamcirillo commented Apr 6, 2021

I haven't seen this happen with any other game but i will take a picture with my phone next time i see it

@adamcirillo
Copy link
Author

@adamcirillo adamcirillo commented Apr 6, 2021

Here is what happens

PXL_20210406_195132241 MP

@James103
Copy link
Contributor

@James103 James103 commented Apr 6, 2021

What happens if you run openttd -d driver4? If you are on Windows, you can also run dxdiag and attach the (graphical, or text via "Save All Information") output here.

@nielsmh
Copy link
Contributor

@nielsmh nielsmh commented Apr 6, 2021

Also, can you try turning off Hardware Acceleration in Game Options, to see if that makes a difference?
(You need to quit and restart OpenTTD after toggling the option.)

@adamcirillo
Copy link
Author

@adamcirillo adamcirillo commented Apr 7, 2021

I've run with the driver4 and it happened but it was smaller. I also turned off Hardware Acceleration and the issue disappeared.

DxDiag.txt

@adamcirillo
Copy link
Author

@adamcirillo adamcirillo commented Apr 8, 2021

So I've done some further setting setting the Vsync setting to on in the Nvidia Control Panel causes this to happen if i turn it off it doesn't happen as well. I turn in on there since i couldn't find a setting in the game as i was getting screen tearing like in #8968 and have my refresh rate set to 60hz as my monitor won't do higher

@TrueBrain
Copy link
Member

@TrueBrain TrueBrain commented Apr 10, 2021

Can you start the game with vsync enabled (currently not a setting, but we might add that for these cases):

Open either Powershell or Command Prompt and navigate to the folder you installed OpenTTD. Next, run:

openttd.exe -vwin32-opengl:vsync

Does that resolve the issue for you?

@adamcirillo
Copy link
Author

@adamcirillo adamcirillo commented Apr 10, 2021

I have tried the setting i still get the black bars but they are very thin line now and they only show up for a 1 or 2 seconds and then disappear

@TrueBrain
Copy link
Member

@TrueBrain TrueBrain commented Apr 10, 2021

What happens if you set the Vertical sync setting in the NVIDIA Control Panel to Use the 3D application setting ? Does that resolve the issue? (I ask this as you mention you tried on and off, but by default is uses what-ever the application sets it to. Makes me wonder if that makes a difference).

@adamcirillo
Copy link
Author

@adamcirillo adamcirillo commented Apr 10, 2021

i have it set to that right now when i was testing it.

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

Successfully merging a pull request may close this issue.

None yet
5 participants