Macbook Pro stopped displaying to external monitor after using USB-C hub with a new PC
I've got a MBP (2018) plugged into a USB-C hub. The hub uses a HDMI->DVI cable to connect to my (admittedly old) monitor. I often unplug the MBP from the hub and plug-in my work PC (and vice versa). This has worked without problems for years.
But my company issued me a new PC (HP Zbook) and all of a sudden my MBP will not display to the external monitor. The MPB does see the monitor, it just won't display anything. I've tried changing resolutions etc. but to no avail. I also tried things suggested in past posts, such as updating the OS and plugging out/in the power cable to the hub. That last act will sometimes temporarily work, but once I switch to my PC and back to my MBP it stops working. I know the cable and monitor are fine since the PC has no issues displaying to the monitor.
I'm at a loss as nothing on my MBP has changed, yet it is the one having the problem. I was going to get a new monitor soon anyways, but I don't want to buy one and then have the same problem.
MacBook Pro 13″, macOS 14.5