Describe the bug
The software don't want to start because of "missing video codec".
To Reproduce
Launch GPU Screen Recorder
Screenshots
Screenshots :
Desktop (please complete the following information):
X11
Desktop environment
Distro: Debian 12 (bookworm)
GPU: RTX 2080 FE TI
Version: 3.7.2 flatpak
Additional context
Add any other context about the problem here, such as terminal output of running GPU Screen Recorder and if there was an issue in the video then run the command sudo drm_info > log.log and attach that log.log file in this bug report. drm_info can be installed from your package manager or from https://gitlab.freedesktop.org/emersion/drm_info.
I can't use the 'drm_info' command. I installed it, but don't work.
I have 6700XT, Ryzen 7600 combo and 7000s series come with iGPUs capable of recording I was wondering would it be possible to offload the encoding to the iGPU instead of the main GPU?
Adding VP9 support to GPU Screen Recorder. This would give you an output format that is compatible with Discord and other platforms alike since YouTube uses VP9 alongside AV1 and other codecs. This feature would significantly enhance the software's utility especially for users like me where our hardware can do VP9 but can't do AV1. It's the next best thing for videos going to the great interwebs.
Describe the bug
When the monitors are shut off via DPMS, either through something like xset dpms force off or KDE's "Turn off screen" setting in Energy Saving settings, the recording will continue with audio, but the video will be stuck on the last frame displayed. In addition, the log gsr error: gsr_capture_nvfbc_capture failed: A capture to a GL buffer session has not been created for this NvFBC client is spammed multiple times per second on stderr.
To Reproduce gpu-screen-recorder -v no -w DP-0 -c mp4 -q very_high -k auto -ac opus -a alsa_output.usb-Schiit_Audio_Schiit_Unison_Universal_Dac-00.analog-stereo.monitor -f 60 -r 600 -o /home/alex/Videos/shadowplay -mf yes -a alsa_input.usb-Elgato_Systems_Elgato_Wave_1_AS47J1A01425-00.mono-fallback -cr limited
then xset dpms force off
Desktop (please complete the following information):
X11 or Wayland: X11
Desktop environment/Window Manager: KDE Plasma 6.0.3
Describe the bug
After installing GPU Screen Recorder from Flathub, and running it in rootful mode on GNOME Wayland session on Fedora 40, it only asks for root access the first time. It never asks for that password prompt again. However, this behaviour persists across complete reinstalls and computer reboots - meaning that whatever binary was installed the first time asking for root access was not completely removed or permissions given were completely reverted.
To Reproduce
GUI option:
Install GPU Screen Recorder from Flathub
Select the root access mode
Select "record"
Accept the password prompt
Uninstall the flatpak with the --delete-data flag
Reboot the computer
Install the program again
Re-do steps from 2 to 4
Expected behavior
The program asks for the root password again, because whatever it uses for privilege elevation was reverted
Screenshots
The program no longer asks for the root password, because whatever it did after requesting root access the first time is still there.
Desktop (please complete the following information):
Describe the bug
When recording, on the right side of the screen. im getting some weird color, im unsure how this happens exactly except that its only showing only on the GPU, using H264 works as expected
To Reproduce
Record with a gpu
Expected behavior
they arent suppost to be there
Screenshot
both X11 and Wayland
Desktop environment/Window Manager: KDE
Distro: Nobara 39 KDE
GPU: "STG" RX 580 2048SP
Version: 3.7.2 4/19/24
Additional context
everything has been explained, this hasnt happened on any version prior to 3.7.2 at least i believe so.
I played the video with the command mpv --no-config video.mp4 (if applicable)
I use a laptop with an integrated GPU and a dedicated GPU
Describe the bug
Any recording made by gpu-screen-recorder uploaded to discord doesn't generate a preview, even if -fm cfr is set
To Reproduce gpu-screen-recorder -w DP-3 -c mp4 -f 60 -a "alsa_output.usb-Kingston_HyperX_Cloud_II_Wireless_000000000001-00.analog-surround-71.monitor" -fm cfr -o /mnt/hdd/Videos/replay/test.mp4
Expected behavior
Usable video for discord
Screenshots
Desktop (please complete the following information):
X11 or Wayland: Wayland
Desktop environment/Window Manager: swayfx
Distro: NixOS
GPU: AMD RX 6700 XT
Version: 2023-11-18 build, from nix packages unstable
Additional context
This is the actual video that isn't processed through ffmpeg: link
Video runs fine on mpv, its just discord not accepting it
Obs produces videos that I can directly use on discord
Passing it through ffmpeg would make the video usable on discord: ffmpeg -i /mnt/hdd/Videos/replay/test.mp4 output.mp4, but I have to use it without -c copy, and that takes a while to do
I played the video with the command mpv --no-config video.mp4 (if applicable)
I use a laptop with an integrated GPU and a dedicated GPU
Describe the bug
Not sure if this is a bug or not, seeking help here. Video framerate is stuttering and unstable in certain games when using "constant" framerate for recording. I require constant framerate for video editing post recording. Some games run just fine, others are stuttering at 1 fps. Tested with both Steam + Proton as Flatpak and Snap on Ubuntu 23.10 and 22.04.
Example stuttering video: Alien Isolation, Everquest 2
Example fluid 60 fps video: Turok 2 PC remaster, Aliens vs Predator 1, Crazy Taxi
To Reproduce
See attached screenshot: I tried lowering the video quality settings to medium, changing the codec from H265 to H264, and dropping the resolution of the game to lower levels. I usually record at 4k60 resolution, but lower resolutions have the same issue. Lowering the graphics in-game to the lowest setting doesn't help the issue either.
Install Ubuntu 22.04 or 23.10
Install Steam Snap or Flatpak
Enable Proton 8 or Experimental
Nvidia Powermizer is set to prefer max performance
CPU energy profile is set to max cpu performance
Launch Alien Isolation or Everquest 2 via Steam
Launch gpu screen recorder with the recommended settings
Record video and quit game
Playback video with VLC or MPV player and observe the stuttering video with low framerate
Also tried with gamemoderun %command% on and off
Expected behavior
I expect the video to run at buttery smooth 60 fps.
Screenshots
See screenshots and video examples attached to this report.
Desktop (please complete the following information):
X11 or Wayland: X11
Desktop environment/Window Manager: Gnome 46
Distro: Ubuntu 24.04 but also tested with 23.10
GPU: Nvidia RTX A2000
Nvidia driver version: 535.171.04 (tested and recommended by Ubuntu's driver tool)
I have been recording on openSUSE Leap 15.5 with another PC that is identical to this one hardware-wise, and have not experienced these issues on openSUSE (recording with the exact same settings with constant framerate mode produces 60 fps smooth videos on Suse). On Ubuntu, recording anything outside of Steam and Proton runs just fine. I have tried recording standalone Flatpak and Snap games, such as Xonotic, and the video is super smooth at 60 fps. Worth mentioning: I've noticed that the Nvidia video engine is often at 90-100% load for the videos recorded where it's stuttering badly. In other words, 90-100% load during recording. No fps-drops in gameplay, only the video stutters post recording.
Tested with MPV player, VLC and Gnome Video player. Importing the video into Shotcut or Kdenlive video editior shows the same stuttering picture.
[yes ] I played the video with the command mpv --no-config video.mp4 (if applicable)
[no ] I use a laptop with an integrated GPU and a dedicated GPU
Feel free to ask for more infos, will gladly provide more feedback.
[hevc_nvenc @ 0x55f6e12112c0] ignoring invalid SAR: 0/0
[hevc_nvenc @ 0x55f6e24fcfc0] ignoring invalid SAR: 0/0
Warning: opus audio codec is chosen but your ffmpeg version does not support s16/flt sample format and performance might be slightly worse. You can either rebuild ffmpeg with libopus instead of the built-in opus, use the flatpak version of gpu screen recorder or record with flac audio codec instead (-ac flac). Falling back to fltp audio sample format instead.
[SWR @ 0x7fe0e8000900] Input channel layout "" is invalid or unsupported.
[SWR @ 0x7fe0e8000900] Context has not been initialized
[SWR @ 0x7fe0e8000900] Context has not been initialized
[SWR @ 0x7fe0e8000900] Context has not been initialized
[SWR @ 0x7fe0e8000900] Context has not been initialized
[SWR @ 0x7fe0e8000900] Context has not been initialized
[SWR @ 0x7fe0e8000900] Context has not been initialized
[SWR @ 0x7fe0e8000900] Context has not been initialized
[SWR @ 0x7fe0e8000900] Context has not been initialized
[SWR @ 0x7fe0e8000900] Context has not been initialized
[SWR @ 0x7fe0e8000900] Context has not been initialized
I've tried recording with no audio and the problem fixes itself, which leads me to believe this is an issue with audio (which could be or not related to ffmpeg)
To Reproduce
The GPU Screen Recorder command you ran or if you used the GUI version then describe which options you used.
Just running:
gpu-screen-recorder -w screen -fm cfr -f 60 -a bluez_sink.C0_91_B9_DE_7C_AE.a2dp_sink.monitor -ac opus -k hevc -c mp4 -r 60 -o /home/wolf/Videos
Expected behavior
The error should not show up, audio should be clear and correct when saving.
Screenshots
The program IS running, so I can save it but then it sounds like this:
Replay_2024-04-09_21-38-08.mp4
Desktop (please complete the following information):
X11 or Wayland:
Desktop environment/Window Manager: GNOME3
Distro: Linux Mint 21.3 Cinnamon
GPU: Nvidia RTX 3060 Max-Q (Mobile)
Version: Latest commit from git repo to date
Additional context
I've tried all codecs to no avail, this is my ffmpeg version: ffmpeg version 4.4.2-0ubuntu0.22.04.1 Copyright (c) 2000-2021 the FFmpeg developers (flatpak)
And then the final image is here, where i install EGL and the like.
The problem comes in when i try to run it inside the container on a remote AWS machine with a TESLA T4 nvidia gpu
However, i keep getting this error
To Reproduce
Run docker run --gpus all --entrypoint /bin/bash --rm -it -v $(pwd):/games -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=$DISPLAY --cap-add=SYS_NICE --cap-add=SYS_ADMIN ghcr.io/wanjohiryan/netris/server:nightly
Try running the gpu-screen-recorder like gpu-screen-recorder -w screen -f 60 -o "$HOME/Videos/video.mp4"
Edit: Something to note, it appears that the host GPU uses EGL with llvmpipe,(this is software rendering i believe), how can I change this ?
Expected behavior
A clear and concise description of what you expected to happen.
the gpu-screen-recorder should run without any EGL errors.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
X11 or Wayland: HOST's X11 server
Desktop environment/Window Manager: None
Distro: Ubuntu
GPU: Nvidia Tesla T4
Version: (latest flatpak version, aur or source) โ built from source
Additional context
Add any other context about the problem here, such as terminal output of running GPU Screen Recorder and if there was an issue in the video then run the command sudo drm_info > log.log and attach that log.log file in this bug report. drm_info can be installed from your package manager or from https://gitlab.freedesktop.org/emersion/drm_info.
Attach a video that shows the issue (if applicable), in raw form as output by GPU Screen Recorder or a losslessly cut version of it.
Which game did you run while recording (if any) and does the issue also happen if you only record your desktop?
Does the issue also happen if you use obs studio instead? If you have an issue with audio make sure you are not using pulseaudio/pipewire audio processing software such as EasyEffects.
I played the video with the command mpv --no-config video.mp4 (if applicable)
I use a laptop with an integrated GPU and a dedicated GPU
Describe the bug
When trying to stop the recording, application completely freezes, no matter which container or recording quality is selected.
I don't get this bug on AMD Vega 7 or RX 5500 GPU.
To Reproduce
Start the recording & try to stop it.
Expected behavior
Recording should be stopped & saved successfully.
System info
Wayland
Gnome 45.5
Fedora Silverblue 39 (Universal Blue version, so proprietary stuff like mesa-freeworld is installed)
AMD RX 6600
Flatpak v3.6.3
Additional context
I compared the logs that I got from RX 6600 & RX 5500 GPUs by running flatpak run --verbose & I didn't see anything differing in the logs, except that it did not go past gsr info: gsr_kms_client_init: waiting for server to connect part of the log.
amdgpu: amdgpu_cs_ctx_create2 failed. (-13)
pkexec version 123
/var/home/gidro
amdgpu: amdgpu_cs_ctx_create2 failed. (-13)
[hevc_vaapi @ 0x560ad42ac900] ignoring invalid SAR: 0/0
[hevc_vaapi @ 0x560ad42ac900] Driver does not support some wanted packed headers (wanted 0xd, found 0x1).
Info: using hevc encoder because a codec was not specified
gsr info: gsr_kms_client_init: waiting for server to connect
Describe the bug
The video is glitched when recording on wayland
To Reproduce
gpu-screen-recorder -w screen -f 60 -o video.mp4
Expected behavior
The video shouldn't look glitched
Screenshots
Desktop (please complete the following information):
X11 or Wayland: Wayland
Desktop environment/Window Manager: Gnome
Distro: Arch Linux
GPU: Intel Iris Xe Graphics G7
Version: aur
Additional context
Terminal output:
[hevc_vaapi @ 0x6239a97bb380] ignoring invalid SAR: 0/0
[hevc_vaapi @ 0x6239a97bb380] Driver does not support some wanted packed headers (wanted 0xd, found 0x1).
Info: using hevc encoder because a codec was not specified
gsr info: gsr_kms_client_init: waiting for server to connect
kms server info: connecting to the client
gsr info: gsr_kms_client_init: server connected
gsr info: replacing file-backed unix domain socket with socketpair
kms server info: connected to the client
gsr info: using socketpair
[hevc_vaapi @ 0x6239a97bb380] ignoring invalid SAR: 0/0
[hevc_vaapi @ 0x6239a97bb380] Driver does not support some wanted packed headers (wanted 0xd, found 0x1).
update fps: 247
update fps: 247
Describe the bug
Audio latency is roughly twice as much after commits for fixing audio desync issues
To Reproduce
gpu-screen-recorder -w screen -f 120 -a "$(pactl get-default-sink).monitor" -cr full -fm cfr -ac opus -k hevc -q very_high -o ~/videos/video.mkv
Expected behavior
Lower audio latency
Screenshots
"nodesync-build" uses the commits that fixed the audio desync. "desync-build" is the build I used to report #7. the lines show when it appears on video, the waveform shows the audio.
Desktop (please complete the following information):
X11 or Wayland: Wayland
Desktop environment/Window Manager: Sway
Distro: Debian
GPU: Radeon RX 6700XT
Version: Source
I played the video with the command mpv --no-config video.mp4 (if applicable)
I use a laptop with an integrated GPU and a dedicated GPU
I am exploring gpu-screen-recorder-gtk, which I have installed from flathub, on Kubuntu 22.04 (X11) with Intel Corporation Iris Plus Graphics G1 (Ice Lake) GPU. The app is really impressive with very low cpu load. I have some suggestions that I hope will be implemented to improve the software.
There is no debian/ubuntu packages or appimages,which are preferred for many people over flathub that has some limitations and consumes a lot of storage.
The CLI application can't be run using flatpak.
In the GUI, the shortcuts are not active when the application is minimized, which is very annoying.
In the GUI, there is no system tray icon to indicate if the application is recording or paused.
In the GUI, there is no count down to start recording after few seconds.
The current source code repository (https://git.dec05eba.com/gpu-screen-recorder/) is confusing and unfamiliar, I hope the software can be completely ported to github instead of having different repositories.
Describe the bug
I was testing the flatpak version (provided by @dec05eba) which gratefully fixed the audio bug when using pulseaudio, so I decided to use two sinks and see the behavior. Everything seems to sound ok, but as soon as I switch sinks (as seen on the video) the sound seems to overlap over the other and then cause major synchronization issues.
To Reproduce
The GPU Screen Recorder command you ran or if you used the GUI version then describe which options you used.
Go to sound settings and switch between those two sinks
Once you save the recording and watch it, you'll notice the desync bug right away when you switch sinks on the video
Expected behavior
The audio should remain in sync even if you switch between sinks. It is my understanding that unless you separate the sinks using the option -a , then by separating them using | (pipe), should merge them into a single track, thus monitoring both sinks and keeping the audio on sync throughout the video.
Screenshots
Replay_2024-04-11_18-49-14.mp4
Desktop (please complete the following information):
X11 or Wayland: X11
Desktop environment/Window Manager: GNOME3
Distro: Linux Mint 21.3 Cinnamon
GPU: NVIDIA Corporation GA106M [GeForce RTX 3060 Mobile / Max-Q]
Version: flatpak (provided by @dec05eba, soon to go live)
Describe the bug
So I've been refining the GSR Script I use to replay (They launch on system startup), and I noticed that when saving replays they would save with some choppiness to them (latency perhaps?). Note that this is no longer a sync issue, as you will see in the video it is completely in sync. The issue is the chop.
Describe the bug
Audio will eventually desync from the video after a while
To Reproduce
gpu-screen-recorder -w screen -f 120 -a "$(pactl get-default-sink).monitor" -cr full -fm cfr -ac opus -k hevc -q very_high -o ~/videos/video.mkv
Expected behavior
Video and audio to remain in sync
Videos
Start of the recording:
start_of_video.mp4
~2 hours into the recording:
end_of_video.mp4
Desktop (please complete the following information):
X11 or Wayland: Wayland
Desktop environment/Window Manager: Sway
Distro: Debian (reproducible on my arch system as well)
GPU: Radeon RX 6700XT
Version: Source
I can provide more examples than the ones posted if required, it helps to watch the input button on the bottom right to see the difference in latency better, using a waveform makes this extremely obvious.
I'm not running any audio processing software.
I'm not able to reproduce this behaviour with obs.
I'm able to reproduce this on every game I've tried, the game in the videos is osu!
I played the video with the command mpv --no-config video.mp4 (if applicable)
I use a laptop with an integrated GPU and a dedicated GPU
Describe the bug
Flatpak version of the GTK version gives the error (screenshot) while the package it is asking me for is already installed on my system.
To Reproduce
Open latest GUI version installed from flathub with the correct packages installed
Expected behavior
Application opens without the encoder missing error
Screenshots
Desktop (please complete the following information):
X11 or Wayland: X11
Desktop environment/Window Manager: KDE 6
Distro: Arch
GPU: AMD RX6500 XT
Version: (latest flatpak version, aur or source) flatpak gui/gtk
Additional context
I know for a fact that they work because OBS can open for me just fine. Would prefer to use this though as it looks very promising and easy to use compared to the built in replay option in OBS. Thanks in advance :)
I played the video with the command mpv --no-config video.mp4 (if applicable)
I use a laptop with an integrated GPU and a dedicated GPU
Describe the bug
After changing from the workspace the game is on to another workspace and back (might take a few tries/minutes), the game stutters periodically.
To Reproduce gpu-screen-recorder -w DP-3 -f 60 -q medium -r 20 -k h264 -c mp4 -ac aac -a "$(pactl get-default-sink).monitor" -o /tmp -v no -sc scripts/clip_upload.sh
This happens on sway and hyprland. On every game I played so far (Proton games: Overwatch, Helldivers II)
After killing the gpu-screen-recorder process, the stutters go away, else they don't seem to stop.
Desktop (please complete the following information):
X11 or Wayland: Wayland
Desktop environment/Window Manager: Sway and hyprland
Distro: Arch
GPU: RX 7900 XT
Version: aur
Additional context
I couldn't record these stutters with OBS, but gpu-screen-recorder seems to record them.
I have this issue for a long time now and thought its a driver issue >_<
Couldn't reproduce on desktop only drm_info
Output always starts with this. There is no output as the stuttering starts.
[h264_vaapi @ 0x5646698fb280] ignoring invalid SAR: 0/0
[h264_vaapi @ 0x5646698fb280] Driver does not support some wanted packed headers (wanted 0xd, found 0x1).
gsr info: gsr_kms_client_init: waiting for server to connect
kms server info: connecting to the client
gsr info: gsr_kms_client_init: server connected
gsr info: replacing file-backed unix domain socket with socketpair
kms server info: connected to the client
gsr info: using socketpair
[h264_vaapi @ 0x5646698fb280] ignoring invalid SAR: 0/0
[h264_vaapi @ 0x5646698fb280] Driver does not support some wanted packed headers (wanted 0xd, found 0x1).
I played the video with the command mpv --no-config video.mp4 (if applicable)
I use a laptop with an integrated GPU and a dedicated GPU