NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Linux v
« Previous 1 … 6 7 8 9 10 … 34 Next »
FFMpeg and Vaapi acceleration

 
  • 0 Vote(s) - 0 Average
FFMpeg and Vaapi acceleration
dlfergrd
Offline

Junior Member

Canada
Posts: 23
Threads: 4
Joined: Dec 2020
#1
2023-07-03, 08:33 PM
Hello, I would just like to post about a situation I had while installing on Debian 12.
I use an USB HDMI capture device as an extra and ffmpeg utilizing intel hardware acceleration via vaapi.
I had to add the user nextpvr to the render group as ffmpeg was failing to open the /dev/dri/renderD128 driver.

Maybe it was just my setup, but I thought it was worth mentioning.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,106
Threads: 957
Joined: May 2006
#2
2023-07-03, 10:17 PM
The deb installer doesn't add a users to the render group. Typically you often need to do more than adding a user to the render group to get vaapi working but I can still do that, like I do for the audio and video groups, next time I update the deb file.

Martin
dlfergrd
Offline

Junior Member

Canada
Posts: 23
Threads: 4
Joined: Dec 2020
#3
2023-07-03, 11:03 PM
Thanks Martin.
During my testing my ffmpeg command would fail from the command line unless i used sudo.
Once I added myself and nextpvr to the render group the command would work fine.
BTW it was on a clean Debian 12 install.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#4
2023-07-04, 12:03 AM
Thanks for the info.
VCR58
Offline

Posting Freak

Marion Iowa, USA
Posts: 1,845
Threads: 177
Joined: Aug 2016
#5
2023-07-04, 04:04 AM (This post was last modified: 2023-07-04, 04:05 AM by VCR58.)
(2023-07-03, 11:03 PM)dlfergrd Wrote: Thanks Martin.
During my testing my ffmpeg command would fail from the command line unless i used sudo.
Once I added myself and nextpvr to the render group the command would work fine.
BTW it was on a clean Debian 12 install.

For Debian 11 I have user nextpvr and myself added to the render group as well. I think only nextpvr user is needed for the NextPVR VAAPI Video Encoder setting.

Also, needed to install the correct driver for my CPU for VAAPI. Possibly Debian 12 already has those drivers installed.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,106
Threads: 957
Joined: May 2006
#6
2023-07-04, 11:26 AM
I had added myself and nextpvr to the render group. You would need to do this to use vaapi on command line tool testing like the OP pointed out.

Martin
dlfergrd
Offline

Junior Member

Canada
Posts: 23
Threads: 4
Joined: Dec 2020
#7
2023-07-05, 01:37 AM
(2023-07-04, 04:04 AM)VCR58 Wrote:
(2023-07-03, 11:03 PM)dlfergrd Wrote: Thanks Martin.
During my testing my ffmpeg command would fail from the command line unless i used sudo.
Once I added myself and nextpvr to the render group the command would work fine.
BTW it was on a clean Debian 12 install.

For Debian 11 I have user nextpvr and myself added to the render group as well. I think only nextpvr user is needed for the NextPVR VAAPI Video Encoder setting.

Also, needed to install the correct driver for my CPU for VAAPI. Possibly Debian 12 already has those drivers installed.

Everything worked ok for me on Debian 11 without adding to the render group.
You would still have to install the non-free intel drivers in Deb 12.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Settings for ffmpeg retrofan 2 664 2024-08-17, 04:55 PM
Last Post: retrofan
  FFMPEG CPU usage VCR58 8 1,573 2023-08-02, 12:51 AM
Last Post: VCR58
  Specify render device for VAAPI? nethead25 1 1,099 2022-04-05, 03:17 PM
Last Post: mvallevand
  Extras Device, FFMpeg hw acceleration dlfergrd 8 2,201 2021-09-05, 03:41 PM
Last Post: dlfergrd
  VAAPI transcoder setting VCR58 4 3,158 2021-07-10, 10:23 PM
Last Post: VCR58
  Can't get VAAPI working for recording auto transcode patstr 7 2,691 2020-07-19, 06:22 PM
Last Post: mvallevand

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode