Looks like a GPU issue from what I can see in the video. First, try disabling GPU in the preferences (Performance). Any better?
If not, recalibrate and build a new ICC display profile; the old one might be corrupted. If you are using software/hardware for this task, be sure the software is set to build a matrix, not LUT profile, Version 2, not Version 4 profile.
Thanks for the answer. But unfortunately nothing helped. Photoshop still keeps showing black bars
If reseting preferences doesn't work, a few other areas to try:
Go to Preferences > Performance... and uncheck Multithreaded Compositing - and restart Photoshop. Better?
If that doesn't work, Go back into Preferences > Performance... click Advanced Settings... and uncheck "GPU Compositing" - then restart Photoshop. Better?
You can try this too: in Preferences>Technology Previews, check the box 'Deactivate Native Canvas' and uncheck 'Enable Native Canvas Rulers' options, then restart Photoshop. Does this work?
What version of Photoshop do you have? The latest?
version 2021. but I checked on several versions and the result is the same. black bars appear in both 2022 and 2016 versions