When I open a unity project with my integrated intel gpu it works fine, but when I try with my discrete GPU the text in the project loading page starts flickering halfway through and then the project opens but the loading screen is stuck forever(in the Finish loading project state).
After this there is a constant black bar present at the top of the screen that briefly goes away for a second on mouse hover.
In the above image you can see a small black bar at the extreme top. The size of the bar however changes each time I open unity and has been quite a bit bigger in previous instances
This black bar is present not only in Unity but everywhere else and interferes with the usage of other apps. Closing unity and hub doesn’t fix this, I have to manually close unity.exe in the details section of task manager for this black bar to get fixed.
I have tried reinstalling unity and the hub, .net, nodejs and even DDU graphic drivers and tried older graphic drivers as well.
System is a legion 7i 14900hx + 4070