Welcome to our peer-to-peer forums, where owners help owners. Need help now? Visit eSupport here.

English Community

Gaming – Lenovo LegionGaming Laptops
All Forum Topics
Options

2 Posts

07-01-2021

Germany

3 Signins

10 Page Views

  • Posts: 2
  • Registered: ‎07-01-2021
  • Location: Germany
  • Views: 10
  • Message 31 of 197

Re:Legion 5 Pro NVENC error NV_ENC_ERR_UNSUPPORTED_PARAM

2021-07-01, 18:23 PM

I have the same problem when i want to use NVENC to stream my desktop using software like Parsec or Rainway.
Turning on HDR didnt help for me.
Hope for a fix soon as i need this for my work :/

Reply
Options

11 Posts

07-02-2021

Germany

11 Signins

50 Page Views

  • Posts: 11
  • Registered: ‎07-02-2021
  • Location: Germany
  • Views: 50
  • Message 32 of 197

Re:Legion 5 Pro NVENC error NV_ENC_ERR_UNSUPPORTED_PARAM 12

2021-07-04, 18:07 PM

Hi,

 

recording the screen with any application on my Legion 5 Pro doesn't work. For example in OBS I get the error I mentioned in the subject. It seems to be a problem with the NVENC. Does anyone else have this problem and has been able to fix it?

 

 

i did a NVenc check and i see the H.264/AVC is missing from teh available codecs. maybe lenovo forgot to include the H264 licenses somewhere?


posting my code for reference:


```
NVEncC (x86) 5.34 (r1978) by rigaya, Jun 15 2021 11:49:23 (VC 1929/Win)
  [NVENC API v11.0, CUDA 11.1]
 reader: raw, y4m, avi, avs, vpy, avsw, avhw [H.264/AVC, H.265/HEVC, MPEG2, VP8, VP9, VC-1, MPEG1, MPEG4, AV1]
InitCuda: device #0.

Checking Environment Info...
NVEncC (x86) 5.34 (r1978) by rigaya, Jun 15 2021 11:49:23 (VC 1929/Win)
OS Version     Windows 10 x64 (22000)
CPU            AMD Ryzen 7 5800H with Radeon Graphics [4.13GHz] (8C/16T)
cuInit: Success.
cuvidInit: Success.
InitCuda: Success.
cuDeviceGetCount: Success.
gpuinfo: checking for device #0.
gpuinfo:   cuDeviceGet(0): success
gpuinfo:   cuDeviceGetName(0): NVIDIA GeForce RTX 3070 Laptop GPU
gpuinfo:   cudaDeviceGetAttribute: CUDA 8.6
gpuinfo:   PCIBusId: 0000:01:00.0
gpuinfo:   NV Driver version: 2147483647.
gpuinfo:   CUDA Driver version: 11040.
gpuinfo: using cuda schedule mode: auto.
gpuinfo: cuCtxCreate: Success.
gpuinfo: cuCtxPopCurrent: Success.
gpuinfo: cuvidCtxLockCreate: Success.
nvenc : Loaded nvEncodeAPI.dll.
nvenc : nvEncodeAPICreateInstance(APIVer=0x7002000b): Success.
nvenc : Opened Encode Session (API ver 11.0)
nvenc : NvEncOpenEncodeSessionEx(device_type=NV_ENC_DEVICE_TYPE_CUDA): Success.
gpuinfo:   createDeviceFeatureList
InitDeviceList: Success.
#0: NVIDIA GeForce RTX 3070 Laptop GPU (5120 cores, 1560 MHz)[2147483.64]
Avaliable Codec(s)
H.265/HEVC
gpuinfo: Closing device #0: NVIDIA GeForce RTX 3070 Laptop GPU...
gpuinfo: Closing Encoder...
nvenc : nvEncDestroyEncoder...
nvenc : nvEncDestroyEncoder: success.
gpuinfo: Closed Encoder.
gpuinfo: Closed cuvid Ctx Lock...
gpuinfo: Closed cuvid Ctx Lock.
gpuinfo: Closed CUDA Context...
gpuinfo: Closed CUDA Context.
gpuinfo: Closed device #0: NVIDIA GeForce RTX 3070 Laptop GPU.
Closed EncodeStatus.
Closing perf monitor...
Closing logger...
```

Cheers

Reply
Options

32 Posts

05-29-2021

Germany

28 Signins

166 Page Views

  • Posts: 32
  • Registered: ‎05-29-2021
  • Location: Germany
  • Views: 166
  • Message 33 of 197

Re:Legion 5 Pro NVENC error NV_ENC_ERR_UNSUPPORTED_PARAM

2021-07-04, 18:55 PM

Hi.

 

Yes. Try in the settings the Encoder X264 and not H.264 maybe it then records again but it goes high on the CPU usage.

Reply
Options

11 Posts

07-02-2021

Germany

11 Signins

50 Page Views

  • Posts: 11
  • Registered: ‎07-02-2021
  • Location: Germany
  • Views: 50
  • Message 34 of 197

Re:Legion 5 Pro NVENC error NV_ENC_ERR_UNSUPPORTED_PARAM

2021-07-04, 19:58 PM

Hi jack,

I have a 5 pro and i did a NVenc check and i see the H.264/AVC is missing from the available codecs. did evrything possible from windows clean install to GPU DDU. maybe lenovo forgot to include the H264 licenses somewhere?
checked with few ppl, the code for them showed both H265 and H264, while mine shows only H265


posting my code for reference:


```
NVEncC (x86) 5.34 (r1978) by rigaya, Jun 15 2021 11:49:23 (VC 1929/Win)
  [NVENC API v11.0, CUDA 11.1]
 reader: raw, y4m, avi, avs, vpy, avsw, avhw [H.264/AVC, H.265/HEVC, MPEG2, VP8, VP9, VC-1, MPEG1, MPEG4, AV1]
InitCuda: device #0.

Checking Environment Info...
NVEncC (x86) 5.34 (r1978) by rigaya, Jun 15 2021 11:49:23 (VC 1929/Win)
OS Version     Windows 10 x64 (22000)
CPU            AMD Ryzen 7 5800H with Radeon Graphics [4.13GHz] (8C/16T)
cuInit: Success.
cuvidInit: Success.
InitCuda: Success.
cuDeviceGetCount: Success.
gpuinfo: checking for device #0.
gpuinfo:   cuDeviceGet(0): success
gpuinfo:   cuDeviceGetName(0): NVIDIA GeForce RTX 3070 Laptop GPU
gpuinfo:   cudaDeviceGetAttribute: CUDA 8.6
gpuinfo:   PCIBusId: 0000:01:00.0
gpuinfo:   NV Driver version: 2147483647.
gpuinfo:   CUDA Driver version: 11040.
gpuinfo: using cuda schedule mode: auto.
gpuinfo: cuCtxCreate: Success.
gpuinfo: cuCtxPopCurrent: Success.
gpuinfo: cuvidCtxLockCreate: Success.
nvenc : Loaded nvEncodeAPI.dll.
nvenc : nvEncodeAPICreateInstance(APIVer=0x7002000b): Success.
nvenc : Opened Encode Session (API ver 11.0)
nvenc : NvEncOpenEncodeSessionEx(device_type=NV_ENC_DEVICE_TYPE_CUDA): Success.
gpuinfo:   createDeviceFeatureList
InitDeviceList: Success.
#0: NVIDIA GeForce RTX 3070 Laptop GPU (5120 cores, 1560 MHz)[2147483.64]
Avaliable Codec(s)
H.265/HEVC
gpuinfo: Closing device #0: NVIDIA GeForce RTX 3070 Laptop GPU...
gpuinfo: Closing Encoder...
nvenc : nvEncDestroyEncoder...
nvenc : nvEncDestroyEncoder: success.
gpuinfo: Closed Encoder.
gpuinfo: Closed cuvid Ctx Lock...
gpuinfo: Closed cuvid Ctx Lock.
gpuinfo: Closed CUDA Context...
gpuinfo: Closed CUDA Context.
gpuinfo: Closed device #0: NVIDIA GeForce RTX 3070 Laptop GPU.
Closed EncodeStatus.
Closing perf monitor...
Closing logger...

 

 

 

 

found no solution till now, i cannot record anything in my pc using the GPU and that is really bugging me since i cant record or stream in games :(

Reply
Options

32 Posts

05-29-2021

Germany

28 Signins

166 Page Views

  • Posts: 32
  • Registered: ‎05-29-2021
  • Location: Germany
  • Views: 166
  • Message 35 of 197

Re:Legion 5 Pro NVENC error NV_ENC_ERR_UNSUPPORTED_PARAM

2021-07-04, 20:17 PM

Yes. it shows only H.265 but H.265 is not working too.

Reply
Options

11 Posts

07-02-2021

Germany

11 Signins

50 Page Views

  • Posts: 11
  • Registered: ‎07-02-2021
  • Location: Germany
  • Views: 50
  • Message 36 of 197

Re:Legion 5 Pro NVENC error NV_ENC_ERR_UNSUPPORTED_PARAM

2021-07-04, 22:17 PM
yes but i dont want to use CPU, since i record games too and it lags a lot when i record in games.
Reply
Options

32 Posts

05-29-2021

Germany

28 Signins

166 Page Views

  • Posts: 32
  • Registered: ‎05-29-2021
  • Location: Germany
  • Views: 166
  • Message 37 of 197

Re:Legion 5 Pro NVENC error NV_ENC_ERR_UNSUPPORTED_PARAM

2021-07-05, 5:23 AM

Yes, its sad.. my new Legion is installed with all tools i need for Video Editing but its not in use since over 2 Month because of this.

 

i hope i get soon e reply that the Bios update is finished.

 

 

in the meantime, open up a Incident at Lenovo too.

More incidents = more Prioritiy it get's

and maybe access to a beta Bios update?  idk.

Reply
Options

11 Posts

07-02-2021

Germany

11 Signins

50 Page Views

  • Posts: 11
  • Registered: ‎07-02-2021
  • Location: Germany
  • Views: 50
  • Message 38 of 197

Re:Legion 5 Pro NVENC error NV_ENC_ERR_UNSUPPORTED_PARAM

2021-07-05, 10:58 AM

For all the people who dont have the H264 codec working, its because the licensing is missing from your device. possibly ur device has only H265 codec. u can check if u have the codec by extracting this and running terminal in that folder https://github.com/rigaya/NVEnc/releases and make sure u choose the x64 version

The licensing infringement issue that Lenovo has with Nokia which lenovo has silently excluded the H264 codec in some devices

https://mobile-reuters-com.cdn.ampproject.org/v/s/mobile.reuters.com/article/amp/idUSKBN27520D?amp_js_v=a6&amp_gsa=1&usqp=mq331AQKKAFQArABIIACAw%3D%3D#aoh=16254394331126&referrer=https%3A%2F%2Fwww.google.com&amp_tf=From%20%251%24s&ampshare=https%3A%2F%2Fwww.reuters.com%2Farticle%2Fnokia-patent-lenovo-idUSKBN27520D

 

 

I am aware of the x264 codec using cpu, but i'm bringing into light something that has been silently neglected by lenovo and also the x264 is highly system hog and makes my system lag when streaming

 

I hope lenovo looks into this issue and gets the missing licensing for the devices, since H264 is the universal default for most apps like Xbox, OBS, Action, twitch etc

 

cheers

Reply
Options

11 Posts

07-02-2021

Germany

11 Signins

50 Page Views

  • Posts: 11
  • Registered: ‎07-02-2021
  • Location: Germany
  • Views: 50
  • Message 39 of 197

Re:Legion 5 Pro NVENC error NV_ENC_ERR_UNSUPPORTED_PARAM

2021-07-05, 11:05 AM

would H265 be enough for you? if yes try this

https://www.youtube.com/watch?v=saUvxVfrCuI

 

Reply
Options

32 Posts

05-29-2021

Germany

28 Signins

166 Page Views

  • Posts: 32
  • Registered: ‎05-29-2021
  • Location: Germany
  • Views: 166
  • Message 40 of 197

Re:Legion 5 Pro NVENC error NV_ENC_ERR_UNSUPPORTED_PARAM

2021-07-05, 11:39 AM

H.265 is shown there but still it doesn't work.

All Apps that use H.265, if you can select it, it doesn't do anything, some just crashes, some freezes or doing nothing for Hours...

 

Hope a Fix comes soon...

Reply
Forum Home

Community Guidelines

Please review our Guidelines before posting.

Learn More

Check out current deals!

Go Shop
X

Save

X

Delete

X

No, I don’t want to share ideas Yes, I agree to these terms