ValveSoftware / portal2

Issues for the Linux port of Portal 2
145 stars 11 forks source link

[Portal 2] Security camera's lens and behavior bug #391

Open DimetryBadcoder opened 1 year ago

DimetryBadcoder commented 1 year ago

For some reason, security camera have some rendering issues:

When player break a camera with portal gun, it turns off for a less then a second, and then turns on again. What is interesting, those issues disappears when you put a torn off camera into portal so that the camera is on both sides at the same time.

DimetryBadcoder commented 1 year ago

I may create some screenshots or record a video if you need

misyltoad commented 1 year ago

Can you please give system info.

DimetryBadcoder commented 1 year ago

Can you please give system info.

Sure https://gist.github.com/DimetryBadcoder/d197945d6e815d1a6e4b53ef52c192a4

Steam gave me info in Russian. I may make English version if you need

misyltoad commented 1 year ago

Can you please show what the issue is also?

DimetryBadcoder commented 1 year ago

Can you please show what the issue is also?

Sure! https://youtu.be/Kg_TUJCxfdo?list=PLBw0j1thl-OcgKRl7LcWIRuAg29jvfPOO https://youtu.be/6nZmrF1f_wk?list=PLBw0j1thl-OcgKRl7LcWIRuAg29jvfPOO

The same issues comes with fresh camera's model. Also I have noticed weird flickering on some materials.

misyltoad commented 1 year ago

Playing with -vulkan should fix the flickering.

DimetryBadcoder commented 1 year ago

Playing with -vulkan should fix the flickering.

Yes, there is no flickering, thank you! I hope it will be fixed in the regular DirectX version as well :D

misyltoad commented 1 year ago

Given that it's an NVIDIA driver bug that has existed for over 7 years now, I am doubtful. The proper solution would be for us to just default to Vulkan on any driver with Graphics Pipeline Libraries at this point.

DimetryBadcoder commented 1 year ago

Given that it's an NVIDIA driver bug that has existed for over 7 years now, I am doubtful. The proper solution would be for us to just default to Vulkan on any driver with Graphics Pipeline Libraries at this point.

I see. I think Vulkan as default API would be a problem for old hardware :)

By the way, do you have an idea what causes this flickering? Maybe it's somehow related to the texture filtering or the antialiasing?

misyltoad commented 1 year ago

I think Vulkan as default API would be a problem for old hardware :)

This is why I said "on any driver with Graphics Pipeline Libraries at this point".

By the way, do you have an idea what causes this flickering?

Projected textures

DimetryBadcoder commented 1 year ago

This is why I said "on any driver with Graphics Pipeline Libraries at this point".

Sorry, I didn't got it. I am not very experienced with graphic programming, but this topic is kinda interesting for me

DimetryBadcoder commented 1 year ago

Thank you for the answer!