OBS can't work properly on Ubuntu with Wayland by default, here we provide a solution to fix this issue.
Setup QT_QPA_PLATFORM to xcb, and then start OBS on the terminal.
QT_QPA_PLATFORM
xcb
$ export QT_QPA_PLATFORM=xcb $ obs
Remove GPU package and try again.