pop-os / cosmic-comp

Compositor for the COSMIC desktop environment
GNU General Public License v3.0
466 stars 82 forks source link

DaVinci Resolve can't play back video on NVIDIA graphics #145

Open jacobgkau opened 1 year ago

jacobgkau commented 1 year ago

While set to NVIDIA mode on an oryp8, DaVinci Resolve works in the default GNOME (Xorg) session:

Screenshot from 2023-08-02 15-17-40

On the same machine and same graphics mode in COSMIC Epoch, video playback is corrupted. I get error messages cycling between the generic one shown below and one claiming I'm out of VRAM.

ksnip_20230802-152741

I can recreate similar errors by trying to run Resolve in GNOME/Xorg while in Hybrid graphics mode. On the oryp8, it also happens in NVIDIA mode in a GNOME/Wayland session. I've had other non-Pop!_OS machines run Resolve successfully in Wayland but show similar errors when using the XWAYLAND_NO_GLAMOR variable. Considering all of this, I suspect it has something to do with either cosmic-comp or wider Pop!_OS Wayland configuration not exposing the hardware acceleration that Resolve expects.

Drakulix commented 1 year ago

Is Resolve running natively on wayland or always through Xwayland?

jacobgkau commented 1 year ago

Is Resolve running natively on wayland or always through Xwayland?

Always through XWayland, it doesn't currently support native Wayland.