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

Screen recording is choppy, flickering with artifacts and blackouts #302

Open
KorigamiK opened this issue Dec 10, 2024 · 9 comments
Open

Comments

@KorigamiK
Copy link

As far as I can see, this happens most prominently when the screen shows my terminal or another gl heavy application. This is reproducible on any screen sharing or when recording wth OBS.

2024-12-10_21-28-40__74pct_smaller.mp4

You need to observe the flickering that happens whenever I:

  • type something in my terminal (look closely how the completions appear and when a new character is added)
  • change the workspace

I suspect it has something to do with large redraws of the screen but I may be wrong. This has been bothering me sooooo much and I don't see a clear explanation.

My monitor if 1080p@144hz. These are my specs:

OS: Arch Linux x86_64
Host: Victus by HP Gaming Laptop 15-fb0xxx
Kernel: Linux 6.12.3-arch1-1
Uptime: 1 hour, 52 minutes
Packages: 1950 (pacman)
Shell: zsh 5.9
Resolution: 1920x1080
DE: Hyprland 
CPU: AMD Ryzen 5 5600H with Radeon Graphics (12) @ 4.28GHz
GPU: AMD ATI Radeon Vega Series / Radeon Vega Mobile Series
Board: HP 8A3D
Memory: 3712MB / 7268MB
@KorigamiK
Copy link
Author

As I watch it frame by frame, It's looking like my cursor is going back (as if I pressed backspace) but I did no such thing.

It's as if the recording is inserting previous frames which gives the illusion of me going back in time.

It's really weird and I'd appreciate some feedback

@KorigamiK
Copy link
Author

KorigamiK commented Dec 10, 2024

Here's the unedited recording (without mp4 conversion):
2024-12-10_21-28-40.mkv.zip

@Ly-sec
Copy link

Ly-sec commented Dec 13, 2024

Running into a similar issue when screensharing.
Sometimes the screenshare goes black, has a green tint on it or just refuses to load all together (Vesktop).
For me the preview looks fine but the viewer(s) encounter these issues.
image-18.png

image-10.png

Some examples on what it looks like. No matter what I screenshare either.

@MayRedwood
Copy link

Running into a similar issue when screensharing. Sometimes the screenshare goes black, has a green tint on it or just refuses to load all together (Vesktop). For me the preview looks fine but the viewer(s) encounter these issues. image-18.png

image-10.png

Some examples on what it looks like. No matter what I screenshare either.

Can confirm that I've been getting this same issue. When this happens, usually toggling fullscreen fixes it.

@Octogonee
Copy link

Running into a similar issue when screensharing. Sometimes the screenshare goes black, has a green tint on it or just refuses to load all together (Vesktop). For me the preview looks fine but the viewer(s) encounter these issues. image-18.png

image-10.png

Some examples on what it looks like. No matter what I screenshare either.

did you EVER fix this? I am having the same problem.

@Ly-sec
Copy link

Ly-sec commented Jan 15, 2025

Running into a similar issue when screensharing. Sometimes the screenshare goes black, has a green tint on it or just refuses to load all together (Vesktop). For me the preview looks fine but the viewer(s) encounter these issues. image-18.png
image-10.png
Some examples on what it looks like. No matter what I screenshare either.

did you EVER fix this? I am having the same problem.

Sadly I didn't find any solution :/.

@somethingweird287
Copy link

I had the same problem with obs and screen share for the past 1 month.
Pipewire will show black screen in obs, and screen sharing in discord will never start.

OS : Cachy OS
Kernel : 6.12.10-2-cachyos-lts
Hyprland version : v0.47.2
xdg-desktop-portal-hyprland version : 1.3.8-1

output.mp4

Working OBS is flatpak and non-working in native package.

I found a temp solution, at least for me.
Downgrade the xdph to 1.3.8-1 and install flatpak version of obs.
I don't know why native obs ain't working.
Also launching native obs, it spams

linux xdg-desktop-portal-hyprland[1913]: [LOG] [pw] Building modifiers for dma

in my logs.
Since I use Vesktop from flatpak, I am able to screen share in discord.

@KorigamiK
Copy link
Author

I also suspect an encoding artifact on obs using the nvec encoder. Will test and tell how it goes

@KycKyc
Copy link

KycKyc commented Feb 4, 2025

I am kinda having the same issue, but it's only noticeable in games.
Like it's stutter horribly:

stutter2.mp4

Video is 60fps

Kernel: x86_64 Linux 6.13.1-arch1-1
Uptime: 10h 5m
Resolution: 3840x2160
WM: Hyprland
CPU: AMD Ryzen 9 5900X 12-Core @ 24x 4.951GHz
GPU: AMD Radeon RX 6900 XT (radeonsi, navi21, LLVM 19.1.7, DRM 3.59, 6.13.1-arch1-1)
RAM: 14042MiB / 64222MiB

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants