ninbura
New Member
I've been serving applications out of WSL on Windows, but recently jumped to Ubuntu proper (23.10) after clearing a few technical hurdles I couldn't solve on LInux in the past. I use OBS on this machine in combination with Advanced Scene Switcher & NDI to share my displays in collaborative sysadmin / software development sessions with my peers.
When I got around to configurating OBS, I noticed that my "Average time to render frame" is about 4x higher than what it was running Windows (9-10ms vs 2ms). Same computer/hardware, screen capture source of the same 4K display. I installed OBS through Flatpak, and gave it the "GPU acceleration" permission via Flatseal. But just to make sure it wasn't a sandboxing issue, I also tried installing OBS through Ubuntu's "Software" application with the "deb" version selected. Performance is identical regardless of how I install it. I've also verefied that my GPU driver is installed and working, as well as trying multiple versions of said driver.
I'm using the XSHM screen capture option over PipeWire, as PipeWire gets confused about having 2 displays with the same EDID connected. But also, my average time to ro render frames with a PipeWire screen capture source of a 4K display is over 50ms. Where-as with XSHM it hovers between 9 & 10ms at idle, but jumps up into the mid-teens as I use the computer.
Is there anything I can change to decrease the average time to render frames? I'm not dropping so many frames that the output is unusable, but far more than I was on Windows. I didn't have the foresight to collect logs when I was running Windows, but I've attached one for what's currently happening on Ubuntu.
relevant system specs
When I got around to configurating OBS, I noticed that my "Average time to render frame" is about 4x higher than what it was running Windows (9-10ms vs 2ms). Same computer/hardware, screen capture source of the same 4K display. I installed OBS through Flatpak, and gave it the "GPU acceleration" permission via Flatseal. But just to make sure it wasn't a sandboxing issue, I also tried installing OBS through Ubuntu's "Software" application with the "deb" version selected. Performance is identical regardless of how I install it. I've also verefied that my GPU driver is installed and working, as well as trying multiple versions of said driver.
I'm using the XSHM screen capture option over PipeWire, as PipeWire gets confused about having 2 displays with the same EDID connected. But also, my average time to ro render frames with a PipeWire screen capture source of a 4K display is over 50ms. Where-as with XSHM it hovers between 9 & 10ms at idle, but jumps up into the mid-teens as I use the computer.
Is there anything I can change to decrease the average time to render frames? I'm not dropping so many frames that the output is unusable, but far more than I was on Windows. I didn't have the foresight to collect logs when I was running Windows, but I've attached one for what's currently happening on Ubuntu.
relevant system specs
- operating system - Ubuntu 23.10
- cpu - AMD Threadripper 2970WX
- gpu - RTX 4070 Ti (nvidia-driver-545)
- ram - 128GB DDR4 @ 3200Mhz
- version - 30.0.2 (64 bit)
- base/output canvas - 1920x1080
- framerate - 60