Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Frametime is getting worse when screen share is active #1062

Open
3 tasks done
Keqwerty opened this issue Jan 24, 2025 · 5 comments
Open
3 tasks done

[Bug] Frametime is getting worse when screen share is active #1062

Keqwerty opened this issue Jan 24, 2025 · 5 comments
Labels
bug Something isn't working

Comments

@Keqwerty
Copy link

Discord Account

keqwerty

Operating System

Arch Linux (6.6 LTS Kernel)

Linux Only ~ Desktop Environment

Gnome on Xorg

Package Type

Flatpak (also tried AUR)

What happens when the bug or crash occurs?

The bug happens when I play a game on Proton and start screen sharing. It doesn't matter if the window or the whole screen is captured, if the audio is on or not, and the quality of the screen sharing doesn't matter either. I don't know if this only happens on Proton games, as I don't have any other 3D games running natively on Linux.

Video: https://youtu.be/sCk4cPCa4gU

What is the expected behaviour?

I expected normal frametime when sharing the screen

How do you recreate this bug or crash?

  1. Run some Proton game with mangohud to view frametime
  2. Play without screenshare
  3. Run screenshare
  4. Compare frametime after and before screenshare

Debug Logs

APPIMAGE env is not defined, current application is not an AppImage
checkForUpdatesAndNotify called, downloadPromise is null
src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000

src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000

src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000

src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000

src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000

src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000

src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000

src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000

src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000

src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000

[2025-01-24 23:32:30.478] [venmic] [info] [patchbay] (handle) found default metadata: 39
[2025-01-24 23:32:30.478] [venmic] [info] [patchbay] (meta_update) speaker name: "alsa_output.usb-TEMPOTEC_TempoTec_HD_USB_AUDIO-01.analog-stereo"
[2025-01-24 23:32:30.478] [venmic] [info] [patchbay] (get) running venmic 6.1.0

Request Agreement

  • I have searched the existing issues and found no similar issue
  • I am using the latest Vesktop and Vencord versions
  • This issue occurs on an official release (not just the AUR or Nix packages)
@Keqwerty Keqwerty added the bug Something isn't working label Jan 24, 2025
@ninja-
Copy link

ninja- commented Jan 25, 2025

there's no way you'll get hardware encoding on NVIDIA anyway, but with some tweaks you might get cpu encoding to be usable especially with a powerful cpu like that. does this happen if the gpu isn't starved running at 100% load?

@ninja-
Copy link

ninja- commented Jan 25, 2025

does this happen if you turn off the livestream preview? is your second screen running on a different refresh rate? do you want to test KDE instead to check if it's not a mutter bug?

@Keqwerty
Copy link
Author

i'm already running vesktop only on CPU. I will try disable livestream preview and KDE Plasma as soon as i can.

@Keqwerty
Copy link
Author

does this happen if you turn off the livestream preview? is your second screen running on a different refresh rate? do you want to test KDE instead to check if it's not a mutter bug?

I launched the game and screenshare with and without Hardware Acceleration on KDE Plasma (X11), the same problem.

@ninja-
Copy link

ninja- commented Jan 27, 2025

Check Wayland first

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants