Latest Comments by kokoko3k
A developer made a ShadowPlay-like high-performance recording tool for Linux
13 April 2022 at 5:03 pm UTC
13 April 2022 at 5:03 pm UTC
Quoting: EhvisI'm not sure to get your point...Quoting: kokoko3kIn other words, the use of nvidia-patch/nvlax, even suggested by the developer of gpu-screen-recorder for fullscreen captures, is not permitted.
Good thing I don't need their permission then.
A developer made a ShadowPlay-like high-performance recording tool for Linux
12 April 2022 at 5:38 pm UTC
12 April 2022 at 5:38 pm UTC
To anyone suggesting ways to circumvent artificially imposed restrictions by nvidia, it is explicitely prohibited by the driver license:
In other words, the use of nvidia-patch/nvlax, even suggested by the developer of gpu-screen-recorder for fullscreen captures, is not permitted.
Quote2.1.3 Limitations.
No Modification or Reverse Engineering. Customer may not modify (except as provided in Section 2.1.2), reverse engineer, decompile, or disassemble the SOFTWARE, nor attempt in any other manner to obtain the source code.
In other words, the use of nvidia-patch/nvlax, even suggested by the developer of gpu-screen-recorder for fullscreen captures, is not permitted.
A developer made a ShadowPlay-like high-performance recording tool for Linux
11 April 2022 at 12:50 pm UTC Likes: 2
If you capture much and have an IGP available, you may consider switching to a PRIME setup so that you will only tax the igp for grabbing and encoding.
11 April 2022 at 12:50 pm UTC Likes: 2
Quoting: CorbenAtm I'm using nvidia-patch and obs-nvfbc. Normally I don't have many issues with neither window capture nor full screen capture, but recently, when Cyberpunk didn't get captured and I switched to full screen capture, I saw a massive performance hit. Does not happen at all with nvfbc.
Advantage now is, I don't have to worry about creating a new source for a window capture as I can set the obs-nvfbc source to capture just one of my desktops. And the better performance when capturing.
Disadvantage though, I have to patch the nvidia driver with every release, and it's not officially supported.
If you capture much and have an IGP available, you may consider switching to a PRIME setup so that you will only tax the igp for grabbing and encoding.
A developer made a ShadowPlay-like high-performance recording tool for Linux
11 April 2022 at 11:56 am UTC Likes: 9
11 April 2022 at 11:56 am UTC Likes: 9
Another solution for zero copy is to use ffmpeg with kmsgrab.
Yeah, it is not supported by nvidia.
-EDIT-
Quick search revealed others related:
ffmpeg frontend: https://github.com/Saren-Arterius/ussr
zerocopy obs plugin for x11: https://github.com/w23/obs-kmsgrab
zerocopy obs plugin Wayland: https://hg.sr.ht/~scoopta/wlrobs
-EDIT2-
Just made the following, on my system it takes 4% cpu use.
With default values it grabs:
from the first video card found
a portion of 1920x1080
at 30FPS
starting at position 0:0 (upper left)
scales the result to 1280x720
encodes it via vaapi in h264 at excellent quality (and big size ofc).
Yeah, it is not supported by nvidia.
-EDIT-
Quick search revealed others related:
ffmpeg frontend: https://github.com/Saren-Arterius/ussr
zerocopy obs plugin for x11: https://github.com/w23/obs-kmsgrab
zerocopy obs plugin Wayland: https://hg.sr.ht/~scoopta/wlrobs
-EDIT2-
Just made the following, on my system it takes 4% cpu use.
With default values it grabs:
from the first video card found
a portion of 1920x1080
at 30FPS
starting at position 0:0 (upper left)
scales the result to 1280x720
encodes it via vaapi in h264 at excellent quality (and big size ofc).
GRAB_SIZE=1920:1080 # How much of the screen you want to grab
GRAB_XY=0:0 # X:Y (upper-left of the grab area; 0:0 is the most upper left)
FRAMERATE=30 # Capture with this framerate
OUTPUT_SCALE=1280:720 # Rescale to this size
CODEC=h264_vaapi # Video codec, also try hevc_vaapi
QUALITY=18 # Video quality. The higher, the worse.
OUT_FILE=~/video_out.mkv # Write to this output file
ffmpeg -y -device /dev/dri/card0 -f kmsgrab -framerate $FRAMERATE -i - -vaapi_device /dev/dri/renderD128 -vf hwmap=derive_device=vaapi,crop=$GRAB_SIZE:$GRAB_XY,scale_vaapi=$OUTPUT_SCALE:format=nv12 -c:v $CODEC -qp:v $QUALITY $OUT_FILE
Sorry Arch (EndeavourOS), it's not working out any more and hello Fedora
8 April 2022 at 7:51 pm UTC
8 April 2022 at 7:51 pm UTC
Quoting: doctorxPipewire may not be ready yet, but I totally approve his approach to stop the fragmentation in the linux audio ecosystem by embracing the existing technologies instead of trying to just replace them.Quoting: kokoko3kHow ironic,
Pipewire (apparently broken in Arch, which uses default upstream configs) has been created by Wim Taymans, Principal Engineer at Red Hat which in turns sponsors Fedora :)
Even more reason to avoid pipewire
Sorry Arch (EndeavourOS), it's not working out any more and hello Fedora
8 April 2022 at 2:43 pm UTC Likes: 1
But that was more than a decade ago.
Since then, when Arch gave me problems, it was either my fault or upstream fault.
Arch is too much a wonderful distro for me, from the aur to Arch rollback machine, you can have the system you want, upgrade, freeze the state and still be able to install new packages or even roll back to the previous -Syu with little to no effort at all.
Since it gave me so little problems, if i ever wanted to switch to an easier distro for lack of time, I think i'd try mint.
8 April 2022 at 2:43 pm UTC Likes: 1
QuoteThere comes a time when everyone has to sit and think about what they use on their PCTotally agree, that was the reason i switched from gentoo to arch.
But that was more than a decade ago.
Since then, when Arch gave me problems, it was either my fault or upstream fault.
Arch is too much a wonderful distro for me, from the aur to Arch rollback machine, you can have the system you want, upgrade, freeze the state and still be able to install new packages or even roll back to the previous -Syu with little to no effort at all.
Since it gave me so little problems, if i ever wanted to switch to an easier distro for lack of time, I think i'd try mint.
Sorry Arch (EndeavourOS), it's not working out any more and hello Fedora
8 April 2022 at 2:37 pm UTC Likes: 3
8 April 2022 at 2:37 pm UTC Likes: 3
How ironic,
Pipewire (apparently broken in Arch, which uses default upstream configs) has been created by Wim Taymans, Principal Engineer at Red Hat which in turns sponsors Fedora :)
Pipewire (apparently broken in Arch, which uses default upstream configs) has been created by Wim Taymans, Principal Engineer at Red Hat which in turns sponsors Fedora :)
The Steam Deck hit me over the head with feelings of nostalgia
5 April 2022 at 5:34 pm UTC
5 April 2022 at 5:34 pm UTC
Keep up the fun!
Syncthing is a great way to transfer files from PC to Steam Deck
26 March 2022 at 11:56 pm UTC Likes: 1
26 March 2022 at 11:56 pm UTC Likes: 1
Quoting: Kiwiimtp shortcomings do not depend on the transmission medium, but on the (poorly documented) protocol.Quoting: kokoko3kMaybe via usb cable to avoid network troubles too.Then you get mtp troubles instead...
Syncthing is a great way to transfer files from PC to Steam Deck
26 March 2022 at 10:19 am UTC Likes: 2
26 March 2022 at 10:19 am UTC Likes: 2
While my understanding of the meaning of "simple" cannot include the need to perform many steps to accomplish one thing, I can understand that it can still be easier for some to perform what I personally call complexity, instead.
Sure thing is that anybody would agree that Valve should really provide a multiplatform solution which is simple and easy to perform such task out of the box.
Maybe via usb cable to avoid network troubles too.
Sure thing is that anybody would agree that Valve should really provide a multiplatform solution which is simple and easy to perform such task out of the box.
Maybe via usb cable to avoid network troubles too.
- GOG launch their Preservation Program to make games live forever with a hundred classics being 're-released'
- Sony say their PSN account requirement on PC is so you can enjoy their games 'safely'
- Valve dev details more on the work behind making Steam for Linux more stable
- NVIDIA detail upcoming Linux driver features for Wayland and explain current support
- Steam Beta gets fixes for WiFi on Steam Deck, plus AMD GPU startup crash on Desktop
- > See more over 30 days here
-
Sony say their PSN account requirement on PC is so you …
- Kuduzkehpan -
Temtem: Swarm is a survivor-like bullet heaven with cut…
- teablossom -
Get a fresh look at Half-Life 2 RTX in a new video plus…
- Phlebiac -
Half-Life 2 free to keep until November 18th, Episodes …
- ElectricPrism -
Old Skies from Wadjet Eye Games looks like one to remem…
- emphy - > See more comments
- Weekend Players' Club 11/15/2024
- Pengling - Our own anti-cheat list
- Liam Dawe - What do you want to see on GamingOnLinux?
- Linux_Rocks - Does Sinden Lightgun work?
- Linas - Steam and offline gaming
- missingno - See more posts