PersonaLive icon indicating copy to clipboard operation
PersonaLive copied to clipboard

Clarification needed: demo vs live webcam performance (RTX 4090, Windows)

Open OsamaAli17 opened this issue 11 months ago • 1 comments

Hi, first of all thanks for releasing PersonaLive — it’s a very impressive project and I appreciate the effort that went into making it public.

I’m opening this issue mainly for clarification and guidance, not to report a bug or criticize the project.

My setup

  • OS: Windows 11
  • GPU: RTX 4090 (24GB VRAM)
  • CPU: Intel i9-class
  • RAM: 32GB
  • Webcam: Logitech Brio (tested at 4K and 1080p)
  • CUDA: 12.x

Installation / status

  • Installation completed successfully
  • Offline inference works
  • TensorRT engine builds successfully
  • Online (live webcam) mode runs

Observations

  • GPU VRAM usage goes up to ~22GB as expected
  • GPU is clearly being used; no obvious CPU bottleneck
  • Performance behavior appears consistent with the pipeline design
  • Live webcam output quality and temporal stability are noticeably lower than the showcased demo videos
  • Offline results look much closer to the demo quality

Given this, my assumption is that the gap I’m seeing is not due to misconfiguration, but rather due to differences between live webcam inference and the demo setup.

Clarification questions

I’d really appreciate clarification on the following points:

  1. Are the high-quality showcase/demo videos generated using offline inference, buffered streaming, or preprocessed driving videos rather than raw live webcam input?
  2. Is the demo-level quality expected to be achievable in true live webcam mode, or is lower quality an expected limitation?
  3. Are there recommended settings (resolution, FPS, buffering, webcam input constraints) to get live webcam output closer to the demo?
  4. Is TensorRT intended primarily for offline inference, or is live/webcam usage also officially supported?
  5. Are there platform differences (e.g., Linux vs Windows) that significantly affect live performance or quality?

I’m mainly trying to understand what level of quality is expected in live webcam mode versus offline, and whether there are additional optimizations or constraints I should be applying.

Thanks again for releasing the project and for any clarification you can provide.

OsamaAli17 avatar Dec 29 '25 22:12 OsamaAli17

Hi, thanks for the detailed feedback and kind words!! Here are my responses to your questions based on my experience:

GPU VRAM usage goes up to ~22GB as expected

In my tests (using H100, A6000, and 4090D on Linux), PersonaLive only consumed about 12GB of VRAM. (left: xformers acceleration, right: tensorrt acceleration)

Image Image

Are the high-quality showcase/demo videos generated using offline inference, buffered streaming, or preprocessed driving videos rather than raw live webcam input?

To clarify: The second demo in the header section was recorded using raw live webcam input. The other demos were generated using offline inference.

Is the demo-level quality expected to be achievable in true live webcam mode, or is lower quality an expected limitation?

In my tests, the visual quality of offline and online generation is very similar. However, online generation inevitably involves transmission latency, so the FPS will be lower than offline generation. Below are my test results on an RTX 4090D for your reference.

Are there recommended settings (resolution, FPS, buffering, webcam input constraints) to get live webcam output closer to the demo?

The online demo in README.md was recorded on an H100 using TensorRT acceleration. However, in my tests with an RTX 4090D, setting the driving fps to 15 and using TensorRT achieved similar results. I suspect the performance gap you are observing might be due to differences between Linux and Windows.

Is TensorRT intended primarily for offline inference, or is live/webcam usage also officially supported?

TensorRT is primarily intended for online inference. For offline inference, I actually recommend using xformers acceleration, as TensorRT can sometimes lead to a slight degradation in generation quality. It seems there are some specific issues with TensorRT on Windows. I am not very familiar with this aspect as I have only tested on Linux.

Are there platform differences (e.g., Linux vs Windows) that significantly affect live performance or quality?

It appears so. You can compare your actual results with the RTX 4090D (Linux) results I provided to see the difference.

huai-chang avatar Dec 30 '25 05:12 huai-chang