NVENC on gtx 660ti not working

Hello everybody,
I’m quite new to EndevourOs, I installed nvidia 470 driver for my 660Ti, but today I tried OBS to record my desktop and I got an error saying: “codec NVENC: Generic error in an external library”. Is it something I can fix? If yes could you help me please?

I attach the log of inxi -Gza

  Device-1: NVIDIA GK104 [GeForce GTX 660 Ti] vendor: Gigabyte driver: nvidia
    v: 470.161.03 alternate: nouveau,nvidia_drm non-free: series: 470.xx+
    status: legacy-active (EOL~2023/24) arch: Kepler code: GKxxx
    process: TSMC 28nm built: 2012-18 pcie: gen: 1 speed: 2.5 GT/s lanes: 16
    link-max: gen: 3 speed: 8 GT/s bus-ID: 09:00.0 chip-ID: 10de:1183
    class-ID: 0300
  Display: x11 server: X.Org v: 21.1.6 compositor: kwin_x11 driver: N/A
    display-ID: :0 screens: 1
  Screen-1: 0 s-res: 2944x1080 s-dpi: 86 s-size: 870x312mm (34.25x12.28")
    s-diag: 924mm (36.39")
  Monitor-1: DVI-D-0 pos: primary,right res: 1920x1080 hz: 60 dpi: 102
    size: 477x268mm (18.78x10.55") diag: 547mm (21.54") modes: N/A
  Monitor-2: DVI-I-0 pos: left res: 1024x768 hz: 60 dpi: 86
    size: 304x228mm (11.97x8.98") diag: 380mm (14.96") modes: N/A
  API: OpenGL v: 4.6.0 NVIDIA 470.161.03 renderer: NVIDIA GeForce GTX 660
    Ti/PCIe/SSE2 direct render: Yes

Maybe GPU doesn’t support it. Try in OBS?

Settings" then select “Output”. Change “Encoding” to “Software” under “Streaming” and "Recording.


Hello and welcome to community bro :stuck_out_tongue:
I’ll remember about obs… I read something about video accel. and you may need to ensure “disable” any browser hardware video accel. before starting obs, looks like browsers can “lock” your gpu hardware…
Now I’m curious to replicate issue on my machine so later I post news about. Bye

1 Like

Absolute madness for try installing obs-studio package man, lool :slight_smile:
First attempt from community repo fail and obs simple don’t start on my endeavour, got segfault on early init. stage, well also I try with obs-studio-git, shipped with more basic plugins but it fail as above.
So I think better reading about on arch Wiki Open Broadcaster Software and I see isn’t easy to run OBS on Arch lol missing a bunch of object and dependecies, finally give up when try to install some packages like vlc-luajit it required.

Not good OBS on Arch, too much broken, sorry mate. I only can see some output from terminal before crashing, looks like info: NVENC supported but impossible to me verify this.

1 Like

Thank you all for the support :grin:
Changing Encoding to Software allows me to record the screen, so it can be used as a workaround at the expense of cpu usage.
Didn’t imagine that OBS would be such a pain to install and configure, anyway in my case using the cpu to record isn’t really an issue since I have ryzen 5 with 6 cores (12 threads).

Thank you again for all the responses, it’s very nice to be part of this community


never had an issue on gnome+wayland+amd gpu