Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The presence of NvFBC64.dll causes latency and massive stuttering #362

Closed
cstrahan opened this issue Jan 11, 2021 · 1 comment
Closed

The presence of NvFBC64.dll causes latency and massive stuttering #362

cstrahan opened this issue Jan 11, 2021 · 1 comment

Comments

@cstrahan
Copy link

I have found that the presence of the %WINDIR%/System32/NvFBC64.dll causes very bad latency and stuttering. Moving (or deleting) that file and restarting the Looking Glass host process resolves this. If I then move that file back and restart the host, the problem resumes.

I have a video to demonstrate:

https://www.youtube.com/watch?v=bUVgDK6U3FU&feature=youtu.be

Watch the video

Note that the monitor on the left is running Ubuntu with the Looking Glass client running, while the monitor on the right is plugged directly into the GPU passed through to the Windows VM. You can see how at the beginning the icon lags behind the cursor and stutters, and the window movement stutters a lot as well; after moving NvFBC64.dll, everything renders quite smoothly.

I'm guessing that there's some sort of side effect of loading that DLL that taints the host process from that point on, though I have no idea how or why.

This is on version 445.87 of the NVIDIA drivers.

Host log:

   135862209 [I]                app.c:262  | captureStart                   | ==== [ Capture  Start ] ====
   135862855 [I]                app.c:114  | frameThread                    | Frame thread started
   321539991 [I]                app.c:268  | captureStop                    | ==== [ Capture Stop ] ====
   322378457 [I]                app.c:209  | frameThread                    | Frame thread stopped
   322463156 [I]               dxgi.c:390  | dxgi_init                      | Device Descripion: NVIDIA GeForce GTX 1070
   322463809 [I]               dxgi.c:391  | dxgi_init                      | Device Vendor ID : 0x10de
   322464354 [I]               dxgi.c:392  | dxgi_init                      | Device Device ID : 0x1b81
   322464902 [I]               dxgi.c:393  | dxgi_init                      | Device Video Mem : 8088 MiB
   322465453 [I]               dxgi.c:394  | dxgi_init                      | Device Sys Mem   : 0 MiB
   322466019 [I]               dxgi.c:395  | dxgi_init                      | Shared Sys Mem   : 8190 MiB
   322466572 [I]               dxgi.c:396  | dxgi_init                      | Feature Level    : 0xb100
   322467107 [I]               dxgi.c:397  | dxgi_init                      | Capture Size     : 1920 x 1080
   322467669 [I]               dxgi.c:398  | dxgi_init                      | AcquireLock      : enabled
   322469393 [I]               dxgi.c:520  | dxgi_init                      | Source Format    : DXGI_FORMAT_B8G8R8A8_UNORM
   322473844 [I]                app.c:260  | captureStart                   | Capture Size     : 7 MiB (8294400)
   322474368 [I]                app.c:262  | captureStart                   | ==== [ Capture  Start ] ====
   322474974 [I]                app.c:114  | frameThread                    | Frame thread started
  2427864888 [I]                app.c:615  | app_main                       | No subscribers, going to sleep...
  2427866690 [I]                app.c:268  | captureStop                    | ==== [ Capture Stop ] ====
  2428418461 [I]                app.c:209  | frameThread                    | Frame thread stopped
    30036872 [I]           platform.c:329  | app_init                       | System timer resolution: 48.82 ns
    30037757 [I]                app.c:445  | app_main                       | Looking Glass Host (B2-0-g76710ef201)
    30054034 [I]                app.c:455  | app_main                       | IVSHMEM Size     : 32 MiB
    30054436 [I]                app.c:456  | app_main                       | IVSHMEM Address  : 0x2660000
    30054832 [I]                app.c:457  | app_main                       | Max Pointer Size : 64 KiB
    30055211 [I]                app.c:458  | app_main                       | KVMFR Version    : 3
    30056076 [I]                app.c:507  | app_main                       | Max Frame Size   : 15 MiB
    30056464 [I]                app.c:522  | app_main                       | Trying           : NVFBC (NVidia Frame Buffer Capture)
    30059226 [E]          wrapper.cpp:60   | NvFBCInit                      | Failed to load NvFBC64.dll: 0x0000007e (The specified module could not be found.)
    30060072 [I]                app.c:522  | app_main                       | Trying           : DXGI
    30199101 [I]               dxgi.c:390  | dxgi_init                      | Device Descripion: NVIDIA GeForce GTX 1070
    30199788 [I]               dxgi.c:391  | dxgi_init                      | Device Vendor ID : 0x10de
    30200545 [I]               dxgi.c:392  | dxgi_init                      | Device Device ID : 0x1b81
    30200993 [I]               dxgi.c:393  | dxgi_init                      | Device Video Mem : 8088 MiB
    30201412 [I]               dxgi.c:394  | dxgi_init                      | Device Sys Mem   : 0 MiB
    30201809 [I]               dxgi.c:395  | dxgi_init                      | Shared Sys Mem   : 8190 MiB
    30202200 [I]               dxgi.c:396  | dxgi_init                      | Feature Level    : 0xb100
    30202759 [I]               dxgi.c:397  | dxgi_init                      | Capture Size     : 1920 x 1080
    30203205 [I]               dxgi.c:398  | dxgi_init                      | AcquireLock      : enabled
    30204926 [I]               dxgi.c:520  | dxgi_init                      | Source Format    : DXGI_FORMAT_B8G8R8A8_UNORM
    30205988 [I]                app.c:544  | app_main                       | Using            : DXGI
    37145217 [I]                app.c:260  | captureStart                   | Capture Size     : 7 MiB (8294400)
    37145799 [I]                app.c:262  | captureStart                   | ==== [ Capture  Start ] ====
    37146445 [I]                app.c:114  | frameThread                    | Frame thread started
    37147644 [I]                app.c:268  | captureStop                    | ==== [ Capture Stop ] ====
    38147248 [I]                app.c:209  | frameThread                    | Frame thread stopped
    38237391 [I]               dxgi.c:390  | dxgi_init                      | Device Descripion: NVIDIA GeForce GTX 1070
    38237863 [I]               dxgi.c:391  | dxgi_init                      | Device Vendor ID : 0x10de
    38238240 [I]               dxgi.c:392  | dxgi_init                      | Device Device ID : 0x1b81
    38238620 [I]               dxgi.c:393  | dxgi_init                      | Device Video Mem : 8088 MiB
    38239052 [I]               dxgi.c:394  | dxgi_init                      | Device Sys Mem   : 0 MiB
    38239484 [I]               dxgi.c:395  | dxgi_init                      | Shared Sys Mem   : 8190 MiB
    38239881 [I]               dxgi.c:396  | dxgi_init                      | Feature Level    : 0xb100
    38240285 [I]               dxgi.c:397  | dxgi_init                      | Capture Size     : 1920 x 1080
    38240682 [I]               dxgi.c:398  | dxgi_init                      | AcquireLock      : enabled
    38241649 [I]               dxgi.c:520  | dxgi_init                      | Source Format    : DXGI_FORMAT_B8G8R8A8_UNORM
    38245342 [I]                app.c:260  | captureStart                   | Capture Size     : 7 MiB (8294400)
    38245867 [I]                app.c:262  | captureStart                   | ==== [ Capture  Start ] ====
    38246470 [I]                app.c:114  | frameThread                    | Frame thread started
 18808667858 [E]               dxgi.c:835  | dxgi_capture                   | GetCursorInfo failed: 0x00000005 (Access is denied.)
 18808670835 [E]                app.c:608  | app_main                       | Capture interface reported a fatal error
 18809227481 [I]                app.c:209  | frameThread                    | Frame thread stopped
 18809497681 [I]           platform.c:329  | app_init                       | System timer resolution: 48.82 ns
 18809498435 [I]                app.c:445  | app_main                       | Looking Glass Host (B2-0-g76710ef201)
 18809512664 [I]                app.c:455  | app_main                       | IVSHMEM Size     : 32 MiB
 18809513257 [I]                app.c:456  | app_main                       | IVSHMEM Address  : 0x2A30000
 18809513968 [I]                app.c:457  | app_main                       | Max Pointer Size : 64 KiB
 18809514689 [I]                app.c:458  | app_main                       | KVMFR Version    : 3
 18809515730 [I]                app.c:507  | app_main                       | Max Frame Size   : 15 MiB
 18809516272 [I]                app.c:522  | app_main                       | Trying           : NVFBC (NVidia Frame Buffer Capture)
 18809518466 [E]          wrapper.cpp:60   | NvFBCInit                      | Failed to load NvFBC64.dll: 0x0000007e (The specified module could not be found.)
 18809519297 [I]                app.c:522  | app_main                       | Trying           : DXGI
 18809616453 [I]               dxgi.c:390  | dxgi_init                      | Device Descripion: NVIDIA GeForce GTX 1070
 18809617936 [I]               dxgi.c:391  | dxgi_init                      | Device Vendor ID : 0x10de
 18809618597 [I]               dxgi.c:392  | dxgi_init                      | Device Device ID : 0x1b81
 18809619182 [I]               dxgi.c:393  | dxgi_init                      | Device Video Mem : 8088 MiB
 18809620289 [I]               dxgi.c:394  | dxgi_init                      | Device Sys Mem   : 0 MiB
 18809620876 [I]               dxgi.c:395  | dxgi_init                      | Shared Sys Mem   : 8190 MiB
 18809621456 [I]               dxgi.c:396  | dxgi_init                      | Feature Level    : 0xb100
 18809622043 [I]               dxgi.c:397  | dxgi_init                      | Capture Size     : 1920 x 1080
 18809622658 [I]               dxgi.c:398  | dxgi_init                      | AcquireLock      : enabled
 18809624454 [I]               dxgi.c:520  | dxgi_init                      | Source Format    : DXGI_FORMAT_B8G8R8A8_UNORM
 18809625700 [I]                app.c:544  | app_main                       | Using            : DXGI
 18809626577 [I]                app.c:260  | captureStart                   | Capture Size     : 7 MiB (8294400)
 18809627181 [I]                app.c:262  | captureStart                   | ==== [ Capture  Start ] ====
 18809627997 [I]                app.c:114  | frameThread                    | Frame thread started
 18811150981 [I]                app.c:268  | captureStop                    | ==== [ Capture Stop ] ====
 18811155180 [I]                app.c:209  | frameThread                    | Frame thread stopped
 18811249382 [I]               dxgi.c:390  | dxgi_init                      | Device Descripion: NVIDIA GeForce GTX 1070
 18811249961 [I]               dxgi.c:391  | dxgi_init                      | Device Vendor ID : 0x10de
 18811250436 [I]               dxgi.c:392  | dxgi_init                      | Device Device ID : 0x1b81
 18811250913 [I]               dxgi.c:393  | dxgi_init                      | Device Video Mem : 8088 MiB
 18811251422 [I]               dxgi.c:394  | dxgi_init                      | Device Sys Mem   : 0 MiB
 18811251908 [I]               dxgi.c:395  | dxgi_init                      | Shared Sys Mem   : 8190 MiB
 18811252387 [I]               dxgi.c:396  | dxgi_init                      | Feature Level    : 0xb100
 18811252862 [I]               dxgi.c:397  | dxgi_init                      | Capture Size     : 1920 x 1080
 18811253354 [I]               dxgi.c:398  | dxgi_init                      | AcquireLock      : enabled
 18811254661 [I]               dxgi.c:520  | dxgi_init                      | Source Format    : DXGI_FORMAT_B8G8R8A8_UNORM
 18811256329 [I]                app.c:260  | captureStart                   | Capture Size     : 7 MiB (8294400)
 18811256856 [I]                app.c:262  | captureStart                   | ==== [ Capture  Start ] ====
 18811257526 [I]                app.c:114  | frameThread                    | Frame thread started
 18834284925 [E]               dxgi.c:835  | dxgi_capture                   | GetCursorInfo failed: 0x00000005 (Access is denied.)
 18834290271 [E]                app.c:608  | app_main                       | Capture interface reported a fatal error
 18834305531 [I]                app.c:209  | frameThread                    | Frame thread stopped
 18834547520 [I]           platform.c:329  | app_init                       | System timer resolution: 48.82 ns
 18834548267 [I]                app.c:445  | app_main                       | Looking Glass Host (B2-0-g76710ef201)
 18834559485 [I]                app.c:455  | app_main                       | IVSHMEM Size     : 32 MiB
 18834559989 [I]                app.c:456  | app_main                       | IVSHMEM Address  : 0x2A00000
 18834560463 [I]                app.c:457  | app_main                       | Max Pointer Size : 64 KiB
 18834560934 [I]                app.c:458  | app_main                       | KVMFR Version    : 3
 18834561513 [I]                app.c:507  | app_main                       | Max Frame Size   : 15 MiB
 18834562313 [I]                app.c:522  | app_main                       | Trying           : NVFBC (NVidia Frame Buffer Capture)
 18834568485 [I]          wrapper.cpp:88   | NvFBCInit                      | NvFBC SDK Version: 112
 18834761167 [I]                app.c:522  | app_main                       | Trying           : DXGI
 18834832408 [I]               dxgi.c:390  | dxgi_init                      | Device Descripion: NVIDIA GeForce GTX 1070
 18834833023 [I]               dxgi.c:391  | dxgi_init                      | Device Vendor ID : 0x10de
 18834833483 [I]               dxgi.c:392  | dxgi_init                      | Device Device ID : 0x1b81
 18834833949 [I]               dxgi.c:393  | dxgi_init                      | Device Video Mem : 8088 MiB
 18834834417 [I]               dxgi.c:394  | dxgi_init                      | Device Sys Mem   : 0 MiB
 18834834877 [I]               dxgi.c:395  | dxgi_init                      | Shared Sys Mem   : 8190 MiB
 18834835345 [I]               dxgi.c:396  | dxgi_init                      | Feature Level    : 0xb100
 18834835806 [I]               dxgi.c:397  | dxgi_init                      | Capture Size     : 1920 x 1080
 18834836296 [I]               dxgi.c:398  | dxgi_init                      | AcquireLock      : enabled
 18834837637 [I]               dxgi.c:520  | dxgi_init                      | Source Format    : DXGI_FORMAT_B8G8R8A8_UNORM
 18834838702 [I]                app.c:544  | app_main                       | Using            : DXGI
 18834839256 [I]                app.c:260  | captureStart                   | Capture Size     : 7 MiB (8294400)
 18834839774 [I]                app.c:262  | captureStart                   | ==== [ Capture  Start ] ====
 18834840335 [I]                app.c:114  | frameThread                    | Frame thread started
 18835637730 [I]                app.c:268  | captureStop                    | ==== [ Capture Stop ] ====
 18835638388 [I]                app.c:209  | frameThread                    | Frame thread stopped
 18835746183 [I]               dxgi.c:390  | dxgi_init                      | Device Descripion: NVIDIA GeForce GTX 1070
 18835746803 [I]               dxgi.c:391  | dxgi_init                      | Device Vendor ID : 0x10de
 18835747638 [I]               dxgi.c:392  | dxgi_init                      | Device Device ID : 0x1b81
 18835748123 [I]               dxgi.c:393  | dxgi_init                      | Device Video Mem : 8088 MiB
 18835748695 [I]               dxgi.c:394  | dxgi_init                      | Device Sys Mem   : 0 MiB
 18835749184 [I]               dxgi.c:395  | dxgi_init                      | Shared Sys Mem   : 8190 MiB
 18835749788 [I]               dxgi.c:396  | dxgi_init                      | Feature Level    : 0xb100
 18835750338 [I]               dxgi.c:397  | dxgi_init                      | Capture Size     : 1920 x 1080
 18835750827 [I]               dxgi.c:398  | dxgi_init                      | AcquireLock      : enabled
 18835752231 [I]               dxgi.c:520  | dxgi_init                      | Source Format    : DXGI_FORMAT_B8G8R8A8_UNORM
 18835753832 [I]                app.c:260  | captureStart                   | Capture Size     : 7 MiB (8294400)
 18835754361 [I]                app.c:262  | captureStart                   | ==== [ Capture  Start ] ====
 18835755023 [I]                app.c:114  | frameThread                    | Frame thread started
 18854479252 [I]           platform.c:329  | app_init                       | System timer resolution: 48.82 ns
 18854480040 [I]                app.c:445  | app_main                       | Looking Glass Host (B2-0-g76710ef201)
 18854496205 [I]                app.c:455  | app_main                       | IVSHMEM Size     : 32 MiB
 18854497248 [I]                app.c:456  | app_main                       | IVSHMEM Address  : 0x2A80000
 18854498146 [I]                app.c:457  | app_main                       | Max Pointer Size : 64 KiB
 18854499280 [I]                app.c:458  | app_main                       | KVMFR Version    : 3
 18854500384 [I]                app.c:507  | app_main                       | Max Frame Size   : 15 MiB
 18854501347 [I]                app.c:522  | app_main                       | Trying           : NVFBC (NVidia Frame Buffer Capture)
 18854508089 [I]          wrapper.cpp:88   | NvFBCInit                      | NvFBC SDK Version: 112
 18854655076 [I]                app.c:522  | app_main                       | Trying           : DXGI
 18854723865 [I]               dxgi.c:390  | dxgi_init                      | Device Descripion: NVIDIA GeForce GTX 1070
 18854724445 [I]               dxgi.c:391  | dxgi_init                      | Device Vendor ID : 0x10de
 18854725025 [I]               dxgi.c:392  | dxgi_init                      | Device Device ID : 0x1b81
 18854725491 [I]               dxgi.c:393  | dxgi_init                      | Device Video Mem : 8088 MiB
 18854725963 [I]               dxgi.c:394  | dxgi_init                      | Device Sys Mem   : 0 MiB
 18854726420 [I]               dxgi.c:395  | dxgi_init                      | Shared Sys Mem   : 8190 MiB
 18854726889 [I]               dxgi.c:396  | dxgi_init                      | Feature Level    : 0xb100
 18854727352 [I]               dxgi.c:397  | dxgi_init                      | Capture Size     : 1920 x 1080
 18854727835 [I]               dxgi.c:398  | dxgi_init                      | AcquireLock      : enabled
 18854729894 [I]               dxgi.c:520  | dxgi_init                      | Source Format    : DXGI_FORMAT_B8G8R8A8_UNORM
 18854731200 [I]                app.c:544  | app_main                       | Using            : DXGI
 18855162941 [I]                app.c:260  | captureStart                   | Capture Size     : 7 MiB (8294400)
 18855164864 [I]                app.c:262  | captureStart                   | ==== [ Capture  Start ] ====
 18855167082 [I]                app.c:114  | frameThread                    | Frame thread started
 18918738780 [E]               dxgi.c:835  | dxgi_capture                   | GetCursorInfo failed: 0x00000005 (Access is denied.)
 18918739997 [E]                app.c:608  | app_main                       | Capture interface reported a fatal error
 18919671079 [I]                app.c:209  | frameThread                    | Frame thread stopped
 18919862357 [I]           platform.c:329  | app_init                       | System timer resolution: 48.82 ns
 18919863148 [I]                app.c:445  | app_main                       | Looking Glass Host (B2-0-g76710ef201)
 18919880238 [I]                app.c:455  | app_main                       | IVSHMEM Size     : 32 MiB
 18919880986 [I]                app.c:456  | app_main                       | IVSHMEM Address  : 0x2950000
 18919881703 [I]                app.c:457  | app_main                       | Max Pointer Size : 64 KiB
 18919882515 [I]                app.c:458  | app_main                       | KVMFR Version    : 3
 18919883355 [I]                app.c:507  | app_main                       | Max Frame Size   : 15 MiB
 18919884338 [I]                app.c:522  | app_main                       | Trying           : NVFBC (NVidia Frame Buffer Capture)
 18919892437 [I]          wrapper.cpp:88   | NvFBCInit                      | NvFBC SDK Version: 112
 18920026438 [I]                app.c:522  | app_main                       | Trying           : DXGI
 18920114421 [I]               dxgi.c:390  | dxgi_init                      | Device Descripion: NVIDIA GeForce GTX 1070
 18920114998 [I]               dxgi.c:391  | dxgi_init                      | Device Vendor ID : 0x10de
 18920115476 [I]               dxgi.c:392  | dxgi_init                      | Device Device ID : 0x1b81
 18920116007 [I]               dxgi.c:393  | dxgi_init                      | Device Video Mem : 8088 MiB
 18920116479 [I]               dxgi.c:394  | dxgi_init                      | Device Sys Mem   : 0 MiB
 18920116943 [I]               dxgi.c:395  | dxgi_init                      | Shared Sys Mem   : 8190 MiB
 18920117492 [I]               dxgi.c:396  | dxgi_init                      | Feature Level    : 0xb100
 18920117966 [I]               dxgi.c:397  | dxgi_init                      | Capture Size     : 1920 x 1080
 18920118466 [I]               dxgi.c:398  | dxgi_init                      | AcquireLock      : enabled
 18920120601 [I]               dxgi.c:520  | dxgi_init                      | Source Format    : DXGI_FORMAT_B8G8R8A8_UNORM
 18920122398 [I]                app.c:544  | app_main                       | Using            : DXGI
 18920123421 [I]                app.c:260  | captureStart                   | Capture Size     : 7 MiB (8294400)
 18920124369 [I]                app.c:262  | captureStart                   | ==== [ Capture  Start ] ====
 18920125387 [I]                app.c:114  | frameThread                    | Frame thread started
 18921475210 [I]                app.c:268  | captureStop                    | ==== [ Capture Stop ] ====
 18921478274 [I]                app.c:209  | frameThread                    | Frame thread stopped
 18921587344 [I]               dxgi.c:390  | dxgi_init                      | Device Descripion: NVIDIA GeForce GTX 1070
 18921587919 [I]               dxgi.c:391  | dxgi_init                      | Device Vendor ID : 0x10de
 18921588379 [I]               dxgi.c:392  | dxgi_init                      | Device Device ID : 0x1b81
 18921588842 [I]               dxgi.c:393  | dxgi_init                      | Device Video Mem : 8088 MiB
 18921589451 [I]               dxgi.c:394  | dxgi_init                      | Device Sys Mem   : 0 MiB
 18921589914 [I]               dxgi.c:395  | dxgi_init                      | Shared Sys Mem   : 8190 MiB
 18921590394 [I]               dxgi.c:396  | dxgi_init                      | Feature Level    : 0xb100
 18921590897 [I]               dxgi.c:397  | dxgi_init                      | Capture Size     : 1920 x 1080
 18921591414 [I]               dxgi.c:398  | dxgi_init                      | AcquireLock      : enabled
 18921592862 [I]               dxgi.c:520  | dxgi_init                      | Source Format    : DXGI_FORMAT_B8G8R8A8_UNORM
 18921594450 [I]                app.c:260  | captureStart                   | Capture Size     : 7 MiB (8294400)
 18921594979 [I]                app.c:262  | captureStart                   | ==== [ Capture  Start ] ====
 18921595700 [I]                app.c:114  | frameThread                    | Frame thread started
 18948527062 [E]               dxgi.c:835  | dxgi_capture                   | GetCursorInfo failed: 0x00000005 (Access is denied.)
 18948527689 [E]                app.c:608  | app_main                       | Capture interface reported a fatal error
 18949468778 [I]                app.c:209  | frameThread                    | Frame thread stopped
 18949668689 [I]           platform.c:329  | app_init                       | System timer resolution: 48.82 ns
 18949669581 [I]                app.c:445  | app_main                       | Looking Glass Host (B2-0-g76710ef201)
 18949684161 [I]                app.c:455  | app_main                       | IVSHMEM Size     : 32 MiB
 18949685112 [I]                app.c:456  | app_main                       | IVSHMEM Address  : 0x2950000
 18949685775 [I]                app.c:457  | app_main                       | Max Pointer Size : 64 KiB
 18949686408 [I]                app.c:458  | app_main                       | KVMFR Version    : 3
 18949687224 [I]                app.c:507  | app_main                       | Max Frame Size   : 15 MiB
 18949688050 [I]                app.c:522  | app_main                       | Trying           : NVFBC (NVidia Frame Buffer Capture)
 18949695207 [I]          wrapper.cpp:88   | NvFBCInit                      | NvFBC SDK Version: 112
 18949834654 [I]                app.c:522  | app_main                       | Trying           : DXGI
 18949921744 [I]               dxgi.c:390  | dxgi_init                      | Device Descripion: NVIDIA GeForce GTX 1070
 18949922437 [I]               dxgi.c:391  | dxgi_init                      | Device Vendor ID : 0x10de
 18949923038 [I]               dxgi.c:392  | dxgi_init                      | Device Device ID : 0x1b81
 18949923565 [I]               dxgi.c:393  | dxgi_init                      | Device Video Mem : 8088 MiB
 18949924039 [I]               dxgi.c:394  | dxgi_init                      | Device Sys Mem   : 0 MiB
 18949924520 [I]               dxgi.c:395  | dxgi_init                      | Shared Sys Mem   : 8190 MiB
 18949925049 [I]               dxgi.c:396  | dxgi_init                      | Feature Level    : 0xb100
 18949925535 [I]               dxgi.c:397  | dxgi_init                      | Capture Size     : 1920 x 1080
 18949926081 [I]               dxgi.c:398  | dxgi_init                      | AcquireLock      : enabled
 18949927851 [I]               dxgi.c:520  | dxgi_init                      | Source Format    : DXGI_FORMAT_B8G8R8A8_UNORM
 18949928965 [I]                app.c:544  | app_main                       | Using            : DXGI
 18949929574 [I]                app.c:260  | captureStart                   | Capture Size     : 7 MiB (8294400)
 18949930091 [I]                app.c:262  | captureStart                   | ==== [ Capture  Start ] ====
 18949930779 [I]                app.c:114  | frameThread                    | Frame thread started
 18950105796 [I]                app.c:268  | captureStop                    | ==== [ Capture Stop ] ====
 18950105852 [I]                app.c:209  | frameThread                    | Frame thread stopped
 18950198020 [I]               dxgi.c:390  | dxgi_init                      | Device Descripion: NVIDIA GeForce GTX 1070
 18950198587 [I]               dxgi.c:391  | dxgi_init                      | Device Vendor ID : 0x10de
 18950199208 [I]               dxgi.c:392  | dxgi_init                      | Device Device ID : 0x1b81
 18950199668 [I]               dxgi.c:393  | dxgi_init                      | Device Video Mem : 8088 MiB
 18950200140 [I]               dxgi.c:394  | dxgi_init                      | Device Sys Mem   : 0 MiB
 18950200597 [I]               dxgi.c:395  | dxgi_init                      | Shared Sys Mem   : 8190 MiB
 18950201068 [I]               dxgi.c:396  | dxgi_init                      | Feature Level    : 0xb100
 18950201565 [I]               dxgi.c:397  | dxgi_init                      | Capture Size     : 1920 x 1080
 18950202078 [I]               dxgi.c:398  | dxgi_init                      | AcquireLock      : enabled
 18950204783 [I]               dxgi.c:520  | dxgi_init                      | Source Format    : DXGI_FORMAT_B8G8R8A8_UNORM
 18950206323 [I]                app.c:260  | captureStart                   | Capture Size     : 7 MiB (8294400)
 18950206852 [I]                app.c:262  | captureStart                   | ==== [ Capture  Start ] ====
 18950207549 [I]                app.c:114  | frameThread                    | Frame thread started
 19009318437 [I]           platform.c:329  | app_init                       | System timer resoluti     on: 48.82 ns
 19009319150 [I]                app.c:445  | app_main                       | Looking Glass Host (B2-0-g76710ef201)
 19009331993 [I]                app.c:455  | app_main                       | IVSHMEM Size     : 32 MiB
 19009332554 [I]                app.c:456  | app_main                       | IVSHMEM Address  : 0x2A00000
 19009333094 [I]                app.c:457  | app_main                       | Max Pointer Size : 64 KiB
 19009333627 [I]                app.c:458  | app_main                       | KVMFR Version    : 3
 19009334241 [I]                app.c:507  | app_main                       | Max Frame Size   : 15 MiB
 19009334777 [I]                app.c:522  | app_main                       | Trying           : NVFBC (NVidia Frame Buffer Capture)
 19009336180 [E]          wrapper.cpp:60   | NvFBCInit                      | Failed to load NvFBC64.dll: 0x0000007e (The specified module could not be found.)
 19009337076 [I]                app.c:522  | app_main                       | Trying           : DXGI
 19009441458 [I]               dxgi.c:390  | dxgi_init                      | Device Descripion: NVIDIA GeForce GTX 1070
 19009442144 [I]               dxgi.c:391  | dxgi_init                      | Device Vendor ID : 0x10de
 19009442713 [I]               dxgi.c:392  | dxgi_init                      | Device Device ID : 0x1b81
 19009443283 [I]               dxgi.c:393  | dxgi_init                      | Device Video Mem : 8088 MiB
 19009443901 [I]               dxgi.c:394  | dxgi_init                      | Device Sys Mem   : 0 MiB
 19009444485 [I]               dxgi.c:395  | dxgi_init                      | Shared Sys Mem   : 8190 MiB
 19009444958 [I]               dxgi.c:396  | dxgi_init                      | Feature Level    : 0xb100
 19009445409 [I]               dxgi.c:397  | dxgi_init                      | Capture Size     : 1920 x 1080
 19009445887 [I]               dxgi.c:398  | dxgi_init                      | AcquireLock      : enabled
 19009447467 [I]               dxgi.c:520  | dxgi_init                      | Source Format    : DXGI_FORMAT_B8G8R8A8_UNORM
 19009448863 [I]                app.c:544  | app_main                       | Using            : DXGI
 19009951152 [I]                app.c:260  | captureStart                   | Capture Size     : 7 MiB (8294400)
 19009952712 [I]                app.c:262  | captureStart                   | ==== [ Capture  Start ] ====
 19009954506 [I]                app.c:114  | frameThread                    | Frame thread started
@gnif
Copy link
Owner

gnif commented Jan 11, 2021

Interesting but not an LG bug. LG will not use NvFBC if it fails to init, if attempting to load it is causing a perf issue then it's an NVIDIA driver bug. NvFBC is deprecated anyway.

@gnif gnif closed this as completed Jan 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants