Shotcut not working on Ubuntu 18.04

I have a fresh installation of ubuntu and I have problems trying to run Shotcut, here is my terminal output when running: sudo shotcut

    No appenders registered with logger
[Debug  ] <ShotcutSettings::singleton> language "en_US" 
[Debug  ] <ShotcutSettings::singleton> deinterlacer "onefield" 
[Debug  ] <ShotcutSettings::singleton> external monitor "" 
[Debug  ] <ShotcutSettings::singleton> GPU processing false 
[Debug  ] <ShotcutSettings::singleton> interpolation "nearest" 
[Debug  ] <ShotcutSettings::singleton> video mode "" 
[Debug  ] <ShotcutSettings::singleton> realtime true 
[Info   ] <Application::Application> Starting Shotcut version 18.03.06 
[Info   ] <Application::Application> Linux version 
[Info   ] <Application::Application> number of logical cores = 4 
[Info   ] <Application::Application> locale = QLocale(English, Latin, UnitedStates) 
[Info   ] <Application::Application> install dir = "/snap/shotcut/21/Shotcut.app/bin" 
[Info   ] <Application::Application> device pixel ratio = 1 
libGL error: unable to load driver: r600_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: r600
libGL error: unable to load driver: r600_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: r600
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
[Debug  ] <MainWindow::changeTheme> begin 
[Debug  ] <MainWindow::changeTheme> end 
[Debug  ] <MainWindow::MainWindow> begin 
[Warning] <> Unrecognized OpenGL version
[Warning] <> Unrecognized OpenGL version

My laptop is an HP pavilion dv4 with:
AMD® A6-3400m apu with radeon™ hd graphics × 4 processor and AMD® Sumo graphics.

When I launch the program it only displays a rectangle with a copy of the background.

Shotcut requires a working and compatible OpenGL. I do not know how to troubleshoot your system setup, and I do not even know if that driver is compatible and will work. You should try to confirm it is working with the glxgears command line program via apt. If it is, then report output of glxinfo | grep OpenGL.

I ran into this to after upgrading to Ubuntu 18.04. (Worked perfectly fine before that.) Same exact error message. Will investigate further and see if there’s a fix…

The same here, glxgears app is working fine, Shotcut not.

My glxinfo:

OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GTX 750 Ti/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 390.48
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.6.0 NVIDIA 390.48
OpenGL shading language version string: 4.60 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 390.48
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:

Update: AppImage is working fine, there is a problem with snap package.

Might want to update your NVIDIA driver.
For your model 397.63 is the latest.

I have a GTX 1070 and through Geforce Experience version 3.14.0.1.139 I got upgraded to version 397.64.
Windows 10.

OpenGL vendor string: NVIDIA Corporation

snap apps that use OpenGL such as Shotcut are notorious for not working with the nvidia binary driver. This has been mentioned multiple times here.