Livepool-io / transcoder

Livepool transcoder releases
18 stars 5 forks source link

[h264_nvenc @ 0x46d8300] OpenEncodeSessionEx failed: out of memory (10): (no details) #4

Closed pentateu closed 3 years ago

pentateu commented 3 years ago

Hi,

Trying to run the livepool on hiveOS and getting the following error:

I0315 05:59:15.873073 1048 livepool.go:244] Livepeer is running on the offchain network [mpegts @ 0x347e840] Format mpegts detected only with low score of 2, misdetection possible! [mpegts @ 0x34b8540] Format mpegts detected only with low score of 2, misdetection possible! [h264_nvenc @ 0x46d8300] OpenEncodeSessionEx failed: out of memory (10): (no details) ERROR: encoder.c:199] Error opening video encoder : Cannot allocate memory ERROR: transcoder.c:173] Unable to open output : Cannot allocate memory E0315 05:59:16.328876 1048 ffmpeg.go:364] Transcoder Return : Cannot allocate memory F0315 05:59:16.382445 1048 livepool.go:286] Unable to transcode using Nvidia gpu=0 err=Cannot allocate memory

I have RTX 3090, 2080 TI and 1080. I have tested on each one individually and same error.

I have tried with and without other miners running. Specs: Version: livepool v0.5.14 Multi-Region Support 🌍 System type linux Kernel 5.4.0-hiveos

raptistasos commented 3 years ago

Hi,

I am getting the same error on Windows 10 with a GTX 1070

h4rq commented 3 years ago

I had the same problem, did you apply the patch for nvidia drivers?


From: Tasos Raptis @.> Sent: Tuesday, March 16, 2021 3:22:19 PM To: Livepool-io/transcoder @.> Cc: Subscribed @.***> Subject: Re: [Livepool-io/transcoder] [h264_nvenc @ 0x46d8300] OpenEncodeSessionEx failed: out of memory (10): (no details) (#4)

Hi,

I am getting the same error on Windows 10 with a GTX 1070

β€” You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/Livepool-io/transcoder/issues/4#issuecomment-800301454, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AQUI347ZC4ISJKRGS7NPKWLTD5SRXANCNFSM4ZFYOWTQ.

pentateu commented 3 years ago

No, I don't think I have applied a patch.

Can you point out which one ?

Cheers

On Wed, Mar 17, 2021 at 4:25 AM h4rq @.***> wrote:

I had the same problem, did you apply the patch for nvidia drivers?


From: Tasos Raptis @.> Sent: Tuesday, March 16, 2021 3:22:19 PM To: Livepool-io/transcoder @.> Cc: Subscribed @.***> Subject: Re: [Livepool-io/transcoder] [h264_nvenc @ 0x46d8300] OpenEncodeSessionEx failed: out of memory (10): (no details) (#4)

Hi,

I am getting the same error on Windows 10 with a GTX 1070

β€” You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub< https://github.com/Livepool-io/transcoder/issues/4#issuecomment-800301454>, or unsubscribe< https://github.com/notifications/unsubscribe-auth/AQUI347ZC4ISJKRGS7NPKWLTD5SRXANCNFSM4ZFYOWTQ

.

β€” You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Livepool-io/transcoder/issues/4#issuecomment-800359771, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGPVH5PDXGPTZAGETDZ5CTTD5Z5DANCNFSM4ZFYOWTQ .

-- Best Regards, Rafael

h4rq commented 3 years ago

I'm not sure if I can link it directly here, so you just google nvenc session patch and follow the necessary steps.


From: Rafael Almeida @.> Sent: Wednesday, March 17, 2021 2:34:27 AM To: Livepool-io/transcoder @.> Cc: h4rq @.>; Comment @.> Subject: Re: [Livepool-io/transcoder] [h264_nvenc @ 0x46d8300] OpenEncodeSessionEx failed: out of memory (10): (no details) (#4)

No, I don't think I have applied a patch.

Can you point out which one ?

Cheers

On Wed, Mar 17, 2021 at 4:25 AM h4rq @.***> wrote:

I had the same problem, did you apply the patch for nvidia drivers?


From: Tasos Raptis @.> Sent: Tuesday, March 16, 2021 3:22:19 PM To: Livepool-io/transcoder @.> Cc: Subscribed @.***> Subject: Re: [Livepool-io/transcoder] [h264_nvenc @ 0x46d8300] OpenEncodeSessionEx failed: out of memory (10): (no details) (#4)

Hi,

I am getting the same error on Windows 10 with a GTX 1070

β€” You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub< https://github.com/Livepool-io/transcoder/issues/4#issuecomment-800301454>, or unsubscribe< https://github.com/notifications/unsubscribe-auth/AQUI347ZC4ISJKRGS7NPKWLTD5SRXANCNFSM4ZFYOWTQ

.

β€” You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Livepool-io/transcoder/issues/4#issuecomment-800359771, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGPVH5PDXGPTZAGETDZ5CTTD5Z5DANCNFSM4ZFYOWTQ .

-- Best Regards, Rafael

β€” You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/Livepool-io/transcoder/issues/4#issuecomment-800726202, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AQUI34YIBQFLH2CUXP3VIZLTEABKHANCNFSM4ZFYOWTQ.

pentateu commented 3 years ago

;) thx

On Wed, Mar 17, 2021 at 10:45 PM h4rq @.***> wrote:

I'm not sure if I can link it directly here, so you just google nvenc session patch and follow the necessary steps.


From: Rafael Almeida @.> Sent: Wednesday, March 17, 2021 2:34:27 AM To: Livepool-io/transcoder @.> Cc: h4rq @.>; Comment @.> Subject: Re: [Livepool-io/transcoder] [h264_nvenc @ 0x46d8300] OpenEncodeSessionEx failed: out of memory (10): (no details) (#4)

No, I don't think I have applied a patch.

Can you point out which one ?

Cheers

On Wed, Mar 17, 2021 at 4:25 AM h4rq @.***> wrote:

I had the same problem, did you apply the patch for nvidia drivers?


From: Tasos Raptis @.> Sent: Tuesday, March 16, 2021 3:22:19 PM To: Livepool-io/transcoder @.> Cc: Subscribed @.***> Subject: Re: [Livepool-io/transcoder] [h264_nvenc @ 0x46d8300] OpenEncodeSessionEx failed: out of memory (10): (no details) (#4)

Hi,

I am getting the same error on Windows 10 with a GTX 1070

β€” You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub<

https://github.com/Livepool-io/transcoder/issues/4#issuecomment-800301454 , or unsubscribe<

https://github.com/notifications/unsubscribe-auth/AQUI347ZC4ISJKRGS7NPKWLTD5SRXANCNFSM4ZFYOWTQ

.

β€” You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub < https://github.com/Livepool-io/transcoder/issues/4#issuecomment-800359771 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AAGPVH5PDXGPTZAGETDZ5CTTD5Z5DANCNFSM4ZFYOWTQ

.

-- Best Regards, Rafael

β€” You are receiving this because you commented. Reply to this email directly, view it on GitHub< https://github.com/Livepool-io/transcoder/issues/4#issuecomment-800726202>, or unsubscribe< https://github.com/notifications/unsubscribe-auth/AQUI34YIBQFLH2CUXP3VIZLTEABKHANCNFSM4ZFYOWTQ

.

β€” You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Livepool-io/transcoder/issues/4#issuecomment-800943905, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGPVH2SAHVSDK6CAW7LFSDTEB235ANCNFSM4ZFYOWTQ .

-- Best Regards, Rafael

pentateu commented 3 years ago

after the patch it works :)

Magosgruss commented 3 years ago

This should be mentioned on the release download page. I basically spent an entire day trying to figure out what was wrong before giving up and going to sleep then thinking about it again when I woke up and finding this by searching a different part of the error message and finding a github comment archive of one of the users in this thread and then looking up the repo and going to the issues tab. That's a lot for a normal user to do and I suspect most of the people who get this are just giving up.

matbee-eth commented 2 years ago
I0204 14:46:33.976672    9764 livepool.go:277] Transcoding on these Nvidia GPUs: [0]
[mpegts @ 0000020ddc89c280] Format mpegts detected only with low score of 2, misdetection possible!
[mpegts @ 0000020ddc89c280] Format mpegts detected only with low score of 2, misdetection possible!
[h264_nvenc @ 0000020de35a0d00] OpenEncodeSessionEx failed: out of memory (10): (no details)
ERROR: encoder.c:238] Error opening video encoder : Cannot allocate memory
ERROR: transcoder.c:186] Unable to open output : Cannot allocate memory
E0204 14:46:34.211765    9764 ffmpeg.go:503] Transcoder Return : Cannot allocate memory
F0204 14:46:34.263437    9764 livepool.go:282] Unable to transcode using Nvidia gpu=0 err=Cannot allocate memory

I would suggest having a friendly error pointing to a solution would be a good idea