TURBORETARD9000,

hmmm
Anyone know about nvenc on manjaro?

@mischievoustomato

mischievoustomato,
@mischievoustomato@rebased.taihou.website avatar

🤔 i dont, actually. What are you trying to do? I can perhaps help, but I have only used VAAPI on amd and intel igpus.

TURBORETARD9000,

@mischievoustomato hhh
OBS Studio on Manjaro, GTX 1070 Ti with i7 6700

TURBORETARD9000,

@mischievoustomato Getting "Generic error in external library"
pacman -Qs nvidia reveals:

local/cuda 12.3.1-2
NVIDIA's GPU programming toolkit
local/cuda-tools 12.3.1-2
NVIDIA's GPU programming toolkit (extra tools: nvvp, nsight)
local/egl-wayland 2:1.1.13-1
EGLStream-based Wayland external platform
local/ffnvcodec-headers 12.1.14.0-1
FFmpeg version of headers required to interface with Nvidias codec APIs
local/lib32-libvdpau 1.5-2
Nvidia VDPAU library
local/lib32-nvidia-utils 545.29.06-1
NVIDIA drivers utilities (32-bit)
local/libva-nvidia-driver 0.0.11-1
VA-API implementation that uses NVDEC as a backend
local/libvdpau 1.5-2
Nvidia VDPAU library
local/libxnvctrl 545.29.06-1
NVIDIA NV-CONTROL X extension
local/linux65-nvidia 545.29.06-13 (linux65-extramodules)
NVIDIA drivers for linux
local/mhwd-nvidia 545.29.06-2
MHWD module-ids for nvidia 545.29.06
local/mhwd-nvidia-390xx 390.157-9
MHWD module-ids for nvidia 390.157
local/mhwd-nvidia-470xx 470.223.02-1
MHWD module-ids for nvidia 470.223.02
local/nvidia-settings 545.29.06-1
Tool for configuring the NVIDIA graphics driver
local/nvidia-utils 545.29.06-2
NVIDIA drivers utilities
local/opencl-nvidia 545.29.06-2
OpenCL implemention for NVIDIA

mischievoustomato,
@mischievoustomato@rebased.taihou.website avatar

try using the default settings for the encoder first. I really don't know how nvidia's shit is

TURBORETARD9000,

@mischievoustomato I've narrowed it down to H.264 working, but HEVC not working

mischievoustomato,
@mischievoustomato@rebased.taihou.website avatar

🗿 i can encode h265 on my laptop just fine and its just an intel igpu
(yes, intel quicksync on laptops beats NVENC on dedicated gpus)

TURBORETARD9000,

@mischievoustomato Wondering if switching to free drivers would work?
Maybe?

mischievoustomato,
@mischievoustomato@rebased.taihou.website avatar

most likely not. there's a vaapi wrapper for nvenc iirc though

TURBORETARD9000,

@mischievoustomato found something I didn't install yet: libvdpau-va-gl

mischievoustomato,
@mischievoustomato@rebased.taihou.website avatar
TURBORETARD9000,

@mischievoustomato > decode only

mischievoustomato,
@mischievoustomato@rebased.taihou.website avatar

sorry

TURBORETARD9000,

@mischievoustomato beh worst case I'm stuck with H.264

TURBORETARD9000,

@mischievoustomato What would be the process for transcoding upwards? If I puff up the recording bitrate and such, could I transcode to a better codec?

mischievoustomato,
@mischievoustomato@rebased.taihou.website avatar

yeah. you'll want around 20Mbps or more depending on what you record. I used the CQ bitrate control and set it to like idk 15. You want flawless quality to then make the better cpu encoders do their shit

TURBORETARD9000,

@mischievoustomato kayyyyyy so that's
NVENC H.264
CQP 15, P6, High Quality, Two Passes, high, Psycho Visual Tuning Enabled, 2 B-frames
FFMpeg AAC, 48khz

Canvas 1920x1080, Scaled 1280x720, Lanczos

NV12, Rec.709, Full

Any tweaks?

mischievoustomato,
@mischievoustomato@rebased.taihou.website avatar

record in flac, imo
> canvas 1080p
> scaled to 720
what

TURBORETARD9000,

@mischievoustomato ok now that I think about it since I'm not streaming that may not be needed

TURBORETARD9000,

@mischievoustomato wtff
Now that I'm in what I'm trying to record, it's not liking NVENC H.264 anymore

susie,
@susie@blob.cat avatar

@TURBORETARD9000 @mischievoustomato Make sure ffmpeg is built with nvenc enabled for starters. I have no idea about what you are doing, just popped in here xD But if you are just trying to encode something, use ffmpeg (and OBS if need to).

TURBORETARD9000,

@susie @mischievoustomato trying to record BeamNG with OBS Studio on Manjaro

susie,
@susie@blob.cat avatar

@TURBORETARD9000 @mischievoustomato >Manjaro
Why are you torturing yourself? :blobcatsadhug:

TURBORETARD9000,

@susie @mischievoustomato idk it looked like one of the better gaming distros

susie,
@susie@blob.cat avatar

@TURBORETARD9000 @mischievoustomato Get out while you can is my advice. For "gaming" distros I guess PopOS might be fine, because they make sure nvidia stuff works out of the box so can just relax. In general stick to mainstream stuff for best support, Manjaro is Arch but worse (much much worse).

TURBORETARD9000,

@susie @mischievoustomato My laptop was running Ubuntu LTS...

susie,
@susie@blob.cat avatar

@TURBORETARD9000 @mischievoustomato >LTS
>Gaming

Don't make me start quoting your posts :blobcatsadhug: Normal Ubuntu might be fine idk, I avoid it lol Go for Fedora, Debian, PopOS or something that has good lutris support (that's what linux gamers still use, right?).

TURBORETARD9000,

@susie @mischievoustomato fuck if I know I grew up on Windows 7

susie,
@susie@blob.cat avatar

@TURBORETARD9000 @mischievoustomato (Windows 11 is a solid alternative just saying)

TURBORETARD9000,

@susie @mischievoustomato NOOOOOO I WILL NOT
I BANISH THEE FOUL DEMON

TURBORETARD9000,

@susie @mischievoustomato ughhhh that means re-installing everything thoughhh

TURBORETARD9000,

@mischievoustomato @susie Tomorrow
For now I'll see about ffmpeg with nvenc
Any easy way to check for that?

mischievoustomato,
@mischievoustomato@rebased.taihou.website avatar

ffmpeg 2>&1 | grep nvenc

mischievoustomato,
@mischievoustomato@rebased.taihou.website avatar

arch linux's build does enable nvenc

TURBORETARD9000,

@mischievoustomato @susie Yeah that flag is there, but no h264_nvenc or similar entries

mischievoustomato,
@mischievoustomato@rebased.taihou.website avatar

i do have them
ffmpeg -h full | grep nvenc

TURBORETARD9000,

@mischievoustomato @susie mofo
There they are

TURBORETARD9000,

@mischievoustomato @susie WHY ISN'T IT WORKING THEN REEEEE

susie,
@susie@blob.cat avatar

@TURBORETARD9000 @mischievoustomato What is the error message on ffmpeg? Might be you just did something else wrong...

To quickly test if it is working you could do: ffmpeg -hwaccel cuda -hwaccel_output_format cuda -i input.mp4 -c:v h264_nvenc output.mp4

TURBORETARD9000,

@susie @mischievoustomato well the thing is ffmpeg isn't throwing errors, OBS is
> Failed to open NVENC codec: Generic error in an external library

TURBORETARD9000,

@susie @mischievoustomato ...
The successful trial used CBR not CQP

TURBORETARD9000,

@mischievoustomato @susie rather, H.264, CBR 2500
More experiments must be had

mischievoustomato,
@mischievoustomato@rebased.taihou.website avatar

question, do you not have a cpu with an intel or amd igpu?

TURBORETARD9000,

@mischievoustomato @susie I do, but it's the i7-6700

mischievoustomato,
@mischievoustomato@rebased.taihou.website avatar

what igpu does it have...

mischievoustomato,
@mischievoustomato@rebased.taihou.website avatar

it supports quicksync. You can use VAAPI encoding with it then!
you need to install intel-media-driver and obs-vaapi

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • Hentai
  • doujinshi
  • announcements
  • general
  • All magazines